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

614 Commits

Author SHA1 Message Date
Samuel Dionne-Riel
3d517c0687 bin/build: begins refactor. 2018-06-23 16:06:53 -04:00
Samuel Dionne-Riel
8bf617c77a Fixes typo with logs redirection. 2018-06-23 16:04:48 -04:00
Samuel Dionne-Riel
86157753f8 Use mkMerge to merge multiple configs. 2018-06-20 20:18:44 -04:00
Samuel Dionne-Riel
0a1b75d91c qemu-x86_64: splash enables/disables features from configuration.
Useful with local.nix.
2018-06-18 22:23:15 -04:00
Samuel Dionne-Riel
6990de541d Adds support for local.nix overrides. 2018-06-18 22:23:02 -04:00
Samuel Dionne-Riel
ca0ef47b71 initrd-logger: enable = false will disable it completely. 2018-06-18 22:14:01 -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
809c3f37a6 qemu-x86_64: refactors splash into a variable...
To allow playing around.
2018-06-18 22:13:57 -04:00
Samuel Dionne-Riel
334185ea21 qemu-x86_64: use a smaller VT by default. 2018-06-18 21:50:10 -04:00
Samuel Dionne-Riel
64d4e5a604 qemu-x86_64: default to no splash (for now) 2018-06-18 21:49:35 -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
a0e8f96605 boot-qemu: also print the qemu command line. 2018-06-18 21:22:30 -04:00
Samuel Dionne-Riel
cff24349b8 Spelling is for chumps. 2018-06-17 21:12:04 -04:00
Samuel Dionne-Riel
5d7270c02a Adds qemu launching notes. 2018-06-17 21:01:57 -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
7be3b3474b fb_modes can now be nulled. 2018-06-17 19:57:42 -04:00
Samuel Dionne-Riel
ba7e531519 Fixes remote-boot to return exit status. 2018-06-17 19:57:22 -04:00
Samuel Dionne-Riel
97b41b1221 Misc additions. 2018-06-17 19:57:14 -04:00
Samuel Dionne-Riel
9b1d50597f moves systems into a folder. 2018-06-17 19:57:03 -04:00
Samuel Dionne-Riel
982a705dc2 Removes dead code. 2018-06-17 18:53:34 +00: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
eba70dba5a WIP misc cleanup. 2018-06-17 01:24:26 +00:00
Samuel Dionne-Riel
707d62ab81 WIP fixes framebuffer modes. 2018-06-17 00:56:44 +00:00
Samuel Dionne-Riel
14fc3b0edd bin/build: whoopsie, didn't report the exit status of last command. 2018-06-17 00:56:14 +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
Samuel Dionne-Riel
7a4b625cf7 Ugh 2018-06-13 02:29:26 +00:00
Samuel Dionne-Riel
e57a2d401a Adds two bin/* scripts to help out developers and users. 2018-06-13 02:28:33 +00:00
Samuel Dionne-Riel
67926d02ca Tries looking at how "quirks" could exist.
This may, instead, need the configuration system from nixos, where
lib.mkForce, lib.mkDefault and friends would make more sense here.
2018-06-13 02:07:26 +00:00
Samuel Dionne-Riel
adc28af2a5 Makes kernel part of the device description. 2018-06-13 02:06:24 +00:00
Samuel Dionne-Riel
9f4453a4d2 Reviews start of init script. 2018-06-13 01:47:00 +00:00
Samuel Dionne-Riel
e0b4766216 Refactors "extra-utils" into a function. 2018-06-13 00:07:36 +00:00
Samuel Dionne-Riel
6fcd7a09e0 Makes rootfs configuratble by device_config...
This is a WIP, but this already should allow device-specific fb.modes
2018-06-12 23:14:55 +00:00
Samuel Dionne-Riel
e56da86a90 rootfs: Use fbset when possible to set a specific mode. 2018-06-12 03:11:22 +00:00
Samuel Dionne-Riel
e0c48b28f9 Use fbv for splashes; allows using pngs.
ppm while they did work, aren't the easiest to work with.
2018-06-11 23:55:35 +00:00
Samuel Dionne-Riel
d999545685 Updates graphics (+ export png) 2018-06-11 19:25:48 -04:00
Samuel Dionne-Riel
65871a850b fbv: inits at 1.0b 2018-06-11 19:24:14 -04:00
Samuel Dionne-Riel
2e3d7ac8d0 mkbootimg: misc cleanup. 2018-06-11 19:24:02 -04:00
Samuel Dionne-Riel
14d4061b4a rootfs: LD_LIBRARY_PATH fix is now global 2018-06-11 00:09:06 +00:00
Samuel Dionne-Riel
eba4815647 Adds loading ppm, and adds R G B text to temp splash.
Do note that loading → temp splash allows us to know whether it

 1. booted at all (no loading)
 2. booted but stopped before the end (loading...)
 3. booted up to the end (temp splash)
2018-06-11 00:00:23 +00:00
Samuel Dionne-Riel
dca6a6c970 WIP insecure remote access on rootfs. 2018-06-11 00:00:03 +00:00
Samuel Dionne-Riel
fed59d14dd WIP now starts USB gadget networking. 2018-06-10 20:22:17 +00:00
Samuel Dionne-Riel
3f0999ee50 misc. cleanups 2018-06-10 20:07:39 +00:00
Samuel Dionne-Riel
e2c318359d ply-image: Adds with checkout to most current revision. 2018-06-10 19:35:53 +00:00
Samuel Dionne-Riel
44bc25fb2d overlay: misc cleanup. 2018-06-10 19:35:34 +00:00
Samuel Dionne-Riel
1ef6387e9d Adds a color box to the splash...
This can be used to verify whether the colors are right or not.
2018-06-10 18:56:31 +00:00
Samuel Dionne-Riel
983585e328 rootfs: Adds notes. 2018-06-10 18:27:17 +00:00
Samuel Dionne-Riel
e76a476ba3 Vibrates more quickly 2018-06-10 18:22:26 +00:00