1
1
mirror of https://github.com/NixOS/mobile-nixos.git synced 2024-12-26 09:26:14 +03:00
Commit Graph

1167 Commits

Author SHA1 Message Date
Samuel Dionne-Riel
fd3a5c656c release.nix: Add knowledge of the project's build infra 2020-03-30 23:33:31 -04:00
Daniel Fullmer
d142490aa0 initrd-vendor: mount vendor read-only 2020-03-29 15:23:26 -04:00
Samuel Dionne-Riel
2fbd2c660d default.nix: Fix bug with special configuration
Associativity strikes!
2020-03-29 00:18:02 -04:00
Samuel Dionne-Riel
875a94f659 release.nix: Build the demo rootfs
As thus rootfs is universal, building it will allow end-users to
directly be able to run a somewhat usable system on their devices, even
if they are unable to bootstrap themselves one.

Furthermore, this ensures that the requirements are built and do
continue building on aarch64-linux.
2020-03-29 00:18:02 -04:00
Samuel Dionne-Riel
8fd6adc884
Merge pull request #112 from samueldr-wip/feature/gh-actions
Add GitHub actions for simple validations
2020-03-28 23:03:56 -04:00
Samuel Dionne-Riel
2a595b8c0e actions: Init GitHub actions 2020-03-28 22:54:09 -04:00
Samuel Dionne-Riel
cabd0eac10 release.nix: Add note about .ci/instantiate-all.nix 2020-03-28 22:53:48 -04:00
Samuel Dionne-Riel
8b3bcc16db .ci: Add instantiate-all.nix
This is to be used with `nix-env` in a CI situation to list everything
from release.nix.
2020-03-28 22:53:48 -04:00
Samuel Dionne-Riel
558907989b systems/u-boot: Fix eval with release.nix
The "default" output was missing.
2020-03-28 22:53:48 -04:00
Samuel Dionne-Riel
648b848115 release.nix: Special evals are system-types "none" 2020-03-28 22:53:48 -04:00
Samuel Dionne-Riel
1483a3bcb4 system-types: Add "none" system type for evals
I'm not sure why it doesn't matter on Hydra, and when using `nix-build`,
but it does matter for `nix-env`.
2020-03-28 22:53:48 -04:00
Samuel Dionne-Riel
dad8916ed5
Merge pull request #96 from samueldr-wip/device/pine64-pinephone-braveheart
device: add pine64-pinephone-braveheart
2020-03-28 19:33:42 -04:00
Samuel Dionne-Riel
e026485d61 pine64-pinephone-braveheart: Document LED patterns 2020-03-28 16:40:10 -04:00
Samuel Dionne-Riel
ad4c5f811a hardware-allwinner: Configure initial gap 2020-03-28 16:40:10 -04:00
Samuel Dionne-Riel
df75b6debd systems/u-boot: Allow configuring the initial gap 2020-03-28 16:40:10 -04:00
Samuel Dionne-Riel
d74390b9a9 pine64-pinephone-braveheart: Setup LEDs during earlier boot
The red LED is turned on ASAP.
2020-03-28 16:40:10 -04:00
Samuel Dionne-Riel
93039954c2 pine64-pinephone-braveheart: Setup LEDs during early boot
This sets the red + green LEDs, making it yellow.
2020-03-28 16:40:10 -04:00
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