bad flash write times with u-boot
We have a board with Intel Strata flash and are seeing flash write times on the order of 1MB / _minute_ from U-boot.
However, from Linux the same flash part can be written in the order of serveral MB / second.
Does anyone out there know if the MB/min write times we are seeing are in the ball park of expected/normal??
Thanks,
Stuart Yoder
Quoted 3 lines · In message <[email protected]> you wrote:
We have a board with Intel Strata flash and are seeing flash write times on the order of 1MB / _minute_ from U-boot.
However, from Linux the same flash part can be written in the order of serveral MB / second.
Are you sure that this is the actual write data rate to flash memory, or is it by chance just the rate by which the data get buffered in the file system cache?
Best regards,
Wolfgang Denk
Signature · 4 lines
Software Engineering: Embedded and Realtime Systems, Embedded Linux Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de It is surely a great calamity for a human being to have no ob- sessions. - Robert Bly
Quoted 5 lines · syoder at austin.rr.com
We have a board with Intel Strata flash and are seeing flash write times on the order of 1MB / _minute_ from U-boot.
However, from Linux the same flash part can be written in the order of serveral MB / second.
Does anyone out there know if the MB/min write times we are seeing are in the ball park of expected/normal??
Make sure you are using the common cfi_flash.c driver and CFG_FLASH_USE_BUFFER_WRITE is set. If you are still having problems, I can benchmark my system here.
Cliff
Signature · 3 lines
======================= Cliff Brake http://bec-systems.com
[U-Boot-Users] Dataflash...
Evening...
Just out of curiousity...
What was the intention behind having a nice setting called CONFIG_HAS_DATAFLASH which sounds rather universal but everything including dataflash.h is meant to be used only by Atmel 45DB series memories?
Makes it rather difficult to add support for a new platform which supports booting from serial dataflash as well...
night
rick
[U-Boot-Users] Dataflash...
Quoted 1 line · In message <r02010400-1038-9CF3BEDC902211D9B01500039387ACB6@[10.0.1.1]> you…
Evening...
Morning...
Quoted 1 line
Just out of curiousity...
curiousity killed the cat :-)
Quoted 4 lines
What was the intention behind having a nice setting called
CONFIG_HAS_DATAFLASHwhich sounds rather universal but everything includingdataflash.his meant to be used only by Atmel 45DB series memories?
<speculation>
Like many other features, things get implemented on a specific platform first; the original implementer, not knowing any other systems that might use the same device / chip / feature, has problems to separate common from specific parts, so a later cleanup will be needed.
</speculation>
Quoted 2 lines
Makes it rather difficult to add support for a new platform which supports booting from serial dataflash as well...
But it still makes it easier than absolutley no support for dataflash at all, right?
Looking forward to seeing your patches :-)
Best regards,
Wolfgang Denk
Signature · 5 lines
Software Engineering: Embedded and Realtime Systems, Embedded Linux Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de The reasonable man adapts himself to the world; the unreasonable one persists in trying to adapt the world to himself. Therefore all progress depends on the unreasonable man." - George Bernard Shaw
The cfi_flash.c driver and CFG_FLASH_USE_BUFFER_WRITE did the trick.
Performance is much better. We had been using a different flash driver.
Thanks much.
Stuart
-----Original Message-----
From: Cliff Brake [mailto:cliff.brake at gmail.com]
Sent: Tuesday, March 08, 2005 4:12 PM
To: syoder at austin.rr.com
Cc: u-boot-users at lists.sourceforge.net
Subject: Re: [U-Boot-Users] bad flash write times with u-boot
Quoted 1 line · syoder at austin.rr.com
We have a board with Intel Strata flash and are seeing flash write times
on the order of 1MB / _minute_ from U-boot.
Quoted 2 lines
However, from Linux the same flash part can be written in the order of
serveral MB / second.
Quoted 2 lines
Does anyone out there know if the MB/min write times we are seeing are in
the ball park of expected/normal??
Make sure you are using the common cfi_flash.c driver and CFG_FLASH_USE_BUFFER_WRITE is set. If you are still having problems, I can benchmark my system here.
Cliff
--
=======================
Cliff Brake
http://bec-systems.com