Re: [U-Boot-Users] cfi_flash support for 8 bit port width S29GL032M

Ladislav Michl ladis@linux-mips.org wrote:
U could try the flash driver of RPXlite DW. If I remember right, this one could work well for 4*8bit of AM29LV320M. As for cfi driver, I
Well, I made a mistake here. The flash driver is not for AM29LV320M. It is for 4*AM29DL323DB90VI instead. Sorry for this.
Perhaps because some AMD chips are JEDEC compatible? Quick look to datasheet shows that AM29LV320M is JEDEC compatible and therefore cfi_flash driver will not work for it (it works nicely for CFI compatible AMD chips such as AM29DL323).
You delivered a really nice hint. But the example you listed couldn't push youself laugh to the end IMHO. AM29DL323 wasn't supported by cfi_flash driver, at least I tested it for Brad Kemp but we didn't succeed. Maybe now or other configuration can work?
Thanks,
Sam
Best regards,
Sam
_________________________________________________________ Do You Yahoo!? 150万曲MP3疯狂搜,带您闯入音乐殿堂 http://cn.rd.yahoo.com/mail_cn/tag/yisou/music/*http://music.yisou.com/ 美女明星应有尽有,搜遍美图、艳图和酷图 http://cn.rd.yahoo.com/mail_cn/tag/yisou/image/*http://image.yisou.com 1G就是1000兆,雅虎电邮自助扩容! http://cn.rd.yahoo.com/mail_cn/tag/1g/*http://cn.mail.yahoo.com/event/mail_1...

Hi,
Well, I made a mistake here. The flash driver is not for AM29LV320M. It is for 4*AM29DL323DB90VI instead. Sorry for this.
Don't worry about. In fact, I have tested this driver. But the problem pointed out by Sebastian Schau was also present on it: the new S29GLxxxM flashes doesn't support the WRITE BYTE (AO) command, so write has to be allways done through write_buffer.
So, finally, I decided to make some modification to the generic cfi_flash.c driver to support 8 BIT mode and AMD write buffer operation. I will submit a patch in several minutes.
In brief, I have to implement flash_write_cfibuffer and add AMD_ADDR_xxx_8BIT to add support for specific unlock sequence and command addresses.
You delivered a really nice hint. But the example you listed couldn't push youself laugh to the end IMHO. AM29DL323 wasn't supported by cfi_flash driver, at least I tested it for Brad Kemp but we didn't succeed. Maybe now or other configuration can work?
At least S29GL032M behaves as CFI, and the cfi driver is now working.
Best regards,
Alex BASTOS
participants (2)
-
Alex BASTOS
-
Sam Song