imx6ul How to build smaller rootfs image

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

imx6ul How to build smaller rootfs image

Jump to solution
1,262 Views
aaronkuo
Contributor II

Hi NXP support,

We follow the procedure of “i.MX_Yocto_Project_User's_Guide.pdf” to build image, but the built rootfs image is too large.

Our image limit is 32MB, How to build smaller rootfs image that can support WIFI/Bluetooth

Labels (1)
0 Kudos
1 Solution
808 Views
robertlehmann
Contributor II

Try to build the core-image-minimal. This image contains only a minimum set of applications. If you want to add more applications to it create your own image recipe. The skeleton should look like this:

 

require recipes-core/images/core-image-minimal.bb

IMAGE_INSTALL += "nano"

View solution in original post

0 Kudos
4 Replies
808 Views
aaronkuo
Contributor II

Hi support,

it is typo,

it should be "CORE_IMAGE_EXTRA_INSTALL += "packagegroup-base-bluetooth packagegroup-base-wifi""

BRs

Aaron kuo

0 Kudos
808 Views
aaronkuo
Contributor II

Hi Robert,

I add "CORE_IMAGE_EXTRA_INSTALL += "packagegroup-base-bluetooth packagegroup-core-wifi""  in core-image-minimal.bb.

I can find the bluetooth in image, but don't find any libraries about wifi in image like following.

./lib/firmware/bcm/ZP_BCM4339/bcmdhd.ZP.SDIO.cal
./lib/firmware/bcm/ZP_BCM4339/bcmdhd.ZP.OOB.cal
./lib/firmware/bcm/ZP_BCM4339/fw_bcmdhd.bin
./lib/firmware/bcm/ZP_BCM4339/fw_bcmdhd_apsta.bin
./lib/firmware/bcm/1BW_BCM43340/bcmdhd.1BW.SDIO.cal
./lib/firmware/bcm/1BW_BCM43340/bcmdhd.1BW.OOB.cal
./lib/firmware/bcm/1BW_BCM43340/fw_bcmdhd.bin
./lib/firmware/bcm/1DX_BCM4343W/bcmdhd.1DX.OOB.cal
./lib/firmware/bcm/1DX_BCM4343W/bcmdhd.1DX.SDIO.cal
./lib/firmware/bcm/1DX_BCM4343W/fw_bcmdhd.bin
./lib/firmware/bcm/SN8000_BCM43362/bcmdhd.SN8000.OOB.cal
./lib/firmware/bcm/SN8000_BCM43362/bcmdhd.SN8000.SDIO.cal
./lib/firmware/bcm/SN8000_BCM43362/fw_bcmdhd.bin
./lib/firmware/bcm/SN8000_BCM43362/fw_bcmdhd_apsta.bin

BRs

Aaron kuo

0 Kudos
809 Views
robertlehmann
Contributor II

Try to build the core-image-minimal. This image contains only a minimum set of applications. If you want to add more applications to it create your own image recipe. The skeleton should look like this:

 

require recipes-core/images/core-image-minimal.bb

IMAGE_INSTALL += "nano"
0 Kudos
808 Views
aaronkuo
Contributor II

Hi Robert,

I add "CORE_IMAGE_EXTRA_INSTALL += "packagegroup-base-bluetooth packagegroup-base-wifi""  in core-image-minimal.bb.

I can find the bluetooth in image, but don't find any libraries about wifi in image like following.

 

 

 

./lib/firmware/bcm/ZP_BCM4339/bcmdhd.ZP.SDIO.cal
./lib/firmware/bcm/ZP_BCM4339/bcmdhd.ZP.OOB.cal
./lib/firmware/bcm/ZP_BCM4339/fw_bcmdhd.bin
./lib/firmware/bcm/ZP_BCM4339/fw_bcmdhd_apsta.bin
./lib/firmware/bcm/1BW_BCM43340/bcmdhd.1BW.SDIO.cal
./lib/firmware/bcm/1BW_BCM43340/bcmdhd.1BW.OOB.cal
./lib/firmware/bcm/1BW_BCM43340/fw_bcmdhd.bin
./lib/firmware/bcm/1DX_BCM4343W/bcmdhd.1DX.OOB.cal
./lib/firmware/bcm/1DX_BCM4343W/bcmdhd.1DX.SDIO.cal
./lib/firmware/bcm/1DX_BCM4343W/fw_bcmdhd.bin
./lib/firmware/bcm/SN8000_BCM43362/bcmdhd.SN8000.OOB.cal
./lib/firmware/bcm/SN8000_BCM43362/bcmdhd.SN8000.SDIO.cal
./lib/firmware/bcm/SN8000_BCM43362/fw_bcmdhd.bin
./lib/firmware/bcm/SN8000_BCM43362/fw_bcmdhd_apsta.bin

 

 

 

BRs

Aaron kuo

0 Kudos