PB生成的wince镜像文件说明

先说下.bin和nb0(x)文件的差别:
两个都是CE的镜像,通过串口直接下载用nb0,pb下载用bin,nb0文件要大一些。

.nb0是可以直接烧到FLASH/ROM中的,是代码镜像,可以直接跳转到其入口执行。
nb0是非压缩的数据,里面的数据是实际的NK展开以后在内存里面的数

.bin是Microsoft binary image格式的文件,必须按其格式定义解开到其指定的地址空间的位置才能执行。
bin是有压缩的数据,里面的数据是压缩以后类似于成块形的数据,被loader拷贝到内存以后没有区别。

常见的Windows CE运行时映像有以bin和nb0为扩展名的两种格式。
BIN文件是默认的Windows CE运行时映像格式。它按照Section组织文件的内容,每个Section都有自己的起始地址,长度和校验和。BIN文件不能直接被执行,必须被按照一定的格式解开到内存里才能执行。
NBx(有可能是NB0,NB1……根据配置而定)文件是可以被烧进Flash ROM中的按位分(byte-for-byte)的原始数据。可以直接从Flash ROM中本地执行。

David Kelley [MS] (Expert):
Q: Which is the difference between the nk.nb0 and nk.bin image created by PB5.0?
A: .nb0 files is a raw file format suitable for flashing ROM via a ROM programmer while the .bin file is a MS format we use to download images to the device via the bootloader. In the end, same information, different formats.

sschrock [MS] (Expert):
Q: Which is the difference between the nk.nb0 and nk.bin image created by PB5.0?
A: .nb0 is a raw image that can be written to ROM as-is. .bin is a special format that has empty chunks removed so that it takes less space and downloads more quickly.

1.stepldr:天嵌BBS上斑竹说,和UBOOT类似,也是用于下载和启动系统的,只不过它是用来下载和启动WINCE的,stepldr将eboot搬运到Nand Flash中,然后再运行eboot。
2.Nk.bin:必需。按照section组织的二进制操作系统映像
3.Nk.nb0:可选。可以直接烧到Flash中,支持XIP的操作系统映像
4.Eboot.bin:可选。按照section组织的二进制以太网BootLoader映像
5.Eboot.nb0:可选。可以直接烧到Flash中,支持XIP的以太网BootLoader映像

File                   Description
Xip.bin              A single .bin file containing all XIP regions.
Nk.bin               A .bin file for the NK region.
Shell.bin           A .bin file for the SHELL region.
Apps.bin           A .bin file for the APPS region.
Chain.bin          A .bin file for the XIP chain. The XIP chain is a list of all XIP regions that reside in flash memory or RAM and is accessible from the OEM Adaptation Layer (OAL). 
Eboot.bin          A .bin file for the Ethernet boot loader.

 

  • 0
    点赞
  • 1
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值