flash partitioning
From: liran raz <hidden>
Date: 2008-08-15 14:23:31
hi,
Using the following configuration in the
dts file (mpc8272ads.dts):
localbus@f0010100 {
compatible = "fsl,mpc8272-localbus",
"fsl,pq2-localbus";
#address-cells = <2>;
#size-cells = <1>;
reg = <f0010100 40>;
ranges = <0 0 fc000000 04000000>;
};
flash@fc000000 {
device_type = "rom";
compatible = "direct-mapped";
probe-type = "CFI";
reg = <fc000000 04000000>;
bank-width = <4>;
device-width = <2>;
#address-cells = <1>;
#size-cells = <1>;
partitions = <0 200000
2000000 a00000
c000000 a00000
16000000 600000
1c000000 e00000
2a000000 600000
30000000 e00000
3e000000 100000
3f000000 80000
3f800000 40000
3fc00000 40000>;
partition-names =
"part01","part02","part03","part04","part05","part06","part07","part08","part09","part10","part11";
};
I can't see the different partitions linked to the /dev/mtd<x>
devices in the startup messages. When testing the devices