From: Daniel Golle Date: Tue, 7 May 2024 15:03:22 +0000 (+0100) Subject: uboot-mediatek: bpi-r2: fix root= default cmdline parameter X-Git-Url: http://git.cdn.openwrt.org/?a=commitdiff_plain;h=71e3e3b892ea91829750a44f3eca5ca91bd13b9f;p=openwrt%2Fstaging%2Fansuel.git uboot-mediatek: bpi-r2: fix root= default cmdline parameter With the switch from the uImage.FIT partition parser to fitblk the cmdline needs to be adjusted as well. Do this now as it has been forgotten when the switch was done. Fixes: 6368ed1ae5 ("mediatek: mt7623: phase out uImage.FIT partition parser") Signed-off-by: Daniel Golle --- diff --git a/package/boot/uboot-mediatek/patches/401-update-u7623-defconfig.patch b/package/boot/uboot-mediatek/patches/401-update-u7623-defconfig.patch index 6528b165f5..58c62dc3ef 100644 --- a/package/boot/uboot-mediatek/patches/401-update-u7623-defconfig.patch +++ b/package/boot/uboot-mediatek/patches/401-update-u7623-defconfig.patch @@ -186,7 +186,7 @@ +reset_factory=eraseenv && reset +_init_env=setenv _init_env ; saveenv ; saveenv +_firstboot=setenv _firstboot ; run _switch_to_menu _update_bootdev _init_env boot_first -+_update_bootdev=setenv _update_bootdev ; setenv bootargs "$console root=/dev/mmcblk0p65" ++_update_bootdev=setenv _update_bootdev ; setenv bootargs "$console root=/dev/fit0 rootwait" +_switch_to_menu=setenv _switch_to_menu ; setenv bootdelay 3 ; setenv bootmenu_delay 3 ; setenv bootmenu_0 $bootmenu_0d ; setenv bootmenu_0d ; run _bootmenu_update_title +_bootmenu_update_title=setenv _bootmenu_update_title ; setenv bootmenu_title "$bootmenu_title $ver" --- a/arch/arm/dts/mt7623a-unielec-u7623-02-emmc.dts