cfi_flash support for 8 bit port width S29GL032M
--- Alexandre BASTOS <[email protected]> wrote:
[snip]
Quoted 5 lines
So, my question is ... Is the S29GL032M (or AMD equivalent AM29LV320M) already supported in byte mode for any board in u-boot?.
I have been testing some of the drivers, but I still couldn't find a working solution for my board.
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 haven't heard about it can work for any AMD FLASH chip:-( Maybe I exaggerate the case? Hope I am wrong:-)
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_1g/
Quoted 8 lines · Sam Song
--- Alexandre BASTOS <[email protected]> wrote:
[snip]Quoted 5 lines
So, my question is ... Is the S29GL032M (or AMD equivalent AM29LV320M) already supported in byte mode for any board in u-boot?.
I have been testing some of the drivers, but I still couldn't find a working solution for my board.
Quoted 5 lines
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 haven't heard about it can work for any AMD FLASH chip:-( Maybe I exaggerate the case? Hope I am wrong:-)
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).
There is no generic driver for JEDEC flashes in U-Boot, so you'll have to provide your own flash driver in board's directory.
Best regards,
ladis
Quoted 6 lines
Perhaps because some AMD chips are JEDEC compatible? Quick look to datasheet shows that AM29LV320M is JEDEC compatible and therefore
cfi_flashdriver will not work for it (it works nicely for CFI compatible AMD chips such as AM29DL323).
Quoted 7 lines
There is no generic driver for JEDEC flashes in U-Boot, so you'll have to provide your own flash driver in board's directory.
Best regards,
ladis
Ummmm. Maybe I was wrong, as I was thinking that CFI was also part of the JEDEC standards.
Nevertheless, in datasheet from Spansion I can read:
CFI (Common Flash Interface) compliant
So this should not be the issue here.
Neither the command address I have reported before.
A deeper analyse of driver showed me that address is shifted in write cfi_write_cmd. Indeed command to query CFI Table (0x98) works. So, maybe problem is Program command AMD_CMD_WRITE, which is not present in 8bit mode.
Best Regards,
Alex Bastos
Citando Sam Song <[email protected]>:
Quoted 14 lines
--- Alexandre BASTOS <[email protected]> wrote:
[snip]Quoted 5 lines
So, my question is ... Is the S29GL032M (or AMD equivalent AM29LV320M) already supported in byte mode for any board in u-boot?.
I have been testing some of the drivers, but I still couldn't find a working solution for my board.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 haven't heard about it can work for any AMD FLASH chip:-( Maybe I exaggerate the case? Hope I am wrong:-)
Quoted 3 lines
Best regards,
Sam
Sam,
I will test it. But I can see it uses write_word command (0xA0), which is not supported in 8bit mode (as long as Datasheet is ok).
Best regards,
Alex