mediatek: filogic: convert Xiaomi AX3000T to fitblk

Use fitblk driver instead of deprecated partition parser.

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
This commit is contained in:
Daniel Golle
2024-08-08 16:41:43 +01:00
parent ee7aacb3e7
commit c29ab486a8
2 changed files with 13 additions and 1 deletions

View File

@@ -6,11 +6,23 @@
/ {
model = "Xiaomi Mi Router AX3000T (OpenWrt U-Boot layout)";
compatible = "xiaomi,mi-router-ax3000t-ubootmod", "mediatek,mt7981";
chosen {
bootargs-append = " root=/dev/fit0 rootwait";
rootdisk = <&ubi_rootdisk>;
};
};
&partitions {
partition@600000 {
label = "ubi";
reg = <0x600000 0x7000000>;
compatible = "linux,ubi";
volumes {
ubi_rootdisk: ubi-volume-fit {
volname = "fit";
};
};
};
};