From: Stefan Roese <sr@denx.de>
To: u-boot@lists.denx.de
Subject: [U-Boot-Users] Supporting non-CFI flash with different sector size in single binary
Date: Tue, 20 Nov 2007 14:05:10 +0100 [thread overview]
Message-ID: <200711201405.10434.sr@denx.de> (raw)
In-Reply-To: <2db382350711200439h61db4975i397867837e222eac@mail.gmail.com>
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
=====================================================================
prev parent reply other threads:[~2007-11-20 13:05 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
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 message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=200711201405.10434.sr@denx.de \
--to=sr@denx.de \
--cc=u-boot@lists.denx.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox