I finally got around to upgrade my MiSTer from old 4.19 to latest with 5.15.1, and everything works as intended.
Once upon a time I made a docerfile for building the 4.19 kernel, so I could build the kernel with the features I need, this is of course way outdated now, but I haven't really found "the recipy" for how to the current kernel is built, what cross-toolchain is used etc (though from /proc/version, I do get some hints). I would love to update the dockfile for the new kernel.
In case anyone wonders why I need "my own" kernel:
* IPv6
* NFS server - I use this to re-export cloud mounts to the Minimig
Building the Linux Kernel
- wizzo
- Scripting Wizard
- Posts: 183
- Joined: Sat Mar 12, 2022 11:32 am
- Has thanked: 15 times
- Been thanked: 243 times
Re: Building the Linux Kernel
Here's my dockerfile you can check out:
https://github.com/wizzomafizzo/mrext/b ... Dockerfile
I just do the build environment and leave the clone and makes in another build script. I'm sure you could just do an arm image instead of the cross compiler but I tried to keep as close to the official docs as possible.
https://github.com/MiSTer-devel/Main_Mi ... for-MiSTer
https://github.com/wizzomafizzo/mrext/b ... Dockerfile
I just do the build environment and leave the clone and makes in another build script. I'm sure you could just do an arm image instead of the cross compiler but I tried to keep as close to the official docs as possible.
https://github.com/MiSTer-devel/Main_Mi ... for-MiSTer