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

71 Commits

Author SHA1 Message Date
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
Samuel Dionne-Riel
a01f54348b examples/hello: Add inputs listing to app 2020-05-31 18:54:07 -04:00
Samuel Dionne-Riel
882d410154 examples/hello: Add disks information page 2020-05-31 18:54:07 -04:00
Samuel Dionne-Riel
72221f4314 examples/hello: Add primitive log viewing
It's not very good :/
2020-05-31 18:54:07 -04:00
Samuel Dionne-Riel
0a430fba26 examples/hello: add toolbar to app 2020-05-31 18:54:07 -04:00
Samuel Dionne-Riel
c66fd3db8b examples/hello: review app organization 2020-05-31 18:54:07 -04:00
Samuel Dionne-Riel
a0bce22345 examples/hello: Add "Display validation" window 2020-05-31 18:54:07 -04:00
Samuel Dionne-Riel
3d0552223d examples/hello: introduce a minimal useful example system
The examples/hello system can be used by users that want to boot a
minimal, and cross-compilable system.

This is better than a "raw" build of the root of the Mobile NixOS repo
since it provides a stage-2 application stating the system booted
successfully.
2020-05-31 18:54:07 -04:00
Samuel Dionne-Riel
275fa9c676 examples/demo: Fix adbd enable in burn tool 2020-05-31 18:54:07 -04:00
Samuel Dionne-Riel
30ff772fbd examples/demo: Fix error reporting by importing 2020-05-31 18:54:07 -04:00
Samuel Dionne-Riel
8399cfa5a8 demo: Expose build attribute 2020-02-03 21:58:22 -05:00
Samuel Dionne-Riel
c9f43ba25e demo: Remove "hard-shutdown" from system
It's not needed, and systemd's shutdown already handles `reboot
bootloader` appropriately, thus the `hardshutdown` replacement is not
required.
2020-02-03 16:19:10 -05:00
Samuel Dionne-Riel
36a78e23ea demo: System.write for brightness task in burn tool 2020-02-03 16:19:10 -05:00
Samuel Dionne-Riel
c15460b6d4 demo: Enable adbd in burn tool 2020-02-03 16:19:10 -05:00
Samuel Dionne-Riel
0815a83dcf demo: Greatly simplifies burn-tool 2020-02-03 16:19:10 -05:00
Samuel Dionne-Riel
22bd4406b0 demo: Use shell as a replacement for "loop-forever" 2020-02-03 16:19:10 -05:00
Samuel Dionne-Riel
b228b71c75 examples/demo: Notifications should not be focusable 2019-12-05 23:51:07 -05:00
Samuel Dionne-Riel
a570821f63 examples/demo: Enable bluetooth 2019-12-05 23:51:07 -05:00