Binaries not found in rootfs even after adding recipe

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

Binaries not found in rootfs even after adding recipe

跳至解决方案
1,353 次查看
pvsnsubhash
Contributor II

Hi,

I am working on LX2160ARDB and trying to install some specific packages on it. I am using LLDP 6.1.22 SDK currently. To install u-boot-tools, i2c-tools and lksctp-tools, I tried these 2 ways.

1. Adding in the local.conf file
IMAGE_INSTALL:append = " lksctp-tools u-boot-tools i2c-tools"

2. Adding in the ls-image-main.bb file

IMAGE_INSTALL:append = " lksctp-tools u-boot-tools i2c-tools"

When I build the image ls-image-main in both cases, image is getting built and generating the rootfs tar file. But the binaries related to these packages are nowhere present in the rootfs. Like i2c-tools should have i2cset, i2cget etc and u-boot-tools will have fw_printenv, fw_setenv and lksctp-tools will have checksctp. But none of these can be found anywhere in rootfs.
I can find these recipes in the pn-buildlist when i use bitbake -g ls-image-main

Kindly help me with this issue.

Thanks in Advance

Thanks and Regards
PVSN Subhash
0 项奖励
回复
1 解答
1,315 次查看
yipingwang
NXP TechSupport
NXP TechSupport
  1. Please remove i2c-tools in YOCTO-DEPENDS-LIST in sources/meta-nxp-desktop/recipes-extended/ubuntu/ubuntu-base-image.inc

 

  1. Please edit sources/meta-nxp-desktop/recipes-fsl/images/ls-image-main.bb as the following.

IMAGE_INSTALL:append = " \

        ${LAYERSCAPE_NETWORK_TOOLS} \

        iperf2 \

        makedevs lmsensors-sensors \

        lksctp-tools lksctp-tools-utils u-boot-tools i2c-tools u-boot-fw-utils \

        ${LAYERSCAPE_DEMO_SAMPLES} \

"

  1. $ bitbake ls-image-main

在原帖中查看解决方案

0 项奖励
回复
3 回复数
1,316 次查看
yipingwang
NXP TechSupport
NXP TechSupport
  1. Please remove i2c-tools in YOCTO-DEPENDS-LIST in sources/meta-nxp-desktop/recipes-extended/ubuntu/ubuntu-base-image.inc

 

  1. Please edit sources/meta-nxp-desktop/recipes-fsl/images/ls-image-main.bb as the following.

IMAGE_INSTALL:append = " \

        ${LAYERSCAPE_NETWORK_TOOLS} \

        iperf2 \

        makedevs lmsensors-sensors \

        lksctp-tools lksctp-tools-utils u-boot-tools i2c-tools u-boot-fw-utils \

        ${LAYERSCAPE_DEMO_SAMPLES} \

"

  1. $ bitbake ls-image-main
0 项奖励
回复
1,268 次查看
pvsnsubhash
Contributor II

This worked but I also added the same in IMAGE_INSTALL:append previously, guess it should be placed before ${LAYERSCAPE_DEMO_SAMPLES}? @yipingwang 

Thanks and Regards
PVSN Subhash
0 项奖励
回复
1,262 次查看
yipingwang
NXP TechSupport
NXP TechSupport

Thanks for your information.

You need to add "lksctp-tools-utils" and "u-boot-fw-utils" in the list.