1
1
mirror of https://github.com/NixOS/mobile-nixos.git synced 2024-12-15 19:23:01 +03:00
Commit Graph

26 Commits

Author SHA1 Message Date
Samuel Dionne-Riel
d93f0387f6 cleanup: remove initrd-devices
It has been reimplemented in boot/init
2020-02-03 16:19:10 -05:00
Samuel Dionne-Riel
4811ac688f
Merge pull request #41 from kirelagin/stage-2-adb
Restart adb in stage-2
2019-12-04 19:35:19 -05:00
Samuel Dionne-Riel
2bf8158f3a
Merge pull request #58 from samueldr-wip/feature/initrd-fail
Add failure reporting to initrd
2019-12-04 17:18:27 -05:00
Samuel Dionne-Riel
38850da922 initrd: Enables growing ext4 partitions 2019-12-03 17:32:45 -05:00
Samuel Dionne-Riel
4467f28daf initrd: Adds failure reporting
Uses the sad-phone artwork to convey that something's wrong.

A color has to be given to help convey the issue in constrained
situations where no proper logging happens.
2019-12-03 15:36:13 -05:00
Linus Heckemann
2b300b302f initrd: add fbterm module
Requires a cross-compilation fix for fbterm (nixos/nixpkgs#72107).

This may stop the display-manager from starting correctly, I think it
prevents X from automatically switching to the correct vt. Requires
some further investigation :)
2019-11-16 18:22:49 +01:00
Kirill Elagin
8869e2da37 Restart adb in stage-2
* Move adb to a separate module. It used to be in stage-1, but it is no
  longer stage-1 specific, as it is now started in stage-2 as well.
* After switching to stage-2 kill the old adbd and start a new one.
2019-10-27 00:34:55 +02:00
Samuel Dionne-Riel
7b1d782893 initrd: reviews udev integration with switch_root 2019-09-23 15:45:18 -04:00
Samuel Dionne-Riel
327fda2329 Review build to better use system.build and be more composable 2019-09-21 22:40:24 -04:00
Samuel Dionne-Riel
70a967a904 modules: Integrate with NixOS...
Otherwise, passing configuration to the NixOS modules system would
become harder, for "outside-in" builds, and would make it harder to
integrate into a nixos-rebuild type build.
2019-09-21 17:32:16 -04:00
Samuel Dionne-Riel
740da6f71d hardware: inits rockchip with OP1
While it is an RK3399 derivative, we'll identify all devices as their
manufacturer does. Meaning that this is an OP1.

Though this seems useless at first glance, this allows us to put
conditionals on OP1 specific features or misfeatures, if any.
2019-09-18 15:37:31 -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
832256ec40 initrd: Adds adbd support in initrd. 2018-07-08 21:14:16 -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
6d8b2bea22 WIP : stops relying on NIX_PATH entries.
I don't know if there could have been issues.

Better safe than sorry.
2018-06-23 18:09:05 -04:00
Samuel Dionne-Riel
a2620c06a3 initrd-kernel: Allows embedding modules. 2018-06-23 17:45:51 -04:00
Samuel Dionne-Riel
86157753f8 Use mkMerge to merge multiple configs. 2018-06-20 20:18:44 -04:00
Samuel Dionne-Riel
0d17ae2279 stage-1: Adds shell option. 2018-06-18 22:14:01 -04:00
Samuel Dionne-Riel
35972c5547 modules: fixes order. 2018-06-18 22:14:01 -04:00
Samuel Dionne-Riel
2ef6c5f988 initrd: Implements messages redirection.
This allows outputting the /init process' messages to multiple
locations, including /dev/console, any additional tty and files.
2018-06-18 21:43:58 -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
9e44b27e21 Finishes porting to declarative configuration. 2018-06-17 17:50:32 +00:00
Samuel Dionne-Riel
0f560d06af WIP slowly moving everything to the options system. 2018-06-17 03:43:11 +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