openwrt/target/linux/mediatek/dts/mt7986a-xiaomi-redmi-router-ax6000-ubootmod.dts
Daniel Golle cd4de3251c mediatek: wait for fitblk rootfs
Probing of the fitblk driver in some situations happens after the kernel
attempts to mount rootfs, which then fails.
Always use 'rootwait' when using fitblk for rootfs.

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
2024-03-09 14:02:58 +00:00

29 lines
537 B
Plaintext

// SPDX-License-Identifier: (GPL-2.0 OR MIT)
/dts-v1/;
#include "mt7986a-xiaomi-redmi-router-ax6000.dtsi"
/ {
model = "Xiaomi Redmi Router AX6000 (OpenWrt U-Boot layout)";
compatible = "xiaomi,redmi-router-ax6000-ubootmod", "mediatek,mt7986a";
};
&chosen {
rootdisk = <&ubi_rootdisk>;
bootargs-append = " root=/dev/fit0 rootwait";
};
&partitions {
partition@580000 {
compatible = "linux,ubi";
reg = <0x580000 0x7a80000>;
label = "ubi";
volumes {
ubi_rootdisk: ubi-volume-fit {
volname = "fit";
};
};
};
};