阅读:1663回复:6
muti XIP 已经可以起来,但最后还有点问题,自己实在没有办法解决!
我现在实现MUTIBIN XIP的时候遇到了些问题,想请教一下。
实现过程如下 1.实现NANDFLASH的HIVEREG a.更改注册表如下 [HKEY_LOCAL_MACHINE\Drivers\BuiltIn\NAND_Flash] "Dll"="nandfmd.dll" "Order"=dword:0 "Prefix"="DSK" "Ioctl"=dword:4 "Profile"="FlashDisk" "IClass"=multi_sz:"{A4E7EDDA-E575-4252-9D6B-4195D48BB865}" "FriendlyName"="NAND FLASH Driver" "Flags"=dword:1000 ; Override names in default profile [HKEY_LOCAL_MACHINE\System\StorageManager\Profiles\FlashDisk] "DefaultFileSystem"="FATFS" "PartitionDriver"="mspart.dll" "AutoMount"=dword:1 "AutoPart"=dword:1 "AutoFormat"=dword:1 "Name"="NAND FLASH" "Folder"="NAND Flash" "Ioctl"=dword:4 "MountFlags"=dword:2 "Flags"=dword:1000 [HKEY_LOCAL_MACHINE\System\StorageManager\AutoLoad\FlashDisk] "DriverPath"="Drivers\\BuiltIn\\NAND_FLASH" "LoadFlags"=dword:1 "Order"=dword:0 [HKEY_LOCAL_MACHINE\System\StorageManager\Profiles\FlashDisk\FATFS] "Flags"=dword:00000014 ; "FormatTfat"=dword:1 ; Format partitions to be TFAT "MountAsBootable"=dword:1 [HKEY_LOCAL_MACHINE\init\BootVars] "SystemHive"="NAND Flash\\system.hv" "ProfileDir"="NAND Flash" "Start DevMgr"=dword:1 "Flags"=dword:1 "RegistryFlags"=dword:1 系统起不出来, 发现起到 0x8fd79640: MSIM: IM_ReadRegistry read KB 5 0x8fd79640: Grow Gdi handle table from 192 to 256 但是Explorer(V2.0) taskbar thread . 没有起来。 b.再更改注册表 [HKEY_LOCAL_MACHINE\Drivers\BuiltIn\NAND_Flash] "Dll"="nandfmd.dll" "Order"=dword:0 "Prefix"="DSK" "Ioctl"=dword:4 "Profile"="FlashDisk" "IClass"=multi_sz:"{A4E7EDDA-E575-4252-9D6B-4195D48BB865}" "FriendlyName"="NAND FLASH Driver" "Flags"=dword:1000 ; Override names in default profile [HKEY_LOCAL_MACHINE\System\StorageManager\Profiles\FlashDisk] "DriverPath"="Drivers\\BuiltIn\\NAND_Flash" "DefaultFileSystem"="FATFS" "PartitionDriver"="mspart.dll" "AutoMount"=dword:1 "AutoPart"=dword:1 "AutoFormat"=dword:1 "Name"="NAND FLASH" "Folder"="NAND Flash" "Ioctl"=dword:4 "MountFlags"=dword:2 "Flags"=dword:1000 [HKEY_LOCAL_MACHINE\System\StorageManager\Profiles\FlashDisk\FATFS] "Flags"=dword:00000014 ; "FormatTfat"=dword:1 ; Format partitions to be TFAT "MountAsBootable"=dword:1 [HKEY_LOCAL_MACHINE\init\BootVars] "SystemHive"="NAND Flash\\system.hv" "ProfileDir"="NAND Flash" "Start DevMgr"=dword:1 "Flags"=dword:1 "RegistryFlags"=dword:1 系统起来实现了HIVEreg 2.实现MUTI XIP a.更改注册表如下 ; 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" "Paging"=dword:1 ;; 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:10 "BootPhase"=dword:0 [HKEY_LOCAL_MACHINE\System\StorageManager\AutoLoad\NAND_Flash] "DriverPath"="Drivers\\BuiltIn\\NAND_Flash" ; LoadFlags 0x01 == load synchronously "LoadFlags"=dword:1 "Order"=dword:0 "BootPhase"=dword:0 "Flags"=dword:1000 [HKEY_LOCAL_MACHINE\Drivers\BuiltIn\NAND_Flash] "Dll"="nandfmd.dll" "Order"=dword:0 "Prefix"="DSK" "Ioctl"=dword:4 "Profile"="FlashDisk" ; "IClass"=multi_sz:"{A4E7EDDA-E575-4252-9D6B-4195D48BB865}" "FriendlyName"="NAND FLASH Driver" "BootPhase"=dword:0 "Flags"=dword:1000 ; Override names in default profile [HKEY_LOCAL_MACHINE\System\StorageManager\Profiles\FlashDisk] ; "DriverPath"="Drivers\\BuiltIn\\NAND_Flash" "DefaultFileSystem"="BINFS" "PartitionDriver"="mspart.dll" "AutoMount"=dword:1 "AutoPart"=dword:1 ; "AutoFormat"=dword:1 "Name"="NAND FLASH" "Folder"="NAND Flash" ; "Ioctl"=dword:4 "BootPhase"=dword:0 "Flags"=dword:1000 "MountAsHidden"=dword:1 "MountAsRom"=dword:1 ;; "MountFlags"=dword:00000004 ;; "MountHidden"=dword:00000000 [HKEY_LOCAL_MACHINE\System\StorageManager\Profiles\FlashDisk\FATFS] "FriendlyName"="FAT FileSystem" "Dll"="fatfsd.dll" "Flags"=dword:00280014 "Paging"=dword:1 "CacheSize"=dword:0 "EnableCacheWarm"=dword:0 "EnableCache"=dword:1 "MountAsBootable"=dword:1 "MountAsRom"=dword:1 ;; "MountAsRoot"=dword:1 [HKEY_LOCAL_MACHINE\init\BootVars] "SystemHive"="NAND Flash\\system.hv" "ProfileDir"="NAND Flash" "Start DevMgr"=dword:1 "Flags"=dword:3 "RegistryFlags"=dword:1 binfs 可以使用 ,MUITXIP 已经可以起来了,但是还是在最后没有完全起来看不到桌面. 最后DEBUG信息如1.a Grow Gdi handle table from没有走完,Explorer(V2.0) taskbar thread也没有起来 b.不用AUTOLOAD如1.b更改 MUTIXIP起不出来。 现在我想请教下,是什么原因导致了Grow Gdi handle table from没有走完,Explorer(V2.0) taskbar thread也没有起来? [HKEY_LOCAL_MACHINE\System\StorageManager\AutoLoad\FlashDisk]与 [HKEY_LOCAL_MACHINE\System\StorageManager\Profiles\FlashDisk] "DriverPath"="Drivers\\BuiltIn\\NAND_Flash"到底有什么区别呢? 如何更改才能使MUTIXIP 起出来谢谢? |
|
沙发#
发布于:2007-11-14 16:43
兄弟,你的问题解决掉了吗?
我也碰到了和你一样的问题。 如果你解决了,能不能说一下怎么解决的? |
|
板凳#
发布于:2007-11-14 18:48
呵呵 不会吧 和我遇到一样的问题 哎命苦啊 不好意思 我还没有解决这个问题 大家互相努力吧 谁解决了 知会一声 留个联系方式 大家相互探讨下!
MSN:lulujie825@hotmail.com |
|
地板#
发布于:2007-11-14 20:17
lfyllj兄弟:你试试看等一段时间,比如十几二十分钟的,看看能不能进入桌面。
(估计我现在遇到的情况和你差不多:从调试信息看,没有错误一切正常,但就是进入桌面要等很长一段时间,但进去之后一切正常,且可以看到系统分配给RAM60M左右的空间。) |
|
|
地下室#
发布于:2007-11-15 09:05
我再问一下啊,大家出现这个问题,是否都是用的FREESCAL MX?的平台?
|
|
5楼#
发布于:2007-11-15 18:52
是啊,我和saint_bxg兄弟都是用MX21的,同样的问题,我还在调
上面压力大,再不行就只有放弃了 |
|
6楼#
发布于:2007-11-15 20:37
果然都是在FREESCAL的平台上出问题了, 我问过FREESCAL的人了 他们也不知道。慢慢解决吧。说不定什么时候有灵感了。
|
|