From: "Jon Smirl" <jonsmirl@gmail.com>
To: "Grant Likely" <grant.likely@secretlab.ca>
Cc: linuxppc-dev@ozlabs.org
Subject: Re: Comments on device tree for pcm030
Date: Wed, 11 Jun 2008 00:08:50 -0400 [thread overview]
Message-ID: <9e4733910806102108t53ed0b21ya4785502c9e93f88@mail.gmail.com> (raw)
In-Reply-To: <fa686aa40806100626t14ee44fnc1108426b73fc7fd@mail.gmail.com>
On 6/10/08, Grant Likely <grant.likely@secretlab.ca> wrote:
> On Tue, Jun 10, 2008 at 3:05 AM, Juergen Beisert <jbe@pengutronix.de> wrote:
> > Maybe everything in this small piece of my dts is wrong. But I don't know how
> > the correct way is. All I want is to define a 32MiB flash at the end if the
> > address space of my MPC5200B based system.
I adjusted my previous DTS for the current dtc compiler. This boots on
my pcm030.
If the uboot image for the pcm030 had a redboot compatible partition
table we wouldn't need to specify them in the device tree.
lpb@ff000000 {
compatible = "fsl,lpb";
#address-cells = <2>;
#size-cells = <1>;
ranges = <0 0 0xff000000 0x01000000>;
flash@0 {
compatible = "cfi-flash";
reg = <0 0 0x01000000>;
bank-width = <2>;
device-width = <2>;
#size-cells = <1>;
#address-cells = <1>;
partition@0 {
label = "ubootl";
reg = <0x00000000 0x00040000>;
};
partition@40000 {
label = "kernel";
reg = <0x00040000 0x001c0000>;
};
partition@200000 {
label = "jffs2";
reg = <0x00200000 0x00D00000>;
};
partition@f00000 {
label = "uboot";
reg = <0x00f00000 0x00040000>;
};
partition@f40000 {
label = "oftree";
reg = <0x00f40000 0x00040000>;
};
partition@f80000 {
label = "space";
reg = <0x00f80000 0x00080000>;
};
};
};
ff000000.flash: Found 1 x16 devices at 0x0 in 16-bit bank
Intel/Sharp Extended Query Table at 0x0031
Using buffer write method
cfi_cmdset_0001: Erase suspend on write enabled
Searching for RedBoot partition table in ff000000.flash at offset 0xfe0000
No RedBoot partition table detected in ff000000.flash
Creating 6 MTD partitions on "ff000000.flash":
0x00000000-0x00040000 : "ubootl"
0x00040000-0x00200000 : "kernel"
0x00200000-0x00f00000 : "jffs2"
0x00f00000-0x00f40000 : "uboot"
0x00f40000-0x00f80000 : "oftree"
0x00f80000-0x01000000 : "space"
--
Jon Smirl
jonsmirl@gmail.com
next prev parent reply other threads:[~2008-06-11 4:08 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
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 [this message]
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=9e4733910806102108t53ed0b21ya4785502c9e93f88@mail.gmail.com \
--to=jonsmirl@gmail.com \
--cc=grant.likely@secretlab.ca \
--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).