The correct process to get an updated kernel running on the Novena is not entirely clear. After some trial and error, I was able to produce an image that boots, but I was not able to create a .deb package.
I'd like to contribute my process back to this project. I don't think my instructions are ideal, but they are an improvement over what's currently in the repo.
apt install -y python3-debian rsync quilt libssl-dev
git clone https://github.com/novena-next/debian-linux
wget https://cdn.kernel.org/pub/linux/kernel/v5.x/linux-5.3.tar.gz
cd debian-linux
./debian/bin/genorig.py ../linux-5.3.tar.gz
make -f debian/rules orig
gzip -d < /proc/config.gz > .config
yes "" | make oldconfig
# make deb-pkg # sorry, no worky
make
cp /boot/zimage /boot/zimage.old # make a backup in case there's a problem
cp arch/arm/boot/zImage /boot/zimage
I'll be honest, there's a lot here I don't understand. For example, why there are dozens and dozens of patches applied, some of them which are specific to x86 platforms? Can I use these instructions to get a kernel that is newer than 5.3? Can other people look at debian/README.* and come up with better instructions than what I put together?
What I do know is that I'm now running Linux 5.3, which is no longer supported, but a lot newer than what originally shipped (and it fixed my HDMI output, which was my main reason for upgrading).
The correct process to get an updated kernel running on the Novena is not entirely clear. After some trial and error, I was able to produce an image that boots, but I was not able to create a .deb package.
I'd like to contribute my process back to this project. I don't think my instructions are ideal, but they are an improvement over what's currently in the repo.
I'll be honest, there's a lot here I don't understand. For example, why there are dozens and dozens of patches applied, some of them which are specific to x86 platforms? Can I use these instructions to get a kernel that is newer than 5.3? Can other people look at debian/README.* and come up with better instructions than what I put together?
What I do know is that I'm now running Linux 5.3, which is no longer supported, but a lot newer than what originally shipped (and it fixed my HDMI output, which was my main reason for upgrading).