public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
* [U-Boot] CFI Flash write speed
@ 2009-08-11 15:03 A. Geisreiter
  2009-08-12 18:46 ` Wolfgang Denk
  0 siblings, 1 reply; 5+ messages in thread
From: A. Geisreiter @ 2009-08-11 15:03 UTC (permalink / raw)
  To: u-boot

Hello,

 

I have add CFI support to my project. I use Intel strata flash P30 and
PXA270 CPU. The flash is connected with 16bit to the PXA data bus. If I
write to the flash I have transfer rates of roughly 75kB/sec. I think this
is very slow.  How can I increase the transfer rate?

 

Thanks,

Andreas

 

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

* [U-Boot] CFI Flash write speed
  2009-08-11 15:03 [U-Boot] CFI Flash write speed A. Geisreiter
@ 2009-08-12 18:46 ` Wolfgang Denk
       [not found]   ` <004e01ca1bd8$a943a8f0$fbcafad0$@de>
  0 siblings, 1 reply; 5+ messages in thread
From: Wolfgang Denk @ 2009-08-12 18:46 UTC (permalink / raw)
  To: u-boot

Dear "A. Geisreiter",

In message <000001ca1a94$e0216f50$a0644df0$@de> you wrote:
> 
> I have add CFI support to my project. I use Intel strata flash P30 and
> PXA270 CPU. The flash is connected with 16bit to the PXA data bus. If I
> write to the flash I have transfer rates of roughly 75kB/sec. I think this
> is very slow.  How can I increase the transfer rate?

Did you enable CONFIG_SYS_FLASH_USE_BUFFER_WRITE ?

Best regards,

Wolfgang Denk

-- 
DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
It is much easier to suggest solutions when you know nothing

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

* [U-Boot] CFI Flash write speed
       [not found]   ` <004e01ca1bd8$a943a8f0$fbcafad0$@de>
@ 2009-08-13 10:43     ` Wolfgang Denk
  2009-08-13 11:51       ` A. Geisreiter
  0 siblings, 1 reply; 5+ messages in thread
From: Wolfgang Denk @ 2009-08-13 10:43 UTC (permalink / raw)
  To: u-boot

Dear "A. Geisreiter",

please always keep the mailing list on Cc:.  Thanks.

In message <004e01ca1bd8$a943a8f0$fbcafad0$@de> you wrote:
> I use U-Boot version 1.3.4 and there I can't find the define
> CONFIG_SYS_FLASH_USE_BUFFER_WRITE. Do I need a patch or a newer version of
> U-Boot?

Well, using recent code is always recommended :-)

In your old version, the variable names was probably still
CFG_FLASH_USE_BUFFER_WRITE

Best regards,

Wolfgang Denk

-- 
DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
Our business is run on trust.  We trust you will pay in advance.

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

* [U-Boot] CFI Flash write speed
  2009-08-13 10:43     ` Wolfgang Denk
@ 2009-08-13 11:51       ` A. Geisreiter
  2009-08-13 11:59         ` Wolfgang Denk
  0 siblings, 1 reply; 5+ messages in thread
From: A. Geisreiter @ 2009-08-13 11:51 UTC (permalink / raw)
  To: u-boot

Hello Mr. Denk,

CFG_FLASH_USE_BUFFER_WRITE is already defined in the project-header file. I
have configured the CPU registers for access the flash memory with maximum
speed. But I think it is although very slow. If I use Windows CE to copy
something to the flash memory I have transfer rates of 140kB/s. With U-Boot
I have only 75kB/s. 
What else can I do to increase the transfer rate?

Thanks,
Andreas

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

* [U-Boot] CFI Flash write speed
  2009-08-13 11:51       ` A. Geisreiter
@ 2009-08-13 11:59         ` Wolfgang Denk
  0 siblings, 0 replies; 5+ messages in thread
From: Wolfgang Denk @ 2009-08-13 11:59 UTC (permalink / raw)
  To: u-boot

Dear "A. Geisreiter",

In message <006201ca1c0c$55a62ea0$00f28be0$@de> you wrote:
> 
> CFG_FLASH_USE_BUFFER_WRITE is already defined in the project-header file. I
> have configured the CPU registers for access the flash memory with maximum
> speed. But I think it is although very slow. If I use Windows CE to copy
> something to the flash memory I have transfer rates of 140kB/s. With U-Boot
> I have only 75kB/s. 
> What else can I do to increase the transfer rate?

I guess the PXA270 suffers like all (?) ARM from the fact  that  data
cache  is  not effective. Jean-Christophe has been promising for some
time to submit patches that are supposed to fix this.

I have no idea though when these might hit mainline.

Best regards,

Wolfgang Denk

-- 
DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
Hello! I'm from outer space,  and I've made myself look like a signa-
ture.  While  you  are reading this, I'm having sex with your eyes. I
know it feels good to you, because you're smiling. I'm very horny, so
send me to someone else when you've had enough. Thanks!
                              Sincerely, A Stranger in a Strange Land

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

end of thread, other threads:[~2009-08-13 11:59 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-08-11 15:03 [U-Boot] CFI Flash write speed A. Geisreiter
2009-08-12 18:46 ` Wolfgang Denk
     [not found]   ` <004e01ca1bd8$a943a8f0$fbcafad0$@de>
2009-08-13 10:43     ` Wolfgang Denk
2009-08-13 11:51       ` A. Geisreiter
2009-08-13 11:59         ` Wolfgang Denk

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