build busybox problems use yocto

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

build busybox problems use yocto

Jump to solution
2,413 Views
lixuhui112
Contributor I

Hello everyone

     

     Recently I used yocto, encountered many problems, there are two questions :

1. When compiling a file system,Use the following command :

    $ MACHINE=imx6qsabresd source fsl-setup-release.sh -b build-x11 -e x11

    $ bitbake -c menuconfig busybox

    $ bitbake busybox

    After compilation I do not know where the compiled file system,If I specify the storage path(such as /home/lxh/nfs) at compile time the compiler will return an error as

Task 8 (/home/lxh/work/fsl_yocto/fsl-release-bsp/sources/poky/meta/recipes-core/busybox/busybox_1.22.1.bb, do_compile) failed with exit code '1'

2.If I use meta-toolchain,in busybox-1.23.1 directory

$ source /opt/poky/1.7/environment-setup-cortexa9hf-vfp-neon-poky-linux-gnueabi

$ make defconfig

$ make menuconfig

$ make

will return an error as:

/opt/poky/1.7/sysroots/cortexa9hf-vfp-neon-poky-linux-gnueabi/usr/include/gnu/stubs.h:7:29: fatal error: gnu/stubs-soft.h: No such file or directory

# include <gnu/stubs-soft.h>

Does anyone know how to solve it, please help me!

thank you very much!!!

Labels (3)
0 Kudos
1 Solution
1,420 Views
Yuri
NXP Employee
NXP Employee

This folder contains the uncompressed rootfs of our target.

{YOCTO_BUILD_DIR}/tmp/work/{TARGET}-poky-linux-gnueabi/{IMAGE}/1.0-r0/rootfs

Regards,

Yuri.

View solution in original post

0 Kudos
3 Replies
1,420 Views
Yuri
NXP Employee
NXP Employee

Hello,

  Please use the first approach. In this case, according to section 6 (Image Deployment)

of "Freescale_Yocto_Project_User's_Guide.pdf" : "After a build is complete, the created image
resides in <build directory>/tmp/deploy/images."

Have a great day,
Yuri

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

0 Kudos
1,420 Views
lixuhui112
Contributor I

hello  Yuri Muhin,

     Thank you for answeringI know in <build directory>/tmp/deploy/images have uboot and kernel and Other complete package,but there is no separate compiled file system,in <build directory>/tmp/deploy/images file system is use bitbake fsl-image-gui or bitbake core-image-minimal generated,not use bitbake busybox

0 Kudos
1,421 Views
Yuri
NXP Employee
NXP Employee

This folder contains the uncompressed rootfs of our target.

{YOCTO_BUILD_DIR}/tmp/work/{TARGET}-poky-linux-gnueabi/{IMAGE}/1.0-r0/rootfs

Regards,

Yuri.

0 Kudos