Hi guys !
I’m trying to achieve a simple behavior with U-Boot :
- If a USB is present and bootable (from WIC file with Image.gz and dtb files), boot linux that is in it
- If not, boot on emmc.
What I’ve done so far: I modified the boot.cmd.in to have this:
env set boot_targets usb0 mmc1 mmc2
So that it tries usb0 first, and then mmc1 and 2
However, it does not boot on usb at all.
Any idea how to do that ?
Thanks for your advice !