On 6/10/08, Grant Likely <[EMAIL PROTECTED]> wrote:
> On Tue, Jun 10, 2008 at 3:05 AM, Juergen Beisert <[EMAIL PROTECTED]> 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.

        [EMAIL PROTECTED] {
                compatible = "fsl,lpb";
                #address-cells = <2>;
                #size-cells = <1>;
                ranges = <0 0 0xff000000 0x01000000>;
                
                [EMAIL PROTECTED] {
                        compatible = "cfi-flash";
                        reg = <0 0 0x01000000>;
                        bank-width = <2>;
                        device-width = <2>;
                        #size-cells = <1>;
                        #address-cells = <1>;
                        [EMAIL PROTECTED] {
                                label = "ubootl";
                                reg = <0x00000000 0x00040000>;
                        };
                        [EMAIL PROTECTED] {
                                label = "kernel";
                                reg = <0x00040000 0x001c0000>;
                        };
                        [EMAIL PROTECTED] {
                                label = "jffs2";
                                reg = <0x00200000 0x00D00000>;
                        };
                        [EMAIL PROTECTED] {
                                label = "uboot";
                                reg = <0x00f00000 0x00040000>;
                        };
                        [EMAIL PROTECTED] {
                                label = "oftree";
                                reg = <0x00f40000 0x00040000>;
                        };
                        [EMAIL PROTECTED] {
                                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
[EMAIL PROTECTED]
_______________________________________________
Linuxppc-dev mailing list
Linuxppc-dev@ozlabs.org
https://ozlabs.org/mailman/listinfo/linuxppc-dev

Reply via email to