I try to use ROM only file system on mini2440 board with 7" display. After some researching, i found that page on Nicolas BESSON's weblog: http://nicolasbesson.blogspot.com/2007/ ... under.html
I chose "ROM only file system" and append folowing keys into registry, but
my WinCe image don't start
IF SYSGEN_FSROMONLY
"Start DevMgr"=dword:1
[HKEY_LOCAL_MACHINE\System\StorageManager\AutoLoad\MSFlash]
"DriverPath"="Drivers\\BuiltIn\\MSFlash"
"Order"=dword:0
"MountFlags"=dword:11
"LoadFlags"=dword:1 ;load synchronously
"BootPhase"=dword:0
"Flags"=dword:1000
[HKEY_LOCAL_MACHINE\Drivers\BuiltIn\MSFlash]
"Profile"="FlashDisk"
"IClass"=multi_sz:"{A4E7EDDA-E575-4252-9D6B-4195D48BB865}"
"Order"=dword:0
"FriendlyName"="MSFLASH Driver"
"Dll"="smflash.dll"
"Prefix"="DSK"
"Flags"=dword:1000
[HKEY_LOCAL_MACHINE\System\StorageManager\Profiles\FlashDisk]
"AutoMount"=dword:1
"AutoPart"=dword:1
"AutoFormat"=dword:1
"PartitionDriver"="mspart.dll"
"MountAsBootable"=dword:1
"Name"="NANDFLASH"
"Folder"="NandFlash"
"DefaultFileSystem"="FATFS"
[HKEY_LOCAL_MACHINE\System\StorageManager\Profiles\FlashDisk\FATFS]
"MountAsRoot"=dword:1
"MountAsBootable"=dword:1
"MountPermanent"=dword:1
ENDIF
Thanks!
ROM only file system
Re: ROM only file system
Turn on KITL and via the serial port see if there is any error messaes, and see when it stops execution.
Did you remember to clean the whole project and re-sysgen ?
Did you remember to clean the whole project and re-sysgen ?
Re: ROM only file system
Thank you so much for your fast response!
I check option "Clean Before Building" and sysgen the project. Error messages from KITL is:
0 PID:0 TID:0 Sp=ffffc7cc
261 PID:3ddf002 TID:3ddf266 OEMIoControl: Unsupported Code 0x10100b4 - device 0x0101 func 45
295 PID:23dc3266 TID:23dc3242 OEMIoControl: Unsupported Code 0x101008c - device 0x0101 func 35
880 PID:23dc3266 TID:23dc3242 FMD_OEMIoControl: unrecognized IOCTL (0x71c24).
2497 PID:e3bcd332 TID:63d9c4aa FMD_OEMIoControl: unrecognized IOCTL (0x71c24).
2598 PID:23dc3266 TID:23dc3242 OEMIoControl: Unsupported Code 0x10100c4 - device 0x0101 func 49
2631 PID:23dc3266 TID:23dc3242 OEMIoControl: Unsupported Code 0x10100c4 - device 0x0101 func 49
2696 PID:e3bcd332 TID:63d9c4aa FMD(FMD_LB_ReadSector): ECC ERROR - Page #: 0x957
3488 PID:e3bcd332 TID:e3bcd30e INFO: CReg2440Uart::CReg2440Uart using processor frequency reported by the OAL (66666666).
Regards!
I check option "Clean Before Building" and sysgen the project. Error messages from KITL is:
0 PID:0 TID:0 Sp=ffffc7cc
261 PID:3ddf002 TID:3ddf266 OEMIoControl: Unsupported Code 0x10100b4 - device 0x0101 func 45
295 PID:23dc3266 TID:23dc3242 OEMIoControl: Unsupported Code 0x101008c - device 0x0101 func 35
880 PID:23dc3266 TID:23dc3242 FMD_OEMIoControl: unrecognized IOCTL (0x71c24).
2497 PID:e3bcd332 TID:63d9c4aa FMD_OEMIoControl: unrecognized IOCTL (0x71c24).
2598 PID:23dc3266 TID:23dc3242 OEMIoControl: Unsupported Code 0x10100c4 - device 0x0101 func 49
2631 PID:23dc3266 TID:23dc3242 OEMIoControl: Unsupported Code 0x10100c4 - device 0x0101 func 49
2696 PID:e3bcd332 TID:63d9c4aa FMD(FMD_LB_ReadSector): ECC ERROR - Page #: 0x957
3488 PID:e3bcd332 TID:e3bcd30e INFO: CReg2440Uart::CReg2440Uart using processor frequency reported by the OAL (66666666).
Regards!
Re: ROM only file system
At last I managed to do image with "ROM only file system" and "Resident Flash" mount as root! I add only four line in platform.reg (see the underlined text) :
[HKEY_LOCAL_MACHINE\System\StorageManager\Profiles\SMFLASH]
"DefaultFileSystem"="FATFS"
"PartitionDriver"="mspart.dll"
"AutoMount"=dword:1
"AutoPart"=dword:1
"AutoFormat"=dword:1
"Folder"="ResidentFlash"
"Name"="Microsoft Flash Disk"
"BootPhase"=dword:0
"Flags"=dword:1000
IF SYSGEN_FSROMONLY
"MountAsBootable"=dword:1
ENDIF
[HKEY_LOCAL_MACHINE\System\StorageManager\Profiles\SMFLASH\FATFS]
"FriendlyName"="FAT FileSystem"
"Dll"="fatfsd.dll"
"Flags"=dword:00280014
"Paging"=dword:1
"CacheSize"=dword:0
"EnableCacheWarm"=dword:0
"EnableCache"=dword:1
"MountFlags"=dword:2
IF SYSGEN_FSROMONLY
"MountAsRoot"=dword:1
"MountAsBootable"=dword:1
"MountPermanent"=dword:1
ENDIF
After making clean build and sysgen all start work perfectly!
[HKEY_LOCAL_MACHINE\System\StorageManager\Profiles\SMFLASH]
"DefaultFileSystem"="FATFS"
"PartitionDriver"="mspart.dll"
"AutoMount"=dword:1
"AutoPart"=dword:1
"AutoFormat"=dword:1
"Folder"="ResidentFlash"
"Name"="Microsoft Flash Disk"
"BootPhase"=dword:0
"Flags"=dword:1000
IF SYSGEN_FSROMONLY
"MountAsBootable"=dword:1
ENDIF
[HKEY_LOCAL_MACHINE\System\StorageManager\Profiles\SMFLASH\FATFS]
"FriendlyName"="FAT FileSystem"
"Dll"="fatfsd.dll"
"Flags"=dword:00280014
"Paging"=dword:1
"CacheSize"=dword:0
"EnableCacheWarm"=dword:0
"EnableCache"=dword:1
"MountFlags"=dword:2
IF SYSGEN_FSROMONLY
"MountAsRoot"=dword:1
"MountAsBootable"=dword:1
"MountPermanent"=dword:1
ENDIF
After making clean build and sysgen all start work perfectly!
Re: ROM only file system
I followed these instructions exactly and was able to use the ROM based file system. I can now add shortcuts to the desktop, etc and they won't disappear after boot! Note you must remove the "ROM and RAM File System" catalog item from the OS design and then add the "ROM-only File System".nik100 wrote:At last I managed to do image with "ROM only file system" and "Resident Flash" mount as root! I add only four line in platform.reg (see the underlined text) :
[HKEY_LOCAL_MACHINE\System\StorageManager\Profiles\SMFLASH]
"DefaultFileSystem"="FATFS"
"PartitionDriver"="mspart.dll"
"AutoMount"=dword:1
"AutoPart"=dword:1
"AutoFormat"=dword:1
"Folder"="ResidentFlash"
"Name"="Microsoft Flash Disk"
"BootPhase"=dword:0
"Flags"=dword:1000
IF SYSGEN_FSROMONLY
"MountAsBootable"=dword:1
ENDIF
[HKEY_LOCAL_MACHINE\System\StorageManager\Profiles\SMFLASH\FATFS]
"FriendlyName"="FAT FileSystem"
"Dll"="fatfsd.dll"
"Flags"=dword:00280014
"Paging"=dword:1
"CacheSize"=dword:0
"EnableCacheWarm"=dword:0
"EnableCache"=dword:1
"MountFlags"=dword:2
IF SYSGEN_FSROMONLY
"MountAsRoot"=dword:1
"MountAsBootable"=dword:1
"MountPermanent"=dword:1
ENDIF
After making clean build and sysgen all start work perfectly!
nik100 is right - only the underlined portions of code need to be added; the other sections already exist in the file. I had tried loading the ROM only file system without the above underlined code additions and all it did was sync to my PC then freeze.
Who is online
Users browsing this forum: No registered users and 4 guests