mirror of
https://github.com/openwrt/openwrt.git
synced 2025-01-29 15:44:04 +00:00
mediatek: filogic: convert Xiaomi WR30U to fitblk
Use fitblk driver instead of deprecated partition parser. Signed-off-by: Daniel Golle <daniel@makrotopia.org>
This commit is contained in:
parent
c29ab486a8
commit
d657ca6760
@ -6,11 +6,23 @@
|
||||
/ {
|
||||
model = "Xiaomi Mi Router WR30U (OpenWrt U-Boot layout)";
|
||||
compatible = "xiaomi,mi-router-wr30u-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";
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
|
@ -83,7 +83,8 @@ platform_do_upgrade() {
|
||||
tplink,tl-xdr6088|\
|
||||
tplink,tl-xtr8488|\
|
||||
xiaomi,mi-router-ax3000t-ubootmod|\
|
||||
xiaomi,redmi-router-ax6000-ubootmod)
|
||||
xiaomi,redmi-router-ax6000-ubootmod|\
|
||||
xiaomi,mi-router-wr30u-ubootmod)
|
||||
fit_do_upgrade "$1"
|
||||
;;
|
||||
acer,predator-w6|\
|
||||
@ -117,8 +118,7 @@ platform_do_upgrade() {
|
||||
CI_ROOTPART="rootfs"
|
||||
emmc_do_upgrade "$1"
|
||||
;;
|
||||
netcore,n60|\
|
||||
xiaomi,mi-router-wr30u-ubootmod)
|
||||
netcore,n60)
|
||||
CI_KERNPART="fit"
|
||||
nand_do_upgrade "$1"
|
||||
;;
|
||||
|
Loading…
x
Reference in New Issue
Block a user