Samuel Dionne-Riel
fad472bd06
initrd: Removes dead code from initrd-kernel
...
This already is part of boot/init
2020-02-03 16:19:10 -05:00
Samuel Dionne-Riel
368bc33019
initrd: Implement loop with a task
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
b5e3397783
(broken) removes initrd-order
...
This allows my staging area to become a bit cleaner.
2020-02-03 16:19:10 -05:00
Samuel Dionne-Riel
56cdb1abca
initrd: Implement shell with a task
2020-02-03 16:19:10 -05:00
Samuel Dionne-Riel
0361ccad00
init: Allow adding tasks to boot/init
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
2a9ff72358
initrd: Review splash to only embed images
...
This still needs to be somewhat re-thought
2020-02-03 16:19:10 -05:00
Samuel Dionne-Riel
5b13d6b4a8
initrd: minor cleanup
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
a81afccbb8
cleanup: Move initrd-fail settings in boot/init
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
aa8e5f22bf
initrd: Use same mounting logic as NixOS
...
Well, at least the same data for the mounting logic
2020-02-03 16:19:10 -05:00
Samuel Dionne-Riel
d4571cf9aa
boot/init: Use boot.specialFileSystems
...
This is an internal configuration from NixOS. This is what is used by
the NixOS stage-1 to mount the special filesystems.
It would be dumb not to rely on the same!
2020-02-03 16:19:10 -05:00
Samuel Dionne-Riel
952183b400
initrd: Re-instate shelling-out / shell location
2020-02-03 16:19:10 -05:00
Samuel Dionne-Riel
1d8d4c8f52
initrd: Add configuration file for boot/init
...
This allows a single boot/init build to be re-used across devices, and
more importantly, across rebuilds when only configuration changes.
This also removes the need to hardcode some annoying paths that are
better served through configuration, to their natural store paths.
2020-02-03 16:19:10 -05:00
Samuel Dionne-Riel
fbe905b266
initrd-kernel: Pre-seed symlinks for modules and firmwares
2020-02-03 16:19:10 -05:00
Samuel Dionne-Riel
2a366b2cae
initrd: Allow redirecting output to /dev/kmsg
...
Though this is a bit buggy and less than ideal.
A better solution would be a custom wrapper that only handles
redirecting. This is, anyway, something that would be required to
redirect all logging to all consoles.
2020-02-03 16:19:10 -05:00
Samuel Dionne-Riel
cbd31a49ce
initrd: Allows wrapping init with strace
...
That wrapper script may be used with other helpers in the future.
2020-02-03 16:19:10 -05:00
Samuel Dionne-Riel
228df26d6c
initrd: Refactors module for new init
...
New init coming in a separate commit
2020-02-03 16:19:10 -05:00
Samuel Dionne-Riel
e5aa1ad3c6
overlay: Import mruby
2020-02-03 16:19:10 -05:00
Samuel Dionne-Riel
104c09a8a7
initrd-base: Use hardshutdown
2020-01-10 00:46:11 -05:00
Samuel Dionne-Riel
5fa2110c7b
hard-{shutdown,reboot}: remove
...
This will be replaced with a better utility.
2020-01-10 00:45:39 -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
ead09930ea
qemu-x86_64: use absolute input + mon:stdio
...
mon:stdio is the magic incantation that makes CTRL+C not quit abruptly
the VM.
2019-12-04 17:16:09 -05:00
Samuel Dionne-Riel
00c7d73781
qemu-x86_64: Use a 1080p vertical display
2019-12-04 17:16:09 -05:00
Samuel Dionne-Riel
0d21d694f6
Merge pull request #61 from samueldr-wip/feature/grow-rootfs
...
Allow rootfs to expand to the backing partition
2019-12-04 16:56:01 -05:00
Samuel Dionne-Riel
1d3149b41f
qualcomm: Add SDM660 option
2019-12-03 20:36:52 -05:00
Samuel Dionne-Riel
1fdf5e7ee7
initrd: Ensures /etc/mtab exists
2019-12-03 17:32:45 -05:00
Samuel Dionne-Riel
38850da922
initrd: Enables growing ext4 partitions
2019-12-03 17:32:45 -05:00
Samuel Dionne-Riel
83a1735084
stage-2: Use new init failure reporting
2019-12-03 15:36:13 -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
Samuel Dionne-Riel
6198805861
Merge pull request #47 from lheckemann/tissot-cleanup
...
Add support for xiaomi-tissot
2019-11-23 12:33:35 -05:00
Linus Heckemann
0cabf85b8f
initrd-loop: allow continuing boot by killing sleep
2019-11-21 20:56:49 +01:00
Samuel Dionne-Riel
bcc0f77156
Merge pull request #50 from samueldr-wip/devices/google-walleye
...
device: Google Pixel 2 (non-XL) // google-walleye
2019-11-19 14:08:56 -05:00
Samuel Dionne-Riel
e9ee3abbe3
qualcomm: Add msm8998 SoC
2019-11-18 21:18:24 -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
12744fa744
Use pkill to kill adb from stage1
2019-10-28 19:11:01 +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
93436077f1
hardware-qualcomm: Add msm8996 SoC
2019-10-05 01:07:55 -04:00
Samuel Dionne-Riel
d99f4d0135
quirks-qualcomm: Enables stage-2 fb refresher
2019-09-24 23:00:02 -04:00
Samuel Dionne-Riel
c498dc1b38
initrd-usb: Fixes for adbd on asus-z00t
...
The gist of it:
* The "adb" function is not available (-22, EINVAL) on asus-z00t
* Enabling both adb and ffs breaks asus-flo
* Enabling ffs is fine with asus-flo.
So I guess it's ffs that enables adb!
2019-09-23 20:31:56 -04:00
Samuel Dionne-Riel
7b1d782893
initrd: reviews udev integration with switch_root
2019-09-23 15:45:18 -04:00
Samuel Dionne-Riel
4c4f8468f3
depthcharge: Allows kpart to be built independently
2019-09-22 15:52:10 -04:00