What exact software versions of things are you taking about?
While I never heard of run sata_boot I guess distroboot might actually work. However, you would need to manually do it as our default BOOT_TARGET_DEVICES(func) does not provision for SATA as of yet.
Hi llks, I’m just seeing that sata_boot=if sata dev ${devnum}; then setenv devtype sata; run scan_dev_for_boot_part; fi
but devnum is not yet defined at this stage. Could you try to set it first with setenv devnum 0 before running the command and tell us whether it works this way?
The system not continue boot to the Linux system. The SATA disk is using the same method as SD card creation, what could be the root cause of causing it not boot into the system?
Hi Ilks. I’m afraid that the sata_boot command is now using the distroboot mechanism instead of the old raw booting that sdboot is using. This means that sata_boot is looking for an extlinux.conf or a boot.scr in your SATA drive to continue with the execution of the booting procedure, but since it is not there it simply returns. You could add such a script following the instructions here. For now I have redefined the command around to make it work for you. Try this:
Then run sata_boot again. I’m assuming you are using only one SATA device (device number 0) and the first partition (part 1) but you can modify accordingly. If this works you can make it permanent by saving the environment with saveenv. Let me know.