工具打包



关于打包cpb的方法:mkdir CPB image文件夹,然后拷贝Cpbtool.cfg、MakeCpb(3.0)到所在目录,如:
system9@ubuntu:~/test$ ls

CPB  Cpbtool.cfg  image  MakeCpb(3.0)

Cpbtool.cfg:

[Combin]
Devicename=C206
SoftVersion=1.0.002.P0.170512_test.C206
srcdir=./image
dstdir=./CPB

image里放需要打包的文件和PhoneInfo.yl,需要打包的在PhoneInfo.yl里面要保存,不需要的删掉,就是修改fileNumber

system9@ubuntu:~/test/image$ ls

emmc_appsboot.mbn  PhoneInfo.yl

PhoneInfo.yl:

[VER_Compatibility]
VER = 2.00
SUM =

[PDA_Compatibility]
ProductName = CPC206
OuterName = CPC206

[PCB_Compatibility]
u8HardwareVersionMajor = T0,T1,P0,P1,P2
u8HardwareVersionAux = P0_0
u8HardwareRF_NV = NV_1
u8ChipSetType = MSM8953

[DEV_Compatibility]

[EMMC_Compatibility]
eMMC_Count = 1

[EMMC_INFO0]
eMMC_OrderingInfomation = H9TQ17ABJTMCUR
eMMC_ManufacturerID = 0x90
eMMC_ProductName = 0x484247346132
eMMC_ProductVersion = 0x00
VersionCheckStauts = ">="
eMMC_Sector_Count = 0x1D5C000

[Download_Protocol]
Solution_Protocol = 4111
Transfer_Protocol = 4111

[FILE_INFO]
fileNumber = 01


fileName01 = emmc_appsboot.mbn
fileCode01 = aboot
fileDown01 = 1111


然后打包即可
system9@ubuntu:~/test$ ./MakeCpb\(3.0\) yl01234
  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值