Samuel Dionne-Riel
594c8eb7dd
motorola-surfna: Enable ADB support
2021-01-27 22:16:55 -05:00
Samuel Dionne-Riel
363f59a279
google-walleye: Enable ADB support
2021-01-27 22:16:55 -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
a96c2b845c
boot/init: Add support for FunctionFS on GadgetFS
...
FunctionFS on GadgetFS requires this to happen in order:
- (1) preparing the gadget
- (2) preparing the function
- (3) mounting the functionfs
- (4) starting the daemon
- (5) enabling the device
Doing any of these steps in the wrong order *will* fail. You cannot
mount functionfs if the function name hasn't been allocated yet. You
cannot start the daemon without functionfs being mounted. You cannot
enable the device without the daemon running on the USB endpoints.
This is why the GadgetFS stuff here *has* to know about mounting the
filesystem and starting the daemon.
In fact, the generic library to be written to handle USB gadget mode
**will** have to have that knowledge!
The added TODOs are to be done when extracting as a standalone library.
2021-01-27 22:16:55 -05:00
Samuel Dionne-Riel
6f6940226a
modules/adb: ADB works just fine on any usb gadget
...
(Though it may require fiddling with udev perms)
2021-01-27 22:16:55 -05:00
Samuel Dionne-Riel
4d7bd722a6
modules/adb: Decouple implementation details
...
The service and mount points are more of an implementation detail of the
GadgetFS handling library and not an implementation detail of the init
library.
In turn, this means that we are decoupling this from the init, follow-up
on the next commit...
2021-01-27 19:09:07 -05:00
Samuel Dionne-Riel
76b5e79ca5
boot/init: Add System.umount()
2021-01-27 19:09:07 -05:00
Samuel Dionne-Riel
5ba41dd963
boot/init: Fix shellOnFail
...
- It was running too late.
- Wasn't actually using `shellOnFail` config
2021-01-27 19:09:07 -05:00
Samuel Dionne-Riel
173ddba0e8
Merge pull request #285 from samueldr-wip/feature/lvgui-january-2021
...
boot: A few updates to LVGUI
2021-01-25 18:46:53 -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
ba2873771d
lvgui: 2020-11-20 -> 2021-01-23
2021-01-25 18:40:54 -05:00
Samuel Dionne-Riel
7a0f906571
boot/lib/lvgui: Add add_select
helper
2021-01-25 18:40:54 -05:00
Samuel Dionne-Riel
919e1b2ab1
boot/lib/lvgui: Better explain event handler in impl.
2021-01-25 18:40:54 -05:00
Samuel Dionne-Riel
0f0625d359
boot/lib/lvgui: Add option selector
...
A bit like a "drop down" select
2021-01-25 18:40:54 -05:00
Samuel Dionne-Riel
6d85c00ce0
boot/lib/lvgui: Add a debug styles helper
...
This way it's easy to just colour an element when visualizing its
metrics.
2021-01-25 18:40:50 -05:00
Samuel Dionne-Riel
562c8ab081
boot/lib/lvgui: Add HorizontalSeparator
2021-01-25 18:40:50 -05:00
Samuel Dionne-Riel
8d4a660526
boot/lib/lvgui: Use dummy object in base window
2021-01-25 18:40:50 -05:00
Samuel Dionne-Riel
e23870f2af
boot/lib/lvgui: Add a dummy object
...
It was found, through some debugging, that we were adding a
non-invisible dummy object for focus group handling. With this change
we have a common dummy object to use for this purpose.
2021-01-25 18:40:50 -05:00
Samuel Dionne-Riel
1b8e5f2844
boot/lib/lvgui: Focus stack push/pop also works for event handlers
2021-01-25 18:40:50 -05:00
Samuel Dionne-Riel
029938e6f1
boot/lib/lvgui: Add focus group "stacks"
...
This probably should not have been added straight onto LVGL bindings,
but that's where they're the easiest to implement safely.
This allows a widget to take control of the focus group, while allowing
the previous content to be re-added properly.
2021-01-25 18:40:50 -05:00
Samuel Dionne-Riel
2c06866f2e
boot/lib/lvgui: Add accessors for built-in layers
2021-01-25 18:40:50 -05:00
Samuel Dionne-Riel
c4eb57f4cf
boot/lib/lvgui: Bind color maths helper
2021-01-25 18:40:50 -05:00
Samuel Dionne-Riel
0c4b3e9580
boot/lib/lvgui: Bind more for scrollable pages
2021-01-25 18:40:50 -05:00
Samuel Dionne-Riel
9aff7f666b
boot/lib/lvgui: Add button style accessors
2021-01-25 18:40:50 -05:00
Samuel Dionne-Riel
7fb3f2b377
boot/lib/lvgui: Add add_switch
helper
2021-01-25 18:40:50 -05:00
Samuel Dionne-Riel
eebb09e790
boot/lib/lvgui: Add BaseUIElements mixin
...
Where more generic one-off helpers will be added
2021-01-25 18:40:50 -05:00
Samuel Dionne-Riel
1cb820a9ac
boot/lib/lvgui: Add SwitchLine control
2021-01-25 18:40:50 -05:00
Samuel Dionne-Riel
99a7262a24
boot/lib/lvgui: Add toggle switch basic bindings
2021-01-25 18:40:50 -05:00
Samuel Dionne-Riel
995f32a30e
boot/lib/lvgui: Add display driver to introspection
2021-01-25 18:40:50 -05:00
Samuel Dionne-Riel
78f6798175
boot/init: Graphics can also mean DRM
2021-01-25 18:40:50 -05:00
Samuel Dionne-Riel
fe77a60ff3
boot/lib/lvgui: Add libdrm
2021-01-25 18:40:50 -05:00
Samuel Dionne-Riel
4ea165c2fb
boot/lib/lvgui: Add libinput
2021-01-25 18:40:50 -05:00
Samuel Dionne-Riel
2145e68e7d
Merge pull request #288 from samueldr-wip/master
...
boot/init: Work around gadget teardown errors
2021-01-25 16:58:52 -05:00
Samuel Dionne-Riel
416714e7fb
Merge pull request #286 from samueldr-wip/fix/error-applet
...
boot/error: Fix error applet
2021-01-25 16:58:12 -05:00
Samuel Dionne-Riel
b2bc8edf9c
Merge pull request #287 from samueldr-wip/fix/initrd-job-control
...
initrd-shell: Fix job control
2021-01-25 16:58:03 -05:00
Samuel Dionne-Riel
edf2e83a20
boot/init: Work around gadget teardown errors
...
Those errors are non-issues.
Tear-down should, anyway, be implemented in a library to be used in
other tools like target disk mode and a stage-2 gadget utility.
2021-01-24 23:38:54 -05:00
Samuel Dionne-Riel
10fc8bc0bb
initrd-shell: Fix job control
2021-01-24 23:38:05 -05:00
Samuel Dionne-Riel
6e274d86bd
boot/error: Fix by adding missing dependency
2021-01-24 23:36:34 -05:00
Samuel Dionne-Riel
1e6ba0019f
Merge pull request #283 from samueldr-wip/device/pine64-pinephone/uboot-2021.01
...
pine64-pinephone: u-boot: 2020.07 -> 2021.01
2021-01-13 15:47:35 -05:00
Samuel Dionne-Riel
4b76340369
pine64-pinephone: u-boot: 2020.07 -> 2021.01
...
Also refresh patches; compared to the pine64 community tree.
All patches were identified and now fetched from their upstream sources.
Except for the few pine64-specific patches, now fetched from the pine64
org repo.
2021-01-12 23:59:49 -05:00
Samuel Dionne-Riel
f61c619896
Merge pull request #282 from samueldr-wip/feature/site-news-page
...
doc: Add support for a news archive page
2021-01-11 20:39:22 -05:00