2009-11-20 11:35:08     NAND Flash

Document created by Aaronwu Employee on Aug 19, 2013
Version 1Show Document
  • View in full screen mode

2009-11-20 11:35:08     NAND Flash

Chris Brissette (UNITED STATES)

Message: 82600   

 

I am just putting this out there because I am having a horrible problem findinf NAND flash for my BF-537 Stamp board. I have been using ST NAND08GW3B2CN6E 8Mbit . But it's been obsoleted, and sourcing is impossible. I tried a micron part MT29F8G08AAAWP:A that Avnet sourced as an alternative. Make a long story short.. Doesn't work to well, even with newest U-Boot. (Had to patch MTD to even try)

 

My question is, does anywone know of a 1Gbyte or bigger NAND that is supported with the 2009R1 Distro? I would like to have some tested part numbers together so I am not blindly shooting.

 

I know that there should be some Samsung/Intel/Hynix chips that should work.

 

I am supposed to have a release this January.. It's not looking so good, any help would be great.

 

 

 

Thanks

 

Chris

QuoteReplyEditDelete

 

 

2009-11-20 12:48:47     NAND Flash

Ron Weiland (UNITED STATES)

Message: 82601    We're using a MT29F8G08AAD just fine on our BF533-based board. Only

problem was when going from the "C" (which as obsoleted) to the "D", I

had to add a reset command into the u-boot for the chip to get

recognized.

 

Ron Weiland

QuoteReplyEditDelete

 

 

2009-11-20 14:13:12     Re: NAND Flash

Mike Frysinger (UNITED STATES)

Message: 82602   

 

if you posted the change you had to make, we can look at getting it integrated ...

QuoteReplyEditDelete

 

 

2009-11-20 20:55:17     Re: NAND Flash

Ron Weiland (UNITED STATES)

Message: 82607    Sorry, Mike. I thought I only made the change to 2008 and that it was

already in 2009. It isn't. Here is the patch:

 

--- nand_base.c 2009-04-09 01:32:44.000000000 -0700

+++

/home/rweiland/code/clx/2009_release/uboot/drivers/mtd/nand/nand_base.c

2009-11-20 17:39:54.000000000 -0800

@@ -2365,6 +2365,8 @@

/* Select the device */

chip->select_chip(mtd, 0);

 

+ chip->cmdfunc( mtd, NAND_CMD_RESET, -1, -1 );

+

/* Send the command for reading device ID */

chip->cmdfunc(mtd, NAND_CMD_READID, 0x00, -1);

 

Hope that helps.

Ron

QuoteReplyEditDelete

 

 

2009-11-29 16:45:35     Re: NAND Flash

Mike Frysinger (UNITED STATES)

Message: 82872   

 

which version of u-boot did you write this against originally ?  did you verify it was still needed in the latest, or you just saw that there was no reset command there still ?

 

the mtd and nand stack is significantly different between 2008R1.5 (based on u-boot 1.1.6) and 2009R1 (based on u-boot 2008.10).  there's easily 2 years+ of changes in the upstreram u-boot code base here.

QuoteReplyEditDelete

 

 

2009-11-30 15:44:41     Re: NAND Flash

Ron Weiland (UNITED STATES)

Message: 82898    Hi Mike, hope you had a good Thanksgiving!

 

I originally wrote the change for u-boot 1.1.5 from ASTFIN. The board

would not recognize the flash without the change. I don't remember if I

tested 2009R1-rc3 without the change, but I don't think I would have

made the change without testing first. Since I have hardware with both

the "C" rev NAND and the "D" rev, I will test the 2009R1-rc3 with and

without the change and get back to you.

 

Ron

QuoteReplyEditDelete

 

 

2009-11-30 19:09:19     Re: NAND Flash

Ron Weiland (UNITED STATES)

Message: 82899    Yes, it would appear that the reset patch is still required (at least in

my case) in 2009R1.

Without it, the u-boot was not able to read the ID code from

MT29F8G08AAD NAND flash from a power-on, same as I saw with the older

u-boot.

 

Ron

Attachments

    Outcomes