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

391 Commits

Author SHA1 Message Date
Samuel Dionne-Riel
f5095e806c WIP: stage-2 through divining a path from nix-path-registration
I HATE THIS.
2019-06-09 22:16:43 -04:00
Samuel Dionne-Riel
815c11a3b7
Create LICENSE 2019-05-08 16:27:21 -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
9edf553af2 Adds msm8953 as a known value. 2018-11-17 18:17:31 -05:00
Samuel Dionne-Riel
1ed9e63ab1 z00t: enables /proc/config.gz 2018-11-05 22:50:59 -05:00
Samuel Dionne-Riel
d71a4e8489 WIP trying to get adb to work on the z00t.
~ # dmesg | grep -i '\(function\|adb\)'
[    0.972168] [hall_sensor] default report function.
[    1.766641] android_usb gadget: Mass Storage Function, version:
2009/09/11
[   11.983813] functions_store: android_usb: Cannot enable 'adb' (-22)
[   12.486886] rndis_function_bind_config: rndis_function_bind_config
MAC: 00:00:00:00:00:00

That "Cannot enable 'adb'" is maddening...
2018-11-05 22:50:08 -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
162ae19c0b bin/build: isolate from system...
This will stop NIX_PATH overlays from "infecting" the builds.
2018-11-05 20:50:47 -05:00
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