thantien Posted March 23 Posted March 23 Hello everyone, is there any way to boot from USB when my emmc is dead? this is my board 0 Quote
SteeMan Posted March 23 Posted March 23 I'm guessing since you reposted in the TV box forum, that you have a TV box not an SBC. If thos is a TV box running an Armbian build then the answer is no. The Armbian TV box builds use the uboot from EMMC to start the boot process, no EMMC no boot. For other amlogic SBCs they use the uboot from the SD card, but not so with TV boxes. 0 Quote
thantien Posted March 23 Author Posted March 23 can change default boot to sd card. because i already run armbian using sd card 0 Quote
SteeMan Posted March 23 Posted March 23 Not possible. As I said the TV box builds use the EMMC uboot to start the boot process. 0 Quote
thantien Posted March 23 Author Posted March 23 (edited) i found some uboot commands here but i don't understand: setenv bootcmd 'run mytvboot; if test ${bootfromnand} = 1; then setenv bootfromnand 0; saveenv; else run bootfromsd; run bootfromusb; run bootfromemmc; fi; run storeboot' setenv mytvboot "run boot_usb; run boot_mmc; run boot_emmc;" setenv boot_usb 'usb start; for usbdev in 3 2 1 0; do if fatload usb ${usbdev} 1000000 u-boot.ext; then go 1000000; fi; if fatload usb ${usbdev} 1000000 s905_autoscript; then autoscr 1000000; fi; done' setenv boot_mmc 'for mmcdev in 0 1 2; do if fatload mmc ${mmcdev} 1000000 u-boot.ext; then go 1000000; fi; if fatload mmc ${mmcdev} 1000000 s905_autoscript; then autoscr 1000000; fi; done' setenv boot_emmc 'for mmcdev in 0 1 2; do if fatload mmc ${mmcdev} 1000000 u-boot.emmc; then go 1000000; fi; if fatload mmc ${mmcdev} 1000000 s905_autoscript; then autoscr 1000000; fi; done' setenv upgrade_step "0" saveenv Edited March 23 by thantien 0 Quote
SteeMan Posted March 23 Posted March 23 What build are/were you running? As I said multiple times now, what you want isn't possible with Armbian aml-s9xx-box builds. Those builds do not contain a u-boot that works to boot your TV Box. To accomplish what you want, you would need to port a u-boot to your specific TV Box hardware. Each TV box is different and needs a different u-boot. That is the reason the Armbian aml-s9xx-box build uses the TV Boxes native u-boot on emmc to start the boot process, so that one image can be used for multiple TV Boxes that use the s905x CPU. 0 Quote
thantien Posted March 24 Author Posted March 24 (edited) so now my uboot is in my sd card according to some instructions and I still can't boot into uboot directly Edited March 24 by thantien 0 Quote
Werner Posted March 24 Posted March 24 32 minutes ago, thantien said: ophub We do not support 3rd party forks. Ask at the place where you got the image from. 0 Quote
SteeMan Posted March 24 Posted March 24 How many times do I have to say, it isn't possible to do with Armbian builds. Armbian does not have a uboot for your TV Box. So there is no way for you to boot from something other than your emmc unless you have a uboot built for your box. And since Armbian doesn't produce such code, we can't help you here. 0 Quote
thantien Posted March 25 Author Posted March 25 (edited) Skip reason why i have uboot, but can i have tutorial about how to boot armbian from usb by uboot? Edited March 25 by thantien 0 Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.