1
1
mirror of https://github.com/NixOS/mobile-nixos.git synced 2024-12-18 21:41:53 +03:00
Commit Graph

452 Commits

Author SHA1 Message Date
Samuel Dionne-Riel
5208741f3c boot/init: Fix pretty printing shelled out commands 2020-02-03 16:19:10 -05:00
Samuel Dionne-Riel
293d949648 boot/init: Print mkdir_p for debug 2020-02-03 16:19:10 -05:00
Samuel Dionne-Riel
9f416471f7 boot/init: Add udevd task 2020-02-03 16:19:10 -05:00
Samuel Dionne-Riel
4d0c1218f0 boot/init: Guard against global environment pollution 2020-02-03 16:19:10 -05:00
Samuel Dionne-Riel
d4123fd3e2 boot/init: Allows a task to depend on a specific instance of Task 2020-02-03 16:19:10 -05:00
Samuel Dionne-Riel
b3e1f2dbac boot/init: Import all tasks, yet allow adding tasks 2020-02-03 16:19:10 -05:00
Samuel Dionne-Riel
df8cafe832 boot/init: Better tracing in dependencies 2020-02-03 16:19:10 -05:00
Samuel Dionne-Riel
2a366b2cae initrd: Allow redirecting output to /dev/kmsg
Though this is a bit buggy and less than ideal.

A better solution would be a custom wrapper that only handles
redirecting. This is, anyway, something that would be required to
redirect all logging to all consoles.
2020-02-03 16:19:10 -05:00
Samuel Dionne-Riel
cbd31a49ce initrd: Allows wrapping init with strace
That wrapper script may be used with other helpers in the future.
2020-02-03 16:19:10 -05:00
Samuel Dionne-Riel
60a92acbe8 boot/init: Continuously improving POC 2020-02-03 16:19:10 -05:00
Samuel Dionne-Riel
39d44bf64c boot/init: Continuing extremly POC 2020-02-03 16:19:10 -05:00
Samuel Dionne-Riel
9d9700cbaf boot/init: Build interpreter with more gems 2020-02-03 16:19:10 -05:00
Samuel Dionne-Riel
8f01d54b25 boot/init: Load all libraries 2020-02-03 16:19:10 -05:00
Samuel Dionne-Riel
6f25c1ee3b boot/init: Import ruby shellwords 2020-02-03 16:19:10 -05:00
Samuel Dionne-Riel
e48bc514c6 init: Extremely WIP POC 2020-02-03 16:19:10 -05:00
Samuel Dionne-Riel
228df26d6c initrd: Refactors module for new init
New init coming in a separate commit
2020-02-03 16:19:10 -05:00
Samuel Dionne-Riel
1e21263c7e mkbootimg: Fix build with compiler updates 2020-02-03 16:19:10 -05:00
Samuel Dionne-Riel
3dacbdeb26 mrbgems: Cleanup + licenses 2020-02-03 16:19:10 -05:00
Samuel Dionne-Riel
18ab51c6b9 mrbgems: Remove dead code 2020-02-03 16:19:10 -05:00
Samuel Dionne-Riel
deb42937dc mrbgems: Fixup mruby-file-stat test failures 2020-02-03 16:19:10 -05:00
Samuel Dionne-Riel
d0829910f8 mrbgems: Make mruby-file-stat cross-compile
It relied on running ./configure but didn't know about our Nixpkgs
specifics.

This is not an upstream-worthy fix.
2020-02-03 16:19:10 -05:00
Samuel Dionne-Riel
61b7a9237c mrbgems: Add mruby-singleton 2020-02-03 16:19:10 -05:00
Samuel Dionne-Riel
0a37f6b2e9 mrbgems: Add more gems 2020-02-03 16:19:10 -05:00
Samuel Dionne-Riel
e5aa1ad3c6 overlay: Import mruby 2020-02-03 16:19:10 -05:00
Samuel Dionne-Riel
6f8a8ee208 mruby-builder: Import mruby-builder
This overlay allows building bespoke binaries using mruby with a
custom-made builder.

