4742|12

67

帖子

0

TA的资源

一粒金砂(初级)

楼主
 

wince5.0+2440 文件系统加载问题 [复制链接]

我按照mini2240的eboot先进行分区。。前面25个block是NBOOT.eboot.TOc,后面就是分区MBR,我将根据NK的大小分出那么大的BINFS的分区,后面的都是分成FAT的分区。从打印的信息来看我的分区是正确的,但是我没有去读分区表的信息来确认。下面我给出我的debug的打印信息
Windows CE Firmware Init
INFO: Initializing system interrupts...
INFO: Initializing system clock(s)...
INFO: Initializing driver globals area...
SDMMC config set rGPGCON: 82a982
OEMInit Done...
Booting Windows CE version 5.00 for (ARM)
&pTOC = 8c20a25c, pTOC = 8dedd5ac, pTOC->ulRamFree = 8e029000, MemForPT = 00000000

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

Booting kernel with clean memory configuration:
Memory Sections:
[0] : start: 8e02a000, extension: 00002000, length: 01ed4000
Sp=ffffc7cc
ARMInit done.
Windows CE KernelInit
Updated eptr->e32_vsize to = 000c8000
Scheduling the first thread.
0x8feff024: KernelInit2: pCurThread=8feff024 hCurThread=0feff266 hCurProc=0feff002, KernelInit = 8c24921c
0x8feff024: Detecting VFP...0x8feff024:  VFP Not Found!
0x8feff024: first = 01cc0000, last = 02000000, SharedDllBase = 02510000
0x8fee5000: CertMod.dll not found, using old OEM Trust Model
0x8fee5000: FileSystem Starting - starting with clean file system
0x8fee5000: FS: initializing ROM/RAM file system
0x8fee5000: SC_CreateAPIHandle: pvData == NULL
0x8fee5000: FS: Registering file system ROM, index 2, flags 0x00000031
0x8fee5000: FS: Mount complete (ROM, index 2, flags 0x00000031)
0x8fee5000: FSVOL: Opening existing volume
0x8fee5000: FSVOL: Volume heap already initialized
0x8fee5000: FSREG: Mounted ROM portion of boot registry
0x8fee5000: FSVOL: Creating clean virtual volume
0x8fee5000: FSVOL: Initializing volume heap
0x8fee5000: FSREG: Mounted RAM portion of boot registry
0x8fee5000: FS: Creating signal event SYSTEM/DevMgrApiSetReady
0x8fee5000: FS: Creating signal event SYSTEM/PowerManagerReady
0x8fee5000: FS: Creating signal event SYSTEM/GweApiSetReady
0x8fee5000: FSREG: Unable to read value "Start DevMgr" under HKEY_LOCAL_MACHINE\init\BootVars
0x8fee5000: FILESYS: Starting storage manager.
0x8fee5000: FS: Registering file system StoreMgr, index 3, flags 0x00000001
0x8fee5000: NandFlash FMD_Init
0x8fee5000: NandFlash FMD_Init Done
0x8fee5000: FLASHDRV.DLL:BuildupMappingInfo() - Enter.
0x8fee5000: The 0th Block is BAD, data=0x0
0x8fee5000: The 1th Block is BAD, data=0x0
0x8fee5000: The 2th Block is BAD, data=0x0
0x8fee5000: The 3th Block is BAD, data=0x0
0x8fee5000: The 4th Block is BAD, data=0x0
0x8fee5000: The 5th Block is BAD, data=0x0
0x8fee5000: The 6th Block is BAD, data=0x0
0x8fee5000: The 7th Block is BAD, data=0x0
0x8fee5000: The 8th Block is BAD, data=0x0
0x8fee5000: The 9th Block is BAD, data=0x0
0x8fee5000: The 10th Block is BAD, data=0x0
0x8fee5000: The 11th Block is BAD, data=0x0
0x8fee5000: The 12th Block is BAD, data=0x0
0x8fee5000: The 13th Block is BAD, data=0x0
0x8fee5000: The 14th Block is BAD, data=0x0
0x8fee5000: The 15th Block is BAD, data=0x0
0x8fee5000: The 16th Block is BAD, data=0x0
0x8fee5000: The 17th Block is BAD, data=0x0
0x8fee5000: The 18th Block is BAD, data=0x0
0x8fee5000: The 19th Block is BAD, data=0x0
0x8fee5000: The 20th Block is BAD, data=0x0
0x8fee5000: The 21th Block is BAD, data=0x0
0x8fee5000: The 22th Block is BAD, data=0x0
0x8fee5000: The 23th Block is BAD, data=0x0
0x8fee5000: The 24th Block is BAD, data=0x0
0x8fee5000: FLASHDRV.DLL:L2P_GetPhysicalSectorAddr() - Secondary table doesn't exist for logical sector 0x0!!!
0x8fee5000: FLASHDRV.DLL:L2P_GetPhysicalSectorAddr() - Secondary table doesn't exist for logical sector 0x340!!!
0x8fee5000: FLASHDRV.DLL:L2P_GetPhysicalSectorAddr() - Secondary table doesn't exist for logical sector 0x400!!!
0x8fee5000: FLASHDRV.DLL:L2P_GetPhysicalSectorAddr() - Secondary table doesn't exist for logical sector 0x600!!!
0x8fee5000: FLASHDRV.DLL:L2P_GetPhysicalSectorAddr() - Secondary table doesn't exist for logical sector 0x800!!!
0x8fee5000: FLASHDRV.DLL:L2P_GetPhysicalSectorAddr() - Secondary table doesn't exist for logical sector 0x5400!!!
。。。。。。。。。。。。。。。。
FLASHDRV.DLL:L2P_GetPhysicalSectorAddr() - Secondary table doesn't exist for logical sector 0x8600!!!
0x8fee5000: FLASHDRV.DLL:L2P_GetPhysicalSectorAddr() - Secondary table doesn't exist for logical sector 0x8800!!!
。。。。。。。。。。。。。。。。。。。。。。
0x8fee5000: FLASHDRV.DLL:L2P_GetPhysicalSectorAddr() - Secondary table doesn't exist for logical sector 0xea00!!!
0x8fee5000: FMD::FMD_OEMIoControl = 0x71c24
0x8fee5000: Loading partition driver mspart.dll hModule=8FE83288
0x8fee5000: Driver mspart.dll loaded
0x8fee5000: FLASHDRV.DLL:ReadFromMedia() - Unable to determine physical sector address for logical sector 0x0000ea40
0x8fee5000: Opened the store hStore=000EEF60
0x8fee5000: NumSec=129952 BytesPerSec=512 FreeSec=0 BiggestCreatable=0
0x8fee5000: Partition Part00  NumSectors=59136
0x8fee5000: MSPART!PD_OpenPartition: dwStoreId=000EEF60, PartName=Part00
0x8fee5000: Partition Part01  NumSectors=69984
0x8fee5000: MSPART!PD_OpenPartition: dwStoreId=000EEF60, PartName=Part01
0x8fee5000: FSD_MountDisk: mounting volumes for hDsk=00134160
0x8fee5000: FLASHDRV.DLL:ReadFromMedia() - Unable to determine physical sector address for logical sector 0x0000ea40
0x8fee5000: FATFS!OpenVolume: access time updates disabled
0x8fee5000: FATFS!OpenVolume: event logging enabled
0x8fee5000: FATFS!OpenVolume: automatic scanning disabled
0x8fee5000: FATFS!OpenVolume: write verify disabled
0x8fee5000: FATFS!OpenVolume: extra FAT on format disabled
0x8fee5000: FATFS!OpenVolume: force write through enabled
0x8fee5000: FATFS!OpenVolume: Codepage = 1
0x8fee5000: FATFS!OpenVolume: Number of path cache entries = 50
0x8fee5000: FATFS!InitVolume: sector 0 byte 0 suspicious (0x0)
0x8fee5000: FATFS!InitVolume: invalid BPB, volume deemed invalid
0x8fee5000: FATFS!InitVolume: FAT version: 12
0x8fee5000: FATFS!InitVolume: Cluster Size (Sectors): 0
0x8fee5000: FATFS!InitVolume: TFAT enabled: FALSE
0x8fee5000: FATFS!UnmountDisk: unmounting all volumes on disk 00
0x8fee5000: FATFS!FATDetach complete (0 sectors written in 0 requests)
0x8fee5000: InitSharedHeap: 44200000 10000 c
0x8fee5000:   InitSharedHeap: return 44200060
0x8fee5000: FILESYS: Restarting storage manager.
0x8fee5000: FILESYS: Starting device and waiting for boot file system.
0x8fe722e8: InitSharedHeap: 44200000 0 c
0x8fe722e8:   InitSharedHeap: return 44200060
0x8fe722e8: *** DLL_PROCESS_ATTACH - Current Process: 0x42, ID: 0x8fe7254e ***
0x8fe722e8: +InitDeviceFileSystems
0x8fe722e8: FS: Registering file system $device, index 4, flags 0x00000001
0x8fe722e8: FS: Registering file system $bus, index 5, flags 0x00000001
0x8fe722e8: -InitDeviceFileSystems: status is 1
0x8fe722e8: Ceddk!CalibrateStallCounter: Enter
0x8fe722e8: Ceddk!CalibrateStallCounter: Could not find stall counter
0x8fe722e8: Ceddk!BeginCalibration: min(501) max(556)
0x8fe722e8: Ceddk!BeginCalibration: Elapsed is 548
0x8fe722e8: Ceddk!BeginCalibration: Delay is 19
0x8fee5000: FS: Waiting for device to signal BootPhase1 completion
0x8fe722e8: DEVICE!DevloadInit
0x8fe722e8: DEVICE!InitDevices: Root Key is Drivers\BuiltIn.
0x8fe722e8: DEVICE!RegReadActivationValues RegQueryValueEx(Drivers\BuiltIn\Prefix) returned 2
0x8fe722e8: DEVICE!RegReadActivationValues RegQueryValueEx(Drivers\BuiltIn\BusPrefix) returned 2
0x8fee5000: FILESYS: Starting device and waiting for boot file system.
从打印信息上看这几句话似乎很给了我信息
0x8fee5000: FLASHDRV.DLL:L2P_GetPhysicalSectorAddr() - Secondary table doesn't exist for logical sector
1.这句话说Secondary table是什么意思?
0x8fee5000: FLASHDRV.DLL:ReadFromMedia() - Unable to determine physical sector address for logical sector 0x0000ea40
2.ReadFromMedia这个函数是FAL里面的函数吧,CE5里面看不到,这句话说不能把logic sector转换成真实的物理地址。难道是我的分区表中的逻辑起始地址不正确???但是从分区打印信息上看是正确的啊。。。分明在加载完分区驱动后能很好的读出两个part中的信息。还是正确的。
3.从我从这句话猜测0x8fee5000: FATFS!InitVolume: Cluster Size (Sectors): 0肯定是BINFS没有mount上去的原因。

