1
1
mirror of https://github.com/NixOS/mobile-nixos.git synced 2024-12-27 01:44:41 +03:00
Commit Graph

1167 Commits

Author SHA1 Message Date
Samuel Dionne-Riel
6b33a0a14c release.nix: drop all-devices.nix
See:

 * https://github.com/NixOS/mobile-nixos/pull/40/files#r339630767
2020-03-13 22:45:19 -04:00
Samuel Dionne-Riel
1130301de3 release.nix: Add tested jobset 2020-03-13 21:38:32 -04:00
Samuel Dionne-Riel
5be1588bb3 release.nix: minor cleanup 2020-03-13 21:38:32 -04:00
Samuel Dionne-Riel
4ac71a9722 kernel-initrd: vm is the default build artifact 2020-03-13 19:44:08 -04:00
Samuel Dionne-Riel
3b5fe89b7c depthcharge: disk-image is the default build artifact 2020-03-13 19:44:08 -04:00
Samuel Dionne-Riel
97cca51825 android: android-device is the default build artifact 2020-03-13 19:44:08 -04:00
Samuel Dionne-Riel
611b107b10 release.nix: Eval devices for all local systems 2020-03-13 19:44:08 -04:00
Samuel Dionne-Riel
7a30a6f3c1 system-target: Stop relying on builtins.currentSystem 2020-03-13 19:43:34 -04:00
Samuel Dionne-Riel
a9e2e897d2 default.nix: Allow passing more configuration
This begins to smell like spaghetti :/
2020-03-13 19:43:34 -04:00
Samuel Dionne-Riel
7f265d59c2 default.nix: Warn when local.nix is used
Only to remind the poor soul that their build has some side-effects.
2020-03-13 18:13:24 -04:00
Samuel Dionne-Riel
3f377dd275 release.nix: Init, for hydra consumption
This release.nix is intended to provide:

 * Builds for our overlay
 * Builds for all devices
2020-03-13 18:06:00 -04:00
Samuel Dionne-Riel
7115e23509 all-device.nix: init
This file, to be checked via a CI task, should always contain the full
list of devices from the devices folder.

Though, with that said, a device line may be commented out.

All devices have to be ordered alphabetically, including those commented
out.
2020-03-13 15:03:01 -04:00
Samuel Dionne-Riel
987be3bf59 hardware: Add generic ARM platforms
Will be used by the release.nix configurations. Though these may be just
as useful as the x86_64 one is!
2020-03-13 14:56:21 -04:00
Samuel Dionne-Riel
5471ee7e05 default.nix: Allow receiving special configurations
Those are sent as a parameter to the derivation. This is part of the
internal API allowing the coming release.nix to make generic builds for
the overlay.
2020-03-13 14:56:04 -04:00
Samuel Dionne-Riel
ae90e4c51c default.nix: misc. cleanup 2020-03-12 22:08:55 -04:00
Samuel Dionne-Riel
664d523030 default.nix: Add header to device eval
This is useful when doing a "batch eval", where you can see which device
caused the eval to fail more easily.
2020-03-12 17:57:57 -04:00
Samuel Dionne-Riel
99d626dc1a module-list: Remove now removed module 2020-03-10 14:17:22 -04:00
Samuel Dionne-Riel
afd03a0796
Merge pull request #95 from samueldr-wip/feature/boot-gui/splash
stage-1: Remove dependency on ply-image + better error reporting
2020-03-10 12:39:02 -04:00
Samuel Dionne-Riel
0b6cd4de5e qemu-x86_64: Stop relying on removed option 2020-03-09 19:59:12 -04:00
Samuel Dionne-Riel
281f546bff stage-2-splash: Init re-purposed module
This resets the VT for platforms with VTs.

If a console is attached to that VT the logo will be covered by text as
it begins showing up on the VT.

