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

88 Commits

Author SHA1 Message Date
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
Samuel Dionne-Riel
bb7e9a3b7b examples: Add testing/crash-before-switch-root
Can be used as a single point of failure (hah!)
2020-11-08 18:37:13 -05:00
Samuel Dionne-Riel
a1813efdfb testing/qemu-cryptesetup: Add a test system for LUKS 2020-11-07 19:22:33 -05:00
Samuel Dionne-Riel
3f8c115ee4 examples/testing: Add subdirectory for feature testing systems 2020-11-07 19:22:33 -05:00
Samuel Dionne-Riel
258cb1acd0
Merge pull request #228 from samueldr-wip/feature/reboot-hal
Boot GUI: only show relevant reboot options
2020-10-18 18:04:55 -04:00
Samuel Dionne-Riel
e09f57838e examples/demo: Misc reorganization 2020-10-18 16:24:14 -04:00
Samuel Dionne-Riel
a5c63b2cd6 examples/demo: Fix warnings from upstream changes 2020-10-18 16:24:14 -04:00
Samuel Dionne-Riel
2b573fbfb1 examples/demo: Add dtc as it is useful to debug things 2020-10-18 16:24:14 -04:00
Samuel Dionne-Riel
9870fc5ad1 examples/hello: Don't provide misc. reboot modes for now
We'll think it over for how we want to handle custom reboot commands,
but some platforms (e.g. u-boot, depthcharge, qemu) don't and can't use
them.

A goal is to keep stage-2 as generic as possible, so building into it
some knowledge of this is harder.

At any rate, the user can still reboot, and hold the key combo as
needed!
2020-10-15 22:08:21 -04:00
Samuel Dionne-Riel
70d95c6f5a examples/hello: Fix for new back button implementation 2020-07-25 21:56:50 -04:00
Samuel Dionne-Riel
c6de67204c examples/hello: Use the now extracted LVGUI 2020-07-25 21:56:50 -04:00