我现在不知道改怎么去处理这个问题了。。请googleman,shuiya等eeworld的兄弟们来帮我分析分析。

最新回复

回去仔细的打印了我的分区表。。但是从结果分析上来看,分区表根本就没有问题。。。分区表没问题。应该加在第一个BINFS应改要没问题的。。。mark..继续关注  详情 回复 发表于 2009-8-31 09:34
点赞 关注

回复
举报

89

帖子

0

TA的资源

一粒金砂(初级)

沙发
 
顶啊。。继续等待
 
 

回复

71

帖子

0

TA的资源

一粒金砂(初级)

板凳
 
mark
 
 
 

回复

65

帖子

0

TA的资源

一粒金砂(初级)

4
 
哈哈,很奇怪的问题,没跑过DEBUG版的。帮顶
 
 
 

回复

71

帖子

0

TA的资源

一粒金砂(初级)

5
 
应该有很多人做过的。。给点意见啊
 
 
 

回复

71

帖子

0

TA的资源

一粒金砂(初级)

6
 
网上有建议说,做MULTI-BIN最好不要用DEBUG方式。当然你的问题并不一定是和DEBUG相关啦。见此贴20楼:http://topic.eeworld.net/u/20090707/12/b70edd22-000f-4065-ae8e-4c593cd262d5.html
 
 
 

