Re: AutoFormat and AutoMount
- From: embedinfo <embedinfo@xxxxxxxxx>
- Date: Wed, 20 Feb 2008 18:39:01 -0800 (PST)
On Feb 20, 9:29 am, Ronnie Lim <Ronnie...@xxxxxxxxxxxxxxxxxxxxxxxxx>
wrote:
Hello Everyone,
I just started using CE5.0 PlatformBuilder and have a problem trying to get
the internal flash disk partitioned, formatted and mounted automatically when
it boots up. I'm using a Samsung S3C2440A based board with K9F1208 nand flash
and I can use the storage manager in the control panel to format/mount with
no problem. As my final target device will not have a LCD, I need to
automatically check/format/mount the flash disk upon boot.
This is the first time I'm using Platform Builder and I can't seems to get
this working.
Thank you very much for any help/advise.
Here's my platform.reg :
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
; Support BINFS Section
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
; Add BinFS to partition table
[HKEY_LOCAL_MACHINE\System\StorageManager\PartitionTable]
"21"="BINFS"
[HKEY_LOCAL_MACHINE\System\StorageManager\BINFS]
"Folder"="BINFS"
"FriendlyName"="Bin FileSystem"
"Dll"="binfs.dll"
; MountFlags:
; 0x10 specifies that this file system is to be mounted as an external
; ROM filesystem shadowing the \windows directory
; 0x1 specifies that the mountpoint \BINFS is to be hidden
;
"MountFlags"=dword:11
"BootPhase"=dword:0
;
; Entries to load the block driver that BINFS uses
; This is dependent on what device is used
;
[HKEY_LOCAL_MACHINE\System\StorageManager\AutoLoad\FlashDrv]
"DriverPath"="Drivers\\BlockDevice\\FlashDrv"
"LoadFlags"=dword:1
"MountFlags"=dword:11
"BootPhase"=dword:0
[HKEY_LOCAL_MACHINE\Drivers\BlockDevice\FlashDrv]
"Prefix"="DSK"
"Dll"="FLASHDRV.dll"
"Order"=dword:0
"Ioctl"=dword:4
"Profile"="FlashDrv"
"FriendlyName"="MS Flash Driver"
"MountFlags"=dword:11
"BootPhase"=dword:0
; Bind BINFS to the block driver
[HKEY_LOCAL_MACHINE\System\StorageManager\Profiles\FlashDrv]
; "DefaultFileSystem"="BINFS"
"FileSystem"="FATFS"
"PartitionDriver"="mspart.dll"
"AutoFormat"=dword:1
"AutoMount"=dword:1
"AutoPart"=dword:1
; "MountFlags"=dword:11
; "MountSystem"=dword:1
; "MountAsRoot"=dword:1
"Folder"="Flash Storage"
"Name"="Microsoft Flash Disk"
"BootPhase"=dword:0
; Keep FATFS from trying to shadow \Windows
[HKEY_LOCAL_MACHINE\System\StorageManager\Profiles\FlashDrv\FATFS]
"MountFlags"=dword:0
[HKEY_LOCAL_MACHINE\System\StorageManager\FATFS]
"MountFlags"=dword:0
How are creating partition? Boot part library?
Thanks
.
- Follow-Ups:
- Re: AutoFormat and AutoMount
- From: Ronnie Lim
- Re: AutoFormat and AutoMount
- References:
- AutoFormat and AutoMount
- From: Ronnie Lim
- AutoFormat and AutoMount
- Prev by Date: 16550 Over-run errors on 200 MHz Atmel AT91SAM9263 @ 115200 on Windows CE 6.0
- Next by Date: Re: Problem in assigning IP to a WinCE device using BT PAN
- Previous by thread: AutoFormat and AutoMount
- Next by thread: Re: AutoFormat and AutoMount
- Index(es):
Relevant Pages
|