Reducing imx6 yocto build size for custom board

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

Reducing imx6 yocto build size for custom board

1,842 次查看
sayi
Contributor II

Hello Yocto Team,

I have read documents but couldn't find a neat way to reduce the size of sdcard image for the dual-lite SABRE board I have.

Our custom board is targeted for 16MB nor flash which uses imx6solo processor. I am using yocto environment and building images using "core-image-base" and "core-image-minimal" that ends up with 100MB/29MB on L4.1.15.x release.

I understand my sdcard image contains uboot+kernel+dts+rootfs. My understanding is uboot+kernel+dts is small <10MB but the file-system is taking more space ( I even tried playing around packages_ipk and packages_rpm with no luck).

Could you please advise?

Thank you,

Swapna

标签 (1)
0 项奖励
回复
1 回复

809 次查看
b36401
NXP Employee
NXP Employee

There is nothing special regarding to i.MX. I can provide you some common recomendations.

You can remove all unnessesary options and modules from the kernel.

For example if you do not need ethernet you can compile the kernel without its support.

And you need to remove all unnessesary packages.

Have a great day,

Victor

-----------------------------------------------------------------------------------------------------------------------

Note: If this post answers your question, please click the Correct Answer button. Thank you!

-----------------------------------------------------------------------------------------------------------------------

0 项奖励
回复