Boot from USB having Armbian on eMMC


 Share

1 1

Recommended Posts

Hello there! I'm trying to boot from USB using Armbian, specifically LibreELEC, but it doesn't boot, it boots to Armbian, Armbian detects the USB but when i disconnect it and I connect it again, it turns off then turn on but to Armbian again

 

The thing is, how can I boot from USB? Or how can I boot or install LibreELEC/CoreELEC while having Armbian on the eMMC?

Link to post
Share on other sites

Donate and support the project!

6 hours ago, Werner said:

Which box? Which version hardware/software? What exactly have you tried yet. Read the pinned topics as well as both FAQ and Tutorials.

Insufficient information.

I have a MXQ PRO 4K BOX (S905W) with 1 GB RAM, what you mean by that and I tried booting LE and CE images (and a Volumio one) from my USB with the toothpick method but no success, in one of those images the Amlogic logo freezes (specifically a Volumio image, created by balbes150)

Link to post
Share on other sites

The Armbian and CoreElec systems have different and conflicting booting scripts.  When you enable multiboot (the toothpick) you are storing the uboot environment script on emmc and this then gets used for future boots for all media (emmc, sd, usb).  So you can't just install various different OSs and expect them to work as they all depend on the uboot environment stored on emmc for the system to know how to boot them.  Basically you can't do what you are attempting to do on an amlogic based box.  In fact due to the incompatabilities between CoreElec and Armbian, it is required that if you install/attempt to install CE, that you will need to restore your box to an original android firmware in order to get it back into a state that Armbian will again work on it.

 

Link to post
Share on other sites

Posted (edited)
1 hour ago, SteeMan said:

The Armbian and CoreElec systems have different and conflicting booting scripts.  When you enable multiboot (the toothpick) you are storing the uboot environment script on emmc and this then gets used for future boots for all media (emmc, sd, usb).  So you can't just install various different OSs and expect them to work as they all depend on the uboot environment stored on emmc for the system to know how to boot them.  Basically you can't do what you are attempting to do on an amlogic based box.  In fact due to the incompatabilities between CoreElec and Armbian, it is required that if you install/attempt to install CE, that you will need to restore your box to an original android firmware in order to get it back into a state that Armbian will again work on it.

 

Yeah i saw that on a balbes150 post, about the CE and Armbian incompatibility, that's why I tried Volumio and LE systems by balbes150, i haven't installed CE but it's u-boot is stored on eMMC right? If so, how can i "remove" that u-boot? I have access to Armbian as it's installed on eMMC, maybe some file i can modify? I don't think so but who knows haha

Edited by MrCoolAndroid
Link to post
Share on other sites

I hadn't heard of volumio before you mentioned it.  I see that it packages/repackages balbes150's work.  But it is ancient code - from 2018 and using kernel 3.14.  This will be incompatible with the Armbian (assuming you have 5.9 kernel installed on emmc) as well.  The scripts changed a lot over time.  You can't mix and match different boot scripts.  Unless you know otherwise, assume that you can't install/use more than one os.

The only recommended way to switch is to revert the box to an original android firmware, and then use the os you are trying to install's installation instructions.  All of the 'install linux on amlogic tvbox' scripts are assuming you are starting from a clean android box, not something whose environment has been messed with by other installation scripts.

Link to post
Share on other sites

15 minutes ago, SteeMan said:

I hadn't heard of volumio before you mentioned it.  I see that it packages/repackages balbes150's work.  But it is ancient code - from 2018 and using kernel 3.14.  This will be incompatible with the Armbian (assuming you have 5.9 kernel installed on emmc) as well.  The scripts changed a lot over time.  You can't mix and match different boot scripts.  Unless you know otherwise, assume that you can't install/use more than one os.

The only recommended way to switch is to revert the box to an original android firmware, and then use the os you are trying to install's installation instructions.  All of the 'install linux on amlogic tvbox' scripts are assuming you are starting from a clean android box, not something whose environment has been messed with by other installation scripts.

I actually have an old but not that old Armbian version i think, how can I check what version i have?

Link to post
Share on other sites

Hey guys, now I'm just gonna stay on Armbian :lol: and do some cool stuff with it, but I'm gonna need help on another thing (I'm gonna post another topic about it) so if u can help me i would appreciate it a lot.

Admins you can close this

Edited by MrCoolAndroid
spell correction
Link to post
Share on other sites

 Share

1 1