Making a small image using BusyBox

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

Making a small image using BusyBox

1,009件の閲覧回数
MichaelBMiner
Contributor IV

I have created an image using bitbake imx-image-core. My wic.bz file for my SD card is 167.6MB. I want to make my kernel and image as a whole as small as possible. To do this I am trying to use busybox.

In my local.conf I added the line

VIRTUAL-RUNTIME_dev_manager = "busybox-mdev" as per the yocto mega manual.

I performed the commands

bitbake -c menuconfig busybox

bitbake busybox

bitbake imx-image-core

I am told this was successful but my wic.bz image has remained the same size.

 

Are there any other steps to getting busybox active on the device, and is there a way to view kernel build size?

ラベル(3)
0 件の賞賛
3 返答(返信)

995件の閲覧回数
b36401
NXP Employee
NXP Employee

Please check if much space is reserved with IMAGE_ROOTFS_EXTRA_SPACE option.

0 件の賞賛

986件の閲覧回数
MichaelBMiner
Contributor IV

Where is this option? 

0 件の賞賛

979件の閲覧回数
josephzhou1
Contributor V

Alternatively, you can ensure a specific amount of free disk space is added to the image by using the IMAGE_ROOTFS_EXTRA_SPACE variable.

 

 

put it to zero 

Best Regards,
Joseph Zhou Jianhui / Senior Embedded Software Engineer, Singapore
0 件の賞賛