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

624 Commits

Author SHA1 Message Date
Samuel Dionne-Riel
a083acef55 boot/gui: Use newly split script loader in simulator 2020-03-01 23:27:56 -05:00
Samuel Dionne-Riel
12c9d29f58 boot/init: Use the newly split script-loader 2020-03-01 23:27:56 -05:00
Samuel Dionne-Riel
11897bcdb6 boot/script-loader: Split into its distinct package 2020-03-01 22:21:31 -05:00
Samuel Dionne-Riel
8594a19538 boot/gui: Use the loader's mruby build
It doesn't change the mrbc end-result.
2020-03-01 22:02:45 -05:00
Samuel Dionne-Riel
fe6d03701d mruby-builder: Pass through the mruby build 2020-03-01 22:02:27 -05:00
Samuel Dionne-Riel
e1e1333669 boot/gui: Workaround unexplained issue
It seems that `mruby-time-strftime` here is causing the garbage
collector to fail in strange ways *only* in the simulator.

It's all fine in QEMU and on hardware.
2020-03-01 22:02:19 -05:00
Samuel Dionne-Riel
76313cff6f doc: Document launching the simulator 2020-03-01 17:33:25 -05:00
Samuel Dionne-Riel
804182854a boot/gui: Properly dry run commands on simulator 2020-03-01 17:29:30 -05:00
Samuel Dionne-Riel
660804cdf7 boot-gui-simulator: init package 2020-03-01 17:28:50 -05:00
Samuel Dionne-Riel
d6001ae0f6 mruby-lvgui: Fix build with simulator 2020-03-01 17:28:16 -05:00
Samuel Dionne-Riel
5e88e7efcf boot/gui: Allow running without generations file
This should *maybe* remove the Generations tab, as it's empty.
2020-03-01 16:58:39 -05:00
Samuel Dionne-Riel
ac95c64c92 boot/gui: Fix bad arguments handling for simulator 2020-03-01 16:58:07 -05:00
Samuel Dionne-Riel
b2779589f1
Merge pull request #80 from samueldr-wip/feature/boot-selection-gui
Graphical boot selection
2020-02-29 19:56:54 -05:00
Samuel Dionne-Riel
e7e28fa8d1 doc: Add some in-depth notes about booting on android devices 2020-02-29 17:39:29 -05:00
Samuel Dionne-Riel
721e34b69a doc: Add notes about the boot process and generations selection 2020-02-29 17:37:32 -05:00
Samuel Dionne-Riel
20f2cbcc56 init: Interrupt boot when some keys are held. 2020-02-29 16:10:00 -05:00
Samuel Dionne-Riel
2b2d2ad7ea boot/applets: Add key-held utility 2020-02-29 16:10:00 -05:00
Samuel Dionne-Riel
a4a22e521b asus-dumo: review kernel command line 2020-02-29 16:10:00 -05:00
Samuel Dionne-Riel
100e1d7458 qemu-x86_64: review kernel command line 2020-02-29 16:10:00 -05:00
Samuel Dionne-Riel
a208267763 xiaomi-lavender: configure boot_as_recovery 2020-02-29 16:10:00 -05:00
Samuel Dionne-Riel
b89ece26f5 google-walleye: configure boot_as_recovery 2020-02-29 16:10:00 -05:00
Samuel Dionne-Riel
e326b38b4b system-types/android: Output recovery.img
That recovery image unconditionally assumes it's running as recovery
2020-02-29 16:10:00 -05:00
Samuel Dionne-Riel
2307732302 kernel-initrd: Fix name 2020-02-29 16:10:00 -05:00
Samuel Dionne-Riel
cbad4a787e bootimg: Allow naming boot image
It can be a recovery image after all!
2020-02-29 16:10:00 -05:00
Samuel Dionne-Riel
3acc3ee63d initrd: Add boot_as_recovery to config 2020-02-29 16:10:00 -05:00
Samuel Dionne-Riel
d79466747d boot/init: Launch boot GUI when asked 2020-02-29 16:10:00 -05:00
Samuel Dionne-Riel
cab9a214b2 initrd-boot-gui: Add to initrd 2020-02-28 23:14:09 -05:00
Samuel Dionne-Riel
584c484d0c boot/gui: Init boot GUI 2020-02-28 23:14:09 -05:00
Samuel Dionne-Riel
3b9d04d3bd stage-1: workaround issue with e2fsck successfully failing 2020-02-28 23:14:09 -05:00
Samuel Dionne-Riel
26b4215547 boot/init: Add newly required dependencies 2020-02-28 23:14:09 -05:00
Samuel Dionne-Riel
c487e0d7d3 initrd: Implement split loader/script 2020-02-28 23:14:09 -05:00
Samuel Dionne-Riel
68e4c2b7f3 boot/init: Split interpreter from script
This needs the following commits where the init script will now tell the
loader to load init.mrb
2020-02-28 23:14:09 -05:00
Samuel Dionne-Riel
c21496adaa Add white logo for boot menu 2020-02-28 23:14:09 -05:00
Samuel Dionne-Riel
8bb0ba8bc4 qualcomm: Rely on refresher, lvgl does not play well with handle. 2020-02-28 23:14:09 -05:00
Samuel Dionne-Riel
637c8a019d mrbgems: Add mruby-inotify 2020-02-28 23:14:09 -05:00
Samuel Dionne-Riel
85ae42266f mrbgems: Add mruby-lvgui 2020-02-28 23:14:09 -05:00
Samuel Dionne-Riel
5f2ac45740 mrbgems: Allow paths as src
Useful for development purposes, mainly.
2020-02-28 23:14:09 -05:00
Samuel Dionne-Riel
0f30176e75 mrbgems: export mkGem 2020-02-28 23:14:09 -05:00
Samuel Dionne-Riel
89024424de mrbgems: work around issue with mruby-require and musl libc
See the patch for more context.
2020-02-28 23:14:09 -05:00
Samuel Dionne-Riel
0194fc8e76 mrbgems: fix mruby-dir-glob dependency 2020-02-28 23:14:09 -05:00
Samuel Dionne-Riel
2d52a54e65 mrbgems: add mruby-time-strftime 2020-02-28 23:14:09 -05:00
Samuel Dionne-Riel
67cbe055fc mruby-file-stat: disable bogus test 2020-02-28 23:14:09 -05:00
Samuel Dionne-Riel
c86dd4aa49 mrbgems: don't run patch hooks twice 2020-02-28 23:14:09 -05:00
Samuel Dionne-Riel
6dcde0b081 mrbgems: Fix issue with accidentally triggered phase 2020-02-28 23:14:09 -05:00
Samuel Dionne-Riel
eed5f36e8f mruby: Builder now uses saved flags 2020-02-28 23:14:09 -05:00
Samuel Dionne-Riel
cc0561b040 mruby: change order gems are collected
This ensures no dependencies for a gem end up after `mruby-require`.
This is important since anything after `mruby-require` is implicitly
built as a shared library.
2020-02-28 23:14:09 -05:00
Samuel Dionne-Riel
3631ed1882 mruby: Allow gems to define native build inputs 2020-02-28 23:14:09 -05:00
Samuel Dionne-Riel
97c333b160 mruby: Save linker flags for future re-use
This will be used by `makeBin` so that using mrbgems requiring external
dependencies stays ergonomic.
2020-02-28 23:14:09 -05:00
Samuel Dionne-Riel
7eeee77f71 mruby-builder: stub handles ARGV and PROGRAM_NAME 2020-02-28 23:14:09 -05:00
Samuel Dionne-Riel
47d0914a49 mruby-builder: Move stub.c to a discrete file 2020-02-28 23:14:09 -05:00