Use fitblk driver instead of deprecated uImage.FIT partition parser.
Signed-off-by: Daniel Golle <daniel@makrotopia.org>
compatible = "mediatek,mt7981-rfb", "mediatek,mt7981";
fragment@0 {
+ target = <&chosen>;
+ rootdisk-spim-nand = <&ubi_rootdisk>;
+ };
+
+ fragment@1 {
target = <&spi0>;
__overlay__ {
status = "okay";
partition@580000 {
label = "ubi";
reg = <0x580000 0x4000000>;
+ compatible = "linux,ubi";
+
+ volumes {
+ ubi_rootdisk: ubi-volume-fit {
+ volname = "fit";
+ };
+ };
};
};
};
};
};
- fragment@1 {
+ fragment@2 {
target = <&wifi>;
__overlay__ {
mediatek,mtd-eeprom = <&factory 0x0>;
serial0 = &uart0;
};
- chosen {
+ chosen: chosen {
stdout-path = "serial0:115200n8";
+ bootargs-append = " root=/dev/fit0 rootwait";
};
memory {
bananapi,bpi-r4-poe|\
cmcc,rax3000m|\
jdcloud,re-cp-03|\
+ mediatek,mt7981-rfb|\
mediatek,mt7988a-rfb|\
nokia,ea0326gmp|\
openwrt,one|\
;;
h3c,magic-nx30-pro|\
jcg,q30-pro|\
- mediatek,mt7981-rfb|\
netcore,n60|\
qihoo,360t7|\
xiaomi,mi-router-ax3000t-ubootmod|\