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

1042 Commits

Author SHA1 Message Date
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
Samuel Dionne-Riel
8e57a91279 mruby-builder: Make use of those cores 2020-02-28 23:14:09 -05:00
Samuel Dionne-Riel
1a60911898 documentation: Fix UTF-8 parsing
When not having glibcLocales, nor a proper LANG set, asciidoctor would
work in US-ASCII.
2020-02-04 17:18:43 -05:00
Samuel Dionne-Riel
8ee49d935d
Merge pull request #66 from samueldr-wip/feature/new-init
Completely bespoke stage-1 init, shell-free
2020-02-03 22:44:23 -05:00
Samuel Dionne-Riel
95016e1250 boot/init: Add autoResize support 2020-02-03 21:58:22 -05:00
Samuel Dionne-Riel
df1313d276 rootfs: Add e2fsprogs 2020-02-03 21:58:22 -05:00
Samuel Dionne-Riel
7e9a7875ac boot/init: Mark as 0.1 2020-02-03 21:58:22 -05:00
Samuel Dionne-Riel
8399cfa5a8 demo: Expose build attribute 2020-02-03 21:58:22 -05:00
Samuel Dionne-Riel
06dbca4706 xiaomi-tissot: Enable CONFIG_DEVPTS_MULTIPLE_INSTANCES 2020-02-03 21:58:22 -05:00
Samuel Dionne-Riel
c02373d322 xiaomi-lavender: Enable CONFIG_DEVPTS_MULTIPLE_INSTANCES 2020-02-03 21:58:22 -05:00
Samuel Dionne-Riel
54f8799520 oneplus-oneplus3: Enable CONFIG_DEVPTS_MULTIPLE_INSTANCES 2020-02-03 21:58:22 -05:00
Samuel Dionne-Riel
9542050705 motorola-addison: Enable CONFIG_DEVPTS_MULTIPLE_INSTANCES 2020-02-03 21:58:22 -05:00
Samuel Dionne-Riel
1c87211c89 google-walleye: Enable CONFIG_DEVPTS_MULTIPLE_INSTANCES 2020-02-03 21:58:21 -05:00
Samuel Dionne-Riel
3394658150 google-marlin: Enable CONFIG_DEVPTS_MULTIPLE_INSTANCES 2020-02-03 21:58:21 -05:00
Samuel Dionne-Riel
aaf540011b asus-z00t: Enable CONFIG_DEVPTS_MULTIPLE_INSTANCES 2020-02-03 21:58:21 -05:00
Samuel Dionne-Riel
6c3cfccf16 asus-flo: Enable CONFIG_DEVPTS_MULTIPLE_INSTANCES 2020-02-03 21:58:21 -05:00
Samuel Dionne-Riel
c4f76db65f boot/init: Handle remounting existing mounts
This is used to ensure mount points are mounted with the right options,
if for some reason they were already mounted.

Reasons they could be mounted? They could have been required for things
like logging the boot.
2020-02-03 21:58:21 -05:00
Samuel Dionne-Riel
7dd8408dd9 initrd: Fix early logging
We're now starting `bootlogd` first thing, this in turn allows it to
capture all logs. Though, this does mean that `sh` is back in the
critical path of the system. Anyway, it was never exactly out.
2020-02-03 21:58:21 -05:00
Samuel Dionne-Riel
8f8728b46a
Merge pull request #76 from samueldr-wip/devices/asus-dumo/kernel-5.5.0
asus-dumo: kernel 5.3.0 -> 5.5.0
2020-02-03 16:25:22 -05:00
Samuel Dionne-Riel
a53f7cf463 initrd: Expose extraUtils 2020-02-03 16:19:10 -05:00
Samuel Dionne-Riel
290d2ff757 initrd: Fix strace packaging 2020-02-03 16:19:10 -05:00
Samuel Dionne-Riel
bcda887e7a initrd-usb: ffs -> adb for ADB
It looks like it didn't matter for some device, but may be an issue for
`google-marlin`.

I'm not sure where the `ffs` feature name came from.
2020-02-03 16:19:10 -05:00
Samuel Dionne-Riel
53413080cc initrd-usb: Follow AOSP init order more closely
This is part of what may be required to fix ADB on google-marlin.
2020-02-03 16:19:10 -05:00
Samuel Dionne-Riel
3c2c24a832 docs: Document brown sad phone 2020-02-03 16:19:10 -05:00
Samuel Dionne-Riel
8962b595f5 boot/init: brown sad phone on main failure 2020-02-03 16:19:10 -05:00
Samuel Dionne-Riel
57a7de2610 initrd-usb: Only enable when a mode is available 2020-02-03 16:19:10 -05:00
Samuel Dionne-Riel
d349e66554 boot/init: Use System#shell if available on failure
When it is available, it is assumed it is okay to use.
2020-02-03 16:19:10 -05:00
Samuel Dionne-Riel
bdd234fc0e initrd-shell: Allows using a shell on failure...
This needs to be plugged into the init via duck-typing.
2020-02-03 16:19:10 -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