How to get correct values for SRCREV_meta and SRCREV_machine, while applying preempt-rt patch for raspberrypi4-64

135 Views Asked by At

I am trying to apply PREEMPT-RT patch using yocto for raspberrypi4-64 machine.

Followed link

I have done following steps:

  • I have downloaded the patch patch-5.10.83-rt58.patch from here and stored in ./meta-raspberrypi/recipes-kernel/linux/files
  • I have created a file linux-raspberrypi_%.bbappend in ./meta-raspberrypi/recipes-kernel/linux
  • I have created a .cfg file with CONFIG_PREEMPT_RT_FULL = y in ./meta-raspberrypi/recipes-kernel/linux/files
  • I have added both patch and cfg file in bbappend using SRC_URI.
  • Also I have done necessary changes into local.conf
  • Able to select option "Fully Preemptible Kernel (Real-Time)" using command bitbake linux-raspberrypi-rt -c menuconfig
  • When I run command bitbake core-image-minimal, then it is giving below error:
ERROR: linux-raspberrypi-rt-1_5.10.83-r0 do_kernel_version_sanity_check: Package Version (5.10.83) does not match of kernel being built (5.10.110).
  • I have question regarding .bb file. Currently I have set SRCREV_meta:
SRCREV_meta ?= "${AUTOREV}"
SRCREV_machine ?= "${AUTOREV}"
  • As I read, SRCREV_meta and SRCREV_machine are git commit values but from where to get those values correctly. Please let me know.

Thank you in advance.

0

There are 0 best solutions below