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

661 Commits

Author SHA1 Message Date
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
Samuel Dionne-Riel
804182854a boot/gui: Properly dry run commands on simulator 2020-03-01 17:29:30 -05:00
Samuel Dionne-Riel
660804cdf7 boot-gui-simulator: init package 2020-03-01 17:28:50 -05:00
Samuel Dionne-Riel
d6001ae0f6 mruby-lvgui: Fix build with simulator 2020-03-01 17:28:16 -05:00
Samuel Dionne-Riel
5e88e7efcf boot/gui: Allow running without generations file
This should *maybe* remove the Generations tab, as it's empty.
2020-03-01 16:58:39 -05:00
Samuel Dionne-Riel
ac95c64c92 boot/gui: Fix bad arguments handling for simulator 2020-03-01 16:58:07 -05:00
Samuel Dionne-Riel
b2779589f1
Merge pull request #80 from samueldr-wip/feature/boot-selection-gui
Graphical boot selection
2020-02-29 19:56:54 -05:00