aboutsummaryrefslogtreecommitdiffci
path: root/README.md
diff refs
from: back
to: back
| flip
diff options
context:
space:
mode:
Diffstat (limited to 'README.md')
-rw-r--r--README.md45
1 files changed, 11 insertions, 34 deletions
diff --git a/README.md b/README.md
index bb8fcbd..8f2c9f0 100644
--- a/README.md
+++ b/README.md
@@ -13,45 +13,25 @@ Used in [Fedora KIWI descriptions, modified by me for Surface Pro 12"](https://s
`vanilla-kernel-*.ebuild` applies them, minus `gpu` (does not exist) and
`rockchip` (irrelevant).
-An entry prefixed with `local:` is not the overlay's, it is `patches/<name>/`
-in this repository. Those carry fixes the overlay has not picked up, and they
-live outside the submodule so that `git submodule update` cannot silently drop
-them. They are listed right after the overlay directory they extend, so the
-same numbering that orders the overlay's series orders these too.
-
-- `patches/camera/0027-media-i2c-ov13858-fix-bayer-order-when-mirrored.patch`
- the rear camera advertises GRBG while the horizontal mirror, which
- `rotation = <180>` turns on, makes it deliver RGGB. Debayering with the wrong
- pattern puts both greens into the red and blue channels, so the picture comes
- out close to monochrome.
-- `patches/surface/0016-arm64-dts-qcom-purwa-Microsoft-Surface-Pro-12in-iris-firmware-name.patch`
- the video codec firmware in linux-firmware is signed with Qualcomm's SecTools
- test key, which this device's TrustZone rejects with `error -22 initializing
- firmware`. Points the iris node at the production-signed build shipped in the
- Windows driver package instead.
-
-Send them upstream to the overlay when they are ready; drop the `local:` entry
-and the directory once the overlay carries them.
-
## Configuration
The starting point is `config/base-aarch64.config`: Fedora's own aarch64
-kernel config, taken verbatim from the `config` file. It is vendored rather
-than downloaded, so the build depends on no third-party host and a refresh
-shows up as a reviewable diff. To refresh it for a newer Fedora, replace
-everything below the comment header with:
+kernel config, taken verbatim from the `config` file inside
+`kernel-core-7.2.0-61.fc45.aarch64.rpm`. It is vendored rather than downloaded,
+so the build depends on no third-party host and a refresh shows up as a
+reviewable diff. To refresh it for a newer Fedora, replace everything below the
+comment header with:
```bash
dnf download kernel-core --arch aarch64
-rpm2archive -n - < kernel-core-*.aarch64.rpm |
- tar -xO --wildcards '*/modules/*/config' |
- wl-copy
+rpm2cpio kernel-core-*.aarch64.rpm | cpio -idm './usr/lib/modules/*/config'
```
-If the extraction comes up empty, `rpm -qlp kernel-core-*.aarch64.rpm | grep
-config` says whether the package still carries the file at all.
+The overlay's ebuild seeds itself from the same Fedora config by way of a
+Gentoo-side fork, `projg2/fedora-kernel-config-for-gentoo`. That repository no
+longer exists, which is why the base config lives here instead.
-Four fragments are merged on top with `scripts/kconfig/merge_config.sh`:
+Three fragments are merged on top with `scripts/kconfig/merge_config.sh`:
* `config/surface.config` – the drivers the patch set enables (SAM stack and
its new RTC, CAMSS and the CSI-2 D-PHY, fastrpc, ath12k, AudioReach).
@@ -59,9 +39,6 @@ Four fragments are merged on top with `scripts/kconfig/merge_config.sh`:
and dm-snapshot/overlayfs built in for `dracut`'s `dmsquash-live`, the EFI
stub because GRUB's aarch64 `linux` command loads the kernel as an EFI
application, and xz module compression.
-* `config/foreign-socs.config` – the ARM64 platforms this machine is not.
- Fedora's config enables every platform it supports because a distribution
- kernel has to boot on all of them; this one boots on `qcom,x1p42100` alone.
* `config/no-debug-info.config` – DWARF and BTF off. The package produces no
`-debuginfo` subpackage (`%global debug_package %{nil}`) and strips modules
at install time, so the DWARF was compiled only to be discarded, and it is
@@ -85,7 +62,7 @@ matches the ISO (the project README notes Secure Boot is not available for it).
```bash
dnf config-manager addrepo --from-repofile=\
- https://rpm.sayag.it/kernel-sp12in/fedora/45/kernel-sp12in.repo
+ https://f003.backblazeb2.com/file/dist-sayagit-fedora-rpm/fedora/45/kernel-sp12in.repo
```
## Building