阅读:2178回复:2
请教:wince 5.0 multi bin s3c2440的xip.bin卡住了,非multi bin的nk.bin可运行
看了坛里的很多文章,自己试了一下:
对于非multi bin的config.bib为: MEMORY NK 80200000 01E00000 RAMIMAGE RAM 82000000 01E00000 RAM FLASH 92000000 00100000 RESERVED …… CONFIG AUTOSIZE=ON COMPRESSION=ON DLLADDR_AUTOSIZE=ON KERNELFIXUPS=ON PROFILE=OFF RAM_AUTOSIZE=OFF ROMFLAGS=0 ;ROMSIZE=01E00000 ;ROMSTART=800B8000 ;ROMWIDTH=32 ROM_AUTOSIZE=OFF XIPSCHAIN=803FF000 对于multi bin的config.bib为: MEMORY pdwXIPLoc 00000000 803FF000 FIXUPVAR XIPKERNEL 80200000 001FF000 RAMIMAGE CHAIN 803FF000 00001000 RESERVED NK 80400000 01E00000 NANDIMAGE RAM 80400000 03C00000 RAM FLASH 92000000 00100000 RESERVED …… CONFIG AUTOSIZE=ON COMPRESSION=ON DLLADDR_AUTOSIZE=ON KERNELFIXUPS=ON PROFILE=OFF RAM_AUTOSIZE=OFF ROMFLAGS=0 ;ROMSIZE=01E00000 ;ROMSTART=800B8000 ;ROMWIDTH=32 ROM_AUTOSIZE=OFF XIPSCHAIN=803FF000 我也修改了platform.reg,加入了对binfs分区的支持; 编译出来的非 multi bin 的nk.bin可正常启动; 但是编译出来的multi bin的xnk.bin无法启动,卡在如下位置: +OEMInit DCache: 8 sets, 64 ways, 32 line size, 16384 size ICache: 8 sets, 64 ways, 32 line size, 16384 size Sp=ffffc7cc OEMIoControl: Unsupported Code 0x10100b4 - device 0x0101 func 45 OEMIoControl: Unsupported Code 0x101008c - device 0x0101 func 35 FMD::FMD_Init FMD::FMD_Init - pBSPArgs->nfsblk = 0x0 FMD::FMD_Init - READ_REGISTER_BYTE(pNFSBLK) = 0x0 FMD::FMD_Init IPL ..... FMD::FMD_Init Done MID = 0xec, DID = 0xf1 4th Cycle : 0x0 dwPrimaryNandDevice : 8(0x8) astNandSpec[dwPrimaryNandDevice].nSctsPerPg: 4(0x4) wPRIMARY_REAL_NAND_BLOCKS : 1024(0x400) NUMBLOCKS : 1024(0x400), SECTORSPERBLOCK = 256(0x100), BYTESPERSECTOR = 512(0x200) FMD_OEMIoControl: unrecognized IOCTL (0x71c24). OEMIoControl: Unsupported Code 0x1010104 - device 0x0101 func 65 OEMIoControl: Unsupported Code 0x10100c4 - device 0x0101 func 49 我现在还是把整个xip.bin复制进SDRAM里,按理应该能够像非multi bin一样执行啊 调试无从下手,谢谢各位。 |
|
沙发#
发布于:2010-06-11 14:35
看看你的注册表信息。不是光添加BINFS就可以的。有可能之前没用MULTI-BIN时,也支持BINFS.
|
|
板凳#
发布于:2010-06-11 15:15
解决了:
注册表项[HKEY_LOCAL_MACHINE\System\StorageManager\Profiles\SMFlash\FATFS] 少了这行: "MountAsRom"=dword:1 |
|