Samuel Dionne-Riel
52f48851bf
pine64-pinephone-braveheart: Update usage of kernel builder
2020-10-02 19:49:11 -04:00
Samuel Dionne-Riel
3c07e7f687
oneplus-oneplus3: Update usage of kernel builder
2020-10-02 19:49:11 -04:00
Samuel Dionne-Riel
ccd3a542fc
motorola-addison: Update usage of kernel builder
2020-10-02 19:49:11 -04:00
Samuel Dionne-Riel
802c0fbb50
google-walleye: Update usage of kernel builder
2020-10-02 19:49:11 -04:00
Samuel Dionne-Riel
f01f499a02
google-marlin: Update usage of kernel builder
2020-10-02 19:49:11 -04:00
Samuel Dionne-Riel
7dc514e8ce
asus-z00t: Update usage of kernel builder
2020-10-02 19:49:11 -04:00
Samuel Dionne-Riel
c15684ddca
asus-x018d: Update usage of kernel builder
2020-10-02 19:49:11 -04:00
Samuel Dionne-Riel
8f59c5b441
asus-flo: Update usage of kernel builder
2020-10-02 19:49:11 -04:00
Samuel Dionne-Riel
47f6fc05b0
asus-dumo: Update usage of kernel builder
2020-10-02 19:06:02 -04:00
Samuel Dionne-Riel
e8cd8a95cc
kernel-builder: minor fixups
2020-10-02 19:06:02 -04:00
Samuel Dionne-Riel
9bac03b2f3
kernel-builder: Encapsulate compressed images and dtb appended images
2020-10-02 03:27:49 -04:00
Samuel Dionne-Riel
1889893a43
kernel-builder: implement QCDT configuration in the builder
2020-10-02 03:27:49 -04:00
Samuel Dionne-Riel
62fe1409c6
kernel-builder: Rework its ergonomics
2020-10-02 03:27:49 -04:00
Samuel Dionne-Riel
ffdba8fecb
Merge pull request #210 from samueldr-wip/fix/204-fallout
...
Fix fallout from #204
2020-09-30 14:30:23 -04:00
Samuel Dionne-Riel
b4ff3a5fd1
asus-x018d: Pass postPatch and nativeBuildInputs as argument rather than override
2020-09-30 02:11:47 -04:00
Samuel Dionne-Riel
0edef3a2c4
asus-z00t: Pass postPatch as argument rather than override
2020-09-30 02:11:47 -04:00
Samuel Dionne-Riel
72fad2346a
google-marlin: Pass postPatch as argument rather than override
2020-09-30 02:11:47 -04:00
Samuel Dionne-Riel
4443108073
google-walleye: Pass postPatch as argument rather than override
2020-09-30 02:11:47 -04:00
Samuel Dionne-Riel
302ffc43ee
motorola-addison: Pass postPatch as argument rather than override
2020-09-30 02:11:47 -04:00
Samuel Dionne-Riel
32381fdc9c
oneplus-oneplus3: Pass postPatch as argument rather than override
2020-09-30 02:11:47 -04:00
Samuel Dionne-Riel
7337fbc8e1
sony-pioneer: Clean kernel derivation
2020-09-30 02:11:47 -04:00
Samuel Dionne-Riel
ad24812595
xiaomi-begonia: Pass postPatch as argument rather than override
2020-09-30 02:11:47 -04:00
Samuel Dionne-Riel
63b1643a0d
xiaomi-lavender: Clean kernel derivation
2020-09-30 02:11:47 -04:00
Samuel Dionne-Riel
b3f4390b1e
xiaomi-tissot: Clean kernel derivation
2020-09-30 02:11:47 -04:00
Samuel Dionne-Riel
387ce84721
kernel-builder: Add nativeBuildInputs as a parameter
...
This is a temporary measure. The last changes have proven that we can't
just overrideAttrs things willy-nilly like that, and that the whole
builder is in need of a revamp.
Let's wait for the revamp, and do the minimum work required to fix the
normalization for existing builds.
2020-09-30 02:11:47 -04:00
Samuel Dionne-Riel
c360820473
asus-flo: Fix build problem with postPatch
2020-09-30 02:11:47 -04:00
Samuel Dionne-Riel
7f42b44a5c
pine64-pinephone-braveheart: Normalize kernel configuration
2020-09-30 02:11:47 -04:00
Samuel Dionne-Riel
0664076988
asus-dumo: Normalize kernel configuration
2020-09-30 02:11:47 -04:00
Samuel Dionne-Riel
bbc73e40ed
bin/menuconfig: Normalize after updating the kernel config
...
This is needed because the build environment differs in the kernel
normalization step compared to the build step.
2020-09-30 02:11:47 -04:00
Samuel Dionne-Riel
a2ef48313e
bin/kernel-normalize-config: Use the kernel normalization build
2020-09-30 02:11:47 -04:00
Samuel Dionne-Riel
4060dd5af5
kernel-builder: Implement kernel normalization as a nix build
...
This uses the actual output expected by the build, rather than hoping
menuconfig gives the same result.
For kernels prior to 5.8 it wasn't an issue.
Starting with 5.8 the build environment will influence the actual
configuration used.
We're stripping some information when comparing.
The exact TEXT_VERSION string will change according to whether it's a
native or cross compilation.
Finally, minor version bumps are not relevant here.
2020-09-30 02:11:47 -04:00
Samuel Dionne-Riel
c708340e8e
kernel-builder: Fix correctness with makeFlags and menuconfig
2020-09-29 20:46:14 -04:00
Samuel Dionne-Riel
5b14ef0650
kernel-builder: Prepend diff on normalization error
2020-09-29 20:40:20 -04:00
Samuel Dionne-Riel
bfac9ff7ae
gitignore: Ignore old config files
2020-09-29 20:15:53 -04:00
Samuel Dionne-Riel
afdc907800
Merge pull request #209 from samueldr-wip/fix/docs-regression
...
Fix docs regression, and removes workarounds
2020-09-29 17:52:16 -04:00
Samuel Dionne-Riel
bfd44cf05f
doc: Handle eval issues coming from "default" values
...
"default" values in Nixpkgs manual can *somehow* be escaped by the
documentation back to their original string form.
The following ends up escaped into the manual as `"${pkgs.hello}"`.
```
default = "${pkgs.hello}";
```
The methods for this magic have not been found.
Instead, we just change the default strict `handleEvalIssue` so that it
does absolutely nothing and lets them through.
Anyway we won't be building them.
2020-09-29 17:31:18 -04:00
Samuel Dionne-Riel
3abeff8474
doc/pkgs.nix: Use <nixpkgs> rather than hardcoded channel
2020-09-29 17:30:40 -04:00
Samuel Dionne-Riel
59ced149bd
Merge pull request #205 from samueldr-wip/device/sony-pioneer/port
...
sony-pioneer: init
2020-09-28 15:59:25 -04:00
Samuel Dionne-Riel
78647e9a68
sony-pioneer: Enable LED default triggers
2020-09-28 15:39:36 -04:00
Samuel Dionne-Riel
1660aec6d2
sony-pioneer: Enable rndis_bam.rndis
...
It seems that it's SoC-specific?
2020-09-28 15:31:00 -04:00
Samuel Dionne-Riel
ee71541071
sony-pioneer: Edit automatically generated device config as needed
2020-09-28 15:31:00 -04:00
Samuel Dionne-Riel
8ebdcd8540
sony-pioneer: Add device-specific notes
2020-09-28 15:03:48 -04:00
Samuel Dionne-Riel
4d4579209b
Merge pull request #204 from samueldr-wip/feature/strict-kernel-configuration
...
kernel-builder: Force configuration to be normalized
2020-09-28 15:00:56 -04:00
Samuel Dionne-Riel
d23cb2365b
sony-pioneer: Add support for USB networking dongles
...
This is not strictly needed, but rather quite helpful to get network
access until we can get WiFi working.
2020-09-27 23:23:31 -04:00
Samuel Dionne-Riel
4cc56fcd0e
sony-pioneer: Change CONFIG_TOUCHSCREEN_SYNAPTICS according to LineageOS defconfig
...
This one comes from an artifact of starting up with the **OEM's**
configuration, but actually using the LineageOS tree.
LineageOS adds many alterations that may cause incompatibilities.
2020-09-27 23:23:31 -04:00
Samuel Dionne-Riel
e7ea8701af
sony-pioneer: kernel config: Enabled console options
...
(As with xiaomi-lavender)
2020-09-27 23:23:31 -04:00
Samuel Dionne-Riel
46b23660bd
sony-pioneer: kernel config: Disabled ANDROID_PARANOID_NETWORK
...
It is counter-productive for non-android systems.
2020-09-27 23:23:31 -04:00
Samuel Dionne-Riel
fb3dbeb667
sony-pioneer: kernel config: Enabled DT_OVERLAY option
...
This one is important as, contrary to what the name sounds like, it
builds the full device tree with the kernel, rather than rely on
on-device overlays.
2020-09-27 23:23:31 -04:00
Samuel Dionne-Riel
14a161b43e
sony-pioneer: kernel config: Enabled DEVTMPFS options
2020-09-27 23:23:31 -04:00
Samuel Dionne-Riel
4bbd72e180
sony-pioneer: kernel config: Enabled missing _NS options
...
(As with xiaomi-lavender)
2020-09-27 23:23:31 -04:00