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

analogdevicesinc/linux updated to 6.6 causing meta adi to not build correctly in 2023.1 #156

Closed
Jcrash29 opened this issue Dec 5, 2024 · 4 comments

Comments

@Jcrash29
Copy link

Jcrash29 commented Dec 5, 2024

When attempting to build I get the following error:

ERROR: linux-xlnx-6.1-adi-main+gitAUTOINC+machine-r0 do_kernel_version_sanity_check: Package Version (6.1-adi-main+gitAUTOINC+machine) does not match of kernel being built (6.6). Please update the PV variable to match the kernel source or set KERNEL_VERSION_SANITY_SKIP="1" in your recipe.
ERROR: linux-xlnx-6.1-adi-main+gitAUTOINC+machine-r0 do_kernel_version_sanity_check: ExecutionError('/home/temp/2023.1/petalinux/build/tmp/work/zynqmp_generic_xczu15eg-xilinx-linux/linux-xlnx/6.1-adi-main+gitAUTOINC+machine-r0/temp/run.do_kernel_version_sanity_check.12387', 1, None, None)
ERROR: Logfile of failure stored in: /home/temp/2023.1/petalinux/build/tmp/work/zynqmp_generic_xczu15eg-xilinx-linux/linux-xlnx/6.1-adi-main+gitAUTOINC+machine-r0/temp/log.do_kernel_version_sanity_check.12387
ERROR: Task (/home/temp/2023.1/petalinux/components/yocto/layers/meta-xilinx/meta-xilinx-core/recipes-kernel/linux/linux-xlnx_2023.1.bb:do_kernel_version_sanity_check) failed with exit code '1'

I believe this is due to a recent update to analogdevicesinc/linux

@pgsys
Copy link

pgsys commented Dec 5, 2024

I get the same problem with petalinux 2023.2. Looks like analogdevicesinc/linux moved to 2024.1?

@Jcrash29
Copy link
Author

Jcrash29 commented Dec 5, 2024

@pgsys The fix I used:

Modify meta-adi-xilinx/recipes-kernel/linux/linux-xlnx_%.bbappend

Change the KBRANCH to something other than main.

In my case I used adi-6.1.0

Good luck!

@nunojsa
Copy link
Contributor

nunojsa commented Dec 9, 2024

This should be fixed by #157

I get the same problem with petalinux 2023.2. Looks like analogdevicesinc/linux moved to 2024.1?

We will...

@nunojsa
Copy link
Contributor

nunojsa commented Jan 14, 2025

This should now be fixed

@nunojsa nunojsa closed this as completed Jan 14, 2025
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

3 participants