Re: Using flash disk partition

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance



This is just my point. I don't need to see the partition at boot ime. I just
can't seem to find the partition from within the OS and consequently can't
format it.



--
kris @ signum


"Chris Tacke, eMVP" wrote:

Why does you bootoader eed to see partitions? Typically it just finds the
CE image, moves it to RAM and then launches Use the OS to find and format
any partitions - after it, it's an OS.


--

Chris Tacke, Embedded MVP
OpenNETCF Consulting
Giving back to the embedded community
http://community.OpenNETCF.com

"kris" <kris@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:5CFB5B32-E4EF-4F94-B9B8-1E6EC3010F37@xxxxxxxxxxxxxxxx
Thanks for your help.

I see that my version of UBoot does not support a FAT-like filesystem.
This
is probably the reason why the flash disk isn't mounted in the first
place.
Is this assertion correct?.
Secondly, I'll have to look for a way to exclude simultaneous access to
the
different flash devices.

regards,
Kris
--
kris @ signum


"Paul G. Tobey [eMVP]" wrote:

You need to be aware that a single flash part can't be simultaneously
used
to execute code in-place (the instructions being executed are in flash),
and
to read/write to the part as filesystem. Various companies have come up
with solutions to this problem. Intel's Persistent Storage Manager was
available for a long time. It arranged things so that, when the
filesystem
needed to be accessed, it was the only code running and so that it was
running from RAM, not directly from flash, at that moment. Datalight has
a
flash filesystem driver that does something similar, I think. If you
have
64MB organized as two separate flash chips, you can use one as in-place
execution linear flash (where the contents of the nk.bin file go), and
the
other as filesystem. Microsoft's flash driver, documented in the PB
help,
should work for that. Alternatively, you could arrange things so that
you
are *NOT* executing the OS code from flash at all. If your bootloader
copied the contents of some section of flash to RAM on startup and
executed
the OS from there (RAM), then you could use the remaining flash for
anything
you want without conflicting with the code trying to execute there, too
(and
then use the MS flash driver).

Paul T.

"kris" <kris@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:EA010342-10E6-4E03-BECA-DDDC7FFB877D@xxxxxxxxxxxxxxxx
Hello everybody,

I 'm using an ARM based board running WinCE6.0 and 64MB of flash. Since
the
enire system uses less than 32MB of the boards Flash, I wonder if I can
use a
partition on the same flash device as flash disk for storing
non-volatile
data. Using Uboot, I created this partition as file system (however
Uboot
supports only following filesystem formats: JFFS2, CRAMFS, INITRD,
FlashFX,
YAFFS, Unknown) in the free area. First of all I'm not sure wich of
these
to
use (and I don't seem to find any documentation on the different
filesystems). Second, if the partition is created, how can I instruct
WinCE
to 'mount' the partition as drive? What are the required settings in
Platformbuilder to access the drive?

Regards,
Kris Demets
--
kris @ signum






.



Relevant Pages

  • Re: Using flash disk partition
    ... Thanks, but in order to create a partition, I have to be able to 'see' my ... flash memory as a store. ... for the OS to see the partition, format the filesystem on top of it, and use ... you want without conflicting with the code trying to execute there, ...
    (microsoft.public.windowsce.embedded)
  • Re: Using flash disk partition
    ... The boot partition APIs are callable from the ... flash memory as a store. ... section of flash that you want to devote to filesystem? ... you want without conflicting with the code trying to execute ...
    (microsoft.public.windowsce.embedded)
  • Re: Bootable flash with part of it read-write?
    ... how can I make the bootable flash ... Typing mount again tells me that the filesystem type ... I assume that you are booting off of a usb port. ... You also have various options with respect to your partition layout. ...
    (comp.os.linux.setup)
  • Re: Using flash disk partition
    ... moves it to RAM and then launches Use the OS to find and format ... I see that my version of UBoot does not support a FAT-like filesystem. ... different flash devices. ... I created this partition as file system (however ...
    (microsoft.public.windowsce.embedded)
  • Re: Using flash disk partition
    ... Partition driver ... OS to use my partition as drive... ... The OS doesn't know how your flash is ... section of flash that you want to devote to filesystem? ...
    (microsoft.public.windowsce.embedded)