Generic S905x boards

  • Hi. I have some 'bricked' s905x boards that when i use burning tool they always stuck at '7% Formatting' and get error DiskInit Error! Tried many different images but looks like emmc is broken.

    Tried to boot from SD card using LE, and tried all compatible dtb files but boards don't even try to boot from SD card.

    Finally, tried LE for Khadas VIM1 and for Le Potato, and boards boot and work from SD normally (without wifi but ethernet works ok)

    I noticed, that the files on SD for generic s905x and those of VIM1&Le Potato are totally different! Is that the reason tha generic images don't boot?

    Thanks

  • Are you talking about the box image? It includes the same DTBs in the board specific images, more than likely your eMMC is wiped to the level that there is no boot loader, so using the Khadas/Le Potato image includes u-boot bootloader in the SD image. Amlogic boards will look for a bootloader on the eMMC, and fall back to the SD/USB.

    The box image does not have a bootloader, which is probably why it won't boot, it relies/assumes your eMMC has a working bootloader.

  • frakkin64 explanation sounds right. The LePotato dtb has no WiFi SDIO node and the VIM1 forces a Broadcom chipset so if boxes have Realtek/Qualcomm chips things either won't probe or will probe the wrong chip and fail.

    Current LE12 nightly images have changes to boot files and even on VIM1/LePotato you'll now see an /amlogic folder that has all the dtb files inside (not just VIM1 or LePotato dtb) so experimenting is a simple as editing the dtb name in extlinux.conf.

  • The "box" image has bootscripts to hook into vendor u-boot and make it run an LE image. Your box has nothing on eMMC (either it has been erased or eMMC has failed) so there is no vendor u-boot to hook into and thus no boot with that image.

    The "board" images for VIM1 and LePotato have modern u-boot compiled for those specific boards installed (to the boot media: in this case an SD card) and these use modern u-boot config files (extlinux.conf) not Amlogic vendor boot script garbage. The files used to create/sign modern u-boot are device-specific so it's unintentional and unusual that your box can also boot with them.

  • Most probably emmc has failed as you said! You've been very specific on explaining boot methods and thanks a lot. So I should keep using them only using Le Potato image (VIM1 only gives my one working USB port) installed and booted from SD card?

  • Tried LE12 nightly 'box' image using ALL p212 dtb files (All s905x files) but no boot.

    Also tested LE12 nightly 'Le Potato' image using Le Potato dtb and p212 dtb, both working the same!

  • Tried LE12 nightly 'box' image using ALL p212 dtb files (All s905x files) but no boot.

    Also tested LE12 nightly 'Le Potato' image using Le Potato dtb and p212 dtb, both working the same!

    This was already explained (twice). Thread closed to prevent need for a third round.