Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save brianbianco/9009a81d9d3cb2e82400f810e871da24 to your computer and use it in GitHub Desktop.
Save brianbianco/9009a81d9d3cb2e82400f810e871da24 to your computer and use it in GitHub Desktop.
Ubuntu 24.04.1 mainline linux kernel on Turing PI RK1
How to run mainline linux kernel with ubuntu 24.04.1 LTS on RK1 (although I imagine other distros with package managers will be similar.
Locate the version you want here https://kernel.ubuntu.com/mainline/ keep in mind that I would base the version on https://gitlab.collabora.com/hardware-enablement/rockchip-3588/notes-for-rockchip-3588/-/blob/main/mainline-status.md and there completion
You are required to install linux-headers-6.14.0-061400_6.14.0-061400.202503241442_all.deb as its not specific to the arch and its required for linux-headers-6.14.0-061400-generic_6.14.0-061400.202503241442_arm64.deb
wget https://kernel.ubuntu.com/~kernel-ppa/mainline/v6.14/amd64/linux-headers-6.14.0-061400_6.14.0-061400.202503241442_all.deb
wget https://kernel.ubuntu.com/~kernel-ppa/mainline/v6.14/arm64/linux-headers-6.14.0-061400-generic_6.14.0-061400.202503241442_arm64.deb
wget https://kernel.ubuntu.com/~kernel-ppa/mainline/v6.14/arm64/linux-image-unsigned-6.14.0-061400-generic_6.14.0-061400.202503241442_arm64.deb
wget https://kernel.ubuntu.com/~kernel-ppa/mainline/v6.14/arm64/linux-modules-6.14.0-061400-generic_6.14.0-061400.202503241442_arm64.deb
dpkg -i *.deb
reboot
Disclaimer: The mainline kernel uses the panfrost open source drivers for the gpu, this doesn't support ML or transcoding. Also there is no NPU support with the mainline kernel.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment