mediatek: filogic: switch to fitblk for Xiaomi Redmi AX6000

Use the new fitblk driver.

Run-tested: filogic/mt7986a-xiaomi-redmi-router-ax6000-ubootmod

Signed-off-by: Furong Xu <xfr@outlook.com>
This commit is contained in:
Furong Xu
2024-03-07 10:56:18 +08:00
committed by Chuanhong Guo
parent 1493e8f8cb
commit 8d355b870a
3 changed files with 16 additions and 5 deletions

View File

@@ -8,9 +8,20 @@
compatible = "xiaomi,redmi-router-ax6000-ubootmod", "mediatek,mt7986a";
};
&chosen {
rootdisk = <&ubi_rootdisk>;
};
&partitions {
partition@580000 {
label = "ubi";
compatible = "linux,ubi";
reg = <0x580000 0x7a80000>;
label = "ubi";
volumes {
ubi_rootdisk: ubi-volume-fit {
volname = "fit";
};
};
};
};

View File

@@ -17,7 +17,7 @@
led-upgrade = &led_status_rgb;
};
chosen {
chosen: chosen {
stdout-path = "serial0:115200n8";
};