2440ce5的bsp移植到ce6的SMFLASH问题

zzxxzz   2009-6-24 11:31 楼主
ce5下bsp是好的,移植到ce6下,eboot已经搞好,烧录nk后,打印如下消息:

Error Reporting Memory Reserved, dump size = 00020000
Setting up softlog at 0x83edc000 for 0x800 entries
Booting Windows CE version 6.00 for (ARM)
&pTOC = 81a8ac1c, pTOC = 81a73cf8, pTOC->ulRamFree = 81a8f000, MemForPT = 00001000

Old or invalid version stamp in kernel structures - starting clean!
Configuring: Primary pages: 9286, Secondary pages: 0, Filesystem pages = 1160

Booting kernel with clean memory configuration:
Memory Sections:
[0] : start: 81a91000, extension: 00005000, length: 02446000
NKStartup done, starting up kernel.
Windows CE KernelInit
Reserve VM for kernel XIP DLls, first = c0010000, last = c1290000
g_pprcNK == 0x81a88aa0
Updated eptr->e32_vsize to = 00017000
Initializing Memory Mapped File Support
Scheduling the first thread.
Detecting VFP... VFP Not Found!
LoaderInit: Initialing loader
Updated eptr->e32_vsize to = 00017000
Updated eptr->e32_vsize to = 000a2000
PGPOOL: Reserved 768 pages for Loader pool
PGPOOL: Reserved 256 pages for File pool
OSAXST0: Platform Name = PLATFORM_TYPE
OSAXST1: >>> Loading Module 'kd.dll' (0x83EB7744) at address 0xC0010000-0xC0045000 in Process 'NK.EXE' (0x81A88AA0)
KD: Starting kernel debugger software probe (KdStub) - KD API version 22
OSAXST1: >>> Loading Module 'NK.EXE' (0x81A88AA0) at address 0x80300000-0x80317000 in Process 'NK.EXE' (0x81A88AA0)
Message Queue support initialized, g_hMsgQHeap = d0080010
OSAXST1: >>> Loading Module 'filesys.dll' (0x83EB7E88) at address 0xC01D0000-0xC0267000 in Process 'NK.EXE' (0x81A88AA0)
OSAXST1: >>> Loading Module 'k.fpcrt.dll' (0x83E92574) at address 0xC01B0000-0xC01C8000 in Process 'NK.EXE' (0x81A88AA0)
OSAXST1: >>> Loading Module 'fsdmgr.dll' (0x83E926BC) at address 0xC05D0000-0xC0616000 in Process 'NK.EXE' (0x81A88AA0)
FSDMGR!DllMain: DLL_PROCESS_ATTACH
CertMod.dll not found, using old OEM Trust Model
FileSystem Starting - starting with clean file system
FSDMGR!STOREMGR_Initialize
FSDMGR!InitializeStoreAPI
FSDMGR!MountTable_t::RegisterVolumeName: Registered "StoreMgr" at index 2FSDMGR!MountTable_t::RegisterVolume: Registered volume at index 2 (Name="StoreMgr", MountFlags=0x1)FSDMGR!InitializeROMFileSystem: File System=ROM
OSAXST1: >>> Loading Module 'romfsd.dll' (0x83E73930) at address 0xC0270000-0xC0277000 in Process 'NK.EXE' (0x81A88AA0)
FSDMGR!MountTable_t::RegisterVolumeName: Registered "ROM" at index 3FSDMGR!MountTable_t::RegisterVolume: Registered volume at index 3 (Name="ROM", MountFlags=0x71)Succeeded on CheckFile
RestoreFile(0x00840003) called fDelete = TRUE
FSDMGR!STOREMGR_StartBootPhase BootPhase=0 (PrevBootPhase=-1)
FSDMGR: File security disabled.
FSDMGR!AutoLoadFileSystems: CurrentBootPhase=0, LoadFlags=1
FSDMGR!AutoLoadFileSystem: CurrentBootPhase=0, RootKey=System\StorageManager\AutoLoad, FileSystem_t=ObjectStore
FILESYFSDMGR!PNPThread: Using PNPUnloadDelay of 4096
FSDMGR!PNPThread: PNPThread starting!
S: RAM File System FSD_MountDisk registering folder "Object Store"
FSDMGR!MountTable_t::RegisterVolumeName: Registered "Object Store" at index 4FSDMGR!MountTable_t::RegisterVolume: Registered volume at index 4 (Name="", MountFlags=0x46)FSDMGR!AutoLoadFileSystem: CurrentBootPhase=0, RootKey=System\StorageManager\AutoLoad, FileSystem_t=SMFLASH
FSDMGR!AutoLoadBlockDevice: Auto-loading block driver from "Drivers\BuiltIn\SMFLASH"FSDMGR!MountStore: Attaching new storage device "SMFLASH"OSAXST1: >>> Loading Module 'smflash.dll' (0x83E6CEC8) at address 0xC10D0000-0xC10F1000 in Process 'NK.EXE' (0x81A88AA0)
ERROR!!! Calling SetKMode
ERROR!!! Calling SetKMode
ERROR!!! Calling SetKMode
ERROR!!! Calling SetKMode
ERROR!!! Calling SetKMode

到这里,一直打印 ERROR!!! Calling SetKMode ,做过的弟兄帮忙看看

回复评论 (8)

SetKMode 在wince6.0已经不支持了。所以找个别的东西代替了。
点赞  2009-6-24 11:42
用release 模式编译,这个错误莫名其妙又好了。晕。
现在中文件界面都是下划线显示,把能加的中文组件都加了一遍(GB18030 Data Converter、SimSun & NSimSun什么的),现在怀疑是不是CE6的环境问题?
点赞  2009-6-24 22:36
发现这人的问题一模一样:
(中文字符都被显示成下划线)
http://www.yfeshop.cn/html/NETboke/200811/CE6-0zhichizhongwen_2569.html
点赞  2009-6-24 22:38
又发现一个一样的:
(安装完windows ce 6.0 R2后无法显示中文)
http://social.microsoft.com/Forums/zh-CN/windowsembeddedcezhchs/thread/70af4e7a-0e51-45bb-96a4-b77d8ee8e964/
点赞  2009-6-24 22:44
晕,怎么我的都是好好的,搞了一周 2440 全部跑起来了。
点赞  2009-6-25 00:00
R2居然要求加.NET,中文显示才正常,不知道微软为什么这么设计?难道以后必须把NET的运行包搞到CE的bin里?
另,gooogleman 你的hive 跑起来了吗(CE5的bsp直接过去就能用?支持xip吗)?
点赞  2009-6-25 00:59
引用: 引用 6 楼 njtu_shiyl 的回复:
R2居然要求加.NET,中文显示才正常,不知道微软为什么这么设计?难道以后必须把NET的运行包搞到CE的bin里?
另,gooogleman 你的hive 跑起来了吗(CE5的bsp直接过去就能用?支持xip吗)?

HIVE 看帮助就可以了。

XIP没有搞。
点赞  2009-6-25 08:39
都跑起来了。
ce6的性能好像比ce5差多了?打开控制面板里的“音量控制”,GUI都有滞后?好像和CE6的官方说法有出入?
点赞  2009-6-27 11:24
电子工程世界版权所有 京B2-20211791 京ICP备10001474号-1 京公网安备 11010802033920号
    写回复