mediatek: filogic: convert Zyxel EX5601-T0 to fitblk
Use fitblk driver instead of deprecated partition parser. Signed-off-by: Daniel Golle <daniel@makrotopia.org>
This commit is contained in:
parent
ca4f5b0def
commit
688239d91e
2 changed files with 17 additions and 8 deletions
|
@ -13,10 +13,16 @@
|
||||||
/ {
|
/ {
|
||||||
model = "Zyxel EX5601-T0 ubootmod";
|
model = "Zyxel EX5601-T0 ubootmod";
|
||||||
compatible = "zyxel,ex5601-t0-ubootmod", "mediatek,mt7986a";
|
compatible = "zyxel,ex5601-t0-ubootmod", "mediatek,mt7986a";
|
||||||
|
|
||||||
memory@40000000 {
|
memory@40000000 {
|
||||||
device_type = "memory";
|
device_type = "memory";
|
||||||
reg = <0x40000000 0x20000000>;
|
reg = <0x40000000 0x20000000>;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
chosen {
|
||||||
|
bootargs-append = " root=/dev/fit0 rootwait";
|
||||||
|
rootdisk = <&ubi_rootdisk>;
|
||||||
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
&nand_partitions {
|
&nand_partitions {
|
||||||
|
@ -82,6 +88,13 @@
|
||||||
partition@580000 {
|
partition@580000 {
|
||||||
label = "ubi";
|
label = "ubi";
|
||||||
reg = <0x580000 0x1da80000>;
|
reg = <0x580000 0x1da80000>;
|
||||||
|
compatible = "linux,ubi";
|
||||||
|
|
||||||
|
volumes {
|
||||||
|
ubi_rootdisk: ubi-volume-fit {
|
||||||
|
volname = "fit";
|
||||||
|
};
|
||||||
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
|
@ -85,7 +85,8 @@ platform_do_upgrade() {
|
||||||
tplink,tl-xtr8488|\
|
tplink,tl-xtr8488|\
|
||||||
xiaomi,mi-router-ax3000t-ubootmod|\
|
xiaomi,mi-router-ax3000t-ubootmod|\
|
||||||
xiaomi,redmi-router-ax6000-ubootmod|\
|
xiaomi,redmi-router-ax6000-ubootmod|\
|
||||||
xiaomi,mi-router-wr30u-ubootmod)
|
xiaomi,mi-router-wr30u-ubootmod|\
|
||||||
|
zyxel,ex5601-t0-ubootmod)
|
||||||
fit_do_upgrade "$1"
|
fit_do_upgrade "$1"
|
||||||
;;
|
;;
|
||||||
acer,predator-w6|\
|
acer,predator-w6|\
|
||||||
|
@ -136,11 +137,6 @@ platform_do_upgrade() {
|
||||||
CI_ROOT_UBIPART=ubi
|
CI_ROOT_UBIPART=ubi
|
||||||
nand_do_upgrade "$1"
|
nand_do_upgrade "$1"
|
||||||
;;
|
;;
|
||||||
zyxel,ex5601-t0-ubootmod)
|
|
||||||
CI_KERNPART="fit"
|
|
||||||
CI_ROOTPART="ubi_rootfs"
|
|
||||||
nand_do_upgrade "$1"
|
|
||||||
;;
|
|
||||||
unielec,u7981-01*)
|
unielec,u7981-01*)
|
||||||
local rootdev="$(cmdline_get_var root)"
|
local rootdev="$(cmdline_get_var root)"
|
||||||
rootdev="${rootdev##*/}"
|
rootdev="${rootdev##*/}"
|
||||||
|
|
Loading…
Reference in a new issue