xip.bin download下去后wince启动不了怎么回事

xinyancode 2013-02-17 07:59:43
xip.bin download下去后wince启动不了怎么回事

我生成了自己的xip.bin文件,download的开发板上启动不了,显示下面的信息:
Eboot以前是download NK.bin的,下载nk.bin是没有问题。我不知道用这个Eboot 下载xip.bin时需要改什么地方?我看了最后的跳转地址也是对的。


Download BIN file information:
-----------------------------------------------------
[0]: Base Address=0x80200000 Length=0x21d27ac
-----------------------------------------------------
+=OEMVerifyMemory+ dwStartAddr:0x80200000 dwLength:0x21d27ac
RAM image 0xa 0x823d27ab
ROMHDR at Address 80200044h
Youbo-Debug - in +WriteOSImageToBootMedia function.
+WriteOSImageToBootMedia: g_dwTocEntry =1, ImageStart: 0x80200000, ImageLength:
0x21d27ac, LaunchAddr:0x80201000
INFO: OEMLaunch: Found chain extenstion: '' @ 0x80200000
INFO: OEMLaunch: Found chain extenstion: 'canifrain' @ 0x80200000
INFO: OEMLaunch: Found 'chain information' (pChainInfo=0x80399bc8 Extensions=0x
3).
Writing single region/multi-region update, dwBINFSPartLength: 35465132
CreatePartition: Enter CreatePartition for 0x21.
LastLogSector: Last log sector is: 0x7e6ff.
CreatePartition: Start = 0x1100, Num = 0x10f00.
WriteMBR: MBR block = 0x10.
WriteData: Start = 0x0, Length = 0x21d27ac.
Updateded TOC!
CreatePartition: Enter CreatePartition for 0xb.
FindFreeSector: FreeSector is: 0x12000 after processing part 0x21.
CreatePartition: Num sectors set to 0x6c200 to allow for compaction blocks.
CreatePartition: Start = 0x12000, Num = 0x6c200.
WriteMBR: MBR block = 0x10.
TOC
{
dwSignature: 0x434F544E
BootCfg
{
ConfigFlags: 0x2830
BootDelay: 0x1
ImageIndex: 1
IP: 192.168.1.6
MAC Address: 10:23:45:67:89:AB
Port: 0.0.0.0
SubnetMask: 255.255.255.0
}
ID[0] {
dwVersion: 0x60000
dwSignature: 0x45424F54
String: 'eboot.nb0'
dwImageType: 0x2
dwTtlSectors: 0x400
dwLoadAddress: 0x80038000
dwJumpAddress: 0x80038000
dwStoreOffset: 0x0
sgList[0].dwSector: 0x400
sgList[0].dwLength: 0x400
}
ID[1] {
dwVersion: 0x1
dwSignature: 0x43465348
String: ''
dwImageType: 0x2
dwTtlSectors: 0x10E94
dwLoadAddress: 0x80200000
dwJumpAddress: 0x80201000
dwStoreOffset: 0x0
sgList[0].dwSector: 0x2100
sgList[0].dwLength: 0x10E94
}
chainInfo.dwLoadAddress: 0X00000000
chainInfo.dwFlashAddress: 0X00000000
chainInfo.dwLength: 0X00000000
}
waitforconnect
INFO: OEMLaunch: Jumping to Physical Address 0x30201000h (Virtual Address 0x8020
1000h)...


...全文
624 6 打赏 收藏 转发到动态 举报
写回复
用AI写文章
6 条回复
切换为时间正序
请发表友善的回复…
发表回复
fqayst 2013-11-22
  • 打赏
  • 举报
回复
用eboot先格式化一下系统分区,然后再烧写XIP,因为XIP和非XIP的分区有点差别。
Fighting959800 2013-11-20
  • 打赏
  • 举报
回复
不要按照最小内核放在XIPKERNEL中,还是放在NK中 慢慢的往KERNEL中加,一开始肯定是能启动的!
xinyancode 2013-02-18
  • 打赏
  • 举报
回复
谢谢版主指教,不知道Eboot源码本身需要修改吗?感觉程序可以download下去,又可以跳转到起始位置,好像源码不需要改动,应该是生成的xip.bin文件问题。
glchild514 2013-02-18
  • 打赏
  • 举报
回复
你用什麼cpu , bsp?
glchild514 2013-02-18
  • 打赏
  • 举报
回复
一看嘛知道你錯了 你可以先用 viewbin -toc xip.bin > output.txt viewbin -r xip.bin > output1.txt 看一下你的start address 跳的地方必須是start address ViewBin... xip.bin Image Start = 0x80020000, length = 0x05EDF528 Start address = 0x8002859C Checking record #25 for potential TOC (ROMOFFSET = 0x00000000) Found pTOC = 0x80200624 ROMOFFSET = 0x00000000 ROMHDR ---------------------------------------- DLL First : 0x4001C001 DLL Last : 0x400BC024 Physical First : 0x80020000 Physical Last : 0x80247D60 RAM Start : 0x80400000 RAM Free : 0x8040F000 RAM End : 0x85EFF000 Kernel flags : 0x00000000 Prof Symbol Offset : 0x00000000 Num Copy Entries : 2 Copy Entries Offset : 0x801C6FE0 Num Modules : 27 Num Files : 2 MiscFlags : 0x00000002 CPU : 0x01c2 (Thumb) Extensions : 0x80021180
woshi_ziyu 2013-02-17
  • 打赏
  • 举报
回复
有可能是xip.bin生成的文件不正确 可以参考网上实现的方法 基于WINCE6.0下载multiple XIP镜像文件 WINCE XIP实现方法 存储布局

19,502

社区成员

发帖
与我相关
我的任务
社区描述
硬件/嵌入开发 嵌入开发(WinCE)
社区管理员
  • 嵌入开发(WinCE)社区
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