关于打包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