diff --git a/boot/uboot/boot.sh b/boot/uboot/boot.sh index 461aa99..27b8a13 100644 --- a/boot/uboot/boot.sh +++ b/boot/uboot/boot.sh @@ -47,12 +47,11 @@ fi ############################################################################## echo Bootpart: ${bootpart} -echo Cmdline: ${cmdline} +echo Bootargs: ${bootargs} load mmc 0:${bootpart} ${kernel_addr_r} ${kernel_file} setenv kernel_comp_addr_r ${loadaddr} setenv kernel_comp_size 0x4000000 -setenv bootargs ${cmdline} # Try booting `zImage`. booti ${kernel_addr_r} - ${fdt_addr} # Try booting `uImage`. diff --git a/boot/uboot/boot_env.py b/boot/uboot/boot_env.py index 7b8a9ac..4ecc083 100644 --- a/boot/uboot/boot_env.py +++ b/boot/uboot/boot_env.py @@ -2,7 +2,7 @@ import struct cmdline = "console=serial0,115200 console=tty1 rootfstype=ext4 fsck.repair=yes rootwait panic=60 root=PARTUUID=2ddb0742-05 init=/usr/bin/rugpi-ctrl" -environ = [f"cmdline={cmdline}".encode("ascii")] +environ = [f"bootargs={cmdline}".encode("ascii")] data = b"\0".join(environ) + b"\n"