* [U-Boot-Users] bad flash write times with u-boot
@ 2005-03-08 19:36 syoder at austin.rr.com
2005-03-08 19:54 ` Wolfgang Denk
2005-03-08 22:12 ` Cliff Brake
0 siblings, 2 replies; 7+ messages in thread
From: syoder at austin.rr.com @ 2005-03-08 19:36 UTC (permalink / raw)
To: 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
^ permalink raw reply [flat|nested] 7+ messages in thread
* [U-Boot-Users] bad flash write times with u-boot
@ 2005-03-08 19:49 Woodruff, Richard
0 siblings, 0 replies; 7+ messages in thread
From: Woodruff, Richard @ 2005-03-08 19:49 UTC (permalink / raw)
To: u-boot
Seems like I get about 100KB/s or 6000/minute using the CFI driver. If
I don't using the buffering feature of the flash I get around 1M/m.
Are you using the buffer for programming? Has your bus speed or timings
changed by the time the kernel gets at it.
I'll guess your just not enabling buffering and the kernel is, as that
is in line with what I see. 1M/m vs 6M/m for burn.
Regards,
Richard W.
> -----Original Message-----
> From: u-boot-users-admin at lists.sourceforge.net [mailto:u-boot-users-
> admin at lists.sourceforge.net] On Behalf Of syoder at austin.rr.com
> Sent: Tuesday, March 08, 2005 1:37 PM
> To: u-boot-users at lists.sourceforge.net
> Subject: [U-Boot-Users] 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
>
>
>
>
>
> -------------------------------------------------------
> SF email is sponsored by - The IT Product Guide
> Read honest & candid reviews on hundreds of IT Products from real
users.
> Discover which products truly live up to the hype. Start reading now.
> http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
> _______________________________________________
> U-Boot-Users mailing list
> U-Boot-Users at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/u-boot-users
^ permalink raw reply [flat|nested] 7+ messages in thread
* [U-Boot-Users] bad flash write times with u-boot
2005-03-08 19:36 [U-Boot-Users] bad flash write times with u-boot syoder at austin.rr.com
@ 2005-03-08 19:54 ` Wolfgang Denk
2005-03-08 22:12 ` Cliff Brake
1 sibling, 0 replies; 7+ messages in thread
From: Wolfgang Denk @ 2005-03-08 19:54 UTC (permalink / raw)
To: u-boot
In message <29278b294d51.294d5129278b@texas.rr.com> 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
--
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
^ permalink raw reply [flat|nested] 7+ messages in thread
* [U-Boot-Users] bad flash write times with u-boot
2005-03-08 19:36 [U-Boot-Users] bad flash write times with u-boot syoder at austin.rr.com
2005-03-08 19:54 ` Wolfgang Denk
@ 2005-03-08 22:12 ` Cliff Brake
2005-03-08 22:37 ` [U-Boot-Users] Dataflash richard at uclinux.net
2005-03-10 2:17 ` [U-Boot-Users] bad flash write times with u-boot Stuart Yoder
1 sibling, 2 replies; 7+ messages in thread
From: Cliff Brake @ 2005-03-08 22:12 UTC (permalink / raw)
To: u-boot
On Tue, 08 Mar 2005 13:36:33 -0600, syoder at austin.rr.com
<syoder@austin.rr.com> 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.
>
> 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
^ permalink raw reply [flat|nested] 7+ messages in thread
* [U-Boot-Users] Dataflash...
2005-03-08 22:12 ` Cliff Brake
@ 2005-03-08 22:37 ` richard at uclinux.net
2005-03-08 23:41 ` Wolfgang Denk
2005-03-10 2:17 ` [U-Boot-Users] bad flash write times with u-boot Stuart Yoder
1 sibling, 1 reply; 7+ messages in thread
From: richard at uclinux.net @ 2005-03-08 22:37 UTC (permalink / raw)
To: u-boot
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
^ permalink raw reply [flat|nested] 7+ messages in thread
* [U-Boot-Users] Dataflash...
2005-03-08 22:37 ` [U-Boot-Users] Dataflash richard at uclinux.net
@ 2005-03-08 23:41 ` Wolfgang Denk
0 siblings, 0 replies; 7+ messages in thread
From: Wolfgang Denk @ 2005-03-08 23:41 UTC (permalink / raw)
To: u-boot
In message <r02010400-1038-9CF3BEDC902211D9B01500039387ACB6@[10.0.1.1]> you wrote:
> Evening...
Morning...
> Just out of curiousity...
curiousity killed the cat :-)
> 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?
<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>
> 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
--
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
^ permalink raw reply [flat|nested] 7+ messages in thread
* [U-Boot-Users] bad flash write times with u-boot
2005-03-08 22:12 ` Cliff Brake
2005-03-08 22:37 ` [U-Boot-Users] Dataflash richard at uclinux.net
@ 2005-03-10 2:17 ` Stuart Yoder
1 sibling, 0 replies; 7+ messages in thread
From: Stuart Yoder @ 2005-03-10 2:17 UTC (permalink / raw)
To: u-boot
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
On Tue, 08 Mar 2005 13:36:33 -0600, syoder at austin.rr.com
<syoder@austin.rr.com> 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.
>
> 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
^ permalink raw reply [flat|nested] 7+ messages in thread
end of thread, other threads:[~2005-03-10 2:17 UTC | newest]
Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-03-08 19:36 [U-Boot-Users] bad flash write times with u-boot syoder at austin.rr.com
2005-03-08 19:54 ` Wolfgang Denk
2005-03-08 22:12 ` Cliff Brake
2005-03-08 22:37 ` [U-Boot-Users] Dataflash richard at uclinux.net
2005-03-08 23:41 ` Wolfgang Denk
2005-03-10 2:17 ` [U-Boot-Users] bad flash write times with u-boot Stuart Yoder
-- strict thread matches above, loose matches on Subject: below --
2005-03-08 19:49 Woodruff, Richard
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox