MichaIng / DietPi

Lightweight justice for your single-board computer!
https://dietpi.com/
GNU General Public License v2.0
4.9k stars 499 forks source link

Kernel version? #7291

Open danergo opened 13 hours ago

danergo commented 13 hours ago

My kernel version is 6.1.21-v8+ (DietPi v9.7.1).

I have a problem with an SPI-UART converter, for which I got a recommendation of updating the kernel.

I ran dietpi-update, it found a newer (9.8.0) version, but I couldn't find anywhere what kernel version is coming along with 9.8.0.

How can I know which kernel belongs to a certain DietPi version?

And how can I update the kernel on DietPi OS?

Joulinar commented 13 hours ago

DietPi is not a separate operating system. It is a set of bash scripts on a Debian-based image. And there is no relationship between a DietPi version and the kernel. The kernel version depends on your SBC and the Debian version. And kernel updates are done with apt like on any other system. I assume you have a Raspberry PI device? Is that correct? In that case, the kernel is the original kernel provided by the RPi guys. However, there have been major changes to the structure of the kernel and firmware that we are not yet making available to all users. Actually something you can do manually if you want to switch to the new kernel structure. See https://github.com/MichaIng/DietPi/issues/6676