1
1
mirror of https://github.com/NixOS/mobile-nixos.git synced 2024-12-17 13:10:29 +03:00
Commit Graph

343 Commits

Author SHA1 Message Date
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
Samuel Dionne-Riel
1f0e57a195 asus-z00t: removes accidentally leftover package. 2018-07-01 17:57:44 -04:00
Samuel Dionne-Riel
a5b9e275ed Adds asus-flo with lineageos kernel
Current issues:

 * Framebuffer colors are wrong. (RGBA → BGRA)
2018-07-01 17:42:33 -04:00
Samuel Dionne-Riel
242bb764b0 Moves platforms definition in more generic hardware definitions. 2018-06-26 22:07:46 -04:00
Samuel Dionne-Riel
04a59a0aed Adds mobile.system.platform 2018-06-26 21:52:09 -04:00
Samuel Dionne-Riel
d688408b6d Removes dead code...
I can find it elsewhere anyway.
2018-06-25 15:54:26 -04:00
Samuel Dionne-Riel
f13735a9c1 WIP : asus-z00t's gcc6 is buildPackages.gcc6 2018-06-25 15:54:09 -04:00
Samuel Dionne-Riel
ccebd0e548 qemu-x86_64: Adds more kernel modules. 2018-06-23 18:47:00 -04:00
Samuel Dionne-Riel
a30bbfaf02 qemu-x86_64: Adds minimally required modules. 2018-06-23 17:46:06 -04:00
Samuel Dionne-Riel
0a1b75d91c qemu-x86_64: splash enables/disables features from configuration.
Useful with local.nix.
2018-06-18 22:23:15 -04:00
Samuel Dionne-Riel
809c3f37a6 qemu-x86_64: refactors splash into a variable...
To allow playing around.
2018-06-18 22:13:57 -04:00
Samuel Dionne-Riel
334185ea21 qemu-x86_64: use a smaller VT by default. 2018-06-18 21:50:10 -04:00
Samuel Dionne-Riel
64d4e5a604 qemu-x86_64: default to no splash (for now) 2018-06-18 21:49:35 -04:00
Samuel Dionne-Riel
6095b623f6 Adds qemu-x86_64 device.
Network doesn't work :/
2018-06-17 20:55:34 -04:00
Samuel Dionne-Riel
982a705dc2 Removes dead code. 2018-06-17 18:53:34 +00:00
Samuel Dionne-Riel
707d62ab81 WIP fixes framebuffer modes. 2018-06-17 00:56:44 +00:00
Samuel Dionne-Riel
a3a4a44704 WIP progress with configuration system.
Regression: fb.modes isn't copied anymore
2018-06-17 00:43:19 +00:00
Samuel Dionne-Riel
844313903e WIP Migrates device configuration into the options system. 2018-06-16 23:21:41 +00:00
Samuel Dionne-Riel
67926d02ca Tries looking at how "quirks" could exist.
This may, instead, need the configuration system from nixos, where
lib.mkForce, lib.mkDefault and friends would make more sense here.
2018-06-13 02:07:26 +00:00
Samuel Dionne-Riel
adc28af2a5 Makes kernel part of the device description. 2018-06-13 02:06:24 +00:00
Samuel Dionne-Riel
9f4453a4d2 Reviews start of init script. 2018-06-13 01:47:00 +00:00
Samuel Dionne-Riel
6fcd7a09e0 Makes rootfs configuratble by device_config...
This is a WIP, but this already should allow device-specific fb.modes
2018-06-12 23:14:55 +00:00
Samuel Dionne-Riel
e56da86a90 rootfs: Use fbset when possible to set a specific mode. 2018-06-12 03:11:22 +00:00
Samuel Dionne-Riel
d6f632d427 Adds my development device. 2018-06-10 12:51:59 -04:00
Samuel Dionne-Riel
9cb4255117 Ugh, use my feature branch. 2018-06-10 12:51:50 -04:00
Samuel Dionne-Riel
7df88ae56d Actually import data. 2018-06-10 12:49:17 -04:00
Samuel Dionne-Riel
6fe9d78c52 Actually write data. 2018-06-10 12:49:11 -04:00
Samuel Dionne-Riel
246de0741b Imports devices description...
From personal fork including a yet non-upstreamed device.
2018-06-10 12:43:19 -04:00
Samuel Dionne-Riel
a5fea374b1 Adds tooling necessary to gather up device information automatically. 2018-06-10 12:40:32 -04:00