[U-Boot-Users] U-boot ColdFire development
Liew Tsi Chung-r5aahp
Tsi-chung.Liew at freescale.com
Fri Jul 6 03:55:35 CEST 2007
Stefan,
The flash chips are Intel JS28F160 (2MiB), JS28F320 (4MiB) and JS28F640 (8MiB).
Regards,
TsiChung
-----Original Message-----
From: Stefan Roese [mailto:sr at denx.de]
Sent: Wednesday, July 04, 2007 1:21 AM
To: u-boot-users at lists.sourceforge.net
Cc: Liew Tsi Chung-r5aahp; Wolfgang Denk; Detlev Zundel
Subject: Re: [U-Boot-Users] U-boot ColdFire development
Hi TsiChung,
On Tuesday 03 July 2007, Liew Tsi Chung-r5aahp wrote:
> The CFG_FLASH_USE_BUFFER_WRITE does not help in this case because the
> intel flash chip on M5329EVB does not support Buffer Write. (It could
> be verified by reading the CFI at offset 0x2a)
Which chips is it? Just curious.
> I were doing an experiment days ago by redirected some of the CFI
> driver functions to board specific flash driver functions. I replaced
> flash_write_cfiword() in write_buff() to write_data(). Program the
> flash for 1MB. flash_add_byte() is ~5s more than total time in board
> specific flash driver. Replaced the write_data() flash status check in
> while loop - while ((*addr & (u16) FLASH_STATUS_DONE) != (u16)
> FLASH_STATUS_DONE) to while(!flash_isset (info, sec, 0,
> FLASH_STATUS_DONE)), this will add another ~11s.
Seems there is some need to enhance the CFI driver. Unfortunately we don't have an custodian for this anymore.
> There are some overhead in the CFI flash driver for non Buffer Write.
> Anyway, I am going to use the CFI flash driver from now on.
Thanks. We should keep in mind to address you thoughts about speed improvement later.
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 =====================================================================
More information about the U-Boot
mailing list