1
1
mirror of https://github.com/NixOS/mobile-nixos.git synced 2024-12-17 21:11:34 +03:00
Commit Graph

357 Commits

Author SHA1 Message Date
Samuel Dionne-Riel
a43ec085f9 razer-cheryl2: Add device-specific notes 2020-10-10 18:54:42 -04:00
Samuel Dionne-Riel
b48ff3db07 razer-cheryl2: Add workaround for weirdness in normal boot 2020-10-10 18:54:42 -04:00
Samuel Dionne-Riel
d517a14b24 razer-cheryl2: Minimum edits to device description 2020-10-09 23:45:19 -04:00
Samuel Dionne-Riel
0fe99a919a razer-cheryl2: Import from autoport 2020-10-09 23:45:19 -04:00
Johnny Kirchman
a047bdda03
pinephone-braveheart: Generalize Pinephone devices
* Remove braveheart specific naming
2020-10-06 21:27:01 -04:00
Samuel Dionne-Riel
c2e6b8ca5a
Merge pull request #217 from samueldr-wip/fix/kernel-builder-double-compilation
kernel-builder: Work around kernels getting compiled two times
2020-10-04 16:19:40 -04:00
Samuel Dionne-Riel
12bd5d18d6 asus-flo: fix build with by disabling quirk
While it builds twice now, it at least build successfully.
2020-10-04 03:57:08 -04:00
Linus Heckemann
c02c2b8f3b xiaomi-tissot: enable android_usb 2020-10-03 09:54:30 +02:00
Linus Heckemann
41f0ad1218 xiaomi-tissot: use android-linux-stable 2020-10-03 09:54:26 +02:00
Samuel Dionne-Riel
15c39820a0 asus-x018d: Compress stage-1 with xz 2020-10-02 21:52:42 -04:00
Samuel Dionne-Riel
0143cecfa0 xiaomi-tissot: drop unused kernelPatches argument 2020-10-02 19:49:12 -04:00
Samuel Dionne-Riel
6b2482578e xiaomi-lavender: drop unused kernelPatches argument 2020-10-02 19:49:12 -04:00
Samuel Dionne-Riel
7bff0070d9 xiaomi-begonia: drop unused kernelPatches argument 2020-10-02 19:49:11 -04:00
Samuel Dionne-Riel
61b0145f14 sony-pioneer: drop unused kernelPatches argument 2020-10-02 19:49:11 -04:00
Samuel Dionne-Riel
70e7259cdc pine64-pinephone-braveheart: drop unused kernelPatches argument 2020-10-02 19:49:11 -04:00
Samuel Dionne-Riel
f17c31ece1 oneplus-oneplus3: drop unused kernelPatches argument 2020-10-02 19:49:11 -04:00
Samuel Dionne-Riel
86d08e3da2 motorola-addison: drop unused kernelPatches argument 2020-10-02 19:49:11 -04:00
Samuel Dionne-Riel
dde7cd4961 google-walleye: drop unused kernelPatches argument 2020-10-02 19:49:11 -04:00
Samuel Dionne-Riel
c3037f6bf7 google-marlin: drop unused kernelPatches argument 2020-10-02 19:49:11 -04:00
Samuel Dionne-Riel
a3e2bfc00b asus-z00t: drop unused kernelPatches argument 2020-10-02 19:49:11 -04:00
Samuel Dionne-Riel
53b4c5ccd4 asus-x018d: drop unused kernelPatches argument 2020-10-02 19:49:11 -04:00
Samuel Dionne-Riel
f95f5f2df8 asus-flo: drop unused kernelPatches argument 2020-10-02 19:49:11 -04:00
Samuel Dionne-Riel
5deb826577 asus-dumo: drop unused kernelPatches argument 2020-10-02 19:49:11 -04:00
Samuel Dionne-Riel
ff49550c7b xiaomi-tissot: Update usage of kernel builder 2020-10-02 19:49:11 -04:00
Samuel Dionne-Riel
9356bbd9aa xiaomi-lavender: Update usage of kernel builder 2020-10-02 19:49:11 -04:00
Samuel Dionne-Riel
0b9b59776c xiaomi-begonia: Update usage of kernel builder 2020-10-02 19:49:11 -04:00
Samuel Dionne-Riel
b4e30da9e5 sony-pioneer: Update usage of kernel builder 2020-10-02 19:49:11 -04:00
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
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
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
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
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
Samuel Dionne-Riel
e5c530dca2 sony-pioneer: kernel config: Enabled SYSVIPC options
(As with xiaomi-lavender)
2020-09-27 23:23:31 -04:00
Samuel Dionne-Riel
a67d6a9387 sony-pioneer: kernel-config: Configure to ignore skip_initramfs 2020-09-27 23:23:31 -04:00
Samuel Dionne-Riel
815d8536ae sony-pioneer: kernel config: "fix" version name
We do not add LOCALVERSION to the kernels.
2020-09-27 23:23:31 -04:00
Samuel Dionne-Riel
4c8d5ddc09 sony-pioneer: Normalized config for LinageOS' fork
Otherwise untouched from OEM config.
2020-09-27 23:23:31 -04:00
Samuel Dionne-Riel
e04354f6f9 sony-pioneer: Add kernel derivation based on xiaomi-lavender
Same SoC, same kernel version, most likely will work better that way
2020-09-27 23:23:31 -04:00
Samuel Dionne-Riel
96b5a3dda8 sony-pioneer: Import autoport data 2020-09-27 23:23:31 -04:00
Samuel Dionne-Riel
03762a409b
Merge pull request #196 from samueldr-wip/feature/motorola-addison/upgrades
motorola-addison: Build firmware and enable wcnss
2020-08-22 21:35:47 -04:00
Samuel Dionne-Riel
9e438bf3b2 motorola-addison: Compress initrd with xz
This makes it go from ~7MiB to ~5MiB, which ends up fitting in the boot
partition.
2020-08-22 21:28:14 -04:00
Samuel Dionne-Riel
d3eb1f813e motorola-addison: Enable XZ initrd for kernel
(And normalize kernel config)
2020-08-22 21:28:14 -04:00
Samuel Dionne-Riel
509cdbe2f3 motorola-addison: Build firmware and enable wcnss 2020-08-20 16:30:54 -04:00
Samuel Dionne-Riel
b679eb93fd
Merge pull request #193 from samueldr-wip/update/pinephone/2020-08
pine64-pinephone-braveheart: August 2020 updates
2020-08-20 15:17:53 -04:00
Samuel Dionne-Riel
73f8f13a7d pine64-pinephone-braveheart: Add missing kernel options
Some of those are required for the NixOS firewall.

