Binaries not found in rootfs even after adding recipe

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

Binaries not found in rootfs even after adding recipe

Jump to solution
417 Views
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 Kudos
Reply
1 Solution
379 Views
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

View solution in original post

0 Kudos
Reply
3 Replies
380 Views
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 Kudos
Reply
332 Views
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 Kudos
Reply
326 Views
yipingwang
NXP TechSupport
NXP TechSupport

Thanks for your information.

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