Hi,
I build the yocto image by LSDK 20.04
I follow Chap 4.3, -LSDK Yocto-based Tiny and Devel Userland.
Here is my commands.
flex-builder -i clean-rfs -r yocto
flex-builder -i mkrfs -r yocto:tiny
flex-builder -i mkfw -m lx2160ardb_rev2 -b sd
flex-builder -c linux -a arm64
flex-builder -i mkbootpartition
I want to add some packages like "pciutils" and "bridge-utils".
So, I add it to "build/rfs/rootfs_lsdk2004_yocto_tiny_arm64/conf/local.conf" like this.
IMAGE_INSTALL_append = " sudo file parted curl openssh-scp openssh-ssh openssh-sshd \
e2fsprogs dosfstools bash coreutils diffutils util-linux \
net-tools sysvinit libtool libstdc++ libstdc++-dev libxml2 \
libnl-genl pciutils bridge-utils"
After this, I rerun mkfrs.
flex-builder -i mkrfs -r yocto:tiny
But the new image doesn't include lspci or brctl.
Which step is wrong? How should I add lspci and brctl to yocto image?
Thx.
Solved! Go to Solution.
Please modify configs/yocto/local_arm64_tiny.conf as the following.
IMAGE_INSTALL_append = " sudo file parted curl openssh-scp openssh-ssh openssh-sshd \
e2fsprogs dosfstools bash coreutils diffutils util-linux \
net-tools sysvinit libtool libstdc++ libstdc++-dev libxml2 \
libnl-genl pciutils bridge-utils "
Then execute the following commands
$ sudo rm -rf ~/yoctobuild/tmp/work/qemuarm64-poky-linux/core-image-minimal/1.0-r0/rootfs
$ flex-builder -i mkrfs -r yocto:tiny
Please modify configs/yocto/local_arm64_tiny.conf as the following.
IMAGE_INSTALL_append = " sudo file parted curl openssh-scp openssh-ssh openssh-sshd \
e2fsprogs dosfstools bash coreutils diffutils util-linux \
net-tools sysvinit libtool libstdc++ libstdc++-dev libxml2 \
libnl-genl pciutils bridge-utils "
Then execute the following commands
$ sudo rm -rf ~/yoctobuild/tmp/work/qemuarm64-poky-linux/core-image-minimal/1.0-r0/rootfs
$ flex-builder -i mkrfs -r yocto:tiny