linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
* NAND partition names in DTS must be named "partition"?
@ 2009-09-21 22:27 Matthew L. Creech
  2009-09-21 22:36 ` Scott Wood
  0 siblings, 1 reply; 4+ messages in thread
From: Matthew L. Creech @ 2009-09-21 22:27 UTC (permalink / raw)
  To: linuxppc-dev

I upgraded from 2.6.29 to 2.6.31, and the kernel no longer recognized
the partitions embedded within my DTS file.  I had to revert this
change:

http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=4b08e149c0e02e97ec49c2a31d14a0d3a02f8074

in order to boot.  This code looks like it expects all partitions to
be named "partition", otherwise they're just skipped.  Is there some
peculiarity in my setup that makes this not work, or is it a general
problem?  I see no major differences between my DTS file and the
stardard "mpc8313erdb.dts".

Thanks

-- 
Matthew L. Creech

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: NAND partition names in DTS must be named "partition"?
  2009-09-21 22:27 NAND partition names in DTS must be named "partition"? Matthew L. Creech
@ 2009-09-21 22:36 ` Scott Wood
  2009-09-21 23:01   ` Anton Vorontsov
  0 siblings, 1 reply; 4+ messages in thread
From: Scott Wood @ 2009-09-21 22:36 UTC (permalink / raw)
  To: Matthew L. Creech; +Cc: linuxppc-dev

Matthew L. Creech wrote:
> I upgraded from 2.6.29 to 2.6.31, and the kernel no longer recognized
> the partitions embedded within my DTS file.  I had to revert this
> change:
> 
> http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=4b08e149c0e02e97ec49c2a31d14a0d3a02f8074
> 
> in order to boot.  This code looks like it expects all partitions to
> be named "partition", otherwise they're just skipped.  Is there some
> peculiarity in my setup that makes this not work, or is it a general
> problem?  I see no major differences between my DTS file and the
> stardard "mpc8313erdb.dts".

It looks like mpc8313erdb.dts needs to be updated.

That, and Documentation/powerpc/dts-bindings/mtd-physmap.txt, which 
still says, "Each node's name represents the name of the corresponding
partition of the flash device," and has examples whose names are not 
"partition". :-P

-Scott

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: NAND partition names in DTS must be named "partition"?
  2009-09-21 22:36 ` Scott Wood
@ 2009-09-21 23:01   ` Anton Vorontsov
  2009-09-21 23:05     ` Scott Wood
  0 siblings, 1 reply; 4+ messages in thread
From: Anton Vorontsov @ 2009-09-21 23:01 UTC (permalink / raw)
  To: Scott Wood; +Cc: linuxppc-dev, Matthew L. Creech

On Mon, Sep 21, 2009 at 05:36:25PM -0500, Scott Wood wrote:
> Matthew L. Creech wrote:
> >I upgraded from 2.6.29 to 2.6.31, and the kernel no longer recognized
> >the partitions embedded within my DTS file.  I had to revert this
> >change:
> >
> >http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=4b08e149c0e02e97ec49c2a31d14a0d3a02f8074
> >
> >in order to boot.  This code looks like it expects all partitions to
> >be named "partition", otherwise they're just skipped.  Is there some
> >peculiarity in my setup that makes this not work, or is it a general
> >problem?  I see no major differences between my DTS file and the
> >stardard "mpc8313erdb.dts".
> 
> It looks like mpc8313erdb.dts needs to be updated.

I don't think so, it's just 2.6.31 has a regression that should
be fixed by "MTD ofpart: Check availability of reg property instead
of name property":

http://patchwork.ozlabs.org/patch/32039/

Thanks,

-- 
Anton Vorontsov
email: cbouatmailru@gmail.com
irc://irc.freenode.net/bd2

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: NAND partition names in DTS must be named "partition"?
  2009-09-21 23:01   ` Anton Vorontsov
@ 2009-09-21 23:05     ` Scott Wood
  0 siblings, 0 replies; 4+ messages in thread
From: Scott Wood @ 2009-09-21 23:05 UTC (permalink / raw)
  To: avorontsov; +Cc: linuxppc-dev, Matthew L. Creech

Anton Vorontsov wrote:
> On Mon, Sep 21, 2009 at 05:36:25PM -0500, Scott Wood wrote:
>> Matthew L. Creech wrote:
>>> I upgraded from 2.6.29 to 2.6.31, and the kernel no longer recognized
>>> the partitions embedded within my DTS file.  I had to revert this
>>> change:
>>>
>>> http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=4b08e149c0e02e97ec49c2a31d14a0d3a02f8074
>>>
>>> in order to boot.  This code looks like it expects all partitions to
>>> be named "partition", otherwise they're just skipped.  Is there some
>>> peculiarity in my setup that makes this not work, or is it a general
>>> problem?  I see no major differences between my DTS file and the
>>> stardard "mpc8313erdb.dts".
>> It looks like mpc8313erdb.dts needs to be updated.
> 
> I don't think so, it's just 2.6.31 has a regression that should
> be fixed by "MTD ofpart: Check availability of reg property instead
> of name property":
> 
> http://patchwork.ozlabs.org/patch/32039/

OK, that works too. :-)

I wonder what the non-partition node is that we're needing to avoid...

-Scott

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2009-09-21 23:04 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-09-21 22:27 NAND partition names in DTS must be named "partition"? Matthew L. Creech
2009-09-21 22:36 ` Scott Wood
2009-09-21 23:01   ` Anton Vorontsov
2009-09-21 23:05     ` Scott Wood

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).