This is more than strictly necessary. What was enabled is what was a
module in the default NixOS config.
2020-08-17 01:13:28 -04:00
Samuel Dionne-Riel
47a37a9c22 pine64-pinephone-braveheart: linux 5.7 -> 5.8
This is using the patchset from the previous 5.7 kernel, applied and
lightly massaged to work with 5.8
2020-08-15 00:25:15 -04:00
@noneucat
a94f820bc5 pine64-pinephone-braveheart: Fix LED patch for 5.7 2020-08-15 00:25:15 -04:00
@noneucat
de00c9f452 pine64-pinephone-braveheart: linux 5.5 -> 5.7 2020-08-15 00:25:15 -04:00
@noneucat
681245bbab pine64-pinephone-braveheart: New kernel config from 5.7 2020-08-15 00:25:15 -04:00
@noneucat
38a85860f9 pine64-pinephone-braveheart: Power off EG25 during boot 2020-08-15 00:25:15 -04:00
Samuel Dionne-Riel
64cb6ec46f pine64-pinephone-braveheart: u-boot: * -> 2020.07 + patches
This way we're building with a limited change set, compared to using a
full-blown fork.

In theory the chosen change set gives us the ability to use the Crust
alternative firmware.

 * https://github.com/crust-firmware/
2020-08-15 00:25:05 -04:00
Samuel Dionne-Riel
e5dbfb681d asus-dumo: Add device-specific notes 2020-08-14 21:03:26 -04:00
Samuel Dionne-Riel
158d7057c7 asus-dumo: Drop loglevel from the kernel command line 2020-08-14 20:59:23 -04:00
Samuel Dionne-Riel
49d462a75d asus-dumo: kernel 5.7 -> 5.8
With a patch to work around a regression with sbs-battery
2020-08-14 20:59:23 -04:00
Samuel Dionne-Riel
058d1b7f2d google-walleye: kernel 4.4.208 -> 4.4.230
As described in 60ebbb50eaf75daa8bf68f062b1754a7a4e0fae0,
CONFIG_MSM_KERNEL_PROTECT is conflicting with added downstream features.
2020-07-28 00:39:46 -04:00
Samuel Dionne-Riel
6747f104a3 asus-x018d: Fix hash
https://hydra.nixos.org/build/123671200/nixlog/4
2020-07-07 18:47:02 -04:00
Samuel Dionne-Riel
51e7b891ff asus-x018d: Add default-trigger implementation with default 2020-06-29 01:15:48 -04:00
Samuel Dionne-Riel
9db6d4db21 asus-x018d: Add the logo centering patch 2020-06-28 23:54:14 -04:00
Samuel Dionne-Riel
ba2d7afb89 asus-x018d: Add device tree identifiers 2020-06-28 23:54:14 -04:00
Samuel Dionne-Riel
0e1d6c974b asus-x018d: Add kernel 2020-06-28 23:54:14 -04:00
Samuel Dionne-Riel
6af383b2b4 asus-x018d: Init new device 2020-06-28 23:54:14 -04:00
Samuel Dionne-Riel
6e00fa0eee xiaomi-begonia: LED now defaults to on 2020-06-27 21:42:53 -04:00
Samuel Dionne-Riel
7eee77e797 xiaomi-begonia: Backport kernel logo centering patches 2020-06-27 21:42:53 -04:00
Samuel Dionne-Riel
bcb1037446 xiaomi-begonia: mtkfb: Default to RGB order 2020-06-27 21:42:53 -04:00
Samuel Dionne-Riel
64684c34f8 xiaomi-begonia: Add kernel 2020-06-27 21:42:53 -04:00
Samuel Dionne-Riel
ccc4e5bea1 xiaomi-begonia: Init new device 2020-06-26 22:51:39 -04:00
Samuel Dionne-Riel
d41b3750fd pine64-pinephone-braveheart: Add firmware package
The firmware is limited to bluetooth only, nothing else (for now)
requires a discrete firmware file.

It looks like the touchscreen can get one, but it is not required, and
seemingly no one provides one.
2020-06-11 19:11:17 -04:00
Samuel Dionne-Riel
f68c78cacb
Merge pull request #158 from samueldr-wip/feature/stage-1-firmware
Add firmware support to stage-1
2020-06-06 01:03:09 -04:00
Samuel Dionne-Riel
141ffff360 asus-dumo: Provide minimal firmware for stage-1
The firmware is part of the unfree redistributable set already in
nixpkgs, so unlike some other devices in-tree (asus-z00t) we can
directly add the firmware to the build without any issue.
2020-06-01 18:59:32 -04:00
Samuel Dionne-Riel
e4c72a08aa asus-dumo: kernel 5.5 -> 5.7 2020-06-01 18:19:05 -04:00
Samuel Dionne-Riel
84cb903ec7 motorola-addison: Use the fb notify quirk 2020-05-31 02:29:23 -04:00
Samuel Dionne-Riel
adc157f0c0 xiaomi-tissot: Fix for new kernel package option 2020-05-24 20:13:07 -04:00
Samuel Dionne-Riel
1639060ab9 xiaomi-lavender: Fix for new kernel package option 2020-05-24 20:13:07 -04:00