marcin/kernel-efi-megieg25m-stable

Project ID: 59612

Description

A stable (released) Megi's kernel for PinePhone Pro (and experimental PinePhone) support, but merged with Fedora kernel infrastructure and with patches towards eg25-manager support.

You will require an UEFI-compatible partition layout (along with grub, shim, grubby). For example one of those:

  • A ready image: https://github.com/nikhiljha/pp-fedora-sdsetup/releases/tag/ppp-0
  • OSBuild for building the image: https://github.com/martinezjavier/fedora-mobility-playground

Alternative kernels for UEFI images (all are based on Fedora kernel, so anything that works on Fedora, eg. virtualization, containers, nftables, should work with those as well):

  • mobianpppfdr - contains a Mobian kernel for PPP. It is generally a conservative set of patches that works stable.
  • megieg25m-stable - contains a stable Megi kernel (with patches needed to support eg25-manager) which may support PP in addition to PPP. Aims to support all the hardware.
  • megieg25m - contains an unstable Megi kernel (with patches needed to support eg25-manager) which may support PP in addition to PPP. Aims to support all the hardware. Those images may not work.
  • javierm's cross-distro kernel - contains a minimal set of patches in process of upstreaming needed to support PPP

Source: branch megieg25m-stable on https://gitlab.com/marcinipv8/kernel-ark

Those images are provided on a best-effort basis, but there's no guarantee provided that they will work. See also: Fedora Mobility SIG

Installation Instructions

In order to ensure, that you don't accidentally upgrade to an upstream kernel (which doesn't work on PinePhone Pro as of now), edit /etc/yum.repos.d/fedora-rawhide.repo or /etc/yum.repos.d/fedora.repo and in [rawhide] or [fedora] section add:

exclude=kernel*

Now, execute the following commands:

dnf copr enable marcin/kernel-efi-megieg25m-stable dnf update

For modem support you will require eg25-manager.

If you use Tow-Boot (or any non-Fedora U-Boot), ensure to \cp -a /boot/dtb/ /boot/efi/ after each kernel installation, otherwise you will use Tow-Boot's device tree, which may be outdated and cause certain hardware support to be missing.

If you use megi's u-boot with proprietary blobs, to enable DRAM reclocking, ensure you build your u-boot with CONFIG_ROCKCHIP_EXTERNAL_TPL=y

Active Releases

The following unofficial repositories are provided as-is by owner of this project. Contact the owner directly for bugs or issues (IE: not bugzilla).

Release Architectures Repo Download
Fedora 38 aarch64 (34)* Fedora 38 (0 downloads)
Fedora 39 aarch64 (18)* Fedora 39 (23 downloads)
Fedora 40 aarch64 (13)* Fedora 40 (18 downloads)
Fedora 41 aarch64 (0)* Fedora 41 (6 downloads)
Fedora rawhide aarch64 (363)* Fedora rawhide (48 downloads)

* Total number of downloaded packages.


Quick Enable

#> dnf copr enable marcin/kernel-efi-megieg25m-stable
More info about enabling Copr repositories

Other Actions