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

98 Commits

Author SHA1 Message Date
Samuel Dionne-Riel
07e96623cc examples/target-diskmode: Use mkLVGUIApp 2021-07-19 15:50:06 -04:00
Samuel Dionne-Riel
a4b0ffe0b2 examples/target-disk-mode: Normalize LVGUI consumers 2021-07-19 15:50:06 -04:00
Samuel Dionne-Riel
777cf3beee examples/hello: Use mkLVGUIApp 2021-07-19 15:50:06 -04:00
Samuel Dionne-Riel
6616c46b92 examples/hello: Normalize LVGUI consumers 2021-07-19 15:50:06 -04:00
Samuel Dionne-Riel
69c59d5568 examples/demo: Fix build 2021-06-19 01:43:15 -04:00
Samuel Dionne-Riel
3b19b45566 examples/demo: Use v4l workaround 2021-06-19 01:43:15 -04:00
Samuel Dionne-Riel
64e8cfb3b5 profiles/installer.nix: Remove
This was never really used properly.
2021-04-30 17:59:35 -04:00
Samuel Dionne-Riel
e3d8e4a384 examples/demo: Fix wallpaper in modesetting
This is because the wallpaper is set per-display, without falling back
to a general more configurable path before their built-in fallback.
2021-04-29 23:28:55 -04:00
Samuel Dionne-Riel
09fc549450 examples/demo: Prefer modesetting first 2021-04-29 23:28:55 -04:00
Samuel Dionne-Riel
037281769f examples/demo: Flash into userdata 2021-02-28 15:53:12 -05:00
Samuel Dionne-Riel
4e326d16f4 examples/demo: Fix rootfs eval
This was a late change, which *should* have been eval'd before hitting
merge :(.
2021-02-23 21:16:29 -05:00
Samuel Dionne-Riel
0d9c6ce207
Merge pull request #310 from samueldr-wip/fix/more-hermetic-release.nix
More hermetic release.nix and examples
2021-02-23 21:02:59 -05:00
Samuel Dionne-Riel
eaf8f4a92e examples/testing: Use eval-with-configuration.nix 2021-02-23 20:17:19 -05:00
Samuel Dionne-Riel
ea70da6a5b examples/target-disk-mode: Use eval-with-configuration.nix 2021-02-23 20:17:19 -05:00
Samuel Dionne-Riel
5b49dcf208 examples/hello: Use eval-with-configuration.nix 2021-02-23 20:17:19 -05:00
Samuel Dionne-Riel
0ef6bd9d5d examples/demo: Use eval-with-configuration.nix
In addition, drop `android-burn-tool`. It hasn't been used for while, as
in the end it is not actually needed.
2021-02-23 20:17:19 -05:00
Samuel Dionne-Riel
8745395e25 examples/demo: Enable fb-refresher by default 2021-02-20 16:41:23 -05:00
Edward Amsden
c507b39099 Make the package set a parameter instead of using <nixpkgs> everywhere.
Co-authored-by: Samuel Dionne-Riel <samuel@dionne-riel.com>
Co-authored-by: Edward Amsden <edward@blackriversoft.com>
2021-02-02 01:58:41 -05:00
Samuel Dionne-Riel
3c7cc26ece examples/target-disk-mode: Kill splash to free DRM context 2021-01-30 22:53:49 -05:00
Samuel Dionne-Riel
c2d948ed80 examples/target-disk-mode: Try to enable ADB
Also warn if it could not be enabled.
2021-01-27 22:16:55 -05:00
Samuel Dionne-Riel
9d93f32eeb examples/hello: Try to enable ADB
Also warn if it could not be enabled.
2021-01-27 22:16:55 -05:00
Samuel Dionne-Riel
db56f5e960 examples/target-disk-mode: Simplify interface implementation
And also add notes when in simulator mode...
2021-01-25 18:40:54 -05:00
Samuel Dionne-Riel
c14352967e examples/target-disk-mode: Fix simulator build 2021-01-25 18:40:54 -05:00
Samuel Dionne-Riel
bb4d0c5a5a examples/hello: In simulator, collect garbage every render
This does help finding weirdness in things being collected when they
shouldn't
2021-01-25 18:40:54 -05:00
Samuel Dionne-Riel
8cba428242 examples/hello: Add select to LVGUI testing page 2021-01-25 18:40:54 -05:00
Samuel Dionne-Riel
f17c882cb6 examples/hello: Add UI testing page 2021-01-25 18:40:54 -05:00
Samuel Dionne-Riel
cb49e49b75 examples/hello: Simplify main window implementation 2021-01-25 18:40:54 -05:00
Samuel Dionne-Riel
a791631b33 examples/hello: Don't build with stage-0 support
Useless for this kind of system.
2021-01-25 18:40:54 -05:00
Samuel Dionne-Riel
33bc185ffd examples/hello: Don't start getty on tty1
It breaks the DRM-based app, and anyway was bad on the fbdev app
2021-01-25 18:40:54 -05:00
Samuel Dionne-Riel
1963b6ba86 examples/hello: Give information about the display driver
This way it's trivial to *check* what is actually running on the device.
2021-01-25 18:40:54 -05:00
Samuel Dionne-Riel
3c62793297 examples/target-disk-mode: disable rootfs build
For "whole disk image" systems, like the Pinephone, this produces much
smaller images.
2021-01-05 17:38:03 -05:00
Samuel Dionne-Riel
cc56bbbe49 examples/target-disk-mode: Update README 2021-01-05 17:37:52 -05:00
Samuel Dionne-Riel
0fe8fa0ee2 examples/target-disk-mode: Split GUI task from configuration
There was no need to keep it there. Came from the `examples/hello` GUI
task, which in turn I *think* that in the past used a variable
interpolation.

We don't need any of that.
2021-01-05 16:29:48 -05:00
Samuel Dionne-Riel
90c39ef613 examples/target-disk-mode: Rename to target disk mode 2021-01-04 05:52:01 -05:00
Samuel Dionne-Riel
c3ca0d0b3c examples/jumpdrive: Ensure SSH is available 2021-01-04 05:51:48 -05:00
Samuel Dionne-Riel
dd243bd1f2 examples/jumpdrive: Fix build with recent LVGUI import 2021-01-04 00:59:26 -05:00
Samuel Dionne-Riel
72e456b761 examples/jumpdrive: Remove internal knowledge of storage devices 2021-01-04 00:59:26 -05:00
Samuel Dionne-Riel
70874a3d02 examples/jumpdrive: Rework "app" for latest changes 2021-01-04 00:59:14 -05:00
Samuel Dionne-Riel
d820247350 examples/jumpdrive: Hardcode a list of known storage locations
This is not ideal. Ideally devices would provide that information, but
since for now it's only used by jumpdrive, we're skipping the
generalization.

Furthermore, I don't really know how to provide that information in a
way that is coherent with the rest, for now.
2021-01-04 00:59:14 -05:00
Samuel Dionne-Riel
b39df9f58f examples/jumpdrive: Save storage information in configuration 2021-01-03 23:08:24 -05:00
Samuel Dionne-Riel
1d5acb1782 examples/jumpdrive: Add GUI applet
This only serves to show instructions and reboot/poweroff.

In the future, it should be the owner of gadget mode stuff.
2021-01-03 23:08:24 -05:00
Samuel Dionne-Riel
41978bc480 examples/jumpdrive: WIP init of a jumpdrive example system 2021-01-03 23:08:24 -05:00
Samuel Dionne-Riel
6ebe6dd6e6 examples/testing/*: Use .vm output 2021-01-01 21:37:30 -05:00
Samuel Dionne-Riel
4bfdd254f9 examples/hello: decribe libraries used 2021-01-01 21:37:30 -05:00
Samuel Dionne-Riel
abdaa2a4d5 examples/hello: Fixes for script-loader changes 2021-01-01 21:37:29 -05:00
Samuel Dionne-Riel
2b5d8ed84b examples/hello: Re-format mrbc invocation and drop -g 2021-01-01 21:37:29 -05:00
Samuel Dionne-Riel
b2790d13d6 qemu-x86_64: Delete device
It's being replaced by the generic uefi-x86_64 device.

Basically, replace the QEMU-specific system type by the totally standard
UEFI system type. This way we're dogfooding it way better!
2020-12-29 19:22:43 -05:00
Samuel Dionne-Riel
a8f14efead qemu-cryptsetup: Use uefi-x86_64 system
It is incomplete because it does not use the (not implemented) VM
attribute.
2020-12-29 19:22:43 -05:00
Samuel Dionne-Riel
350e5a7fff examples/demo: Add file 2020-12-27 17:38:29 -05:00
Samuel Dionne-Riel
cfb12d53c9 examples/hello: ignore power key, used for navigation 2020-12-27 17:38:29 -05:00