Flash on LocalBus @ MPC8343

Andre Schwarz andre.schwarz at matrix-vision.de
Sat Apr 12 01:13:47 EST 2008


Hi all,

I've been trying hard to make the mtd-partitions available via device 
tree on my MPC8343 local bus.
No success so far ...

Everything works fine on my MPC5200B based system - flash layout 
definition is quite simple ....

To me it looks like there's a problem regarding the local bus in general.

Am I missing a "compatible" or anything else ? "reg" or "ranges" ?

The other boards use static map files or provide partition over command 
line args .... so suitable dts available.

Flash is 8MB size in 16-Bit configuration and should reside on 
0xFF800000 at cs0.


Any hints ?


regards,
Andre Schwarz
Matrix Vision


dts syntax :

<snip>

        localbus at e0005000 {
                #address-cells = <2>;
                #size-cells = <1>;
                compatible = "fsl,mpc8343-localbus", "fsl,pq2pro-localbus";

                ranges = <0x0 0x0 0xff800000 0x00800000>;

                flash at 0,0 {
                        compatible = "amd,s29gl64", "cfi-flash";
                        reg = <0 0 800000>;
                        #address-cells = <1>;
                        #size-cells = <1>;
                        bank-width = <2>;
                        device-width = <2>;

                        ppcboot_env at 0 {
                                reg = <0x0 0x2000>;
                        };

<snip>


MATRIX VISION GmbH, Talstraße 16, DE-71570 Oppenweiler  - Registergericht: Amtsgericht Stuttgart, HRB 271090
Geschäftsführer: Gerhard Thullner, Werner Armingeon, Uwe Furtner



More information about the Linuxppc-dev mailing list