From: Hugo Villeneuve Date: Sat, 13 Dec 2025 18:19:40 +0000 (-0500) Subject: rpi-u-boot-scr: fix error when setting bootargs X-Git-Url: http://gitweb.hugovil.com/?a=commitdiff_plain;h=ac976d8b65644124217ad1a4593c91eb2c7d839e;p=yocto%2Fmeta-hvmpd.git rpi-u-boot-scr: fix error when setting bootargs Value was not saved because of missing parentheses. Signed-off-by: Hugo Villeneuve --- diff --git a/raspberrypi/recipes-bsp/rpi-u-boot-scr/files/boot.cmd.in b/raspberrypi/recipes-bsp/rpi-u-boot-scr/files/boot.cmd.in index 9f2bb90..aa0fcd9 100644 --- a/raspberrypi/recipes-bsp/rpi-u-boot-scr/files/boot.cmd.in +++ b/raspberrypi/recipes-bsp/rpi-u-boot-scr/files/boot.cmd.in @@ -2,5 +2,5 @@ saveenv fdt addr ${fdt_addr} && fdt get value bootargs /chosen bootargs if env exists rpipart;then echo Booting from mmcblk0p${rpipart};else setenv rpipart @@ROOT_PART_A_ID@@;echo rpipart not set, default to ${rpipart};fi load mmc 0:${rpipart} ${kernel_addr_r} boot/@@KERNEL_IMAGETYPE@@ -setenv bootargs ${bootargs} root=/dev/mmcblk0p${rpipart} +setenv bootargs "${bootargs} root=/dev/mmcblk0p${rpipart}" @@KERNEL_BOOTCMD@@ ${kernel_addr_r} - ${fdt_addr}