linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
From: Andre Schwarz <andre.schwarz@matrix-vision.de>
To: linux-ppc list <linuxppc-dev@ozlabs.org>
Subject: Flash on LocalBus @ MPC8343
Date: Fri, 11 Apr 2008 17:13:47 +0200	[thread overview]
Message-ID: <47FF802B.5020708@matrix-vision.de> (raw)

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@e0005000 {
                #address-cells = <2>;
                #size-cells = <1>;
                compatible = "fsl,mpc8343-localbus", "fsl,pq2pro-localbus";

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

                flash@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@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

             reply	other threads:[~2008-04-11 15:13 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-04-11 15:13 Andre Schwarz [this message]
2008-04-11 15:20 ` Flash on LocalBus @ MPC8343 Laurent Pinchart
2008-04-11 15:38 ` Scott Wood
2008-04-11 19:58   ` André Schwarz
2008-04-11 20:01     ` Scott Wood
2008-04-12  8:58       ` André Schwarz
2008-04-14 16:45         ` Scott Wood
2008-04-15 11:53           ` Andre Schwarz
2008-04-15 14:21             ` Scott Wood

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=47FF802B.5020708@matrix-vision.de \
    --to=andre.schwarz@matrix-vision.de \
    --cc=linuxppc-dev@ozlabs.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).