public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
* [U-Boot-Users] cfi_flash support for 8 bit port width S29GL032M
@ 2005-04-18 11:38 Alexandre BASTOS
  2005-04-18 12:46 ` Sebastian Schau
  0 siblings, 1 reply; 8+ messages in thread
From: Alexandre BASTOS @ 2005-04-18 11:38 UTC (permalink / raw)
  To: u-boot

Hi,

I am currently working in a custom board based on MPC8272ADS but
with some differences.

One of those is Flash chip/configuration used. I am using a Spansion
S29GL032M CFI Flash chip in BYTE# (8bit) mode.

I have tested the drivers/cfi_flash.c, which is OK for reading, but
it is not working for unlock/erase/write. Maybe due to command address
definitions, which, according to Datasheet, are for 16 bit configurations.
For example:

16 bit (already in driver)

#define AMD_ADDR_ERASE_START        0x555
#define AMD_ADDR_START          0x555
#define AMD_ADDR_ACK            0x2AA

8 bit (should be?)

#define AMD_ADDR_ERASE_START    0xAAA
#define AMD_ADDR_START          0xAAA
#define AMD_ADDR_ACK            0x555


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.

If not ... is there already any work done for this purpouse? Any hint?

Thanks,

Alex Bastos

^ permalink raw reply	[flat|nested] 8+ messages in thread
* [U-Boot-Users] cfi_flash support for 8 bit port width S29GL032M
@ 2005-04-18 12:00 Sam Song
  2005-04-18 12:25 ` Ladislav Michl
  2005-04-18 13:40 ` Alexandre BASTOS
  0 siblings, 2 replies; 8+ messages in thread
From: Sam Song @ 2005-04-18 12:00 UTC (permalink / raw)
  To: u-boot

--- Alexandre BASTOS <alebas@televes.com> wrote:
[snip]
> 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/

^ permalink raw reply	[flat|nested] 8+ messages in thread
* [U-Boot-Users] cfi_flash support for 8 bit port width S29GL032M
@ 2005-04-21  9:50 Sam Song
  2005-04-21 11:03 ` Alex BASTOS
  0 siblings, 1 reply; 8+ messages in thread
From: Sam Song @ 2005-04-21  9:50 UTC (permalink / raw)
  To: u-boot

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_1g/

^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2005-04-21 11:03 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-04-18 11:38 [U-Boot-Users] cfi_flash support for 8 bit port width S29GL032M Alexandre BASTOS
2005-04-18 12:46 ` Sebastian Schau
  -- strict thread matches above, loose matches on Subject: below --
2005-04-18 12:00 Sam Song
2005-04-18 12:25 ` Ladislav Michl
2005-04-18 13:36   ` Alexandre BASTOS
2005-04-18 13:40 ` Alexandre BASTOS
2005-04-21  9:50 Sam Song
2005-04-21 11:03 ` Alex BASTOS

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox