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

1530 Commits

Author SHA1 Message Date
Samuel Dionne-Riel
1591f20137 Fixes from upstream nixos changes. 2018-11-05 20:35:05 -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
93d508bedc initrd: Fixes android-specific usb handling on non-android.
Issue came from hoisting what was previously in a function into the main
scope. It made the whole script `return` early on non-android devices.
2018-07-11 14:44:39 -04:00
Samuel Dionne-Riel
6be693e7b9 initrd: loop forever now defaults to false.
Hey, now, time to get some stage-2 action.
2018-07-11 14:44:14 -04:00
Samuel Dionne-Riel
e0573bea77 Adds local overrides to get fbterm compiling.
It will not work as-is with stage-1.
2018-07-11 14:32:29 -04: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
832256ec40 initrd: Adds adbd support in initrd. 2018-07-08 21:14:16 -04:00
Samuel Dionne-Riel
74dea85237 adbd: Inits adbd from ubports.
There are a bunch of patches to remove some stuff.

Some of those may become optional (through settings) so security and
features are available in the full system, but a slimmer version is
available in boot.img.
2018-07-08 21:14:16 -04:00
Samuel Dionne-Riel
499a347799 libhybris: Adds libhybris. 2018-07-08 21:14:13 -04:00
Samuel Dionne-Riel
e0674ad6d6 stage-1: Fixes use of stripDirs
https://github.com/NixOS/nixpkgs/pull/43169
2018-07-08 21:11:50 -04:00
Samuel Dionne-Riel
aafae19269 extra-utils: more debug printing. 2018-07-08 21:10:00 -04:00
Samuel Dionne-Riel
c6c8eb9f18 android-headers: inits at 23. 2018-07-06 22:43:03 -04:00
Samuel Dionne-Riel
44ab8fe3ed msm-fb-handle: Adds quirk for msm_mdss_fb. 2018-07-06 19:53:57 -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
186b192e3c msm-fb-refresher: Now not used by default.
That is because I would prefer all software to *just work* with `msm`
framebuffer shenanigans.
2018-07-06 19:17:38 -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
56458a477c ply-image: Adds hack for framebuffer flipping...
This is more specifically for msm devices.

Let's hope it won't cause issues down the line, otherwise we'll have to
make it configurable.
2018-07-05 15:08:57 -04:00
Samuel Dionne-Riel
4e5b870ec2 framebuffer: Removes fb.modes support...
It can, instead, be re-implemented as alternative commands.
2018-07-05 15:00:24 -04:00
Samuel Dionne-Riel
38bc1b125b initrd-splash: Use builtins.path. 2018-07-05 13:06:25 -04:00
Samuel Dionne-Riel
db81d8c50e Reviews splash
All images are now good for a while.

Adds option to show the rbg-debug splash.
2018-07-05 00:52:36 -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
497fae7233 Moving artwork. 2018-07-05 00:07:31 -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
4a5896322d ply-image: Adds additional debug information.
This is to help figure out framebuffer RGBA/BGRA issues.
2018-07-04 20:20:02 -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
f9b5868c1a stage-1: Use ply-image for splash purposes.
This is upstream in-use by google for chromebooks, which means some
support for some advanced things.

This especially means animations can be handled by ply-image if so
desired.
2018-07-03 23:50:16 -04:00
Samuel Dionne-Riel
871e4aed96 fbv: Removes. 2018-07-03 23:35:35 -04:00
Samuel Dionne-Riel
a92022f753 Merge branch 'device/asus-flo' 2018-07-01 17:58:56 -04:00
Samuel Dionne-Riel
beaa1664d3 hardware: Adds APQ8064–1AA SOC 2018-07-01 17:58:30 -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
d112340383 bootimg generation properly supports qcdt format. 2018-07-01 17:57:23 -04:00
Samuel Dionne-Riel
d4a2fa572d Adds armv7 target + fix error message. 2018-07-01 17:43:31 -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
be0d3b6fb8 Revert "WIP: fbv builds, but seems not to work."
This reverts commit 0df9018ab9.
2018-06-27 20:06:36 -04:00
Samuel Dionne-Riel
4d717a26df system-target: Don't cross when building on native platform. 2018-06-27 19:37:45 -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
9d6e2a0a99 Fixes wrongly implemented assertions. 2018-06-26 22:07:14 -04:00
Samuel Dionne-Riel
b46dcd6b27 Implements running assertions. 2018-06-26 21:54:41 -04:00
Samuel Dionne-Riel
93c07a4173 Fixes system-image. 2018-06-26 21:54:23 -04:00
Samuel Dionne-Riel
c27a3e8894 Fixes both system kinds. 2018-06-26 21:52:22 -04:00
Samuel Dionne-Riel
04a59a0aed Adds mobile.system.platform 2018-06-26 21:52:09 -04:00
Samuel Dionne-Riel
cf47617e62 Reviews how overlay works and is used. 2018-06-26 20:49:15 -04:00
Samuel Dionne-Riel
0df9018ab9 WIP: fbv builds, but seems not to work. 2018-06-26 00:32:21 -04:00
Samuel Dionne-Riel
8e917ff0aa mkExtraUtils: use upstream's method. 2018-06-26 00:08:04 -04:00
Samuel Dionne-Riel
79bbe4e6d7 WIP : missing arguments. 2018-06-25 21:02:35 -04:00
Samuel Dionne-Riel
734e72437d extra-utils: tentative cross fix. 2018-06-25 21:01:34 -04:00