public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
* [U-Boot-Users] ARM VersatilePB - Fixed flash support
@ 2004-09-28 16:59 Philippe Robin
  2004-10-11 22:47 ` Wolfgang Denk
  2004-10-11 23:20 ` Shawn
  0 siblings, 2 replies; 11+ messages in thread
From: Philippe Robin @ 2004-09-28 16:59 UTC (permalink / raw)
  To: u-boot

Greetings,

I have attached a patch fixing flash support with Versatile Boards:

CHANGELOG Entry:

* Patch by Philippe Robin, 28 Sept 2004:
  - Fix Flash support for Versatile.

Regards,
Philippe


-------------- next part --------------
A non-text attachment was scrubbed...
Name: versatile-flash.patch.gz
Type: application/x-gzip
Size: 2319 bytes
Desc: versatile-flash.patch.gz
Url : http://lists.denx.de/pipermail/u-boot/attachments/20040928/5abdde82/attachment.bin 

^ permalink raw reply	[flat|nested] 11+ messages in thread
* [U-Boot-Users] ARM VersatilePB - Fixed flash support
@ 2004-10-12 14:49 Philippe Robin
  2004-10-13  0:50 ` Shawn
  0 siblings, 1 reply; 11+ messages in thread
From: Philippe Robin @ 2004-10-12 14:49 UTC (permalink / raw)
  To: u-boot

> -----Original Message-----
> From: Shawn [mailto:shawnxjin at gmail.com] 
> Sent: 12 October 2004 00:21
> To: Philippe Robin
> Cc: u-boot-users at lists.sourceforge.net
> Subject: Re: [U-Boot-Users] ARM VersatilePB - Fixed flash support
> 
> The current flash support for Integrator CP supports only one 
> flash type 28F256L18T. However the flash on the CP board we 
> recently bought is 28F640J3C. I ported flash.c to support 
> this type of flash. If you'd like, I'll post the patch.

Yes please. The flash.c was cut and paste and needed to be fixed. The
flash part is indeed a 28F640J3C. 

> One issue I've encoutered is flash write timeout of a big 
> chunk of data (> 128KB). Write always times out no matter how 
> big the value of CFG_FLASH_WRITE_TOUT is. The issue hasn't 
> been solved yet. Any hints are appreciated.

I will have a go with your code on my board once you've posted it. I
checked here with the tools we use and we have not had this problem with
that board.

Thanks,
Philippe

^ permalink raw reply	[flat|nested] 11+ messages in thread
* [U-Boot-Users] ARM VersatilePB - Fixed flash support
@ 2004-10-14 13:43 Philippe Robin
  2004-10-14 16:51 ` Shawn
  0 siblings, 1 reply; 11+ messages in thread
From: Philippe Robin @ 2004-10-14 13:43 UTC (permalink / raw)
  To: u-boot

Shawn,

> One issue I've encoutered is flash write timeout of a big 
> chunk of data (> 128KB). Write always times out no matter how 
> big the value of CFG_FLASH_WRITE_TOUT is. The issue hasn't 
> been solved yet. Any hints are appreciated.

I have tried with removing the test for timeout in the write_data()
routine, just looping on the status:

    while (((status = *addr) & (FPW) 0x00800080) != (FPW) 0x00800080) ;

This worked fine for large amounts of data so the timeout value is
probably too low. Let me know if this is the same with your setting.

Regards,
Philippe

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

end of thread, other threads:[~2005-01-10 18:01 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-09-28 16:59 [U-Boot-Users] ARM VersatilePB - Fixed flash support Philippe Robin
2004-10-11 22:47 ` Wolfgang Denk
2004-10-11 23:20 ` Shawn
2005-01-09 23:36   ` Wolfgang Denk
2005-01-10 17:56     ` Shawn Jin
2005-01-10 18:01       ` Shawn Jin
  -- strict thread matches above, loose matches on Subject: below --
2004-10-12 14:49 Philippe Robin
2004-10-13  0:50 ` Shawn
2004-10-14 13:43 Philippe Robin
2004-10-14 16:51 ` Shawn
2004-10-14 21:09   ` Wolfgang Denk

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