Hi, I'm currently facing a kernel-version problem on my RasPi 3 b+ (with OS Raspbian GNU/Linux 10)
By default, the kernel version is 4.19.75-v7+. (I assumed it is 4.19.75-v7+ because I checked it before building the kernel)
However, the driver I need to install has only been tested on kernel version 4.4.26 or older ones. The driver is called SocketCAN, which can help me bring up the CAN interface on RasPi.
Then I follow the kernel building instruction on this page: https://www.raspberrypi.org/documentati ... uilding.md
To build older version kernel, I choose the source branch rpi-4.4.y instead of rpi-4.19.y (default version?) or rpi-4.18.y (on the webpage). The 4.4.y source file was successfully downloaded to /lib/modules and the building process was successful (only some warnings popped out, guess it's because older kernel version working on latest OS)
But when I was trying to compile SocketCAN driver, system kept looking for kernel 4.19.75-v7+ directory and failed to compile. In addition, I checked out the kernel version by using "uname -a" & "dmesg" and it still told me the kernel version is 4.19.75-v7+.
So, how can I build an older version of kernel under OS Raspbian GNU/Linux 10?
Or is there any configuration setting that I missed?