This is the mail archive of the
ecos-discuss@sourceware.org
mailing list for the eCos project.
R: Define Flash partition for WinCE storage
>
> On 03/16/2010 05:55 AM, Stefano Mora wrote:
> > Hi all,
> > I have a board with RedBoot + WinCE.
>
> What kind of a board is this?
It is a SODIMM board based on iMX25 and 2GB of Flash memory
>
> > I defined a Flash partition for wince and a 64MB partition
> for storage.
> > WinCE mounts correctly the 64MB storage partition.
> >
> > RedBoot> fis list
> > Name FLASH addr Mem addr Length Entry point
> > RedBoot 0x00000000 0x00000000 0x00040000 0x00000000
> > wince 0x00040000 0x80100000 0x01F00000 0xFFFFFFFF
> > storage 0x01F40000 0x82000000 0x04000000 0xFFFFFFFF
> > FIS directory 0x07F60000 0x07F60000 0x0001F000 0x00000000
> > RedBoot config 0x07F7F000 0x07F7F000 0x00001000 0x00000000
> > RedBoot>
> >
> > How can i define a 1GB Storage size?
>
> You'd have to have a 1GB device on your hardware platform - do you?
Yes, of course :-)
> > Do I need to define a RAM (Mem addr) size with the same
> size of the storage area?? I have not so much RAM !?!?!
>
> No these are not related. The 'Mem addr' is simply the RAM
> address that RedBoot will load an image into by default (when
> the -b option is not used with 'fis load')
So instead of:
RedBoot> fis create -b 0x82000000 -r 0x82000000 -l 0x04000000 -s 0 -f 0x01f40000 storage
i need to type:
RedBoot> fis create -b 0x82000000 -r 0x82000000 -l 0x40000000 -s 0 -f 0x01f40000 storage
I guess i should have problems with the locations of the RedBoot config & FIS directory partitions ...
Maybe I could choose a different range of Flash addresses:
RedBoot> fis create -b 0x82000000 -r 0x82000000 -l 0x04000000 -s 0 -f 0x10000000 storage
________________________________
Ing. Stefano Mora
--
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss