Image actual partition size is different from the WKS file. Why?

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

Image actual partition size is different from the WKS file. Why?

746 次查看
takashi-t
Contributor I

I have a question about the partition size of an image generated by Yocto.

I am bulding for MACHINE=imx8mpevk using Yocto mickledore. The target is imx-image-core.

According to the wks file (in my case, the NXP's recipe chooses meta-freescale/wic/imx-imx-boot-bootpart.wks.in), the VFAT boot partion is 64MiB but the generated wic file says it's 83.2MB.

Likewise, when I manually set IMAGE_ROOTFS_SIZE to 2GiB or 3GiB, the actual root FS partition sizes are 2.6GiB or 3.9GiB, respectively.

I confirmed that the env file given to wic (/tmp/sysroots/<MACHINE>/imgdata/<IMAGE>.env) contains correct numbers.

Why every partiton is about 30% larger??

0 项奖励
回复
0 回复数