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

830 Commits

Author SHA1 Message Date
Samuel Dionne-Riel
4408bc2ead devices: Drop unused device information
This is the first step in actually dropping all device information.
2020-05-23 17:10:54 -04:00
Samuel Dionne-Riel
1442bcba8b system/android: Review recovery build
Instead of borrowing some of its system.build products, rely instead on
a full system.build for the recovery.img.

This allows us to better make use of the implicit declarativeness of the
system configuration. At some point the recovery "system" will be moved
out of that file and things will continue to work.
2020-05-23 15:59:43 -04:00
Samuel Dionne-Riel
8cb9b07be2
Merge pull request #151 from samueldr-wip/fix/leftover-container-hack
initrd: Remove leftover hack from when isContainer was used
2020-05-23 15:21:16 -04:00
Samuel Dionne-Riel
f71dbbb804
Merge pull request #148 from samueldr-wip/feature/families
Document and fixup the "taxonomy"
2020-05-23 15:20:58 -04:00
Samuel Dionne-Riel
15d3f1fdbb initrd: Remove leftover hack from when isContainer was used 2020-05-23 01:58:26 -04:00
Samuel Dionne-Riel
dcbda16fc5 system-types: Rename kernel-initrd -> qemu-startscript
In addition, put the implementation of the build side-by-side with the
system type definition. It made no sense to keep those where they were,
as it was baggage from the earlier implementation of the project.
2020-05-15 16:10:43 -04:00
Samuel Dionne-Riel
b1870eb331 modules: Move depthcharge build implementation into its system type
It didn't make sense to stuff that into systems anyway, it's baggage
from the first steps of making Mobile NixOS.

This is a *part* of depthcharge system type, so why stuff it into `system`
at the root??
2020-05-15 15:53:28 -04:00
Samuel Dionne-Riel
e7b68c834a modules: Move bootimg into its system type
It didn't make sense to stuff that into systems anyway, it's baggage
from the first steps of making Mobile NixOS.

This is a *part* of android system types, so why stuff it into `system`
at the root??
2020-05-15 15:49:38 -04:00
Samuel Dionne-Riel
f019d84c88 modules: Move rootfs into the modules hierarchy
It didn't make sense to stuff that into systems anyway, it's baggage
from the first steps of making Mobile NixOS.
2020-05-15 15:49:15 -04:00
Samuel Dionne-Riel
10f38adb09 doc: Document devices, families, platforms and systems 2020-05-14 17:22:28 -04:00
Samuel Dionne-Riel
5ba8fea8b8 families: Create empty directory with docs link
This is a bit of a premature optimization, as we don't have a family
to implement and validate _just yet_, but we're still making the
structure ready as both `asus-dumo` and `google-taimen` are subject to
receive family members as soon as someone can test them.
2020-05-14 17:22:28 -04:00
Samuel Dionne-Riel
ffb915de2e doc: Copy svg files, too, but not source svg files 2020-05-14 17:10:34 -04:00
Samuel Dionne-Riel
c266d96b7a doc: Add styles for footnotes 2020-05-14 17:10:19 -04:00
Samuel Dionne-Riel
78ac52af46 doc: Add styles for some utility image classes 2020-05-14 17:10:00 -04:00
Samuel Dionne-Riel
ea7bad0879
Merge pull request #140 from samueldr-wip/fix/styles-inline-code
Remove attempt at fixing spacing with inline code
2020-05-06 02:25:17 -04:00
Samuel Dionne-Riel
f3783bba8e Remove attempt at fixing spacing with inline code
It's only causing issues. It's not that big of a deal.
2020-05-06 02:25:00 -04:00
Samuel Dionne-Riel
23fbc6b817
Merge pull request #139 from samueldr-wip/fix/site-articles
Misc. fixes for the site articles
2020-05-06 02:02:39 -04:00
Samuel Dionne-Riel
446eec1fd5 doc: Fix weirdness with inline code first on newlines 2020-05-06 01:33:27 -04:00
Samuel Dionne-Riel
232053d4cd doc: Fix article without image 2020-05-06 01:33:01 -04:00
Samuel Dionne-Riel
6be1a3bf0c
Merge pull request #138 from samueldr-wip/docs/readme
README: revise README, appearance and content
2020-05-05 14:58:21 -04:00
Samuel Dionne-Riel
a27fc719cf doc: Fix README build 2020-05-04 21:47:27 -04:00
Samuel Dionne-Riel
4d2648a864 README: review README content 2020-05-04 21:47:27 -04:00
Samuel Dionne-Riel
6d327eec53 doc: Fix multi-paragraphs admonitions 2020-05-04 19:44:30 -04:00
Samuel Dionne-Riel
080cd06c21 doc: Add about page 2020-05-04 19:29:31 -04:00
Samuel Dionne-Riel
6e4811b3ef LICENSE: update license notice 2020-05-04 19:28:41 -04:00
Samuel Dionne-Riel
d65177ae2f doc: Fix for nested lists 2020-05-04 19:28:41 -04:00
Samuel Dionne-Riel
28a38b041a
Merge pull request #134 from samueldr-wip/docs/contributing
doc: Add contributing notes
2020-04-29 21:01:30 -04:00
Samuel Dionne-Riel
6ca5e5b649 doc: Add link to contributing guide in getting started 2020-04-29 18:02:34 -04:00
Samuel Dionne-Riel
39861a335e doc: Add a contributing document 2020-04-29 18:02:34 -04:00
Samuel Dionne-Riel
4c479ad63d
Merge pull request #132 from samueldr-wip/fix/cross-regression-1581751
cross-workarounds: Disable udisks for cross-builds
2020-04-23 00:05:25 -04:00
Samuel Dionne-Riel
e0ca6d43d6 cross-workarounds: Disable udisks for cross-builds
From https://hydra.nixos.org/eval/1581751

