Custom Busybox: failed at do_image_boot_ubifs

Hi,

I have ccimx6ulsbc dev board with dey 2.2-r2 yocto release:

I want to custom busybox and make it a smaller module. I just removed (commented out) some of the unused items in the defconfig and bitbaked ok.

But at bitbake core-image-minimal, it failed as following:
do_image_boot_ubifs and do_image_recovery_ubifs

Initialising tasks: 100% |######################################################################| Time: 0:00:02
NOTE: Executing SetScene Tasks
NOTE: Executing RunQueue Tasks
ERROR: core-image-minimal-1.0-r0 do_image_boot_ubifs: Function failed: do_image_boot_ubifs (log file is located at /home/dzhou/CIM_Software/CIM_Yocto/build/tmp/work/ccimx6ulsbc-dey-linux-gnueabi/core-image-minimal/1.0-r0/temp/log.do_image_boot_ubifs.27610)
ERROR: Logfile of failure stored in: /home/dzhou/CIM_Software/CIM_Yocto/build/tmp/work/ccimx6ulsbc-dey-linux-gnueabi/core-image-minimal/1.0-r0/temp/log.do_image_boot_ubifs.27610
Log data follows:
| DEBUG: Executing python function set_image_size
| DEBUG: Python function set_image_size finished
| DEBUG: Executing shell function do_image_boot_ubifs
| WARNING: exit code 1 from a shell command.
| ERROR: Function failed: do_image_boot_ubifs (log file is located at /home/dzhou/CIM_Software/CIM_Yocto/build/tmp/work/ccimx6ulsbc-dey-linux-gnueabi/core-image-minimal/1.0-r0/temp/log.do_image_boot_ubifs.27610)
ERROR: Task (/home/dzhou/CIM_Software/CIM_Yocto/sources/poky/meta/recipes-core/images/core-image-minimal.bb:do_image_boot_ubifs) failed with exit code ‘1’
ERROR: core-image-minimal-1.0-r0 do_image_recovery_ubifs: Function failed: do_image_recovery_ubifs (log file is located at /home/dzhou/CIM_Software/CIM_Yocto/build/tmp/work/ccimx6ulsbc-dey-linux-gnueabi/core-image-minimal/1.0-r0/temp/log.do_image_recovery_ubifs.27612)
ERROR: Logfile of failure stored in: /home/dzhou/CIM_Software/CIM_Yocto/build/tmp/work/ccimx6ulsbc-dey-linux-gnueabi/core-image-minimal/1.0-r0/temp/log.do_image_recovery_ubifs.27612
Log data follows:
| DEBUG: Executing python function set_image_size
| DEBUG: Python function set_image_size finished
| DEBUG: Executing shell function do_image_recovery_ubifs
| WARNING: exit code 1 from a shell command.
| ERROR: Function failed: do_image_recovery_ubifs (log file is located at /home/dzhou/CIM_Software/CIM_Yocto/build/tmp/work/ccimx6ulsbc-dey-linux-gnueabi/core-image-minimal/1.0-r0/temp/log.do_image_recovery_ubifs.27612)
ERROR: Task (/home/dzhou/CIM_Software/CIM_Yocto/sources/poky/meta/recipes-core/images/core-image-minimal.bb:do_image_recovery_ubifs) failed with exit code ‘1’

What did I miss? Or what else do I have to make changes or patches ?

Thank you,

David Zhou

errors point to some log files like:
log file is located at /home/dzhou/CIM_Software/CIM_Yocto/build/tmp/work/ccimx6ulsbc-dey-linux-gnueabi/core-image-minimal/1.0-r0/temp/log.do_image_boot_ubifs.27610
Do you see what is it failing on, by looking in to those files

Hi Leonid,

The error messages are pasted in the above message already: (what’s in the log file, below pasted again)
Log data follows:
| DEBUG: Executing python function set_image_size
| DEBUG: Python function set_image_size finished
| DEBUG: Executing shell function do_image_boot_ubifs
| WARNING: exit code 1 from a shell command.
| ERROR: Function failed: do_image_boot_ubifs

I traced set_image_size () function, cannot tell what’s wrong.
There are three images (boot, rootfs, and recovery). It only complains boot.ubifs and recovery.ubifs images.

No clue at all.

Thanks,

David

The issue is resolved.

bitbake -f -c compile busybox
doesn’t work in this case.

Needs to create patch, then it is ok.

Thank you,

David