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.md27
1 files changed, 25 insertions, 2 deletions
diff --git a/README.md b/README.md
index 38cc10e..bb8fcbd 100644
--- a/README.md
+++ b/README.md
@@ -13,6 +13,26 @@ 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
@@ -31,7 +51,7 @@ rpm2archive -n - < kernel-core-*.aarch64.rpm |
If the extraction comes up empty, `rpm -qlp kernel-core-*.aarch64.rpm | grep
config` says whether the package still carries the file at all.
-Three fragments are merged on top with `scripts/kconfig/merge_config.sh`:
+Four 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).
@@ -39,6 +59,9 @@ Three 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
@@ -62,7 +85,7 @@ matches the ISO (the project README notes Secure Boot is not available for it).
```bash
dnf config-manager addrepo --from-repofile=\
- https://f003.backblazeb2.com/file/dist-sayagit-fedora-rpm/fedora/45/kernel-sp12in.repo
+ https://rpm.sayag.it/kernel-sp12in/fedora/45/kernel-sp12in.repo
```
## Building