1
1
mirror of https://github.com/NixOS/mobile-nixos.git synced 2024-12-17 21:11:34 +03:00
Commit Graph

144 Commits

Author SHA1 Message Date
Samuel Dionne-Riel
f66c31fd7e mrbgems: mruby-lvgui: Update with latest changes 2020-11-07 18:26:47 -05:00
Samuel Dionne-Riel
8a47b7913b mkExtraUtils: Allow specifying specific binaries 2020-11-07 18:26:47 -05:00
Samuel Dionne-Riel
95b1c7b2bb boot/splash: Fix build as it is now a proper applet 2020-11-06 16:30:22 -05:00
Samuel Dionne-Riel
d6982bb82b mruby-lvgui: Update bindings and implementation to latest version 2020-10-27 15:23:40 -04:00
Samuel Dionne-Riel
a779e28e49 mruby-builder: Fix double error messages print in stub 2020-10-27 15:23:40 -04:00
Samuel Dionne-Riel
fb4984cb90 s/boot-gui/boot-recovery-menu/g
The applet is specifically written to show what we call the "recovery
menu". Yes, it's also the boot selection, but it will get confusing with
the upcoming boot tracking splash UI that's upcoming.
2020-10-27 15:23:40 -04:00
Samuel Dionne-Riel
2b57dd33e3 mrbgems: Add mruby-zmq 2020-10-27 15:23:40 -04:00
Samuel Dionne-Riel
efd31433ba mrbgems: Add mruby-simplemsgpack 2020-10-27 15:23:40 -04:00
Samuel Dionne-Riel
0a458bfcde mrbgems: Add mruby-proc-irep-ext 2020-10-27 15:23:40 -04:00
Samuel Dionne-Riel
05d7446384 mrbgems: Add mruby-pack 2020-10-27 15:23:40 -04:00
Samuel Dionne-Riel
a91e6196a5 mrbgems: Add mruby-process-clock_gettime 2020-10-27 15:23:40 -04:00
Samuel Dionne-Riel
42f6f54a9d mruby-lvgui: update with latest changes to battery HAL 2020-10-18 16:27:36 -04:00
Samuel Dionne-Riel
c2e6b8ca5a
Merge pull request #217 from samueldr-wip/fix/kernel-builder-double-compilation
kernel-builder: Work around kernels getting compiled two times
2020-10-04 16:19:40 -04:00
Samuel Dionne-Riel
371e725795 kernel-builder: make enableParallelBuilding configurable 2020-10-04 03:25:08 -04:00
Samuel Dionne-Riel
0dc9f84afc kernel-builder: Work around kernels getting compiled two times
It looks like this is not a regression from the latest changes to the
kernel builder. Testing on top of ffdba8fecb
exhibits the same issue.

This change works around the issue by doing it with one invocation of
`make`, rather than doing it twice.

It has not been figured out at which exact version of the kernel this
stops being an issue, and if it is an issue from mainline Linux
outright, or something that came from Android-specific modifications.

Though it has been verified that for 3.18, both Qualcomm and Mediatek
source trees exhibit the same issue.

Fixes #216
2020-10-04 01:10:27 -04:00
Samuel Dionne-Riel
71338543f1 mobile-nixos.autoport: Init at 0.0.1 2020-10-02 22:50:25 -04:00
Samuel Dionne-Riel
9210f716d3 overlay: Dropped now unused defaultKernelPatches 2020-10-02 19:49:12 -04:00
Samuel Dionne-Riel
e8cd8a95cc kernel-builder: minor fixups 2020-10-02 19:06:02 -04:00
Samuel Dionne-Riel
9bac03b2f3 kernel-builder: Encapsulate compressed images and dtb appended images 2020-10-02 03:27:49 -04:00
Samuel Dionne-Riel
1889893a43 kernel-builder: implement QCDT configuration in the builder 2020-10-02 03:27:49 -04:00
Samuel Dionne-Riel
62fe1409c6 kernel-builder: Rework its ergonomics 2020-10-02 03:27:49 -04:00
Samuel Dionne-Riel
387ce84721 kernel-builder: Add nativeBuildInputs as a parameter
This is a temporary measure. The last changes have proven that we can't
just overrideAttrs things willy-nilly like that, and that the whole
builder is in need of a revamp.

Let's wait for the revamp, and do the minimum work required to fix the
normalization for existing builds.
2020-09-30 02:11:47 -04:00
Samuel Dionne-Riel
4060dd5af5 kernel-builder: Implement kernel normalization as a nix build
This uses the actual output expected by the build, rather than hoping
menuconfig gives the same result.

For kernels prior to 5.8 it wasn't an issue.

Starting with 5.8 the build environment will influence the actual
configuration used.

We're stripping some information when comparing.

The exact TEXT_VERSION string will change according to whether it's a
native or cross compilation.

