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

56 Commits

Author SHA1 Message Date
Samuel Dionne-Riel
8d2af65cc4 modules/documentation: Init 2021-01-09 19:23:20 -05:00
Samuel Dionne-Riel
205d1bbfca exynos: Add Exynos 7880 2021-01-09 16:24:32 -05:00
Samuel Dionne-Riel
dacfa93de9 recovery.nix: Provide generic access to the recovery build 2020-12-29 18:21:52 -05:00
Samuel Dionne-Riel
f1dd2a69c0 stage-0: init module for stage-0 bootloader build 2020-12-27 17:50:30 -05:00
Samuel Dionne-Riel
0999683e23 modules: Add shared-rootfs
Used to undo some of the close-knit integration work NixOS does, so we
can cheat an make a more generic rootfs.
2020-12-27 17:38:29 -05:00
Samuel Dionne-Riel
a28cd3a293 modules/luks: Init
This, with the upcoming luks task allows encrypted drives to work!
2020-11-07 18:26:47 -05:00
Samuel Dionne-Riel
95ae031200 hardware: init module with HAL for reboot modes
This will be used by the boot GUI to only show relevant reboot options.

We might add other HAL-ish things in there.

Note that this is all internal stuff :)
2020-10-15 22:08:21 -04:00
Samuel Dionne-Riel
a1430b3ab8 quirks: qualcomm.msm-fb-refresher -> fb-refresher
It has been found that it may be useful on non-Qualcomm platforms.
2020-06-28 23:54:14 -04:00
Samuel Dionne-Riel
17f27ca78d hardware: init mediatek with MT6785 2020-06-26 01:17:41 -04:00
Samuel Dionne-Riel
d9cd7b336b initrd-firmware: Init module to add firmware to stage-1
Much better than the ad-hoc way used in a previous PR
2020-06-01 18:58:59 -04:00
Samuel Dionne-Riel
22eddafd91 generated-filesystems: overridable options for filesystem generation
This allows filesystem generation to be re-configured without overriding
all options.
2020-05-31 18:54:07 -04:00
Samuel Dionne-Riel
f019d84c88 modules: Move rootfs into the modules hierarchy
It didn't make sense to stuff that into systems anyway, it's baggage
from the first steps of making Mobile NixOS.
2020-05-15 15:49:15 -04:00
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