1
1
mirror of https://github.com/NixOS/mobile-nixos.git synced 2024-11-28 12:56:54 +03:00
Commit Graph

78 Commits

Author SHA1 Message Date
Samuel Dionne-Riel
b83eafa2b7 qemu-x86_64: Add missing mobile.device.info.name attribute 2019-11-15 22:01:09 -05:00
Samuel Dionne-Riel
0f648ef834 asus-flo: import data from postmarketOS-devices.json 2019-11-07 17:23:33 -05:00
Samuel Dionne-Riel
3ad5496ad1 asus-z00t: import data from postmarketOS-devices.json 2019-11-07 17:23:33 -05:00
Samuel Dionne-Riel
8a41ff879b qemu-x86_64: import data from postmarketOS-devices.json 2019-11-07 17:23:33 -05:00
Samuel Dionne-Riel
19d3e79bff Remove postmarketOS-devices.json
Anchoring ourselves to an external project, at this point, is not
feasible. This does not allow us to explore making better use of the
capabilities of nix.

Though, a mechanism using third-party resources, like the postmarketOS
device information, is something that is desirable. The difference is
that it would need to *import* the information in the format used by
mobile-nixos, rather than mobile-nixos importing the information from a
"data dump".
2019-11-07 17:23:33 -05:00
Samuel Dionne-Riel
aa4ab0ce0e oneplus-oneplus3: normalize config 2019-10-08 00:33:26 -04:00
Samuel Dionne-Riel
c4fd6fda1a oneplus-oneplus3: Enable USER_NS 2019-10-08 00:33:13 -04:00
Samuel Dionne-Riel
af62d74a3b oneplus-oneplus3: workaround bug with touchscreen
libinput, which I believe, claims there is a kernel bug with the
synaptics driver touchscreen in use.

This is the recommended fix according to PostmarketOS.

 * https://wiki.postmarketos.org/wiki/Troubleshooting:touchscreen#sec_touchscreen:_kernel_bug

I have not seen any issues from using this fix.

The error:

```
synaptics: kernel bug: device has min == max on ABS_MT_WIDTH_MAJOR
```

According to the touchscreen documentation of the kernel, I don't think
that it is an issue to remove this information from touch events.
2019-10-05 01:07:55 -04:00
Samuel Dionne-Riel
8d91d348e6 oneplus-oneplus3: Imports input driver changes from lineageos 2019-10-05 01:07:55 -04:00
Samuel Dionne-Riel
f3af08488b oneplus-oneplus3: add kernel 2019-10-05 01:07:55 -04:00
Samuel Dionne-Riel
acb8d53880 oneplus-oneplus3: Add partitions information 2019-10-05 01:07:55 -04:00
Samuel Dionne-Riel
86045db587 oneplus-oneplus3: Add device information 2019-10-05 01:07:55 -04:00
Samuel Dionne-Riel
8804cb6dbc asus-dumo: defaults to hidden vt caret...
This is a "temporary" measure. I intend to move this to an option
(defaulting to true) that would add to the kernel cmdline.
2019-09-23 00:03:55 -04:00
Samuel Dionne-Riel
7f53a18b07 asus-dumo: Enable touchscreen input
The pen input already was enabled.
2019-09-22 23:41:30 -04:00
Samuel Dionne-Riel
4ed7c58e40 asus-dumo: Adds required config for wifi 2019-09-22 21:52:29 -04:00
Samuel Dionne-Riel
828b1619f9 asus-z00t: fixes build
See https://github.com/NixOS/nixpkgs/issues/64916
2019-09-21 22:43:39 -04:00
Samuel Dionne-Riel
8c8d48c7c7 devices: Renames system type to android
Crossing fingers that this'll be enough.
2019-09-21 22:42:41 -04:00
Samuel Dionne-Riel
c1acf97334 system-target: reviews implementation
Since the initial implementation I learned enough to know where it was
slighly wrong. I think this fixes most of the slight wrongness.
2019-09-19 15:31:26 -04:00
Samuel Dionne-Riel
7adda4a8d5 asus-dumo: Uses the mainline kernel with a hack 2019-09-18 15:40:01 -04:00
Samuel Dionne-Riel
b7f945aa69 asus-dumo: Adds ASUS Chromebook Tablet CT100PA 2019-09-18 15:40:01 -04:00
Samuel Dionne-Riel
ec34370450 motorola-addison: Sync config.aarch64 2019-06-09 22:16:43 -04:00
Samuel Dionne-Riel
672ae44cb6 motorola-addison: Adds hybrid build...
By overriding the system.platform attribute, motorola-addison can be
built for armv7l.
2019-06-09 22:16:43 -04:00
Samuel Dionne-Riel
eefad16870 motorola-addison: use kernel builder 2019-06-09 22:16:43 -04:00
Samuel Dionne-Riel
ed82df0e29 asus-flo: misc. 2019-06-09 22:16:43 -04:00
Samuel Dionne-Riel
aea6ca0627 asus-z00t: fix build 2019-06-09 22:16:43 -04:00
Samuel Dionne-Riel
25c4ea6d0b asus-flo: normalize kernel config 2019-06-09 22:16:43 -04:00
Samuel Dionne-Riel
7446f778a5 asus-flo: (wip) build bootimg only 2019-06-09 22:16:43 -04:00
Samuel Dionne-Riel
145c42156c asus-flo: Reviews kernel build 2019-06-09 22:16:43 -04:00
Samuel Dionne-Riel
3552355eb4 asus-z00t: normalizes kernel config 2019-06-09 22:16:43 -04:00
Samuel Dionne-Riel
e5f3d1ea51 asus-z00t: use of kernel-builder 2019-06-09 22:16:43 -04:00
Samuel Dionne-Riel
2a4bc7fa6a Fixes bootimg builds for the existing qcdt devices 2019-06-09 22:16:43 -04:00
Samuel Dionne-Riel
383f6ff71a asus-flo: kernel: Fixes build for stage-2 cross-compile. 2019-06-09 22:16:43 -04:00
Samuel Dionne-Riel
c7069ac2fb WIP: system.img generation. 2019-06-09 22:16:43 -04:00
Samuel Dionne-Riel
9d703de07e Fixes cross-compilation issues...
Though not in a nice manner, I'd like to know why I have to fiddle with
`system`.
2018-11-18 21:45:01 -05:00
Samuel Dionne-Riel
f5b77929c8 WIP motorola-addison: use lineageos tree...
... the real reason is that I need to figure out why the sd card isn't
detected. Figured that trying a less "random" tree could help figure
things out, though it doesn't help.

