Hello,
I uploaded an image to my rpi 3b+, now I want to make changes on a kernel module, for that I need to get the same kernel version as the one flashed in the target so that the kernel and module are compatible.I cloned the Linux kernel from https://github.com/raspberrypi/linux, I checkout the commit with "Linux 6.12.34", but still this is not compatible with my target since EXTRAVERSION is empty, Makefile shows So how can i get the source code with the exact version
I uploaded an image to my rpi 3b+, now I want to make changes on a kernel module, for that I need to get the same kernel version as the one flashed in the target so that the kernel and module are compatible.
Code:
# On the target uname -r6.12.34+rpt-rpi-v8Code:
VERSION = 6PATCHLEVEL = 12SUBLEVEL = 34EXTRAVERSION = Code:
6.12.34+rpt-rpi-v8Statistics: Posted by bou6 — Fri Sep 26, 2025 8:55 am