[PATCH] arm: rpi: set boot_targets with correct macro expansion

rpi uboot will only try to load mmcnr@7e300000.bootdev which is wlan interface if boot_targets only has `mmc` Change it to `mmc0 mmc1 mmc2 usb0 pxe dhcp`
Signed-off-by: Date Huang tjjh89017@hotmail.com --- board/raspberrypi/rpi/rpi.env | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/board/raspberrypi/rpi/rpi.env b/board/raspberrypi/rpi/rpi.env index 30228285ed..08a3648838 100644 --- a/board/raspberrypi/rpi/rpi.env +++ b/board/raspberrypi/rpi/rpi.env @@ -74,4 +74,4 @@ pxefile_addr_r=0x02500000 fdt_addr_r=0x02600000 ramdisk_addr_r=0x02700000
-boot_targets=mmc usb pxe dhcp +boot_targets=mmc0 mmc1 mmc2 usb0 pxe dhcp

Hi Date,
On Sat, 23 Sept 2023 at 12:34, Date Huang tjjh89017@hotmail.com wrote:
rpi uboot will only try to load mmcnr@7e300000.bootdev which is wlan interface if boot_targets only has `mmc` Change it to `mmc0 mmc1 mmc2 usb0 pxe dhcp`
Signed-off-by: Date Huang tjjh89017@hotmail.com
board/raspberrypi/rpi/rpi.env | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/board/raspberrypi/rpi/rpi.env b/board/raspberrypi/rpi/rpi.env index 30228285ed..08a3648838 100644 --- a/board/raspberrypi/rpi/rpi.env +++ b/board/raspberrypi/rpi/rpi.env @@ -74,4 +74,4 @@ pxefile_addr_r=0x02500000 fdt_addr_r=0x02600000 ramdisk_addr_r=0x02700000
-boot_targets=mmc usb pxe dhcp +boot_targets=mmc0 mmc1 mmc2 usb0 pxe dhcp
Yes, this is a 'feature' of standard boot, which I hope to fix.
The order you specify should be the same as the default one, so does it work for you if you just remove the boot_targets variable?
Regards, Simon

Simon wrote:
Yes, this is a 'feature' of standard boot, which I hope to fix.
The order you specify should be the same as the default one, so does it work for you if you just remove the boot_targets variable?
Thank you Simon. I asked my friend to test without boot_targets and it booted without issues. So I send a patch v2 with new commit log. Please check it.
Thank you! Regards, Date
participants (3)
-
Date Huang
-
Simon Glass
-
黃 宇強