At least, the build seems consistent with either versions.

The config changes are also to try to "fix" things, while in reality
they don't seem to do anything useful.
2018-11-18 21:36:01 -05:00
Samuel Dionne-Riel
5624723bab Adds motorola-addison device. 2018-11-17 18:25:49 -05:00
Samuel Dionne-Riel
1ed9e63ab1 z00t: enables /proc/config.gz 2018-11-05 22:50:59 -05:00
Samuel Dionne-Riel
62164cc048 WIP: kernel config is getting old... might need to migrate stuff!
The kernel infra is being updated for newer kernels. I may need to keep
track locally of older kernel build infras, or something :(.
2018-11-05 21:11:47 -05:00
Samuel Dionne-Riel
a522e256d3 WIP: cross building changed upstream...
... and now the little I understood doesn't work.
2018-11-05 20:51:27 -05:00
Samuel Dionne-Riel
a4cbf37699 Updates qemu-x86_64 to use the latest LTS kernel. 2018-11-05 20:34:52 -05:00
Samuel Dionne-Riel
b5fe8b8807 doc: Adds initial blurb about partitions. 2018-07-10 19:23:13 -04:00
Samuel Dionne-Riel
fc66877f68 Fixes asus-z00t kernel build...
Damn it, didn't change sha256sum !
2018-07-08 22:01:37 -04:00
Samuel Dionne-Riel
931daa8404 Revert "asus-z00t: Adds kernel patch to *not* clear framebuffers on release."
This reverts commit 6712957ab1.
2018-07-06 19:52:45 -04:00
Samuel Dionne-Riel
6712957ab1 asus-z00t: Adds kernel patch to *not* clear framebuffers on release.
This tackles an annoying issue where framebuffer will be cleaned and the
display turned off when all handles to it are closed.
2018-07-06 19:13:42 -04:00
Samuel Dionne-Riel
c40156c163 asus-z00t: Adds a patch that backports mdss_fb changes from another kernel.
Those changes may change nothing with what I'm trying to accomplish...

Though they will make a full backport easier to handle as I now have
isolated upstream changes from device-specific changes.
2018-07-06 18:30:06 -04:00
Samuel Dionne-Riel
350ca1b90a asus-*: fixes framebuffer patches...
The parameters were wrong for BGRA.

asus-flo had mismatched field positions.

Both devices had one offset two bits wrongly positioned.

Hope nobody sees this, ever...
2018-07-05 00:48:35 -04:00
Samuel Dionne-Riel
ca8b4900dc asus-z00t: Handles BGRA through kernel patch.
Let's hope all devices can be fixed by fixing their device driver
instead of doing other unsightly hacks.
2018-07-04 23:40:35 -04:00
Samuel Dionne-Riel
08d1b812de asus-flo: Adds framebuffer patch to use BGRA.
I don't know what ill effects this may cause.

This makes the framebuffer aware of how it should be BGRA instead of
RGBA.
2018-07-04 21:02:52 -04:00
Samuel Dionne-Riel
ff6acd2be2 asus-flo: Removes fb.modes as it doesn't work anyway. 2018-07-03 23:51:24 -04:00
Samuel Dionne-Riel
a7708a3f0c asus-z00t: Now outputs kernel as vmlinuz
Decided to use that name for the finally-used kernel.
2018-07-01 17:58:06 -04:00