回复

77

帖子

0

TA的资源

一粒金砂(初级)

7
 
呵呵。。不是debug才出这个问题的。。只是在release下停在了这里。。我就想看看debug的信息。。望过来人给支招
 
 
 

回复

70

帖子

0

TA的资源

一粒金砂(初级)

8
 
貌似人家说是flash分区不完全,可能是你的FAT分区未完全包括剩下所有空间(就是除了BINFS之外的部分)呢,你仔细查查呀。
 
 
 

回复

64

帖子

0

TA的资源

一粒金砂(初级)

9
 
帮顶
 
 
 

回复

72

帖子

0

TA的资源

一粒金砂(初级)

10
 
今天晚上回去把分区表里面的信心一个字节一个字节全部搞出来。。再看。。顶
 
 
 

回复

57

帖子

0

TA的资源

一粒金砂(初级)

11
 
也在研究MINI2440,BOOT 帮顶!
 
 
 

回复

84

帖子

0

TA的资源

一粒金砂(初级)

12
 
帮顶!
 
 
 

回复

60

帖子

0

TA的资源

一粒金砂(初级)

13
 
回去仔细的打印了我的分区表。。但是从结果分析上来看,分区表根本就没有问题。。。分区表没问题。应该加在第一个BINFS应改要没问题的。。。mark..继续关注
 
 
 

回复
您需要登录后才可以回帖 登录 | 注册

随便看看
查找数据手册?

EEWorld Datasheet 技术支持

相关文章 更多>>
关闭
站长推荐上一条 1/9 下一条

 
EEWorld订阅号

 
EEWorld服务号

 
汽车开发圈

About Us 关于我们 客户服务 联系方式 器件索引 网站地图 最新更新 手机版

站点相关: 国产芯 安防电子 汽车电子 手机便携 工业控制 家用电子 医疗电子 测试测量 网络通信 物联网

北京市海淀区中关村大街18号B座15层1530室 电话:(010)82350740 邮编:100190

电子工程世界版权所有 京B2-20211791 京ICP备10001474号-1 电信业务审批[2006]字第258号函 京公网安备 11010802033920号 Copyright © 2005-2025 EEWORLD.com.cn, Inc. All rights reserved
快速回复 返回顶部 返回列表