1
1
mirror of https://github.com/NixOS/mobile-nixos.git synced 2024-12-18 05:21:47 +03:00
Commit Graph

394 Commits

Author SHA1 Message Date
Samuel Dionne-Riel
fe5a135992 motorola-surfna: Clean-up device description 2020-12-28 06:04:18 -05:00
Samuel Dionne-Riel
f67bbf99d9 motorola-surfna: Import config from autoport
NOTE: this has been detected as armv7l as the kernel and system on the
device is built for 32 bit ARM. The SoC actually supports 64 bit.
2020-12-28 05:59:46 -05:00
Samuel Dionne-Riel
91380a8b3d
Merge pull request #260 from samueldr-wip/devices/xiaomi-begonia/misc
xiaomi-begonia: kernel update + fixes
2020-12-27 17:32:51 -05:00
Samuel Dionne-Riel
54220bc004 xiaomi-begonia: work around poweroff issue 2020-12-27 17:31:08 -05:00
Samuel Dionne-Riel
a41d236dc1 xiaomi-begonia: kernel 4.14.184 -> 4.14.194 2020-12-27 17:31:08 -05:00
Samuel Dionne-Riel
073604a3b9 xiaomi-begonia: Stop using vendor ufdt_apply_overlay
This should fix native AArch64 builds.
2020-12-27 17:31:08 -05:00
Samuel Dionne-Riel
88b5267dd7 razer-cheryl2: Workaround made more descriptive 2020-12-27 16:39:52 -05:00
Samuel Dionne-Riel
a4a36a42cb
Merge pull request #258 from samueldr-wip/feature/pinephone-5.10
pine64-pinephone: kernel 5.9 -> 5.10
2020-12-25 19:37:55 -05:00
Samuel Dionne-Riel
b687361aaf pine64-pinephone: Normalized kernel config on top of 5.10 2020-12-25 16:49:27 -05:00
Samuel Dionne-Riel
90fb0d1df9 pine64-pinephone: Update patch for 5.10 2020-12-25 16:49:27 -05:00
Samuel Dionne-Riel
8650b4c3a6 pine64-pinephone: kernel 5.9 -> 5.10 2020-12-25 15:45:44 -05:00
Andy Chun @noneucat
0b518aeca5 pine64-pinephone: add Crust 2020-12-25 06:06:12 -08:00
Samuel Dionne-Riel
4a64556355
Merge pull request #244 from leenaars/patch-1
Solution for USB3 flashing issue
2020-11-23 13:57:47 -05:00
Samuel Dionne-Riel
abc0ab9add asus-dumo: Fix regression from kernel builder changes
The kernel isn't compressed!
2020-11-22 20:37:12 -05:00
leenaars
c73816ef84 Solution for USB3 flashing issue 2020-11-22 19:26:40 -05:00
Samuel Dionne-Riel
5bad6b7ab5 xiaomi-begonia: Don't rely on bundled dtc_overlay
While discussing with other devs, working on a samsung device on another
distro, I figured out it was basically free to try and build it with a
shim that's calling "proper" `dtc` and see if it works.

It worked for xiaomi-begonia.

It worked for that other device (on postmarketOS) too!

