Samuel Dionne-Riel
a73e89610c
pine64-pinephone: Add gadgetfs information
2021-01-04 05:52:07 -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
179d8b1b70
stage-1/usb-gadget: Add mass storage usb gadget support
2021-01-03 23:08:24 -05:00
Samuel Dionne-Riel
61c6776cb8
stage-1/usb-gadget: Quirk is aware of its path
...
This will be used for quirks that needs to know where to write more
configuration.
2021-01-03 23:08:24 -05:00
Samuel Dionne-Riel
badb5c635b
boot/init: Add System.symlink
...
Same as File.symlink, but logged.
(Also fixes logging of System.write)
2021-01-03 23:08:24 -05:00
Samuel Dionne-Riel
25e9db5474
Merge pull request #273 from samueldr-wip/feature/gadget-teardown-kexec
...
stage-0: Teardown gadget before kexec
2021-01-03 23:07:00 -05:00
Samuel Dionne-Riel
b4c603bc56
boot/init: Tear down usb gadget on kexec
...
Yikes, specialized code in the kexec codepath... though this is okay for
now. Let's not over-generalize when we don't know what will be required
in the future for abstraction.
2021-01-03 20:23:44 -05:00
Samuel Dionne-Riel
10c1ccece2
stage-1/usb-gadget: Implement gadgetfs teardown
...
This way on kexec the device is in a better state, and the kernel that
boots next is able to use the controller.
This was verified to fix an issue with kexec+gadget on the Chuwi Hi10
Pro HQ64 tablet.
2021-01-03 20:23:44 -05:00
Samuel Dionne-Riel
2d3ba8d21d
boot/init: Add System.delete() to delete files or directories
2021-01-03 20:23:44 -05:00
Samuel Dionne-Riel
805620652b
Merge pull request #271 from samueldr-wip/fix/accidental-puts
...
boot/lib: Remove accidentally left puts
2021-01-02 01:18:37 -05:00
Samuel Dionne-Riel
19ff65e821
boot/lib: Remove accidentally left puts
2021-01-02 00:55:21 -05:00
Samuel Dionne-Riel
e6376850dc
Merge pull request #270 from samueldr-wip/feature/mruby-lvgui-merge
...
Import mruby-lvgui and minor mruby refactor
2021-01-01 21:52:42 -05:00
Samuel Dionne-Riel
6ebe6dd6e6
examples/testing/*: Use .vm
output
2021-01-01 21:37:30 -05:00
Samuel Dionne-Riel
2fefc0ae5b
boot/splash: Fixes for extracted libs
...
And additionally review how it's built.
2021-01-01 21:37:30 -05:00
Samuel Dionne-Riel
dc809d47bd
boot/lib: Import splash components in lvgui
2021-01-01 21:37:30 -05:00
Samuel Dionne-Riel
7cd9acd991
boot/splash: Remove useless var
2021-01-01 21:37:30 -05:00
Samuel Dionne-Riel
966f000c5d
boot/error: Use extracted reboot mode hal
2021-01-01 21:37:30 -05:00
Samuel Dionne-Riel
562ddc1272
boot/recovery-menu: Use extracted reboot mode hal
2021-01-01 21:37:30 -05:00
Samuel Dionne-Riel
50a2a08e09
boot/lib: Extract reboot modes lib
2021-01-01 21:37:30 -05:00
Samuel Dionne-Riel
a12e4314dc
boot/recovery-menu: Use extracted configuration lib
2021-01-01 21:37:30 -05:00
Samuel Dionne-Riel
d0ad7a8a20
boot/init: Use extracted configuration lib
2021-01-01 21:37:30 -05:00
Samuel Dionne-Riel
af9912ef81
boot/lib: Import init configuration lib
2021-01-01 21:37:30 -05:00
Samuel Dionne-Riel
3cde402440
boot/init: Use extracted monkey patches
2021-01-01 21:37:30 -05:00
Samuel Dionne-Riel
e6e4e228a4
boot/lib: Move init monkey patches
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
b50024f29b
boot/error: describe libraries used
2021-01-01 21:37:30 -05:00
Samuel Dionne-Riel
45a4835ebe
boot/recovery-menu: describe libraries used
2021-01-01 21:37:30 -05:00
Samuel Dionne-Riel
bec41be25b
boot/splash: describe libraries used
2021-01-01 21:37:30 -05:00
Samuel Dionne-Riel
6ca59e8cfb
boot/init: Describe specific libraries to include
2021-01-01 21:37:29 -05:00
Samuel Dionne-Riel
abdaa2a4d5
examples/hello: Fixes for script-loader changes
2021-01-01 21:37:29 -05:00
Samuel Dionne-Riel
4b0a275cc1
boot/splash: Fixes for script-loader changes
2021-01-01 21:37:29 -05:00
Samuel Dionne-Riel
74498792ee
boot/recovery-menu: Fixes for script-loader changes
2021-01-01 21:37:29 -05:00
Samuel Dionne-Riel
d18d3615e6
boot/script-loader: Use the mruby-lvgui-native-fragment
2021-01-01 21:37:29 -05:00
Samuel Dionne-Riel
447d8d59e7
boot/script-loader: Add mruby-lvgui-native-fragment
2021-01-01 21:37:29 -05:00
Samuel Dionne-Riel
ffc4a12fa1
boot/lib: Import lvgui ruby implementation
2021-01-01 21:37:29 -05:00
Samuel Dionne-Riel
b88d2565ee
boot/lib: Stash evdev lib in a folder
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
b33afce1a0
boot/init: Re-format mrbc invocation
2021-01-01 21:37:29 -05:00
Samuel Dionne-Riel
f3b51bfafd
mruby-builder: Manage -g
flag for mrbc
2021-01-01 21:37:29 -05:00
Samuel Dionne-Riel
ac315d791f
mruby-lvgui: drop package
2020-12-31 17:06:16 -05:00
Samuel Dionne-Riel
d586952386
Merge pull request #269 from samueldr-wip/fix/regression-kernel-filename
...
fix build failure by providing kernel filename to internal NixOS option
2020-12-31 16:25:51 -05:00
Samuel Dionne-Riel
3487b77503
fix build failure by providing kernel filename to internal NixOS option
...
The update from 29a10085f3
caused the
uncompressed kernel to not be installed anymore into the kernel output.
This meant that building the top-level argument failed as a file assumed
to exist wasn't there anymore.
We now provide the appropriate filename when we know it.
2020-12-31 16:21:38 -05:00