Skip to contentSkip to conversation

CONFIG_SYS_FLASH_USE_BUFFER_WRITE breaks writing with M29W640 parts

U-Boot Mike Frysinger 3 participants 3 messages Jun 6, 2011 – Jun 7, 2011

lore
Share & tools
lore
#0 lore raw

i started playing with the CONFIG_SYS_FLASH_USE_BUFFER_WRITE option, and it seems to work fine with an intel strataflash. but when i tried using it with an ST M29W640 part, no writes are ever committed to the flash.

are there any known gotchas with this code before i start poking further ? -mike
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 836 bytes
Desc: This is a digitally signed message part.
Url : http://lists.denx.de/pipermail/u-boot/attachments/20110606/3fcdb37e/attachment.pgp

#1 lore raw

Hi Mike,

Quoted 5 lines · On Tuesday 07 June 2011 00:26:05 Mike Frysinger wrote:

i started playing with the CONFIG_SYS_FLASH_USE_BUFFER_WRITE option, and it seems to work fine with an intel strataflash. but when i tried using it with an ST M29W640 part, no writes are ever committed to the flash.

are there any known gotchas with this code before i start poking further ?

Not that I am aware of. I am using it on all my Intel/Numonyx and AMD/Spansion NOR flash equipped boards without any issues. I don't remember using it on a ST device though. Not sure what's going wrong there, sorry.

Best regards,
Stefan

--
DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-0 Fax: (+49)-8142-66989-80 Email: office at denx.de

#2 lore raw
Quoted 7 lines · Stefan Roese

Hi Mike,

Quoted 4 lines · On Tuesday 07 June 2011 00:26:05 Mike Frysinger wrote:

i started playing with the CONFIG_SYS_FLASH_USE_BUFFER_WRITE option, and it seems to work fine with an intel strataflash. but when i tried using it with an ST M29W640 part, no writes are ever committed to the flash.

Quoted 6 lines
Quoted 1 line

are there any known gotchas with this code before i start poking further ?

Not that I am aware of. I am using it on all my Intel/Numonyx and AMD/Spansion NOR flash equipped boards without any issues. I don't remember using it on a ST device though. Not sure what's going wrong there, sorry.

I'm running a combination of Intel StrataFlash and AM29LV040B (equivalent to ST29LV040B) and I cannot enable CONFIG_SYS_FLASH_USE_BUFFER_WRITE either
- I don't think the AM29 device supports it :(

Regards,

Graeme