IMX6UL Sdcard image showing 880 MB

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

IMX6UL Sdcard image showing 880 MB

1,754 Views
chandraevolute
Contributor V

Hi why my sdcard image for IMX6ULVK  using  kernel version3.14.38-6UL_ga is showing 880 MB.

-rwxrwxrwx 1 linux linux 868220928 Jul  5 13:18 fsl-image-gui-imx6ulevk-20160705113519.rootfs.ext3

-rwxrwxrwx 1 linux linux     41077 Jul  5 13:17 fsl-image-gui-imx6ulevk-20160705113519.rootfs.manifest

-rwxrwxrwx 1 linux linux 884998144 Jul  5 13:20 fsl-image-gui-imx6ulevk-20160705113519.rootfs.sdcard

-rwxrwxrwx 1 linux linux 161179609 Jul  5 13:18 fsl-image-gui-imx6ulevk-20160705113519.rootfs.tar.bz2

lrwxrwxrwx 1 linux linux        50 Jul  5 13:20 fsl-image-gui-imx6ulevk.ext3 -> fsl-image-gui-imx6ulevk-20160705113519.rootfs.ext3

lrwxrwxrwx 1 linux linux        54 Jul  5 13:20 fsl-image-gui-imx6ulevk.manifest -> fsl-image-gui-imx6ulevk-20160705113519.rootfs.manifest

lrwxrwxrwx 1 linux linux        52 Jul  5 13:20 fsl-image-gui-imx6ulevk.sdcard -> fsl-image-gui-imx6ulevk-20160705113519.rootfs.sdcard

lrwxrwxrwx 1 linux linux        53 Jul  5 13:20 fsl-image-gui-imx6ulevk.tar.bz2 -> fsl-image-gui-imx6ulevk-20160705113519.rootfs.tar.bz2

-rwxrwxrwx 2 linux linux   1201077 Jul  5 11:48 modules--3.14.38-r0-imx6ulevk-20160705113519.tgz

lrwxrwxrwx 1 linux linux        48 Jul  5 11:48 modules-imx6ulevk.tgz -> modules--3.14.38-r0-imx6ulevk-20160705113519.tgz

-rwxrwxrwx 2 linux linux       294 Jul  5 13:12 README_-_DO_NOT_DELETE_FILES_IN_THIS_DIRECTORY.txt

lrwxrwxrwx 1 linux linux        24 Jul  5 13:00 u-boot.imx -> u-boot-sd-2015.04-r0.imx

lrwxrwxrwx 1 linux linux        24 Jul  5 13:00 u-boot-imx6ulevk.imx -> u-boot-sd-2015.04-r0.imx

-rwxrwxrwx 2 linux linux    359424 Jul  5 13:00 u-boot-sd-2015.04-r0.imx

lrwxrwxrwx 1 linux linux        47 Jul  5 11:48 zImage -> zImage--3.14.38-r0-imx6ulevk-20160705113519.bin

-rwxrwxrwx 2 linux linux     34342 Jul  5 11:48 zImage--3.14.38-r0-imx6ul-14x14-evk-20160705113519.dtb

-rwxrwxrwx 2 linux linux     34338 Jul  5 11:48 zImage--3.14.38-r0-imx6ul-14x14-evk-csi-20160705113519.dtb

-rwxrwxrwx 2 linux linux   6011120 Jul  5 11:48 zImage--3.14.38-r0-imx6ulevk-20160705113519.bin

lrwxrwxrwx 1 linux linux        58 Jul  5 11:48 zImage-imx6ul-14x14-evk-csi.dtb -> zImage--3.14.38-r0-imx6ul-14x14-evk-csi-20160705113519.dtb

lrwxrwxrwx 1 linux linux        54 Jul  5 11:48 zImage-imx6ul-14x14-evk.dtb -> zImage--3.14.38-r0-imx6ul-14x14-evk-20160705113519.dtb

lrwxrwxrwx 1 linux linux        47 Jul  5 11:48 zImage-imx6ulevk.bin -> zImage--3.14.38-r0-imx6ulevk-20160705113519.bin

Labels (3)
Tags (2)
6 Replies

1,205 Views
chandraevolute
Contributor V

hi jimmychan​ after going through the error which I got ERROR: Task 71 (/home/plum_project/sources/meta-fsl-arm/recipes-kernel/linux/linux-imx_3.14.28.bb, do_install) failed with exit code '1' after bitbaking core-image-minimal it is actually bitbaking the 3.14.28 kernel version and it didnt have support for imx6ulevk.

So, after going through all the bb files i thought of using poky-tiny distro, sources/poky/meta-yocto/conf/distro/poky-tiny.bb

I changed some of the configuration

PREFERRED_PROVIDER_virtual/kernel = "linux-imx"

PREFERRED_VERSION_linux-imx = "3.14.38"

after that I ran bitbake core-image-minimal it is successful and generated the images.

One last check point is, it didnt generate sdcard images instead it genertaed core-image-minimal-imx6ulevk-20160708092743.rootfs.cpio.gz

These steps maybe useful for the people who use 3.14.38 for imx6ulevk for core-image-minimal

1,205 Views
jimmychan
NXP TechSupport
NXP TechSupport

please try to create a new build folder for the new build.

DISTRO=<distro name> MACHINE=<machine name> source fsl-setup-release.sh -b <build dir>

0 Kudos
Reply

1,205 Views
chandraevolute
Contributor V

Hi jimmychan​ i tried bitbake core-image-minimal

but i got below error

DEPMOD  3.14.28-1.0.0_ga+g91cf351

| NOTE: make -j 2 imx6ul-14x14-evk.dtb

| make[3]: *** No rule to make target `arch/arm/boot/dts/imx6ul-14x14-evk.dtb'.  Stop.

| make[2]: *** [imx6ul-14x14-evk.dtb] Error 2

| make[1]: *** [sub-make] Error 2

| make: *** [all] Error 2

| ERROR: oe_runmake failed

| WARNING: exit code 1 from a shell command.

| ERROR: Function failed: do_install (log file is located at /home/plum_project/Image_Minimal/tmp/work/imx6ulevk-poky-linux-gnueabi/linux-imx/3.14.28-r0/temp/log.do_install.7376)

ERROR: Task 71 (/home/plum_project/sources/meta-fsl-arm/recipes-kernel/linux/linux-imx_3.14.28.bb, do_install) failed with exit code '1'

I am using the below repo

repo init -u git://git.freescale.com/imx/fsl-arm-yocto-bsp.git -b imx-3.14.38-6UL_ga

0 Kudos
Reply

1,205 Views
jimmychan
NXP TechSupport
NXP TechSupport

your rootfs need 868MB

0 Kudos
Reply

1,205 Views
chandraevolute
Contributor V

jimmychan  how can i reduce the rootfs size......my zImage is nly 6MB...for my project we planned to use nly 256 MB size of sdcard

0 Kudos
Reply

1,205 Views
jimmychan
NXP TechSupport
NXP TechSupport

It depends what you build and install in the rootfs. you can try to build the core-image-minimal. You will get the small size of rootfs.

0 Kudos
Reply