Samuel Dionne-Riel
d7d1a3ff13
modules/boot-control: Init with preliminary boot-control script
...
Currently only supports the Qualcomm scheme.
2022-10-21 21:50:58 -04:00
Daniel Barlow
3142445698
modules: Init usb-gadget with configfs mountpoint
...
Co-authored-by: Samuel Dionne-Riel <samuel@dionne-riel.com>
2022-10-13 21:01:21 -04:00
Samuel Dionne-Riel
ddace14c87
modules/plymouth: init with workaround for stage-1
2022-10-13 20:23:13 -04:00
Samuel Dionne-Riel
3ba2ce589c
modules/beautification: init with silentBoot
2022-10-13 20:20:42 -04:00
Samuel Dionne-Riel
05d7726766
modules/zram: init with workarounds for zram
2022-10-12 20:28:37 -04:00
Samuel Dionne-Riel
86cae17386
modules: Drop nixos-disintegration
...
What's still needed will be put in the right modules.
2022-05-29 22:39:11 -04:00
Samuel Dionne-Riel
276fd4a821
modules/bootloader: Make bootloader options configurable
...
This will allow re-using the stage-1 outside of Mobile NixOS more
easily.
2022-05-29 22:39:11 -04:00
Samuel Dionne-Riel
e346cad4cf
modules/mobile: Add mobile.enable
main switch
...
When disabled, all Mobile NixOS defaults are disabled, and need to be
enabled independently.
2022-05-29 22:39:11 -04:00
Samuel Dionne-Riel
45709499c6
Merge pull request #410 from samueldr-wip/feature/configurable-linux
...
Add kernel configuration to the system evaluations
2021-08-31 14:59:59 -04:00
Samuel Dionne-Riel
a5135286a8
kernel-config: Init module to define minimal required options
...
This is not really meant to provide a user-accessible way to configure
the kernel... But it also works that way I guess!
For now it is *meant* to provide *required options*, so that validation
(and soon normalization) always includes required options.
2021-08-30 17:25:34 -04:00
Samuel Dionne-Riel
04fbca23e9
outputs: add mobile.outputs.default
2021-08-27 01:00:43 -04:00
Samuel Dionne-Riel
826315aa11
system-build: Init module adding details to toplevel
...
For now, device-name... but see following commit.
2021-02-11 18:14:30 -05:00
Samuel Dionne-Riel
34b033330f
Replace evalConfig
with config.lib.mobile-nixos.composeConfig
2021-02-02 01:58:41 -05:00
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