Coreelec doesn’t boot. The box is stuck on the logo screen.
Before I was using dual boot system in eMMC (Android+Coreelec) and only Android booted fine.
Then I changed to single boot from eMMC (only Coreelec) and with that scenario Coreelec still doesn’t boot after booting Batocera from SD.
Then I boot coreelec from SD, run command ceemmc -x to flash again data on flash partition and then Coreelec boots fine again until I run Batocera again.
boot CoreELEC from eMMC and run this commands to allows booting Batocera from USB stick
fw_setenv start_usb_autoscript 'for usbdev in 0 1 2 3; do if fatload usb ${usbdev} ${loadaddr} s905_autoscript; then autoscr ${loadaddr}; fi; done;'
fw_setenv start_mmc_autoscript 'if fatload mmc 0 ${loadaddr} s905_autoscript; then autoscr ${loadaddr}; fi;'
fw_setenv bootfromusb 'usb start 0; run cfgloadusb; run start_usb_autoscript; if fatload usb 0 ${loadaddr} kernel.img; then run usbdtb; setenv bootargs ${bootargs} bootfromusb; bootm; fi'
fw_setenv bootfromsd 'if mmcinfo; then run cfgloadsd; run start_mmc_autoscript; if fatload mmc 0 ${loadaddr} kernel.img; then run sddtb; setenv bootargs ${bootargs} bootfromsd; bootm; fi; fi'
create Batocera USB/SD
download archive BATOCERA.ZIP and inside is file u-boot.ext (of course this file is probably only for GT-King Pro)
copy this file to your Batocera USB/SD
device will boot CoreELEC from eMMC without USB/SD attached and from USB/SD with Batocera or CoreELEC
Maybe I made some typo above. If it doesn’t work let me know.
Maybe would be just enough to copy s905_autoscript to cfgload and then it would boot without any modifications anywhere. Should test on virgin CE device …
I think this message comes from u-boot USB stack. Because the order is SD then USB and last eMMC. And to get USB booting USB stack needs to be initialized.
I didn’t check if I got this message when I was testing.
As I wrote after making Batocera USB/SD just copy file s905_autoscript to cfgload. Because file cfgload is used by CoreELEC.
But first boot CE from eMMC and type this 2 commands to restore original bootloader variables.
fw_setenv start_usb_autoscript
fw_setenv start_mmc_autoscript
fw_setenv bootfromusb 'usb start 0; run cfgloadusb; if fatload usb 0 ${loadaddr} kernel.img; then run usbdtb; setenv bootargs ${bootargs} bootfromusb; bootm; fi'
fw_setenv bootfromsd 'if mmcinfo; then run cfgloadsd; if fatload mmc 0 ${loadaddr} kernel.img; then run sddtb; setenv bootargs ${bootargs} bootfromsd; bootm; fi; fi'
s905_autoscript file is on Batocera USB/SD. And this file must be copied to new filename cfgload.
So you will have 2 equal files: original s905_autoscript and new cfgload.