* [U-Boot-Users] Supporting non-CFI flash with different sector size in single binary
@ 2007-11-20 12:39 Srinath Iyengar
2007-11-20 13:05 ` Stefan Roese
0 siblings, 1 reply; 2+ messages in thread
From: Srinath Iyengar @ 2007-11-20 12:39 UTC (permalink / raw)
To: u-boot
Hi All,
Currently I am using the u-boot-1.2.0, I am trying to have a single Uboot
Image which supports non-CFI flash with different sector size and flash
sizes say for e.g. 8 MB flash with 64KB sector size, 16MB flash with 64KB
and 16MB flash with 256KB sector size. Form uboot sources it evident
multiple flashes (change in flash size and sector size) are supported using
config options. It's also documented ENV_SECT_SIZE should be equal to Sector
size of flash.
Can someone please suggest the possible way to support multiple flashes in a
single uboot binary? (Assuming commands are unique across all flashes).
With Regards
Srinath
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.denx.de/pipermail/u-boot/attachments/20071120/62e6e90b/attachment.htm
^ permalink raw reply [flat|nested] 2+ messages in thread
* [U-Boot-Users] Supporting non-CFI flash with different sector size in single binary
2007-11-20 12:39 [U-Boot-Users] Supporting non-CFI flash with different sector size in single binary Srinath Iyengar
@ 2007-11-20 13:05 ` Stefan Roese
0 siblings, 0 replies; 2+ messages in thread
From: Stefan Roese @ 2007-11-20 13:05 UTC (permalink / raw)
To: u-boot
Hi Srinath,
On Tuesday 20 November 2007, Srinath Iyengar wrote:
> Currently I am using the u-boot-1.2.0, I am trying to have a single Uboot
> Image which supports non-CFI flash with different sector size and flash
> sizes say for e.g. 8 MB flash with 64KB sector size, 16MB flash with 64KB
> and 16MB flash with 256KB sector size. Form uboot sources it evident
> multiple flashes (change in flash size and sector size) are supported using
> config options. It's also documented ENV_SECT_SIZE should be equal to
> Sector size of flash.
Unfortunately currently you have to provide a board specific NOR FLASH driver
to support non-CFI flash's, which many boards do. This will change in the
near future since I have a patch in the queue that will add a JEDEC style
flash support from Linux to the common CFI flash driver.
BTW: Supporting multiple flash chips with different sector sizes is no problem
at all.
> Can someone please suggest the possible way to support multiple flashes in
> a single uboot binary? (Assuming commands are unique across all flashes).
Please wait a little while till the new infrastructure is in place. Then you
can add your flash support much easier in the common driver.
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
=====================================================================
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2007-11-20 13:05 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-11-20 12:39 [U-Boot-Users] Supporting non-CFI flash with different sector size in single binary Srinath Iyengar
2007-11-20 13:05 ` Stefan Roese
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox