Samuel Dionne-Riel
a29fbde4a1
Merge pull request #345 from Mindavi/feature/cross-compilation-fixes
...
dtbTool-exynos + mkbootimg: support cross-compilation
2021-04-29 17:58:40 -04:00
Samuel Dionne-Riel
e631e80f83
autoport: 0.0.1 -> 0.0.2
...
Mainly fixes issue with the original host being taken down. (For
unrelated reasons.)
2021-04-29 14:51:33 -04:00
Rick van Schijndel
87f58359a8
dtbtool-exynos: support cross-compilation
2021-04-19 20:54:21 +02:00
Rick van Schijndel
f88dbbb978
mkbootimg: support cross-compilation
2021-04-19 20:49:18 +02:00
Samuel Dionne-Riel
bb375bd177
cross-canary: Verifies static binaries are built
2021-03-07 17:52:21 -05:00
Samuel Dionne-Riel
72ddfee51a
cross-canary: Add x86_64 emulator
...
This is used to run the cross canaries on aarch64-linux host!
2021-03-07 17:52:21 -05:00
Samuel Dionne-Riel
e58dde09d5
cross-canary: runtimeShell is not expected to cross-compile for now
2021-03-07 17:52:21 -05:00
Samuel Dionne-Riel
8431c72373
cross-canary: misc cleanup
2021-03-07 17:52:21 -05:00
Samuel Dionne-Riel
264fd8dc89
cross-canary: mruby -> hello-mruby
2021-03-07 17:52:21 -05:00
Samuel Dionne-Riel
e0ec5cee54
cross-canary: Test the stage-1 script-loader
2021-03-07 17:52:21 -05:00
Samuel Dionne-Riel
d0a26ebfa6
cross-canary: Review for static builds
2021-03-07 17:52:21 -05:00
Samuel Dionne-Riel
3ca606f27d
cross-canary: Also test static packages
2021-03-07 17:52:21 -05:00
Samuel Dionne-Riel
9dd5d7e79b
cross-canary: Add static mruby test
2021-03-07 17:52:21 -05:00
Samuel Dionne-Riel
db8e7eb0aa
cross-canary: Add simple test to validate cross work
...
At least, to a basic level.
2021-03-07 17:52:18 -05:00
Samuel Dionne-Riel
a9d3769cc3
mruby: use the right rake to build
...
The wrapper for bundlerApp, starting with
e8993319724901f132dd4ed997f5383c4a482940 in Nixpkgs ends up using the
runtimeShell for the target platform. Yes, with buildPackages.
This forces an mruby that is more appropriate, rather than rely on
buildPackages.
It may look like it works for aarch64 without this patch, but this is
only because for pkgsStatic+aarch64 cross-compiles fine.
2021-03-07 17:52:04 -05:00
Samuel Dionne-Riel
024b5344e1
overlay: Add missing make-flashable-zip
.
...
This was broken in a hastily done rebase :/
2021-03-01 00:05:16 -05:00
Samuel Dionne-Riel
280d872897
make-flashable-zip: Add to overlay
...
There is no reason to stow this in the system-type module. Other than
making it harder for external uses.
2021-02-28 15:53:12 -05:00
Samuel Dionne-Riel
939dd6e9dc
android-flashable-zip-binaries: Always build static
2021-02-28 15:53:12 -05:00
Samuel Dionne-Riel
595f0aa43b
android-flashable-zip-binaries: Update progress while flashing
2021-02-28 15:53:12 -05:00
Samuel Dionne-Riel
1c0c7b1911
android-flashable-zip-binaries: Support A/B scheme
2021-02-28 15:53:12 -05:00
Samuel Dionne-Riel
29811f1016
android-flashable-zip-binaries: Init
...
This package provides a unique binary per architecture, which can load
an additional script from the flashable zip.
This way, one "expensive" (not really) build of mruby+script is shared
for the whole architecture.
2021-02-28 15:53:12 -05:00
Samuel Dionne-Riel
b88db753de
mrbgems: Update mruby-open3
...
Includes a PR authored by myself.
2021-02-28 00:18:53 -05:00
Samuel Dionne-Riel
0ba16522e3
mrbgems: Init mruby-tempfile
2021-02-28 00:18:53 -05:00
Samuel Dionne-Riel
6d6b082793
mruby-builder: Fix pkg-config helper build
...
Woopsie, we were creating a script for the target!!
2021-02-28 00:18:53 -05:00
Samuel Dionne-Riel
0012ba11fc
mruby-builder: Use given nativeBuildInputs
2021-02-26 21:52:57 -05:00
Samuel Dionne-Riel
056fc26e2d
mruby: Add patch to strip store paths in debug info
...
This fixes backtraces in stage-1!
2021-02-20 17:23:01 -05:00
Samuel Dionne-Riel
cc591aef6d
mruby: Review how mruby.builder
is made
...
Using `.override` inside the builder leads to `.override` outside being
ignored, as the `mruby` used would be whatever was last given to the
passthru `builder`'s own overrides or callPackages.
This breaks current calls to `mruby.builder` when `gems` was given.
Though since it breaks noisily, it won't silently ignore your gems.
2021-02-20 17:23:01 -05:00
Samuel Dionne-Riel
21e86e233f
mruby: Fix mrbc wrapper for debug info
...
The postInstall hook was never ran... D'oh!
2021-02-20 17:23:01 -05:00
Samuel Dionne-Riel
1b8f27468b
mrbgems: mruby-fiddle: Update to latest version, fixing armv7
2021-02-20 17:23:01 -05:00
Samuel Dionne-Riel
ad8a966d22
mrbgems: Update mruby-regexp-pcre
...
Additionally add a required patch for armv7 and 64 bit mrb_ints
2021-02-20 17:23:01 -05:00
Samuel Dionne-Riel
75b118563d
mruby: Force 64 bit integers
...
This might seem weird at first, but is totally needed. We have 48 bit
integers we need to handle, RGBA colours.
AFAICT full-blown Ruby would automatically handle going through another
class for larger integer. But it looks like mruby doesn't
Let's intead use the 64 bit type!
2021-02-20 17:23:01 -05:00
Samuel Dionne-Riel
62297b2e10
Merge pull request #300 from samueldr-wip/feature/stage-0-finishing-touches
...
Finish stage-0 boot features
2021-02-15 16:19:44 -05:00
Samuel Dionne-Riel
7a0a108ffa
ubootTools: Fix and work around cross-compilation issues
2021-02-11 18:15:34 -05:00
Samuel Dionne-Riel
ff172ec9da
ubootTools: Import a patch for fdtgrep
...
Otherwise array values forwarded using the `fdt-forward` helper will be
broken when items are > 127 due to the sign.
2021-02-11 18:15:34 -05:00
Samuel Dionne-Riel
c8aa5f8a26
fdt-forward: Init tool to copy FDT nodes and props
...
Will be used by stage-0 to forward nodes that are required.
2021-02-11 18:15:34 -05:00
Samuel Dionne-Riel
c8ba18ede4
map-dtbs: Init tool to create dtb file mapping
...
The tool is intended to be used to produce a list of "compatible
strings", mapped to their dtb paths.
2021-02-11 18:14:30 -05:00
Kira Bruneau
f2a4d0104c
kernel-builder: Fix detecting dtb support (after nixpkgs#110544)
...
This continues the fixes in commit d14b99e
for the changes introduced
in nixpkgs#110544.
2021-02-08 16:05:22 -05:00
Kira Bruneau
e8c77e2aff
kernel-builder: Avoid string interpolation for path concatenation
...
Using string interpolation for concatenating paths caused the whole
nixpkgs source to be included as an "inputSrc" for the kernel derivation.
linux.drv:
"inputSrcs": [
...
"/nix/store/4crmmrpb9axxymrrh77lf35n015scnpj-mobile-nixos",
...
],
With concatenation, only the resulting file is included as an
"inputSrc", which avoids unnecessary kernel rebuilds when nixpkgs
changes.
linux.drv:
"inputSrcs": [
...
"/nix/store/hdr6v584ig3dpjlcs9afxxky3lvzm2nw-randstruct-provide-seed.patch",
...
],
2021-02-08 02:04:15 -05:00
Samuel Dionne-Riel
7cb18efb7c
Merge pull request #293 from samueldr-wip/fix/misc-breakage
...
Fix misc. breakage from Nixpkgs changes
2021-02-05 22:42:20 -05:00
Samuel Dionne-Riel
d14b99e90f
kernel-builder: Fix fallout from nixpkgs#110544
...
Deals with https://github.com/NixOS/nixpkgs/pull/110544
This is a breaking change; the kernel builder cannot be used with a
Nixpkgs from before this change, and vice-versa.
2021-02-02 05:51:18 -05:00
Samuel Dionne-Riel
225ed39dad
Fix stdenv.lib being removed
...
Deals with https://github.com/NixOS/nixpkgs/pull/111284
2021-02-02 05:51:18 -05:00
Samuel Dionne-Riel
36724d443f
mruby-builder: Remove direct overlay access
...
Not needed.
2021-01-31 19:39:00 -05:00
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