This is the mail archive of the
ecos-discuss@sourceware.org
mailing list for the eCos project.
Re: AT91SAM7X256--flash can not Initialise?
Andrew Lunn wrote:
Not true, unless this has broken in recent times. I added the ability
for either of these (certainly the FIS directory) to span multiple blocks
when I did the MOAB which uses NAND FLASH with small (256 byte) blocks.
[Humm, goes and looks at the code]
cdl_option CYGNUM_REDBOOT_FIS_DIRECTORY_ENTRY_SIZE {
display "Size of FIS directory entry"
flavor data
default_value 256
description "
The FIS directory is limited to one single flash
sector. If your flash has tiny sectors, you may wish
to reduce this value in order to get more slots in
the FIS directory."
}
There is similar such wording in a few places. This is what made me
think you can only have one flash block.
However the code does seem to support multiple books. It would be nice
to clean up the CDL descriptions.
I'll see what I can do.
I guess the posters problem is his FIS and CFG blocks overlap?
Not clear at all. The original message did not show the lines which
describe the size and layout of the FLASH, e.g.
FLASH: 0xf0000000 - 0xf2000000, 256 blocks of 0x00020000 bytes each.
Without this information (or having such a platform myself), it's
hard to tell what the problem is.
--
------------------------------------------------------------
Gary Thomas | Consulting for the
MLB Associates | Embedded world
------------------------------------------------------------
--
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss