From: Laurent Pinchart <laurentp@cse-semaphore.com>
To: linuxppc-dev@ozlabs.org
Cc: Andre Schwarz <andre.schwarz@matrix-vision.de>
Subject: Re: Flash on LocalBus @ MPC8343
Date: Fri, 11 Apr 2008 17:20:54 +0200 [thread overview]
Message-ID: <200804111720.57095.laurentp@cse-semaphore.com> (raw)
In-Reply-To: <47FF802B.5020708@matrix-vision.de>
[-- Attachment #1: Type: text/plain, Size: 1707 bytes --]
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@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>;
reg should be <0 0 0x800000>.
> #address-cells = <1>;
> #size-cells = <1>;
> bank-width = <2>;
> device-width = <2>;
>
> ppcboot_env@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
[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]
next prev parent reply other threads:[~2008-04-11 15:21 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-04-11 15:13 Flash on LocalBus @ MPC8343 Andre Schwarz
2008-04-11 15:20 ` Laurent Pinchart [this message]
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=200804111720.57095.laurentp@cse-semaphore.com \
--to=laurentp@cse-semaphore.com \
--cc=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).