This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
Re: flash size calculation
- To: Jonathan Larmour <jlarmour at redhat dot com>
- Subject: Re: [ECOS] flash size calculation
- From: Christoph Csebits <christoph dot csebits at frequentis dot com>
- Date: Wed, 12 Sep 2001 09:14:43 +0200
- Cc: eCos mailing list <ecos-discuss at sources dot redhat dot com>
- References: <20010911105818.A5497@frequentis.com> <3B9EB30A.F5260F48@redhat.com>
On Wed, Sep 12, 2001 at 01:57:46AM +0100, Jonathan Larmour wrote:
> Probably not good: looking at redboot's load_flash_config() function, it
> uses the flash_end (set from flash_info.end) to calculate the base for the
> flash config. But that should be aligned to a flash block.
Meanwhile i noticed that this is not really good.
(there are many other situations making problems)
My workaround is mapping the flash not
to the ceiling of the 32bit boundary. :-)
thanks, christoph
--