The current way to "opt-out" of VT messages during stage-2 is to opt-out
of console messages on the VT.
2020-03-09 19:57:31 -04:00
Samuel Dionne-Riel
6692f6d6f4 boot/init: Use the new error reporting applet 2020-03-09 19:45:49 -04:00
Samuel Dionne-Riel
b2f4aecdd4 boot/error: Init error reporting applet 2020-03-09 19:44:27 -04:00
Samuel Dionne-Riel
70826bacf2 artwork: Remove now unneeded sad-phone png 2020-03-09 18:17:36 -04:00
Samuel Dionne-Riel
6dea9b720b artwork: Fixup sad-phone for nanosvg peculiarities 2020-03-09 18:17:19 -04:00
Samuel Dionne-Riel
9a92d10289 initrd-splash: Remove dead code 2020-03-09 17:48:52 -04:00
Samuel Dionne-Riel
6e7ca60889 artwork: Drop unused splashes 2020-03-09 17:45:47 -04:00
Samuel Dionne-Riel
c35116cdcd boot/init: Use the new boot/splash applet 2020-03-09 17:34:31 -04:00
Samuel Dionne-Riel
426f31113d boot/splash: Init splash applet 2020-03-09 17:31:03 -04:00
Samuel Dionne-Riel
49facfc05c
Merge pull request #92 from samueldr-wip/feature/boot-gui/vt-restore
boot/gui: Fix console restoring on exit
2020-03-08 18:07:13 -04:00
Samuel Dionne-Riel
741eba11ac
Merge pull request #90 from samueldr-wip/feature/initrd-meta
initrd: Add `initrd-meta` build output, with ncdu metadata
2020-03-08 18:06:28 -04:00
Samuel Dionne-Riel
8a71c8dd85 initrd: Add initrd-meta build output, with ncdu metadata
This can be used to sift through the files in stage-1, and hopefully
pare it down when it bloats.
2020-03-08 17:49:12 -04:00
Samuel Dionne-Riel
f7f4920584
Merge pull request #88 from samueldr-wip/feature/boot-gui/inputs-fixes
Update lvgui for better pointer support
2020-03-08 17:46:48 -04:00
Samuel Dionne-Riel
8fad3b296e boot/gui: Use mruby that will splice
Using `loader.mruby` will not splice :(
2020-03-08 17:05:15 -04:00
Samuel Dionne-Riel
9c8e1f7d17 boot/gui: Fix console restoring on exit 2020-03-08 17:05:15 -04:00
Samuel Dionne-Riel
022f3dc754 mruby-lvgui: update lvgui (read more)
This adds the necessary support to better handle other pointing-type
inputs.

 * Cursor for non-touch devices
 * Handle abs min/max
 * Handle touchpads

With this, a tablet-type input, like used by QEMU, now works.
2020-03-08 17:01:31 -04:00
Samuel Dionne-Riel
9ab16a6c66 initrd: Add udev rules for input devices
Otherwise, there is no trivial way to dinstinguish a trackpad from a
touchscreen.
2020-03-08 17:01:31 -04:00
Samuel Dionne-Riel
31e362563d doc: Ensure proper responsiveness for images 2020-03-03 17:19:57 -05:00
Samuel Dionne-Riel
b60a26a0f9 doc: Add a margin to image blocks 2020-03-03 17:19:34 -05:00
Samuel Dionne-Riel
9c7f1ab1ee doc: Also copy png images 2020-03-03 17:19:25 -05:00
Samuel Dionne-Riel
e121b722a7
Merge pull request #86 from samueldr-wip/feature/boot-gui/simulator-fixes
Boot GUI: Simulator fixes
2020-03-02 14:04:10 -05:00
Samuel Dionne-Riel
abd360b206
Merge pull request #87 from samueldr-wip/feature/installer-script
Add installer script to android device output
2020-03-02 14:03:21 -05:00
Samuel Dionne-Riel
07a92043eb xiaomi-lavender: Describe it uses a discrete recovery partition 2020-03-02 14:02:05 -05:00
Samuel Dionne-Riel
74f3dc5711 android-devices: Output a flash-critical.sh script
This script will flash the "critical" bits to the device.

Though note that this will flash both A/B slots unconditionally.

Similarly, this will flash both the boot and recovery partitions.
2020-03-02 14:02:05 -05:00
Samuel Dionne-Riel
a083acef55 boot/gui: Use newly split script loader in simulator 2020-03-01 23:27:56 -05:00
Samuel Dionne-Riel
12c9d29f58 boot/init: Use the newly split script-loader 2020-03-01 23:27:56 -05:00
Samuel Dionne-Riel
11897bcdb6 boot/script-loader: Split into its distinct package 2020-03-01 22:21:31 -05:00
Samuel Dionne-Riel
8594a19538 boot/gui: Use the loader's mruby build
It doesn't change the mrbc end-result.
2020-03-01 22:02:45 -05:00
Samuel Dionne-Riel
fe6d03701d mruby-builder: Pass through the mruby build 2020-03-01 22:02:27 -05:00
Samuel Dionne-Riel
e1e1333669 boot/gui: Workaround unexplained issue
It seems that `mruby-time-strftime` here is causing the garbage
collector to fail in strange ways *only* in the simulator.

It's all fine in QEMU and on hardware.
2020-03-01 22:02:19 -05:00
Samuel Dionne-Riel
76313cff6f doc: Document launching the simulator 2020-03-01 17:33:25 -05:00