Trenz Electronic GmbH Support Forum

Trenz Electronic Products => UltraScale => Topic started by: jarios86 on February 26, 2020, 09:40:04 AM

Title: Add zstd and lz4 libraries to rootfs petalinux 2018.2
Post by: jarios86 on February 26, 2020, 09:40:04 AM
Hi trenz,

I have added boost and boost-dev libraries to my rootfs (using petalinux 2018.2) modifying the following file:

project-spec/meta-user/recipes-core/images/petalinux-image.bbappend

addind the following line:

IMAGE_INSTALL_append = " boost"
IMAGE_INSTALL_append = " boost-dev"

But now I want to add libzstd and liblz4 libraries to my rootfs and I have tried to do the same, I have added the following lines to the same file:

IMAGE_INSTALL_append = " lz4"

IMAGE_INSTALL_append = " zstd"

But I get an error when I try to build the rootfs. It says that that receipes cannot be found. I have check if the receipes exit in https://layers.openembedded.org/layerindex/branch/master/layers/ and they exist but I think that it doesn't matter because petalinux could use its one receipes repository. I would like to know where can I find the petalinuz receipes list that I can use and how can I add new receipes to my project.

Thanks in advances,
Antonio
Title: Re: Add zstd and lz4 libraries to rootfs petalinux 2018.2
Post by: JH on February 26, 2020, 04:08:42 PM
Hi,

that's more a question for Xilinx forum.
Xilinx has a lot of documentation how to work with petalinux, you should also check:
https://www.xilinx.com/tools/petalinux-sdk.htm
https://xilinx-wiki.atlassian.net/wiki/spaces/A/pages/18842250/PetaLinux
https://xilinx-wiki.atlassian.net/wiki/spaces/A/pages/18842475/PetaLinux+Yocto+Tips

br
John