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

690 Commits

Author SHA1 Message Date
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
7fb0f1846a asus-dumo: kernel 5.3.0 -> 5.5.0
With a less intrusive patch.

I'm thinking that the hs400 values for other gru devices are statistical
outliers, since most rk3399 platform seem to use hs200 for this.
2020-02-03 15:26:24 -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
Samuel Dionne-Riel
87c5c4793c libhybris: Work around a failing test 2019-12-10 13:57:32 -05:00
Samuel Dionne-Riel
d004fb988a libhybris: Allow relying on legacy properties
This is used to get a slimmer libhybris for adbd for stage-1.

The previous behaviour (before 35976c201741cfc21c114615b8524db5367e034a)
was to rely on a "homegrown" system to get properties.

Starting with that new properties system, it will rely on the vendor
libraries, thus requiring all of them, plus the linker, to get
properties.

Turns out, adbd doesn't actively need anything from the vendor libraries
or from the actual propeties system.

So, it's fine to revert the change to get a working libhybris for
stage-1.

Though, what would be even better is to strip out only the minimum
requirements for adbd, and make a "mini hybris" that we can rely on for
adbd.
2019-12-10 00:13:51 -05:00
Samuel Dionne-Riel
49234e9c76 libhybris: 2018-06-18 -> 2019-12-02 2019-12-10 00:13:34 -05:00
Samuel Dionne-Riel
c390bbeb6b
Merge pull request #63 from samueldr-wip/feature/better-demo
Make the demo more useful on a touch device
2019-12-05 23:53:48 -05:00
Samuel Dionne-Riel
b228b71c75 examples/demo: Notifications should not be focusable 2019-12-05 23:51:07 -05:00
Samuel Dionne-Riel
a570821f63 examples/demo: Enable bluetooth 2019-12-05 23:51:07 -05:00
Samuel Dionne-Riel
a4bd557c28 examples/demo: mark some options as defaults 2019-12-05 23:51:07 -05:00
Samuel Dionne-Riel
35aa825b02 examples/demo: tray max icon size fixup
Seems 96px won't work here.
2019-12-05 23:51:07 -05:00
Samuel Dionne-Riel
089aea3eef examples/demo: Add depthcharge output 2019-12-05 23:51:07 -05:00
Samuel Dionne-Riel
34eebc95d6 examples/demo: select the appropriate X11 driver 2019-12-05 23:51:07 -05:00
Samuel Dionne-Riel
07e6c358e3 examples/demo: Make menu touchable area bigger 2019-12-05 23:51:07 -05:00
Samuel Dionne-Riel
2a6a65e018 examples/demo: Use Breeze 2019-12-05 23:51:07 -05:00