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

44 Commits

Author SHA1 Message Date
Samuel Dionne-Riel
fb64a005de Allow evaluating without NixOS.
We are now splitting the concerns more clearly, by making `baseModules`
the reason we are evaluating NixOS, rather than wholesale always
including it into the modules.
2020-04-06 18:32:45 -04:00
Samuel Dionne-Riel
75a0d1a7db devices-metadata: Generate metadata using the modules system 2020-04-04 15:19:44 -04:00
Samuel Dionne-Riel
c37da93225 modules/internal: Init 2020-03-30 23:49:28 -04:00
Samuel Dionne-Riel
6d3e26a14d hardware: Add Allwinner R18 SOC 2020-03-28 16:40:10 -04:00
Samuel Dionne-Riel
bd37657b16 Add workarounds to enable minimal rootfs cross-compilation.
This alone does not make the rootfs it makes useful.
2020-03-13 22:45:48 -04:00
Samuel Dionne-Riel
99d626dc1a module-list: Remove now removed module 2020-03-10 14:17:22 -04:00
Samuel Dionne-Riel
cab9a214b2 initrd-boot-gui: Add to initrd 2020-02-28 23:14:09 -05:00
Samuel Dionne-Riel
776b8bf151 initrd-vendor: init module
This is required for some devices, as some features only work when
firmwares are loaded on some devices.

Here, `google-walleye` `gsi.rndis` usb gadget requires the IPA firmware.
2020-02-03 16:19:10 -05:00
Samuel Dionne-Riel
43c25fe059 initrd-loop: Remove
We'll see what will be done in a bit.
2020-02-03 16:19:10 -05:00
Samuel Dionne-Riel
333ae6b6da initrd-logs: Add bootlogd multiplexer/logger support. 2020-02-03 16:19:10 -05:00
Samuel Dionne-Riel
7f0ba7de38 initrd: Remove framebuffer options
This is now all moved to boot/init tasks.

Furthermore, I don't think we ever want to *disable* starting the
framebuffer stuff. What's really needed is detecting *what kind* of
graphics subsystem to use, and this can't happen at eval time.
2020-02-03 16:19:10 -05:00
Samuel Dionne-Riel
687a100da4 quirks: Implement qualcomm framebuffer quirks as tasks 2020-02-03 16:19:10 -05:00
Samuel Dionne-Riel
4c40fa259f initrd: Removed telnet
It wasn't used either
2020-02-03 16:19:10 -05:00
Samuel Dionne-Riel
2deed250eb initrd: Remove initrd-udev 2020-02-03 16:19:10 -05:00
Samuel Dionne-Riel
2185771cba initrd: Remove stage-2 2020-02-03 16:19:10 -05:00
Samuel Dionne-Riel
9119ea40f9 initrd: Remove nc shell
This wasn't really used anyway...
2020-02-03 16:19:10 -05:00
Samuel Dionne-Riel
12918e0f58 initrd: Remove logger module
This, anyway, needs to be re-thought entirely with the new init.
2020-02-03 16:19:10 -05:00
Samuel Dionne-Riel
3f6d523e51 initrd: Removes growpart module
This needs to be re-done entirely.
2020-02-03 16:19:10 -05:00
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