Commit 35a375e3 authored by Oleg Dzhimiev's avatar Oleg Dzhimiev

udpated nand records to increase the 4th partition (rootfs) size to 320MB

parent cf71febc
/**/ /**/
/ { / {
chosen { chosen {
bootargs = "earlycon cma=336M root=ubi0:elphel393-rootfs rootwait rootfstype=ubifs ubi.mtd=4,2048"; bootargs = "earlycon cma=336M root=ubi0:elphel393-rootfs rootwait rootfstype=ubifs ubi.mtd=4,512";
stdout-path = "serial0:115200n8"; stdout-path = "serial0:115200n8";
}; };
}; };
...@@ -119,43 +119,36 @@ ...@@ -119,43 +119,36 @@
}; };
}; };
ps7_smcc_0: ps7-smcc@e000e000 { smcc: memory-controller@e000e000 {
ps7_nand_0: ps7-nand@e1000000 { nand0: flash@e1000000 {
compatible = "arm,pl353-nand-r2p1"; partitions {
reg = < 0xe1000000 0x1000000 >; compatible = "fixed-partitions";
/*arm,nand-clk-freq-hz = <0x5f5e100>;*/ #address-cells = <1>;
arm,nand-width = <0x8>; #size-cells = <1>;
arm,nand-cycle-t0 = <0x4>; partition@0 {
arm,nand-cycle-t1 = <0x4>; label = "u-boot-spl";
arm,nand-cycle-t2 = <0x1>; reg = <0x0 0x100000>;/*1MB for backup spl image(s)*/
arm,nand-cycle-t3 = <0x2>; };
arm,nand-cycle-t4 = <0x2>; partition@1 {
arm,nand-cycle-t5 = <0x2>; label = "u-boot";
arm,nand-cycle-t6 = <0x4>; reg = <0x100000 0x400000>;/*4MB*/
#address-cells = <0x1>; };
#size-cells = <0x1>; partition@2 {
partition@0 { label = "device-tree";
label = "u-boot-spl"; reg = <0x500000 0x100000>;/*1MB*/
reg = <0x0 0x100000>;/*1MB for backup spl image(s)*/ };
partition@3 {
label = "kernel";
reg = <0x600000 0x1000000>;/*16MB*/
};
partition@4 {
label = "rootfs";
/*reg = <0x1600000 0x10000000>;*/ /*256MB*/
reg = <0x1600000 0x14000000>; /*320MB*/
};
}; };
partition@1 { };
label = "u-boot"; };
reg = <0x100000 0x400000>;/*4MB*/
};
partition@2 {
label = "device-tree";
reg = <0x500000 0x100000>;/*1MB*/
};
partition@3 {
label = "kernel";
reg = <0x600000 0x1000000>;/*16MB*/
};
partition@4 {
label = "rootfs";
reg = <0x1600000 0x10000000>;/*256MB*/
};
} ;
} ;
elphel_ahci: elphel-ahci@80000000 { elphel_ahci: elphel-ahci@80000000 {
compatible = "elphel,elphel-ahci"; compatible = "elphel,elphel-ahci";
......
...@@ -119,43 +119,36 @@ ...@@ -119,43 +119,36 @@
}; };
}; };
ps7_smcc_0: ps7-smcc@e000e000 { smcc: memory-controller@e000e000 {
ps7_nand_0: ps7-nand@e1000000 { nand0: flash@e1000000 {
compatible = "arm,pl353-nand-r2p1"; partitions {
reg = < 0xe1000000 0x1000000 >; compatible = "fixed-partitions";
/*arm,nand-clk-freq-hz = <0x5f5e100>;*/ #address-cells = <1>;
arm,nand-width = <0x8>; #size-cells = <1>;
arm,nand-cycle-t0 = <0x4>; partition@0 {
arm,nand-cycle-t1 = <0x4>; label = "u-boot-spl";
arm,nand-cycle-t2 = <0x1>; reg = <0x0 0x100000>;/*1MB for backup spl image(s)*/
arm,nand-cycle-t3 = <0x2>; };
arm,nand-cycle-t4 = <0x2>; partition@1 {
arm,nand-cycle-t5 = <0x2>; label = "u-boot";
arm,nand-cycle-t6 = <0x4>; reg = <0x100000 0x400000>;/*4MB*/
#address-cells = <0x1>; };
#size-cells = <0x1>; partition@2 {
partition@0 { label = "device-tree";
label = "u-boot-spl"; reg = <0x500000 0x100000>;/*1MB*/
reg = <0x0 0x100000>;/*1MB for backup spl image(s)*/ };
partition@3 {
label = "kernel";
reg = <0x600000 0x1000000>;/*16MB*/
};
partition@4 {
label = "rootfs";
/*reg = <0x1600000 0x10000000>;*/ /*256MB*/
reg = <0x1600000 0x14000000>; /*320MB*/
};
}; };
partition@1 { };
label = "u-boot"; };
reg = <0x100000 0x400000>;/*4MB*/
};
partition@2 {
label = "device-tree";
reg = <0x500000 0x100000>;/*1MB*/
};
partition@3 {
label = "kernel";
reg = <0x600000 0x1000000>;/*16MB*/
};
partition@4 {
label = "rootfs";
reg = <0x1600000 0x10000000>;/*256MB*/
};
} ;
} ;
elphel_ahci: elphel-ahci@80000000 { elphel_ahci: elphel-ahci@80000000 {
compatible = "elphel,elphel-ahci"; compatible = "elphel,elphel-ahci";
......
...@@ -143,11 +143,12 @@ ...@@ -143,11 +143,12 @@
}; };
partition@4 { partition@4 {
label = "rootfs"; label = "rootfs";
reg = <0x1600000 0x10000000>;/*256MB*/ /*reg = <0x1600000 0x10000000>;*/ /*256MB*/
reg = <0x1600000 0x14000000>; /*320MB*/
}; };
}; };
} ; };
} ; };
elphel_ahci: elphel-ahci@80000000 { elphel_ahci: elphel-ahci@80000000 {
compatible = "elphel,elphel-ahci"; compatible = "elphel,elphel-ahci";
......
...@@ -119,43 +119,36 @@ ...@@ -119,43 +119,36 @@
}; };
}; };
ps7_smcc_0: ps7-smcc@e000e000 { smcc: memory-controller@e000e000 {
ps7_nand_0: ps7-nand@e1000000 { nand0: flash@e1000000 {
compatible = "arm,pl353-nand-r2p1"; partitions {
reg = < 0xe1000000 0x1000000 >; compatible = "fixed-partitions";
/*arm,nand-clk-freq-hz = <0x5f5e100>;*/ #address-cells = <1>;
arm,nand-width = <0x8>; #size-cells = <1>;
arm,nand-cycle-t0 = <0x4>; partition@0 {
arm,nand-cycle-t1 = <0x4>; label = "u-boot-spl";
arm,nand-cycle-t2 = <0x1>; reg = <0x0 0x100000>;/*1MB for backup spl image(s)*/
arm,nand-cycle-t3 = <0x2>; };
arm,nand-cycle-t4 = <0x2>; partition@1 {
arm,nand-cycle-t5 = <0x2>; label = "u-boot";
arm,nand-cycle-t6 = <0x4>; reg = <0x100000 0x400000>;/*4MB*/
#address-cells = <0x1>; };
#size-cells = <0x1>; partition@2 {
partition@0 { label = "device-tree";
label = "u-boot-spl"; reg = <0x500000 0x100000>;/*1MB*/
reg = <0x0 0x100000>;/*1MB for backup spl image(s)*/ };
partition@3 {
label = "kernel";
reg = <0x600000 0x1000000>;/*16MB*/
};
partition@4 {
label = "rootfs";
/*reg = <0x1600000 0x10000000>;*/ /*256MB*/
reg = <0x1600000 0x14000000>; /*320MB*/
};
}; };
partition@1 { };
label = "u-boot"; };
reg = <0x100000 0x400000>;/*4MB*/
};
partition@2 {
label = "device-tree";
reg = <0x500000 0x100000>;/*1MB*/
};
partition@3 {
label = "kernel";
reg = <0x600000 0x1000000>;/*16MB*/
};
partition@4 {
label = "rootfs";
reg = <0x1600000 0x10000000>;/*256MB*/
};
} ;
} ;
elphel_ahci: elphel-ahci@80000000 { elphel_ahci: elphel-ahci@80000000 {
compatible = "elphel,elphel-ahci"; compatible = "elphel,elphel-ahci";
......
...@@ -117,43 +117,36 @@ ...@@ -117,43 +117,36 @@
}; };
}; };
ps7_smcc_0: ps7-smcc@e000e000 { smcc: memory-controller@e000e000 {
ps7_nand_0: ps7-nand@e1000000 { nand0: flash@e1000000 {
compatible = "arm,pl353-nand-r2p1"; partitions {
reg = < 0xe1000000 0x1000000 >; compatible = "fixed-partitions";
/*arm,nand-clk-freq-hz = <0x5f5e100>;*/ #address-cells = <1>;
arm,nand-width = <0x8>; #size-cells = <1>;
arm,nand-cycle-t0 = <0x4>; partition@0 {
arm,nand-cycle-t1 = <0x4>; label = "u-boot-spl";
arm,nand-cycle-t2 = <0x1>; reg = <0x0 0x100000>;/*1MB for backup spl image(s)*/
arm,nand-cycle-t3 = <0x2>; };
arm,nand-cycle-t4 = <0x2>; partition@1 {
arm,nand-cycle-t5 = <0x2>; label = "u-boot";
arm,nand-cycle-t6 = <0x4>; reg = <0x100000 0x400000>;/*4MB*/
#address-cells = <0x1>; };
#size-cells = <0x1>; partition@2 {
partition@0 { label = "device-tree";
label = "u-boot-spl"; reg = <0x500000 0x100000>;/*1MB*/
reg = <0x0 0x100000>;/*1MB for backup spl image(s)*/ };
partition@3 {
label = "kernel";
reg = <0x600000 0x1000000>;/*16MB*/
};
partition@4 {
label = "rootfs";
/*reg = <0x1600000 0x10000000>;*/ /*256MB*/
reg = <0x1600000 0x14000000>; /*320MB*/
};
}; };
partition@1 { };
label = "u-boot"; };
reg = <0x100000 0x400000>;/*4MB*/
};
partition@2 {
label = "device-tree";
reg = <0x500000 0x100000>;/*1MB*/
};
partition@3 {
label = "kernel";
reg = <0x600000 0x1000000>;/*16MB*/
};
partition@4 {
label = "rootfs";
reg = <0x1600000 0x10000000>;/*256MB*/
};
} ;
} ;
elphel_ahci: elphel-ahci@80000000 { elphel_ahci: elphel-ahci@80000000 {
compatible = "elphel,elphel-ahci"; compatible = "elphel,elphel-ahci";
......
...@@ -117,43 +117,36 @@ ...@@ -117,43 +117,36 @@
}; };
}; };
ps7_smcc_0: ps7-smcc@e000e000 { smcc: memory-controller@e000e000 {
ps7_nand_0: ps7-nand@e1000000 { nand0: flash@e1000000 {
compatible = "arm,pl353-nand-r2p1"; partitions {
reg = < 0xe1000000 0x1000000 >; compatible = "fixed-partitions";
/*arm,nand-clk-freq-hz = <0x5f5e100>;*/ #address-cells = <1>;
arm,nand-width = <0x8>; #size-cells = <1>;
arm,nand-cycle-t0 = <0x4>; partition@0 {
arm,nand-cycle-t1 = <0x4>; label = "u-boot-spl";
arm,nand-cycle-t2 = <0x1>; reg = <0x0 0x100000>;/*1MB for backup spl image(s)*/
arm,nand-cycle-t3 = <0x2>; };
arm,nand-cycle-t4 = <0x2>; partition@1 {
arm,nand-cycle-t5 = <0x2>; label = "u-boot";
arm,nand-cycle-t6 = <0x4>; reg = <0x100000 0x400000>;/*4MB*/
#address-cells = <0x1>; };
#size-cells = <0x1>; partition@2 {
partition@0 { label = "device-tree";
label = "u-boot-spl"; reg = <0x500000 0x100000>;/*1MB*/
reg = <0x0 0x100000>;/*1MB for backup spl image(s)*/ };
partition@3 {
label = "kernel";
reg = <0x600000 0x1000000>;/*16MB*/
};
partition@4 {
label = "rootfs";
/*reg = <0x1600000 0x10000000>;*/ /*256MB*/
reg = <0x1600000 0x14000000>; /*320MB*/
};
}; };
partition@1 { };
label = "u-boot"; };
reg = <0x100000 0x400000>;/*4MB*/
};
partition@2 {
label = "device-tree";
reg = <0x500000 0x100000>;/*1MB*/
};
partition@3 {
label = "kernel";
reg = <0x600000 0x1000000>;/*16MB*/
};
partition@4 {
label = "rootfs";
reg = <0x1600000 0x10000000>;/*256MB*/
};
} ;
} ;
elphel_ahci: elphel-ahci@80000000 { elphel_ahci: elphel-ahci@80000000 {
compatible = "elphel,elphel-ahci"; compatible = "elphel,elphel-ahci";
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment