1
1
mirror of https://github.com/NixOS/mobile-nixos.git synced 2024-12-17 13:10:29 +03:00
Commit Graph

750 Commits

Author SHA1 Message Date
Samuel Dionne-Riel
f4c995e3b5 pine64-pinephone-braveheart: Setup LEDs during boot
The boot.scr lights the LED yellow.
2020-03-28 16:40:10 -04:00
Samuel Dionne-Riel
b9ca44c3b5 pine64-pinephone-braveheart: Add u-boot 2020-03-28 16:40:10 -04:00
Samuel Dionne-Riel
fd8c0d03b4 pine64-pinephone-braveheart: Add kernel configuration 2020-03-28 16:40:10 -04:00
Samuel Dionne-Riel
64a19095ae pine64-pinephone-braveheart: Init new device 2020-03-28 16:40:10 -04:00
Samuel Dionne-Riel
5227e3a462 hardware: Add Allwinner A64 SOC
This file was introduced when working on the devkit. The R18 will be
kept for now, even though no devices use it for now.
2020-03-28 16:40:10 -04:00
Samuel Dionne-Riel
6d3e26a14d hardware: Add Allwinner R18 SOC 2020-03-28 16:40:10 -04:00
Samuel Dionne-Riel
3036ffe0ab system-types: Init u-boot system type
This system type assumes the target will boot using a u-boot based
bootloader.
2020-03-28 16:40:10 -04:00
Samuel Dionne-Riel
744ae56ece
Merge pull request #104 from ashkitten/master
google-marlin: fix partitions
2020-03-27 23:30:18 -04:00
Samuel Dionne-Riel
07002958ad
Merge pull request #109 from samueldr-wip/feature/menuconfig
Add `bin/menuconfig` to configure kernels
2020-03-27 22:15:15 -04:00
Samuel Dionne-Riel
1d16e5a37b doc: Add menuconfig notes in the emrbyonic porting guide 2020-03-27 16:36:15 -04:00
Samuel Dionne-Riel
c3d1ece95c bin/kernel-normalize-config: Use bin/menuconfig
This does present the drawback of not validating the kernel builds.
Though I expect the user will build the kernel anyway after.
2020-03-27 16:34:33 -04:00
Samuel Dionne-Riel
99cbd9a6de bin/menuconfig: Add porcelain around menuconfig 2020-03-27 16:34:33 -04:00
Samuel Dionne-Riel
8a41ca03f5 kernel-builder: Fix menuconfig for more recent kernels
While staying compatible with older ones.

These changes are required since recent kernels' nconfig expect that the
Makefile will have setup the environment for *many* things.

We can't simply run nconfig directly anymore.

What's that about `run-nconfig`?

Well, `make nconfig` tries to build again, in a situation where it won't
be able to build. *sigh*. With this, we take the assumedly-fine-to-run
nconfig that is already in our botched up source tree.
2020-03-27 16:33:08 -04:00
Samuel Dionne-Riel
4976412278 kernel-builder: Provide patched sources to menuconfig
Important, otherwise we lose additional options that may have been
patched-in!
2020-03-27 16:32:47 -04:00
Samuel Dionne-Riel
84aa84e606 kernel-builder: Add menuconfig passthrough. 2020-03-26 22:34:07 -04:00
Samuel Dionne-Riel
127fe2b9e8
Merge pull request #106 from samueldr-wip/doc/oneplus3
oneplus-oneplus3: Document workaround for fastboot flash issue
2020-03-26 16:25:29 -04:00
Samuel Dionne-Riel
0865e15b32
Merge pull request #105 from samueldr-wip/feature/usb_networking
Enable CONFIG_USB_RTL815* options for multiple devices
2020-03-26 16:12:34 -04:00
Samuel Dionne-Riel
30a63ecbe8 oneplus-oneplus3: Document workaround for fastboot flash issue 2020-03-26 14:46:28 -04:00
Samuel Dionne-Riel
2e8a553269 xiaomi-lavender: enable CONFIG_USB_RTL815* 2020-03-25 22:37:14 -04:00
Samuel Dionne-Riel
906ee78fff oneplus-oneplus3: enable CONFIG_USB_RTL815* 2020-03-25 22:37:03 -04:00
Samuel Dionne-Riel
073259763c motorola-addison: enable CONFIG_USB_RTL815* 2020-03-25 22:36:51 -04:00
Samuel Dionne-Riel
5586c0eaa0 asus-z00t: enable CONFIG_USB_RTL815* 2020-03-25 22:36:39 -04:00
ash lea
84c537a554 google-marlin: load vendor firmware 2020-03-23 21:54:56 -07:00
ash lea
b82fcab704 google-marlin: use a/b partitions 2020-03-23 21:54:29 -07:00
Samuel Dionne-Riel
72a011f344
Merge pull request #101 from samueldr-wip/fix/unbreak-82751
lib/eval-config.nix: Directly use the upstream one
2020-03-19 20:10:31 -04:00
Samuel Dionne-Riel
eba58e13ed initrd: Fix regression from removal of _module 2020-03-19 16:57:08 -04:00
Samuel Dionne-Riel
ddfd04c26e lib/eval-config.nix: Directly use the upstream one
Though with *our* modules.

With https://github.com/NixOS/nixpkgs/pull/82960 this fixes the
regression from https://github.com/NixOS/nixpkgs/pull/82751.
2020-03-19 16:29:44 -04:00
Samuel Dionne-Riel
2673958760
Merge pull request #100 from samueldr-wip/fix/libhybris-regression-gcc
Fix libhybris regression following gcc target-specific libraries split
2020-03-19 15:37:52 -04:00
Samuel Dionne-Riel
c92c5923b9 Fix libhybris regression following gcc target-specific libraries split
This Nixpkgs commit introduced the breaking change:

 * e1831ebea3
2020-03-18 21:30:05 -04:00
Samuel Dionne-Riel
6a744f0292 default.nix: Fix wrong default value 2020-03-14 00:34:27 -04:00
Samuel Dionne-Riel
a6d221c72c
Merge pull request #97 from samueldr-wip/feature/hydra
Add release.nix for hydra consumption
2020-03-13 22:52:25 -04:00
Samuel Dionne-Riel
ad86988e01
Merge pull request #98 from samueldr-wip/feature/cross-rootfs
Add workarounds to enable minimal rootfs cross-compilation.
2020-03-13 22:51:29 -04:00
Samuel Dionne-Riel
bd37657b16 Add workarounds to enable minimal rootfs cross-compilation.
This alone does not make the rootfs it makes useful.
2020-03-13 22:45:48 -04:00
Samuel Dionne-Riel
6b33a0a14c release.nix: drop all-devices.nix
See:

 * https://github.com/NixOS/mobile-nixos/pull/40/files#r339630767
2020-03-13 22:45:19 -04:00
Samuel Dionne-Riel
1130301de3 release.nix: Add tested jobset 2020-03-13 21:38:32 -04:00
Samuel Dionne-Riel
5be1588bb3 release.nix: minor cleanup 2020-03-13 21:38:32 -04:00
Samuel Dionne-Riel
4ac71a9722 kernel-initrd: vm is the default build artifact 2020-03-13 19:44:08 -04:00
Samuel Dionne-Riel
3b5fe89b7c depthcharge: disk-image is the default build artifact 2020-03-13 19:44:08 -04:00
Samuel Dionne-Riel
97cca51825 android: android-device is the default build artifact 2020-03-13 19:44:08 -04:00
Samuel Dionne-Riel
611b107b10 release.nix: Eval devices for all local systems 2020-03-13 19:44:08 -04:00
Samuel Dionne-Riel
7a30a6f3c1 system-target: Stop relying on builtins.currentSystem 2020-03-13 19:43:34 -04:00
Samuel Dionne-Riel
a9e2e897d2 default.nix: Allow passing more configuration
This begins to smell like spaghetti :/
2020-03-13 19:43:34 -04:00
Samuel Dionne-Riel
7f265d59c2 default.nix: Warn when local.nix is used
Only to remind the poor soul that their build has some side-effects.
2020-03-13 18:13:24 -04:00
Samuel Dionne-Riel
3f377dd275 release.nix: Init, for hydra consumption
This release.nix is intended to provide:

 * Builds for our overlay
 * Builds for all devices
2020-03-13 18:06:00 -04:00
Samuel Dionne-Riel
7115e23509 all-device.nix: init
This file, to be checked via a CI task, should always contain the full
list of devices from the devices folder.

Though, with that said, a device line may be commented out.

All devices have to be ordered alphabetically, including those commented
out.
2020-03-13 15:03:01 -04:00
Samuel Dionne-Riel
987be3bf59 hardware: Add generic ARM platforms
Will be used by the release.nix configurations. Though these may be just
as useful as the x86_64 one is!
2020-03-13 14:56:21 -04:00
Samuel Dionne-Riel
5471ee7e05 default.nix: Allow receiving special configurations
Those are sent as a parameter to the derivation. This is part of the
internal API allowing the coming release.nix to make generic builds for
the overlay.
2020-03-13 14:56:04 -04:00
Samuel Dionne-Riel
ae90e4c51c default.nix: misc. cleanup 2020-03-12 22:08:55 -04:00
Samuel Dionne-Riel
664d523030 default.nix: Add header to device eval
This is useful when doing a "batch eval", where you can see which device
caused the eval to fail more easily.
2020-03-12 17:57:57 -04:00
Samuel Dionne-Riel
99d626dc1a module-list: Remove now removed module 2020-03-10 14:17:22 -04:00