Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Petalinux-build error with the latest Vivado (2022-2) and latest Zybo-Z7 bsp (2022-1) #11

Open
daniela-camgile opened this issue Jan 22, 2023 · 1 comment

Comments

@daniela-camgile
Copy link

I'm trying to build a Linux image for a Zybo-Z7-10 board, using your latest (2022-1) bsp and the latest Vivado (2022-2) freshly installed. This results in the following error:
ERROR: linux-xlnx-5.15.36+gitAUTOINC+machine-r0 do_kernel_version_sanity_check: Package Version (5.15.36+gitAUTOINC+machine) does not match of kernel being built (5.15.19). Please update the PV variable to match the kernel source or set KERNEL_VERSION_SANITY_SKIP="1" in your recipe. ERROR: linux-xlnx-5.15.36+gitAUTOINC+machine-r0 do_kernel_version_sanity_check: ExecutionError('/home/daniela/builds/os/build/tmp/work/zynq_generic-xilinx-linux-gnueabi/linux-xlnx/5.15.36+gitAUTOINC+machine-r0/temp/run.do_kernel_version_sanity_check.7844', 1, None, None) ERROR: Logfile of failure stored in: /home/daniela/builds/os/build/tmp/work/zynq_generic-xilinx-linux-gnueabi/linux-xlnx/5.15.36+gitAUTOINC+machine-r0/temp/log.do_kernel_version_sanity_check.7844 ERROR: Task (/home/daniela/builds/os/components/yocto/layers/meta-xilinx/meta-xilinx-core/recipes-kernel/linux/linux-xlnx_2022.2.bb:do_kernel_version_sanity_check) failed with exit code '1'

Is there any chance you could release a 2022-2 version or how would you recommend solving the issue? I am trying to avoid downgrading Vivado to an older version if at all possible. Thanks!

@tcao
Copy link

tcao commented Feb 8, 2024

Before 2022.2/2023.1/2023.2 update is available, here's the change I made to get petalinux build passed, by adding one line before the include statement for the file os/components/yocto/layers/meta-xilinx/meta-xilinx-core/recipes-kernel/linux/linux-xlnx_2022.2.bb:
KERNEL_VERSION_SANITY_SKIP="1"

yocto error prompt did help.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants