]> git.ipfire.org Git - thirdparty/openwrt.git/commitdiff
uboot-mediatek: enable rootwait for jdcloud re-cp-03
authorTianling Shen <cnsztl@immortalwrt.org>
Tue, 2 Apr 2024 11:49:42 +0000 (19:49 +0800)
committerRafał Miłecki <rafal@milecki.pl>
Mon, 15 Jul 2024 14:10:16 +0000 (16:10 +0200)
Sometimes the mmc deivce may come up later than kernel attempts to
mount rootfs, resulting kernel panic. Enable rootwait to fix it.

Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
package/boot/uboot-mediatek/patches/441-add-jdcloud_re-cp-03.patch

index e0f3a6e2354d9d79b1831caf904ed8e7d970cb80..41fa76141707070ac08c5363556d1ddf93fd2be5 100644 (file)
 +serverip=192.168.1.254
 +loadaddr=0x46000000
 +console=earlycon=uart8250,mmio32,0x11002000 console=ttyS0
-+bootargs=root=/dev/mmcblk0p65
++bootargs=root=/dev/mmcblk0p65 rootwait
 +bootcmd=if pstore check ; then run boot_recovery ; else run boot_emmc ; fi
 +bootconf=config-1
 +bootdelay=0