Comments on device tree for pcm030
Jon Smirl
jonsmirl at gmail.com
Wed Jun 11 14:08:50 EST 2008
On 6/10/08, Grant Likely <grant.likely at secretlab.ca> wrote:
> On Tue, Jun 10, 2008 at 3:05 AM, Juergen Beisert <jbe at pengutronix.de> wrote:
> > Maybe everything in this small piece of my dts is wrong. But I don't know how
> > the correct way is. All I want is to define a 32MiB flash at the end if the
> > address space of my MPC5200B based system.
I adjusted my previous DTS for the current dtc compiler. This boots on
my pcm030.
If the uboot image for the pcm030 had a redboot compatible partition
table we wouldn't need to specify them in the device tree.
lpb at ff000000 {
compatible = "fsl,lpb";
#address-cells = <2>;
#size-cells = <1>;
ranges = <0 0 0xff000000 0x01000000>;
flash at 0 {
compatible = "cfi-flash";
reg = <0 0 0x01000000>;
bank-width = <2>;
device-width = <2>;
#size-cells = <1>;
#address-cells = <1>;
partition at 0 {
label = "ubootl";
reg = <0x00000000 0x00040000>;
};
partition at 40000 {
label = "kernel";
reg = <0x00040000 0x001c0000>;
};
partition at 200000 {
label = "jffs2";
reg = <0x00200000 0x00D00000>;
};
partition at f00000 {
label = "uboot";
reg = <0x00f00000 0x00040000>;
};
partition at f40000 {
label = "oftree";
reg = <0x00f40000 0x00040000>;
};
partition at f80000 {
label = "space";
reg = <0x00f80000 0x00080000>;
};
};
};
ff000000.flash: Found 1 x16 devices at 0x0 in 16-bit bank
Intel/Sharp Extended Query Table at 0x0031
Using buffer write method
cfi_cmdset_0001: Erase suspend on write enabled
Searching for RedBoot partition table in ff000000.flash at offset 0xfe0000
No RedBoot partition table detected in ff000000.flash
Creating 6 MTD partitions on "ff000000.flash":
0x00000000-0x00040000 : "ubootl"
0x00040000-0x00200000 : "kernel"
0x00200000-0x00f00000 : "jffs2"
0x00f00000-0x00f40000 : "uboot"
0x00f40000-0x00f80000 : "oftree"
0x00f80000-0x01000000 : "space"
--
Jon Smirl
jonsmirl at gmail.com
More information about the Linuxppc-dev
mailing list