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

614 Commits

Author SHA1 Message Date
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
2f9853f496 kernel-builder: Reviews dtb detection 2019-06-09 22:16:43 -04:00
Samuel Dionne-Riel
e88ba541e7 APQ8064–1AA: Use msm-fb-refresher 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
41af579ea5 hard-*: Adds hard-shutdown script
On my qualcomm devices, it really shuts down the device even when
plugged into power.
2019-06-09 22:16:43 -04:00
Samuel Dionne-Riel
42b797d9e8 mkbootimg: Updates to latest version 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
ac2ad419f7 kernel-builder: Adds a WIP Pre-init logo
When using CONFIG_LOGO, this "pre-init" logo will be shown in the
center. This abuses the Linux mascot logo feature to help end-users
figure out without console logging whether the kernel is hung really
early, or after the framebuffer kicked-in. The initrd is expected to
replace the logo ASAP.

This is to be changed for something better integrated into the style
guide once written up.
2019-06-09 22:16:43 -04:00
Samuel Dionne-Riel
d737e0fd3e mobile-nixos.kernel-builder 2019-06-09 22:16:43 -04:00
Samuel Dionne-Riel
3844f4d209 bin/build: uses local nixpkgs checkout 2019-06-09 22:16:43 -04:00
Samuel Dionne-Riel
848c0188fb bin/boot-qemu: Adds missing qemu dependency 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
3ddb53c6fd bootimg: Makes the build more resilient across devices...
This is because sometimes the final kernel image isn't named as
expected...

Also adds an important note about our mkbootimg.
2019-06-09 22:16:43 -04:00
Samuel Dionne-Riel
361de42767 Removes unused code... 2019-06-09 22:16:43 -04:00
Samuel Dionne-Riel
0acd0f54e2 Removes unneeded patches 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
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