Flash on LocalBus @ MPC8343

Laurent Pinchart laurentp at cse-semaphore.com
Sat Apr 12 01:20:54 EST 2008


On Friday 11 April 2008 17:13, Andre Schwarz wrote:
> 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>;

reg should be <0 0 0x800000>.

>                         #address-cells = <1>;
>                         #size-cells = <1>;
>                         bank-width = <2>;
>                         device-width = <2>;
> 
>                         ppcboot_env at 0 {
>                                 reg = <0x0 0x2000>;
>                         };

-- 
Laurent Pinchart
CSE Semaphore Belgium

Chaussee de Bruxelles, 732A
B-1410 Waterloo
Belgium

T +32 (2) 387 42 59
F +32 (2) 387 42 75
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <http://lists.ozlabs.org/pipermail/linuxppc-dev/attachments/20080411/212ee329/attachment.pgp>


More information about the Linuxppc-dev mailing list