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

158 Commits

Author SHA1 Message Date
Samuel Dionne-Riel
1d8991a3e0 kernel-builder: Handle Exynos dt.img 2021-01-09 16:26:28 -05:00
Samuel Dionne-Riel
c5e86da64c dtbTool-exynos: init at 2020-09-14 2021-01-09 16:26:28 -05:00
Samuel Dionne-Riel
f3b51bfafd mruby-builder: Manage -g flag for mrbc 2021-01-01 21:37:29 -05:00
Samuel Dionne-Riel
ac315d791f mruby-lvgui: drop package 2020-12-31 17:06:16 -05:00
Samuel Dionne-Riel
29a10085f3 kernel-builder: Call either of install or zinstall
It seems that under specific conditions:

 - 2a5 hardware
 - -j22

the call to `make install zinstall` (simplified here) may break, with
the installation of `System.map` happening in a manner where it fails
the build. It was not trivial to reproduce elsewhere than on a 2a5
machine, for unknown reasons.

It was also only observed on google-walleye, but there is no reason is
shouldn't be failing on other devices too.

Odd.
2020-12-31 03:31:04 -05:00
Samuel Dionne-Riel
a14e0244d3 kernel/builder: Fix for non-dtb-based platforms
Like intel-based hardware
2020-12-29 19:21:02 -05:00
Samuel Dionne-Riel
cff021e9ca kernel/builder: Support newer kernel versions
Fixes menuconfig for 5.10 for chuwi hi10 pro
2020-12-29 19:21:02 -05:00
Samuel Dionne-Riel
19d357d48f ufdt-apply-overlay: Init at 2020-12-13 2020-12-27 17:31:08 -05:00
Samuel Dionne-Riel
9102540f5e kernel-builder: Strip another troublesome config
This config currently breaks the build for native aarch64 pinephone
kernel builds, as it does not appear with cross-compilation.
2020-12-25 22:59:45 -05:00
Samuel Dionne-Riel
ead0bf029e mruby-builder: Fix passthru being required for mruby builder 2020-11-29 16:03:33 -05:00
Samuel Dionne-Riel
54a62da803 lvgui: 2020-11-01 -> 2020-11-20 2020-11-22 16:45:25 -05:00
Samuel Dionne-Riel
5467988ca2 lvgui: Provide customized libxkbcommon 2020-11-22 16:45:25 -05:00
Samuel Dionne-Riel
ca0c2fc2b9 mruby-lvgui: Update with latest changes 2020-11-12 23:13:20 -05:00
Samuel Dionne-Riel
bb6a7ddc5f boot/error: Add a tangible derivation
This also allows us to add library files.
2020-11-12 23:13:20 -05:00
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