Re: [PATCH] [PowerPC] MPC8272ADS: fix device tree for 8 MB flash size

2009-06-10 Thread Kumar Gala
On May 12, 2009, at 2:06 PM, Wolfgang Denk wrote: The current device tree for the MPC8272ADS assumes a mapping of 32 MB of NOR flash at 0xFE00., while there are actually only 8 MB on the boards, mapped at 0xFF80.. When booting an uImage with such a device tree, the kernel crashes becaus

Re: [PATCH] [PowerPC] MPC8272ADS: fix device tree for 8 MB flash size

2009-05-20 Thread Scott Wood
Kumar Gala wrote: Scott, any feedback if our boards have 8M or 32M flash modules? According to the manual, it comes with 8 but can be expanded to 32. I don't think we swapped out the flash SIMM that came with the board. As I wrote earlier in the thread, I don't see any way a current u-boot

Re: [PATCH] [PowerPC] MPC8272ADS: fix device tree for 8 MB flash size

2009-05-20 Thread Kumar Gala
On May 13, 2009, at 2:42 PM, Wolfgang Denk wrote: Dear Li Yang, In message <2a27d3730905130328m27743852w2d68a62ebc32c...@mail.gmail.com > you wrote: Although 8MB seems to be the common size used. It can be very easy changed as a pluggable module. It might be better to make the code workin

Re: [PATCH] [PowerPC] MPC8272ADS: fix device tree for 8 MB flash, size

2009-05-15 Thread Scott Wood
On Fri, May 15, 2009 at 07:54:51AM +0200, Heiko Schocher wrote: > Scott Wood wrote: > > We should proabbly leave out the ranges altogether, and have u-boot > > populate it from the mappings it establishes. > > No, I vote for manipulating just the entries, which u-boot dynamically > detect, and let

Re: [PATCH] [PowerPC] MPC8272ADS: fix device tree for 8 MB flash, size

2009-05-14 Thread Heiko Schocher
Hello Scott, Scott Wood wrote: > On Wed, May 13, 2009 at 08:27:07AM +0200, Heiko Schocher wrote: >> Hello Wolfgang, >> >>> The current device tree for the MPC8272ADS assumes a mapping of 32 MB >>> of NOR flash at 0xFE00., while there are actually only 8 MB on >>> the boards, mapped at 0xFF80.0

Re: [PATCH] [PowerPC] MPC8272ADS: fix device tree for 8 MB flash, size

2009-05-14 Thread Scott Wood
On Wed, May 13, 2009 at 08:27:07AM +0200, Heiko Schocher wrote: > Hello Wolfgang, > > > The current device tree for the MPC8272ADS assumes a mapping of 32 MB > > of NOR flash at 0xFE00., while there are actually only 8 MB on > > the boards, mapped at 0xFF80.. When booting an uImage with su

Re: [PATCH] [PowerPC] MPC8272ADS: fix device tree for 8 MB flash size

2009-05-13 Thread Wolfgang Denk
Dear Li Yang, In message <2a27d3730905130328m27743852w2d68a62ebc32c...@mail.gmail.com> you wrote: > > Although 8MB seems to be the common size used. It can be very easy > changed as a pluggable module. It might be better to make the code > working for any reasonable flash sizes. You either hav

Re: [PATCH] [PowerPC] MPC8272ADS: fix device tree for 8 MB flash size

2009-05-13 Thread Li Yang
On Wed, May 13, 2009 at 3:06 AM, Wolfgang Denk wrote: > The current device tree for the MPC8272ADS assumes a mapping of 32 MB > of NOR flash at 0xFE00., while there are actually only 8 MB on > the boards, mapped at 0xFF80.. When booting an uImage with such a > device tree, the kernel crash

Re: [PATCH] [PowerPC] MPC8272ADS: fix device tree for 8 MB flash, size

2009-05-12 Thread Heiko Schocher
Hello Wolfgang, > The current device tree for the MPC8272ADS assumes a mapping of 32 MB > of NOR flash at 0xFE00., while there are actually only 8 MB on > the boards, mapped at 0xFF80.. When booting an uImage with such a > device tree, the kernel crashes because 0xFE00. is not mapped.