Finally, minor version bumps are not relevant here.
2020-09-30 02:11:47 -04:00
Samuel Dionne-Riel
c708340e8e kernel-builder: Fix correctness with makeFlags and menuconfig 2020-09-29 20:46:14 -04:00
Samuel Dionne-Riel
5b14ef0650 kernel-builder: Prepend diff on normalization error 2020-09-29 20:40:20 -04:00
Samuel Dionne-Riel
e0834f7ee9 kernel-builder: Force configuration to be normalized 2020-09-27 22:03:29 -04:00
Samuel Dionne-Riel
af98ded034
Merge pull request #189 from samueldr-wip/feature/periodic-gui-refresh
Updates for the boot GUI
2020-07-27 23:26:05 -04:00
Samuel Dionne-Riel
6a16d3aad7 mruby-lvgui: Update to latest version 2020-07-25 21:56:50 -04:00
Samuel Dionne-Riel
e34ecbf29b lvgui: 2020-07-02 -> 2020-07-25 2020-07-25 21:56:50 -04:00
Samuel Dionne-Riel
739aeaa05a mruby-lvgui: Use the proper pkg-config 2020-07-23 18:09:06 -04:00
Samuel Dionne-Riel
f47f74499d kernel-builder/menuconfig: Use pkg-config wrapper
This works around an issue with upstream Nixpkgs and the way pkg-config
is now (admitedly rightly so) prefixed.

In actuality, the kernel build should be fixed upstream, but this would
be a non-trivial thing to get into the kernel.
2020-07-16 20:23:02 -04:00
Samuel Dionne-Riel
e7426cc3bb
Merge pull request #175 from samueldr-wip/device/asus-x018d
device: add asus-x018d
2020-07-05 22:31:35 -04:00
Samuel Dionne-Riel
ab53f09061 mruby-lvgui: 2020-02-05 -> 2020-07-02
This update knows about $PKG_CONFIG
2020-07-02 21:03:38 -04:00
Samuel Dionne-Riel
8c98bf6c9c mruby: Work around pkg-config cross-compilation changes
This will be fixed more appropriately once work on integrating the
upcoming build-system changes for 2.2 is done. With an upstream patch.
2020-07-02 21:03:38 -04:00
Samuel Dionne-Riel
6554371388 msm-fb-handle: Drop workaround 2020-06-28 23:54:14 -04:00
Samuel Dionne-Riel
322fdb9847
Merge pull request #171 from samueldr-wip/device/xiaomi-begonia
device: add xiaomi-begonia
2020-06-28 23:53:07 -04:00
adisbladis
04ae1487e9
mruby: 2.1.0 -> 2.1.1 2020-06-26 12:55:52 +02:00
adisbladis
f3bde61126
mruby: Fix bison 3.6 compatibility 2020-06-26 12:55:27 +02:00
Samuel Dionne-Riel
0dab276c3f kernel-builder: Add kernel-builder-clang_9 2020-06-26 01:17:41 -04:00
Samuel Dionne-Riel
5b5cf641f8 mkbootimg: 2019.04.13 -> 2020.05.18
This is needed to produce boot images that will not brick some MTK
devices, namely xiaomi-begonia.
2020-06-26 01:17:41 -04:00
Samuel Dionne-Riel
9de525b8a2 mruby-os: Fix native ARM build
Well, the build wasn't good either with cross, but no tests ran, so it
wasn't caught.
2020-06-11 22:07:43 -04:00
Samuel Dionne-Riel
d617424ded boot/gui: review build with a proper derivation
Then, the simulator is re-tooled to use it, and the new wrapper thingy.
2020-05-31 18:54:07 -04:00
Samuel Dionne-Riel
94981be08f stage-1: Package up script loader in overlay
It will end up re-used soon.
2020-05-31 18:54:07 -04:00
Samuel Dionne-Riel
31dbeb2599 mruby-builder: Pass passthru through 2020-05-31 18:54:07 -04:00
Samuel Dionne-Riel
e5360ea54f mruby-lvgui: Update to latest version 2020-05-31 18:54:07 -04:00
Samuel Dionne-Riel
cebc037590 boot/gui: Update mruby-lvgui to the fiddle-enabled one 2020-05-23 01:56:00 -04:00
Samuel Dionne-Riel
199201df98 mruby-lvgui: update lvgui version
Main changes are:

 * Dynamic build support
 * Minimal introspection
 * "better" makefile which handles the .pc file
2020-05-23 01:56:00 -04:00
Samuel Dionne-Riel
db10391e13 mruby: Use all gems, and not only direct depdencies
Otherwise we lose dependency management on transitive dependencies.
2020-05-19 23:29:38 -04:00
Samuel Dionne-Riel
d89521ab98 mrbgems: Add mruby-fiddle
Bindings to libffi, with (approximatively) the same API as the Ruby
Fiddle stdlib.

This uses a fork with fixes, and hopefully improvements and
maintainership in the future.
2020-05-18 22:44:56 -04:00
Samuel Dionne-Riel
74611efdcd mruby: Builder re-uses buildInputs from its mruby...
Thus re-using buildInputs from gems, thus closing the circle.
2020-05-18 22:44:04 -04:00