This may evolve a bit with *actual* use.
2020-02-03 16:19:10 -05:00
Samuel Dionne-Riel
37863126cd xiaomi-lavender: Specify gadgetfs 2020-01-25 19:42:48 -05:00
Samuel Dionne-Riel
c25f89051c xiaomi-lavender: Document required USB configurations. 2020-01-25 19:42:48 -05:00
Samuel Dionne-Riel
dc91d1bca7 oneplus-oneplus3: Document USB settings 2020-01-25 19:42:48 -05:00
Samuel Dionne-Riel
c0497d2d84 motorola-addison: Document USB settings 2020-01-25 19:42:48 -05:00
Samuel Dionne-Riel
ba1a8e2469 motorola-addison: Re-enable disabled modules to fix usb gadget
The android_usb driver somehow doesn't fail to build even though those
drivers are required to be enabled for the driver to work. Sigh.
2020-01-25 19:42:48 -05:00
Samuel Dionne-Riel
0b39a66569 google-walleye: Specify gadgetfs 2020-01-25 19:42:48 -05:00
Samuel Dionne-Riel
5794555feb google-walleye: Create README with notes 2020-01-25 19:42:48 -05:00
Samuel Dionne-Riel
84fe395240 google-walleye: Document vendor partition 2020-01-25 19:42:48 -05:00
Samuel Dionne-Riel
4c893c62a0 google-walleye: Document gadgetfs function names 2020-01-25 19:42:48 -05:00
Samuel Dionne-Riel
155e4b4471 google-walleye: Document use of A/B scheme 2020-01-25 19:42:48 -05:00
Samuel Dionne-Riel
59b2d468e8 google-walleye: Set USB product/vendor IDs 2020-01-25 19:42:48 -05:00
Samuel Dionne-Riel
c1e6d1333d google-walleye: kernel 4.4.201 => 4.4.208 2020-01-25 19:42:48 -05:00
Samuel Dionne-Riel
3a50138d0b google-marlin: Configure USB mode and identifiers 2020-01-25 19:42:48 -05:00
Samuel Dionne-Riel
9f3d88f221 asus-z00t: Specify android_usb 2020-01-25 19:02:52 -05:00
Samuel Dionne-Riel
dc09f07063 asus-z00t: Document USB identifiers 2020-01-25 19:02:52 -05:00
Samuel Dionne-Riel
a018c48329 asus-dumo: Add hack to rebind the SDHCI driver
This is better than simply relyin on a crash/reboot cycle.
2020-01-25 19:02:52 -05:00
Samuel Dionne-Riel
5abd837848
Merge pull request #68 from samueldr-wip/feature/hardshutdown
Fix shutdown/reboot in stage-1
2020-01-11 15:10:42 -05:00
Samuel Dionne-Riel
104c09a8a7 initrd-base: Use hardshutdown 2020-01-10 00:46:11 -05:00
Samuel Dionne-Riel
27fe769fcc hardshutdown: init at 0.0.1 2020-01-10 00:46:02 -05:00
Samuel Dionne-Riel
5fa2110c7b hard-{shutdown,reboot}: remove
This will be replaced with a better utility.
2020-01-10 00:45:39 -05:00
Samuel Dionne-Riel
7803d9ec0e
Merge pull request #67 from samueldr-wip/fix/google-walleye-framebuffer
google-walleye: Fix early framebuffer
2019-12-28 17:39:05 -05:00
Samuel Dionne-Riel
f5ee476645 google-walleye: Fix early framebuffer
It looks like *not* having `quiet` in the kernel cmdline somehow makes
the early init of the framebuffer fail.

I don't know the exact difference, but lowering loglevel rather than
using quiet doesn't work here.

In addition, this changes
2019-12-27 17:11:41 -05:00
Samuel Dionne-Riel
49e725c868 google-walleye: Split-up cmdline 2019-12-27 17:11:35 -05:00
Samuel Dionne-Riel
774dabfbfd
Merge pull request #65 from samueldr-wip/feature/libhybris/update
libhybris: 2018-06-18 -> 2019-12-02
2019-12-10 13:58:20 -05:00
Samuel Dionne-Riel
920e4991ca adbd: Use legacy properties with hybris 2019-12-10 13:57:32 -05:00