RE: Dynamically partitoning flash memory from Bootloader.
- From: Rameshchandra <Rameshchandra@xxxxxxxxxxxxxxxxxxxxxxxxx>
- Date: Fri, 8 Aug 2008 08:36:01 -0700
Hi,
You have to do some work at the E-boot.
I could find some E-boot source somewhere in the bulverde 4.2 bsp, having
the option of,
"Program RAM Image into Flash(Enabled)".
This one actuallly donwloads the Nk.bin RAMIMAGE (Write Image to flash
disabled), in to the RAM, Creates a partition in the flash (one for storing
NK.BIN and the createas a partition with the remaining freespace for
filesystem mounting) and finally copies the entire NK.BIN from RAM to this
partition.
The next time you boot your board, the bootloader checks for valid
partition, and then copies the entire RAMIMAGE stored in flash to RAM and
jump to the image...
If you could tweak this source, you can get the size from the user and then
create the partition of that size and then proceed.
Hope this helps..
--
Ramesh.c
Innovate Sofware Solutions.
Bangalore.
"jipinjose@xxxxxxxxx" wrote:
hi ,.
We are using WinCE 6.0 on PXA320 processor.I need to dynamically
resize the storage space using FMD driver based on the image size.
That is, instead of keeping the FMD size constant, it should be varied
accoring to the size of the OS image. For an example if the total
flash size 512MB and if the size of the OS image is 20MB then the rest
492MB should be utilized for storage and if I change the size of the
OS image to 30MB then the storage memory should be 482MB, so that no
flash memory is wasted. The size of the image will be given by the
user at bootloader.Can anybody help me in this and we are using a NAND
flash. Thanks in advance.
Regards
Joseph
- Follow-Ups:
- Re: Dynamically partitoning flash memory from Bootloader.
- From: Dean Ramsier
- Re: Dynamically partitoning flash memory from Bootloader.
- References:
- Dynamically partitoning flash memory from Bootloader.
- From: jipinjose
- Dynamically partitoning flash memory from Bootloader.
- Prev by Date: RE: Interrupt mechanism in "PCI to Serial driver" fails in WinCE 5
- Next by Date: Re: Interrupt mechanism in "PCI to Serial driver" fails in WinCE 5
- Previous by thread: Dynamically partitoning flash memory from Bootloader.
- Next by thread: Re: Dynamically partitoning flash memory from Bootloader.
- Index(es):
Relevant Pages
|
Loading