linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
From: David Gibson <dwg@au1.ibm.com>
To: Wolfgang Denk <wd@denx.de>
Cc: linuxppc-dev@ozlabs.org, Stefan Roese <sr@denx.de>
Subject: Re: [patch 3/4] 4xx: Convert Walnut flash mappings to new binding
Date: Mon, 17 Sep 2007 12:02:17 +1000	[thread overview]
Message-ID: <20070917020217.GE32725@localhost.localdomain> (raw)
In-Reply-To: <20070915150901.AC712247CE@gemini.denx.de>

On Sat, Sep 15, 2007 at 05:09:01PM +0200, Wolfgang Denk wrote:
> In message <1189866379.17593.2.camel@localhost.localdomain> Josh Boyer wrote:
> > On Sat, 2007-09-15 at 05:23 +0200, Stefan Roese wrote:
> ...
> > > There are not only Bamboo board running PIBS, but running U-Boot too. How 
> > > should we handle this different FLASH partitioning? Same goes for Ebony too 
> > > btw.
> > 
> > That's a good question.  I'm working on making the NOR flash show up for
> > Bamboo right now, and I had intended to just leave the partition
> > subnodes missing.
> 
> Maybe we can have  U-Boot  add  the  partition  information  if  it's
> missing in the device tree, and extend the mtdparts command in U-Boot
> to add / adjust settings so they match what is defined in U-Boot.
> 
> Stefan, what do you think?

If U-Boot is supplying a device tree, it should certainly make the
partition information match its own idea of the partitions.

For older non-device-tree away u-boot, I guess we'll have to make the
cuboot and treeboot wrappers mangle the device tree differently to
correct the partition information.

I suspect the easiest way to do this will be for the dts to contain
both treeboot and u-boot partition info, and have the wrapper delete
or nop the nodes for the other firmware.

-- 
David Gibson			| I'll have my music baroque, and my code
david AT gibson.dropbear.id.au	| minimalist, thank you.  NOT _the_ _other_
				| _way_ _around_!
http://www.ozlabs.org/~dgibson

  parent reply	other threads:[~2007-09-17  2:46 UTC|newest]

Thread overview: 19+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-09-14 18:54 [patch 0/4] Small 4xx updates for 2.6.24 Josh Boyer
2007-09-14 18:54 ` [patch 1/4] cuimage for Bamboo board Josh Boyer
2007-09-15  2:19   ` David Gibson
2007-09-15 14:26     ` Josh Boyer
2007-09-14 18:54 ` [patch 2/4] Make partitions optional in physmap_of Josh Boyer
2007-09-15  2:21   ` David Gibson
2007-09-14 18:54 ` [patch 3/4] 4xx: Convert Walnut flash mappings to new binding Josh Boyer
2007-09-15  2:22   ` David Gibson
2007-09-15 14:25     ` Josh Boyer
2007-09-15  3:23   ` Stefan Roese
2007-09-15 14:26     ` Josh Boyer
2007-09-15 15:09       ` Wolfgang Denk
2007-09-15 17:35         ` Josh Boyer
2007-09-15 19:20           ` Segher Boessenkool
2007-09-17  2:03             ` David Gibson
2007-09-17  2:02         ` David Gibson [this message]
2007-09-14 18:54 ` [patch 4/4] 4xx: Convert Seqouia " Josh Boyer
2007-09-15  2:23   ` David Gibson
2007-09-15  3:32     ` Stefan Roese

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=20070917020217.GE32725@localhost.localdomain \
    --to=dwg@au1.ibm.com \
    --cc=linuxppc-dev@ozlabs.org \
    --cc=sr@denx.de \
    --cc=wd@denx.de \
    /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).