|
@@ -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 {
|
|
@@ -72,16 +78,23 @@
|
|
|
reg = <0x380000 0x0200000>;
|
|
reg = <0x380000 0x0200000>;
|
|
|
read-only;
|
|
read-only;
|
|
|
};
|
|
};
|
|
|
-
|
|
|
|
|
|
|
+
|
|
|
partition@540000 {
|
|
partition@540000 {
|
|
|
label = "zloader";
|
|
label = "zloader";
|
|
|
reg = <0x540000 0x0040000>;
|
|
reg = <0x540000 0x0040000>;
|
|
|
read-only;
|
|
read-only;
|
|
|
};
|
|
};
|
|
|
-
|
|
|
|
|
|
|
+
|
|
|
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";
|
|
|
|
|
+ };
|
|
|
|
|
+ };
|
|
|
};
|
|
};
|
|
|
};
|
|
};
|
|
|
|
|
|