common/uboot: Explicitly separate kernel/user arguments

This way, we avoid arguments intended for userspace to be accidentally
parsed by the kernel.
This commit is contained in:
Tobias Waldekranz
2023-10-30 11:24:18 +01:00
committed by Joachim Wiberg
parent 60c777fb41
commit 01e43896df
2 changed files with 2 additions and 2 deletions
@@ -1,4 +1,4 @@
label Infix (aarch64)
kernel /boot/Image
fdtdir /boot
append ${bootargs_root} ${bootargs_rauc} ${bootargs_log}
append ${bootargs_root} ${bootargs_log} -- ${bootargs_user}
+1 -1
View File
@@ -14,7 +14,7 @@ if test "${prepared}" = "ok"; then
if iminfo ${ramdisk_addr_r}; then
echo "${slot}: Booting..."
setenv bootargs_rauc "rauc.slot=${slot}"
setenv bootargs_user "rauc.slot=${slot}"
blkmap create boot
blkmap get boot dev blkmapnum