Samuel Dionne-Riel
98e2ab907f
Merge pull request #305 from samueldr-wip/feature/lvgui-pan
...
lvgui: "pan" framebuffers
2021-02-23 20:59:51 -05:00
Samuel Dionne-Riel
d82733b13e
Merge pull request #306 from samueldr-wip/fix/armv7l
...
armv7: Misc. fixes
2021-02-23 20:59:28 -05:00
Samuel Dionne-Riel
fb11c6f3fe
boot/script-loader: Strip store path hashes
...
This is required otherwise nuke-refs will destroy the irep.
2021-02-20 17:23:01 -05:00
Samuel Dionne-Riel
072325ce00
boot/script-loader: Fix for new mruby.builder
2021-02-20 17:23:01 -05:00
Samuel Dionne-Riel
441701d215
lvgui: Update native fragment
2021-02-20 16:41:23 -05:00
Samuel Dionne-Riel
32f86364a1
boot/init: Make udev a dependency for the switch root target
...
In some instances, e.g. really slow CPU, udev might not have run, and
libinput will not be able to work appropriately.
That is because uevent files will be missing.
2021-02-20 16:40:38 -05:00
Samuel Dionne-Riel
7332254db2
Merge pull request #298 from MetaDark/fix-libxkbcommon
...
boot/lib/lvgui: fix libxkbcommon after nixpkgs#108004
2021-02-15 17:22:37 -05:00
Samuel Dionne-Riel
f0a7e33767
boot/init: switch root forwards FDT properties as needed
2021-02-11 18:15:34 -05:00
Samuel Dionne-Riel
b667d2298f
boot/init: kexec now uses generation DTB if possible
...
Fixes #264
2021-02-11 18:15:23 -05:00
Samuel Dionne-Riel
2a46962d76
boot/init: Honor skipping kexec
2021-02-11 18:14:30 -05:00
Samuel Dionne-Riel
aea3b46d13
boot/recovery-menu: Add option to skip kexec
...
But why?
Multiple reasons:
- generation kernel does not work as expected
- booting a boot.img with an experimental kernel
I'm sure there's other reasons too.
Fixes #266
2021-02-11 18:14:30 -05:00
Samuel Dionne-Riel
5d50144468
boot/recovery-menu: Pass data around using JSON
2021-02-11 18:14:30 -05:00
Kira Bruneau
7beb26204f
boot/lib/lvgui: fix libxkbcommon after nixpkgs#108004
2021-02-09 17:55:57 -05:00
Samuel Dionne-Riel
225ed39dad
Fix stdenv.lib being removed
...
Deals with https://github.com/NixOS/nixpkgs/pull/111284
2021-02-02 05:51:18 -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
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
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
6e274d86bd
boot/error: Fix by adding missing dependency
2021-01-24 23:36:34 -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
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
2d3ba8d21d
boot/init: Add System.delete() to delete files or directories
2021-01-03 20:23:44 -05:00
Samuel Dionne-Riel
19ff65e821
boot/lib: Remove accidentally left puts
2021-01-02 00:55:21 -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