Hi Maupin,

Which Hardware did you use ? How different was ur hardware with Dm355 EVM ? If 
Yes,  Did u just replace existing 2k pg Nand with another 4k pg Nand because i 
gess RBL just supports 2k pg Nand already available their.

Furthur which kernel did u use as base code (2.6.10 or latest GIT from 
Montavista i.t 2.6.28) ?


On Wed, 17 Dec 2008 Maupin,Chase wrote :
>In my testing that was enough to support 4K nand pages.  The only other thing 
>that needed to change was that in nand_ids.c the older NAND chips can share 
>the same device id as the new one.  Thus the new NAND chip is detected 
>incorrectly and the page size is wrong.  i.e. for Samsung the NAND id for the 
>512MB nand chip was 0xd5 and the id for the new chip was 0xD5.  Since these 
>are hex values the new chip was mistakenly detected as a 512MB part.  You may 
>need to comment out the old part.
>
>Lastly, there is a limitation in the nand_base.c code of 2GB for the total 
>size of the nand chip.  This is because they use a signed value for the offset 
>which causes bit extension during calculation of the nand chip to use for the 
>offset.  Assuming this was fixed there is then a 4GB limitation in the MTD 
>subsystem.
>
>Still, to at least get 2GB of NAND with 4K page sizes all I needed to do was 
>update the nand_ids.c file and increase the NAND_MAX_OOBSIZE variable to 128.
>
>Sincerely,
>Chase Maupin
>Software Applications
>Catalog DSP Products
>e-mail: [email protected]
>phone: (281) 274-3285
>
> > -----Original Message-----
> > From: Felipe Balbi [mailto:[email protected]]
> > Sent: Monday, December 15, 2008 2:29 PM
> > To: Maupin, Chase
> > Cc: [email protected]; [email protected]; davinci-linux-
> > [email protected]
> > Subject: Re: Problem with u-boot and flash MT29F16G08DAA
> >
> > On Mon, Dec 15, 2008 at 02:19:24PM -0600, Maupin, Chase wrote:
> > > You will definitely need to change the NAND_MAX_OOBSIZE to 128 for 4K
> > pages.  You may also need to change the FFCHARS definition to 4096 to be
> > safe.
> >
> > sure, that's an easy guess. But is that really enough in the end ? I
> > hope so :-)
> >
> > --
> > balbi
>
>_______________________________________________
>Davinci-linux-open-source mailing list
>[email protected]
>http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source
_______________________________________________
Davinci-linux-open-source mailing list
[email protected]
http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source

Reply via email to