Hi Daniel, On Tuesday, January 31, 2012, Daniel Nilsson <gnuf...@gmail.com> wrote: > I am bringing up a board that has a Freescale P1020 (PowerPC e500v2) > and a 16-bit PC28F256J3 NOR-flash on it. > > My problem is that both erases and programming takes very long time. > Reading from the flash on the other hand, is quite fast (at least a > few MByte/s). > > I have set up the BR0, OR0 and other GPCM-related parameters to be as > fast as the datasheet allows. > > To give an example of how slow it is, programming 24MiB data takes > around 45 minutes. Erasing the area before programming takes 2-3 > minutes. > > I have based my project on a 2011.09 version of u-boot. > > Is there any known limitation, problem or workaround? >
Erasing: sounds ok, seems to agree with the data sheet. Writing should be faster. I had the same problem until I enabled buffer write. Make sure you have #define CONFIG_SYS_FLASH_USE_BUFFER_WRITE in your board config. Regards, Christian
_______________________________________________ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot