I have written an ebuild (the equivalent to a package on Gentoo) that builds and installs a kernel for the MNT Reform 2.
You can find documentation on how to install the kernel on the MNT Reform page in the Gentoo wiki.
On the same page you can also find instructions on how to configure dracut to generate an accompanying Initrd.
The ebuild uses the patches provided by MNT, but unlike the kernel included in the official Debian image, it is not actually based on the Debian kernel sources and configuration. Instead it is based on the Gentoo-patched kernel sources and the Gentoo kernel configuration (which in turn is based on the Fedora kernel configuration).
If you’re interested in how it’s done, you can find the ebuild in my repository here: sys-kernel/mnt-reform2-kernel · master · Niklaus Hofer / mnt-reform2-overlay · GitLab
I bumped the version of the package to 6.1.12. I also tested it with USE=“hardened” and it works just fine
Nice work! I like the detailed documentation.
bdw… the link to the generic bootscr.uboot doesn’t work (not existing in the linked path)
I bumped the version to 6.1.20. Plus I tested the out-of-tree LPC module from the reform-tools repository and it works fine. Currently looking into how to best package that for Gentoo.
I bumped the version to 6.4.7.
Since the last post, I’ve also had a chance to test HDMI, which was a success
Bumped to 6.6.8!
Note that I only test the kernel on the stock (i.MX8MQ) SOM.
Thank you for this. I have my Pocket on order, I was planning on running Funtoo and this is very helpful.
Thanks so much!
I’m planning to go the full manual kernel config route, but your ebuild (together with the build script in the official repo) is an excellent starting point.