1580f35dfb accidentally introduced udisks
in the build.

A local test build of the default "dummy" system disk image wasn't done,
thus the failure not found.
2020-04-23 00:01:33 -04:00
Samuel Dionne-Riel
1a5185039d
Merge pull request #131 from samueldr-wip/fix/seabios-regression
Fix build regression with updated Seabios
2020-04-22 22:51:16 -04:00
Samuel Dionne-Riel
fd66311f9f qemu-x86_64: Use qemu EDID support
This removes the need for the gnarly hack we were using to get a custom
resolution.
2020-04-22 22:48:30 -04:00
Samuel Dionne-Riel
168d7bc11c seabios: Remove, to rely on qemu EDID support 2020-04-22 22:47:56 -04:00
Samuel Dionne-Riel
5917421b22
Merge pull request #128 from samueldr-wip/feature/oneplus-oneplus3-polishing
oneplus-oneplus3: Minor polishing
2020-04-13 17:55:03 -04:00
Samuel Dionne-Riel
f6a8abdd41 oneplus-oneplus3: Configure LED using kernel triggers 2020-04-13 17:44:28 -04:00
Samuel Dionne-Riel
e01d58031d oneplus-oneplus3: Use otg_switch 2020-04-13 17:44:28 -04:00
Samuel Dionne-Riel
c7a121fbae quirks: Add msm-dwc3-otg_switch quirk 2020-04-13 17:44:28 -04:00
Samuel Dionne-Riel
d76992cf43
Merge pull request #126 from samueldr-wip/feature/asus-z00t-polishing
asus-z00t: Make wi-fi work with wcnss-wlan
2020-04-13 17:11:52 -04:00
Samuel Dionne-Riel
640f2d4c79 asus-z00t: Configure green LED to turn on by default
This is done at the device tree / kernel level.
2020-04-10 15:54:58 -04:00
Samuel Dionne-Riel
fc07219c7d asus-z00t: show the device tree in /proc 2020-04-10 15:53:47 -04:00
Samuel Dionne-Riel
be396f4807 asus-z00t: Add firmware 2020-04-10 00:24:13 -04:00
Samuel Dionne-Riel
0b68cf893a asus-z00t: Use wcnss-wlan quirk 2020-04-09 22:27:15 -04:00
Samuel Dionne-Riel
c21f57b12b asus-z00t: Shut up some kernel modules, so noisy! 2020-04-09 22:27:15 -04:00
Samuel Dionne-Riel
ae440f4135 asus-z00t: Protect firmware load path from rude trampling 2020-04-09 22:27:15 -04:00
Samuel Dionne-Riel
467702a853 quirks: Add qualcomm wcnss-wlan quirk
This quirk assumes the firmware has been set appropriately in the NixOS
configuration, using something akin to:

```
  hardware.firmware = [
    pkgs.my-device-firmware
  ];
```
2020-04-09 22:27:15 -04:00
Samuel Dionne-Riel
1580f35dfb nixos-integration: Use initrd.enable = false
That new option allows us to remove the crutch of pretending to be a
container.

Pretending to be a container had a couple drawbacks, they are now
irrelevant.

The dummy outputs could be re-worked to instead use out own stage-1
infra, but I prefer using dummies for now, for better insulation.
2020-04-09 22:27:15 -04:00
Samuel Dionne-Riel
7eae7aed88
Merge pull request #125 from samueldr-wip/fix/eval-failure
Fix evaluation failure where aarch64-linux outputs are accidentally x86_64-linux
2020-04-07 23:30:39 -04:00
Samuel Dionne-Riel
245ecceee4 default.nix: Pass additional config to evalWith
This broke eval for aarch64-linux platforms.

See the previous commit for an assertion that should prevent such
breakage from going through in the future.
2020-04-07 23:13:07 -04:00
Samuel Dionne-Riel
73b7af1954 ci: Add assertion that validates evaluations are differents
See the following commit
2020-04-07 23:12:18 -04:00