1
1
mirror of https://github.com/NixOS/mobile-nixos.git synced 2024-12-17 04:51:31 +03:00
Commit Graph

1530 Commits

Author SHA1 Message Date
Samuel Dionne-Riel
c85712a663 system-build: Add DTB mapping 2021-02-11 18:14:30 -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
Samuel Dionne-Riel
826315aa11 system-build: Init module adding details to toplevel
For now, device-name... but see following commit.
2021-02-11 18:14:30 -05:00
Samuel Dionne-Riel
2a46962d76 boot/init: Honor skipping kexec 2021-02-11 18:14:30 -05:00
Samuel Dionne-Riel
aea3b46d13 boot/recovery-menu: Add option to skip kexec
But why?

Multiple reasons:

 - generation kernel does not work as expected
 - booting a boot.img with an experimental kernel

I'm sure there's other reasons too.

Fixes #266
2021-02-11 18:14:30 -05:00
Samuel Dionne-Riel
5d50144468 boot/recovery-menu: Pass data around using JSON 2021-02-11 18:14:30 -05:00
Samuel Dionne-Riel
1c54996c35
Merge pull request #296 from MetaDark/concatenate-paths
kernel-builder: Avoid string interpolation for path concatenation
2021-02-08 15:40:43 -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
33337d35c8
Merge pull request #295 from danielfullmer/google-marlin-wifi
Enable WiFi for google-marlin
2021-02-05 01:32:04 -05:00
Daniel Fullmer
07de379128 google-marlin: Enable wifi support 2021-02-04 21:41:28 -08:00
Daniel Fullmer
af52589928 google-marlin: Add firmware package 2021-02-04 21:38:12 -08:00
Daniel Fullmer
7612248a3d google-marlin: Remove redundant boot option
firmware_class.path is implicitly set via mobile.system.vendor.partition
2021-02-04 21:38:03 -08:00
Samuel Dionne-Riel
186c491641
Merge pull request #238 from eamsden/eamsden/parameterize-package-set
Make the package set a parameter instead of using `<nixpkgs>` everywhere
2021-02-02 14:54:16 -05:00
Samuel Dionne-Riel
a538c87aea ci: Actually run instantiate task 2021-02-02 05:52:46 -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
ede8fa5834 uefi-x86_64: Fix kernel package eval
See https://github.com/NixOS/nixpkgs/issues/111504 for the reason behind
this workaround.
2021-02-02 05:37:31 -05:00
Samuel Dionne-Riel
ed93aa4678 modules/initrd-kernel: Fix mocked kernelPackages
.ci/instantiate-all.nix wouldn't pass otherwise.
2021-02-02 05:37:31 -05:00
Samuel Dionne-Riel
22d8328969 xiaomi-tissot: Fix kernel builder call for boot.kernelPackages 2021-02-02 01:58:41 -05:00
Samuel Dionne-Riel
ca37afbf3c xiaomi-lavender: Fix kernel builder call for boot.kernelPackages 2021-02-02 01:58:41 -05:00
Samuel Dionne-Riel
f8d71a80bd xiaomi-begonia: Fix kernel builder call for boot.kernelPackages 2021-02-02 01:58:41 -05:00
Samuel Dionne-Riel
6d0c3880ca sony-pioneer: Fix kernel builder call for boot.kernelPackages 2021-02-02 01:58:41 -05:00
Samuel Dionne-Riel
8ae39cf4ab samsung-a5y17lte: Fix kernel builder call for boot.kernelPackages 2021-02-02 01:58:41 -05:00
Samuel Dionne-Riel
4dfa059965 razer-cheryl2: Fix kernel builder call for boot.kernelPackages 2021-02-02 01:58:41 -05:00
Samuel Dionne-Riel
d89d15770c pine64-pinephone: Fix kernel builder call for boot.kernelPackages 2021-02-02 01:58:41 -05:00
Samuel Dionne-Riel
0c24585d04 oneplus-oneplus3: Fix kernel builder call for boot.kernelPackages 2021-02-02 01:58:41 -05:00
Samuel Dionne-Riel
9648453e35 motorola-surfna: Fix kernel builder call for boot.kernelPackages 2021-02-02 01:58:41 -05:00
Samuel Dionne-Riel
5759f8f04e motorola-addison: Fix kernel builder call for boot.kernelPackages 2021-02-02 01:58:41 -05:00
Samuel Dionne-Riel
0173b3f7f6 google-walleye: Fix kernel builder call for boot.kernelPackages 2021-02-02 01:58:41 -05:00
Samuel Dionne-Riel
8d3ed2bf9f google-marlin: Fix kernel builder call for boot.kernelPackages 2021-02-02 01:58:41 -05:00
Samuel Dionne-Riel
7fb156c39f asus-z00t: Fix kernel builder call for boot.kernelPackages 2021-02-02 01:58:41 -05:00
Samuel Dionne-Riel
5a536ac414 asus-x018d: Fix kernel builder call for boot.kernelPackages 2021-02-02 01:58:41 -05:00
Samuel Dionne-Riel
c1273fd423 asus-flo: Fix kernel builder call for boot.kernelPackages 2021-02-02 01:58:41 -05:00
Samuel Dionne-Riel
5fc0e837a1 asus-dumo: Fix kernel builder call for boot.kernelPackages 2021-02-02 01:58:41 -05:00
Samuel Dionne-Riel
cc77670be1 modules: Remove kernel nixos-disintegration
The solution is, ugh, to add `...` to allow additional params on kernel
builder call derivations.
2021-02-02 01:58:41 -05:00
Samuel Dionne-Riel
25b2d8fbba modules/stage-0: Use composeConfig 2021-02-02 01:58:41 -05:00
Samuel Dionne-Riel
84b7e5eead modules/recovery: Use composeConfig 2021-02-02 01:58:41 -05:00
Samuel Dionne-Riel
34b033330f Replace evalConfig with config.lib.mobile-nixos.composeConfig 2021-02-02 01:58:41 -05:00
Samuel Dionne-Riel
b57495c363 release-tools: Remove _mobile-nixos.nixpkgsPath
`modulesPath` is enough for our needs.
2021-02-02 01:58:41 -05:00
Edward Amsden
c5a7112d9d doc: Fix release-tools use
Co-authored-by: Samuel Dionne-Riel <samuel@dionne-riel.com>
Co-authored-by: Edward Amsden <edward@blackriversoft.com>
2021-02-02 01:58:41 -05:00
Edward Amsden
c507b39099 Make the package set a parameter instead of using <nixpkgs> everywhere.
Co-authored-by: Samuel Dionne-Riel <samuel@dionne-riel.com>
Co-authored-by: Edward Amsden <edward@blackriversoft.com>
2021-02-02 01:58:41 -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
8d76ca2ed2
Merge pull request #292 from samueldr-wip/device/asus-dumo/usb-gadget
asus-dumo: Go go usb gadget mode
2021-01-30 23:18:39 -05:00
Samuel Dionne-Riel
cd2287be99 asus-dumo: Move MMC fixup task into a file
It shouldn't have been made inline from the beginning.
2021-01-30 23:07:57 -05:00
Samuel Dionne-Riel
3c7cc26ece examples/target-disk-mode: Kill splash to free DRM context 2021-01-30 22:53:49 -05:00
Samuel Dionne-Riel
bd1217c993 asus-dumo: Add USB role switch task
This relies on one of the patches added to the build.
2021-01-30 22:53:19 -05:00
Samuel Dionne-Riel
b930fca01b asus-dumo: Add kernel patches for gadget mode
Except for one, they are all "complete" patches.

The WIP patch is only WIP because it is extremely specific to the Gru
platform.
2021-01-30 22:52:10 -05:00
Samuel Dionne-Riel
e7d6ca0fea asus-dumo: Basic configuration for USB gadget mode 2021-01-30 22:51:52 -05:00
Samuel Dionne-Riel
9bd23165a3 asus-dumo: Configure kernel for gadget mode 2021-01-30 22:51:36 -05:00