Help on petalinux platform version and driver load issue

Hi
We moved our petalinux build between VMs, and now have an issue with starting the opencpi driver on the revised linux image (whereas must have done it correctly previously). We’re getting the following error:-

[  234.945300] opencpi: version magic '4.19.0-xilinx-v2019.2 SMP mod_unload aarch64' should be '4.19.0 SMP mod_unload aarch64'

uname - r returns 4.19.0 on the target

the /tools/Xilinx/git/linux-xlnx folder is checked out on xilinx_v2019.2.01. It seems that is the same on the previous build environment as well.

On the target we get:-

strings ~/opencpi/os/linux/driver/target-xilinx19_2_aarch64/opencpi-4.19.0-xilinx-v2019.2-v2019.2.01.ko | grep 4.19
vermagic=4.19.0-xilinx-v2019.2 SMP mod_unload aarch64

Without retracing all the steps, I thought I’d ask for help; is this a case that we should be re-installing the xilinx19_2_aarch64 rcc platform?

Did we need to get the kernel version on the target to match the full “4.19.0-xilinx-v2019.2”

thanks

Ok, found and put the old image on and it reports the kernel as 4.19.0-xilinx-v2019.2.

Any pointer where we’ve gone wrong?

So I guess this is an issue that occurred with moving the petalinux project.

I can set the kernel version manually by editing the petalinux kernel config under General | Local Version and rebuilding the kernel, the auto set option was set which I think should’ve set this automatically.

Anyway, not an OpenCPI issue.

1 Like