electricnude / gentoo-b3-kernel

Automated weekly build of the latest (~arm) gentoo-sources kernel for the Excito B3 miniserver

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

gentoo-b3-kernel

Automated weekly build of the latest (~arm) gentoo-sources kernel for the Excito B3 miniserver

Description

Excito B3

This project contains a weekly autobuild of the most recent testing (~arm) version of the gentoo-sources Linux kernel, for the Excito B3 miniserver.

Builds are performed based on an oldefconfig-updated version of this baseline configuration. Additional tweaks are also applied to the configuration before building, by running the conform_config.sh script.

If you have changes you'd like to apply to the kernel config used by this project, please submit a PR targeting the conform_config.sh script. Changes should target the end of the script. Only edits which use the bundled convenience functions set_kernel_config and (rarely) unset_kernel_config will be considered for merging. Modularization is prefered wherever possible. Please include a short comment describing the changes, ideally including a link or bug ID.

A new build tarball is automatically created and uploaded as a release asset each week (unless the most recent version has not changed since the prior week, or an error occurs during the build process).

Each kernel release tarball provides the following files:

  • /boot/zImage (this is the bootable kernel);
  • /boot/kirkwood-b3.dtb (the device tree blob);
  • /boot/config (a copy of the kernel's configuration file);
  • /boot/System.map (the kernel's symbol table);
  • /lib/modules/<kernel release name>/... (the module set for the kernel);
  • /lib/firmware/... (the kernel-built firmware).

The current kernel tarball may be downloaded from the link below (or via wget, or via the corresponding gentoo-b3-kernel-bin ebuild, per the instructions following):

Variant Version Most Recent Image
Kernel, DTB, modules and (kernel) firmware 5.10.3 gentoo-b3-kernel-5.10.3.tar.xz

The corresponding kernel configuration (derived by running make olddefconfig on this baseline configuration) may be viewed here.

A list of all releases may be seen here.

Installation

These binary kernels are most easily deployed via my gentoo-b3 overlay (this overlay is pre-installed on the gentoo-on-b3 image) - to do so, simply emerge the gentoo-b3-kernel-bin package (a new ebuild is automatically created to mirror each release here). For example, to install the latest available version (and start using it):

b3 ~ # emaint sync --repo gentoo-b3
b3 ~ # emerge -av gentoo-b3-kernel-bin
b3 ~ # reboot

Or, to install a particular version (e.g.):

b3 ~ # emaint sync --repo gentoo-b3
b3 ~ # emerge -av =gentoo-b3-kernel-bin-5.10.3
b3 ~ # reboot

Alternatively (assuming that your B3's boot partition is mounted as /boot), you can simply simply download the release file, untar it directly on your B3, and reboot:

b3 ~ # wget -c https://github.com/sakaki-/gentoo-b3-kernel/releases/download/5.10.3/gentoo-b3-kernel-5.10.3.tar.xz
b3 ~ # tar -xJf gentoo-b3-kernel-5.10.3.tar.xz -C /
b3 ~ # sync && reboot

NB: these prebuilt kernels and ebuilds are provided as a convenience only. Use at your own risk! Given that the releases in this project are created automatically, there is no guarantee that any given kernel will boot correctly.

NB: You must be working with >= version 2.0.0 of the gentoo-on-b3 image to use these kernels (since they rely on the B3 first booting an interstitial kernel to patch and kexec them (with the correct command line, DTB file and possibly initramfs), and this facility was first introduced in version 2.0.0).

About

Automated weekly build of the latest (~arm) gentoo-sources kernel for the Excito B3 miniserver

License:GNU General Public License v2.0


Languages

Language:Shell 100.0%