build busybox problems use yocto

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 
已解决

build busybox problems use yocto

跳至解决方案
2,748 次查看
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!!!

标签 (3)
标记 (3)
0 项奖励
回复
1 解答
1,755 次查看
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 项奖励
回复
3 回复数
1,755 次查看
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 项奖励
回复
1,755 次查看
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 项奖励
回复
1,756 次查看
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 项奖励
回复