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:
parent
ee7aacb3e7
commit
c29ab486a8
@ -6,11 +6,23 @@
|
|||||||
/ {
|
/ {
|
||||||
model = "Xiaomi Mi Router AX3000T (OpenWrt U-Boot layout)";
|
model = "Xiaomi Mi Router AX3000T (OpenWrt U-Boot layout)";
|
||||||
compatible = "xiaomi,mi-router-ax3000t-ubootmod", "mediatek,mt7981";
|
compatible = "xiaomi,mi-router-ax3000t-ubootmod", "mediatek,mt7981";
|
||||||
|
|
||||||
|
chosen {
|
||||||
|
bootargs-append = " root=/dev/fit0 rootwait";
|
||||||
|
rootdisk = <&ubi_rootdisk>;
|
||||||
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
&partitions {
|
&partitions {
|
||||||
partition@600000 {
|
partition@600000 {
|
||||||
label = "ubi";
|
label = "ubi";
|
||||||
reg = <0x600000 0x7000000>;
|
reg = <0x600000 0x7000000>;
|
||||||
|
compatible = "linux,ubi";
|
||||||
|
|
||||||
|
volumes {
|
||||||
|
ubi_rootdisk: ubi-volume-fit {
|
||||||
|
volname = "fit";
|
||||||
|
};
|
||||||
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
@ -82,6 +82,7 @@ platform_do_upgrade() {
|
|||||||
tplink,tl-xdr6086|\
|
tplink,tl-xdr6086|\
|
||||||
tplink,tl-xdr6088|\
|
tplink,tl-xdr6088|\
|
||||||
tplink,tl-xtr8488|\
|
tplink,tl-xtr8488|\
|
||||||
|
xiaomi,mi-router-ax3000t-ubootmod|\
|
||||||
xiaomi,redmi-router-ax6000-ubootmod)
|
xiaomi,redmi-router-ax6000-ubootmod)
|
||||||
fit_do_upgrade "$1"
|
fit_do_upgrade "$1"
|
||||||
;;
|
;;
|
||||||
@ -117,7 +118,6 @@ platform_do_upgrade() {
|
|||||||
emmc_do_upgrade "$1"
|
emmc_do_upgrade "$1"
|
||||||
;;
|
;;
|
||||||
netcore,n60|\
|
netcore,n60|\
|
||||||
xiaomi,mi-router-ax3000t-ubootmod|\
|
|
||||||
xiaomi,mi-router-wr30u-ubootmod)
|
xiaomi,mi-router-wr30u-ubootmod)
|
||||||
CI_KERNPART="fit"
|
CI_KERNPART="fit"
|
||||||
nand_do_upgrade "$1"
|
nand_do_upgrade "$1"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user