From: Juergen Beisert <jbe@pengutronix.de>
To: linuxppc-dev@ozlabs.org
Subject: Re: Comments on device tree for pcm030
Date: Mon, 9 Jun 2008 18:31:24 +0200 [thread overview]
Message-ID: <200806091831.25200.jbe@pengutronix.de> (raw)
In-Reply-To: <9e4733910806081208r1a8d0987j6eab0d73bc446640@mail.gmail.com>
On Sunday 08 June 2008 21:08, Jon Smirl wrote:
> What about the flash on the local bus? Could we use something like
> this, or the same without the partition data?
>
> lpb@ff000000 {
> compatible =3D "fsl,lpb";
> ranges =3D <0 ff000000 01000000>;
>
> flash@00000000 {
> compatible =3D "cfi-flash";
> reg =3D <00000000 01000000>;
> bank-width =3D <2>;
> #size-cells =3D <1>;
> #address-cells =3D <1>;
> partition@0 {
> label =3D "ubootl";
> reg =3D <00000000 00040000>;
> };
> partition@40000 {
> label =3D "kernel";
> reg =3D <00040000 001c0000>;
> };
> partition@200000 {
> label =3D "jffs2";
> reg =3D <00200000 00D00000>;
> };
> partition@f00000 {
> label =3D "uboot";
> reg =3D <00f00000 00040000>;
> };
> partition@f40000 {
> label =3D "oftree";
> reg =3D <00f40000 00040000>;
> };
> partition@f80000 {
> label =3D "space";
> reg =3D <00f80000 00080000>;
> };
> };
> };
Hmm, I tried with these setting (and many others) to make the flash on my=20
board work again.
But the physmap_of.c driver always fails. It tries to request the region=20
0xfe000000 to 0x00000000 (my flash is 32MiB in size at 0xfe00000 to=20
0xffffffff) and fails badly. What are the correct settings in the OFTree to=
=20
make the physmap_of.c driver work?
Regards,
Juergen
=2D-=20
Dipl.-Ing. Juergen Beisert | http://www.pengutronix.de
=A0Pengutronix - Linux Solutions for Science and Industry
=A0 Handelsregister: Amtsgericht Hildesheim, HRA 2686
=A0 =A0 =A0 Vertretung Sued/Muenchen, Germany
Phone: +49-8766-939 228 | Fax: +49-5121-206917-9
next prev parent reply other threads:[~2008-06-09 16:34 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-06-08 19:08 Comments on device tree for pcm030 Jon Smirl
2008-06-08 23:28 ` Grant Likely
2008-06-09 7:56 ` Juergen Beisert
2008-06-09 12:37 ` Jon Smirl
2008-06-09 13:05 ` Juergen Beisert
2008-06-09 12:41 ` Jon Smirl
2008-06-09 13:57 ` Grant Likely
2008-06-09 9:13 ` Sascha Hauer
2008-06-09 21:00 ` Robert Schwebel
2008-06-09 16:31 ` Juergen Beisert [this message]
2008-06-09 21:30 ` Jon Smirl
2008-06-10 8:20 ` Juergen Beisert
2008-06-10 9:05 ` Juergen Beisert
2008-06-10 13:26 ` Grant Likely
2008-06-11 4:08 ` Jon Smirl
2008-06-09 21:05 ` Robert Schwebel
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=200806091831.25200.jbe@pengutronix.de \
--to=jbe@pengutronix.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).