This means we're suddently gaining the ability to build natively.
Additionally, for postmarketOS, it allows them to build, considering
`dtc_overlay` uses glibc, and postmarketOS doesn't.
2020-11-22 16:40:03 -05:00
Samuel Dionne-Riel
f335005132 xiaomi-tissot: Set CONFIG_PANIC_TIMEOUT to 1 2020-11-08 18:37:13 -05:00
Samuel Dionne-Riel
69f1126ffc xiaomi-lavender: Set CONFIG_PANIC_TIMEOUT to 1 2020-11-08 18:37:13 -05:00
Samuel Dionne-Riel
a3c5e85b47 sony-pioneer: Set CONFIG_PANIC_TIMEOUT to 1 2020-11-08 18:37:13 -05:00
Samuel Dionne-Riel
dd80aa4110 razer-cheryl2: Set CONFIG_PANIC_TIMEOUT to 1 2020-11-08 18:37:13 -05:00
Samuel Dionne-Riel
9fd1003e79 pine64-pinephone: Set CONFIG_PANIC_TIMEOUT to 1 2020-11-08 18:37:13 -05:00
Samuel Dionne-Riel
7b75357cb0 oneplus-oneplus3: Set CONFIG_PANIC_TIMEOUT to 1 2020-11-08 18:37:13 -05:00
Samuel Dionne-Riel
d90cd15a62 motorola-addison: Set CONFIG_PANIC_TIMEOUT to 1 2020-11-08 18:37:13 -05:00
Samuel Dionne-Riel
4d71caa530 google-marlin: Set CONFIG_PANIC_TIMEOUT to 1 2020-11-08 18:37:13 -05:00
Samuel Dionne-Riel
3a6326d6e0 asus-z00t: Set CONFIG_PANIC_TIMEOUT to 1 2020-11-08 18:37:13 -05:00
Samuel Dionne-Riel
fcd8f6ce4b asus-flo: Set CONFIG_PANIC_TIMEOUT to 1 2020-11-08 18:37:13 -05:00
Samuel Dionne-Riel
125aaeb09e asus-dumo: Set CONFIG_PANIC_TIMEOUT to 1 2020-11-08 18:37:13 -05:00
Samuel Dionne-Riel
efd902736b pine64-pinephone: review kernel config for cryptsetup 2020-11-07 20:23:31 -05:00
Samuel Dionne-Riel
6675a044d5
Merge pull request #231 from samueldr-wip/feature/pinephone/modem
pine64-pinephone: Modem support improvements
2020-10-27 15:15:15 -04:00
Samuel Dionne-Riel
082770117c pine64-pinephone: Add modem firmware updater
This has not been made "fancier" for easier use yet. It is unknown how
useful updating the firmware is.

Usage:

```
 $ NIXPKGS_ALLOW_UNFREE=1 nix-build --argstr device pine64-pinephone -A pkgs.pine64-pinephone.qfirehose
 $ sudo ./result/bin/QFirehose -l ./ -f ./newfw
```

But maybe read more about whether you want to update or not beforehand?

https://forum.pine64.org/showthread.php?tid=11815
2020-10-18 17:53:41 -04:00
Samuel Dionne-Riel
788b1605e9 pine64-pinephone: Add service to control the modem 2020-10-18 16:30:24 -04:00
Samuel Dionne-Riel
e379e18fff pine64-pinephone: Re-configure based on megi's defconfig
The following from megi's have to be disabled (not set) or else the
console logo will not show up at boot (pre-init).

> CONFIG_FRAMEBUFFER_CONSOLE_ROTATION
> CONFIG_FRAMEBUFFER_CONSOLE_DEFERRED_TAKEOVER
2020-10-18 16:30:24 -04:00
Samuel Dionne-Riel
91cec80471 pine64-pinephone: Switch to megi's fork 2020-10-18 16:30:24 -04:00
Samuel Dionne-Riel
dced7ef12b pine64-pinephone: Fix kernel build
The kernel shouldn't be compressed for our current usage.

Otherwise we need to do more work with U-Boot.
2020-10-18 16:30:24 -04:00
Samuel Dionne-Riel
317bf728fa pine64-pinephone: u-boot: Add now required CONFIG_REGEX 2020-10-15 19:15:46 -04:00
Samuel Dionne-Riel
e9487fd116 razer-cheryl2: Disable some of the default command line parameters
They are causing trouble during boot
2020-10-10 18:54:54 -04:00
Samuel Dionne-Riel
6b7573ffe9 razer-cheryl2: Add kernel build
This does not include the steps to configure. It's been simmering
through a bunch of work in a WIP branch.
2020-10-10 18:54:54 -04:00
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