1
1
mirror of https://github.com/NixOS/mobile-nixos.git synced 2024-12-15 02:43:24 +03:00
Commit Graph

37 Commits

Author SHA1 Message Date
Samuel Dionne-Riel
7e2a4e0074 systems/u-boot: additionalCommand is optional
Optional through a default.
2020-07-27 23:26:36 -04:00
Samuel Dionne-Riel
09fed68bcf treewide: Remove installer/mobile-installer dead weight
This didn't end up being something that's being worked on. It probably
was entirely confusing for everyone as it wasn't documented, and didn't
actually do anything useful most of the time.

Rather than polluting the build with some one-off special cases like
this, we'll implement an "installer" as an example system, if we even
want an installer.

It's not planned yet *how* users should install, it may not even be an
installer type system.

This also rewords the "successful default build failure" message.
2020-05-31 16:05:57 -04:00
Samuel Dionne-Riel
5da15c36db system/qemu: Fix for new kernel package option 2020-05-24 20:13:07 -04:00
Samuel Dionne-Riel
64cf2ec076 system/u-boot: Fix for new kernel package option 2020-05-24 20:13:07 -04:00
Samuel Dionne-Riel
58e2a0709f system/depthcharge: Fix for new kernel package option 2020-05-24 20:13:07 -04:00
Samuel Dionne-Riel
d60f3a501b system/android: Fix for new kernel package option 2020-05-24 20:13:07 -04:00
Samuel Dionne-Riel
52ea0fb075 initrd: Cleanup accidental cruft from messy device info 2020-05-24 20:13:07 -04:00
Samuel Dionne-Riel
65bb1e8a35 system/android: Provide replacements for freeform device.info options 2020-05-24 20:13:07 -04:00
Samuel Dionne-Riel
e125c6ab2f system/depthcharge: Provide option and fix build
The depthcharge build doesn't rely on the freeform option anymore.
2020-05-24 20:13:07 -04:00
Samuel Dionne-Riel
a4358472b0 system/u-boot: Use NixOS boot.kernelParams 2020-05-24 20:13:07 -04:00
Samuel Dionne-Riel
8a5df088b9 system/u-boot: Use boot.kernelParams 2020-05-24 20:13:07 -04:00
Samuel Dionne-Riel
2d0d5810cc system/qemu: Use boot.kernelParams 2020-05-24 20:13:07 -04:00
Samuel Dionne-Riel
b928b20e2a system/depthcharge: Use boot.kernelParams
(and fix device_info.arch)
2020-05-24 20:13:07 -04:00
Samuel Dionne-Riel
84906bb8e4 system/android: Use boot.kernelParams 2020-05-24 20:13:07 -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
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
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
2f28151fd2 doc: Add depthcharge notes 2020-04-04 21:04:33 -04:00
Samuel Dionne-Riel
4f6659933f android: Add device notes 2020-04-04 20:30:57 -04:00
Samuel Dionne-Riel
02ab2066ce system-types: Move in discrete directories 2020-04-04 19:56:56 -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
df75b6debd systems/u-boot: Allow configuring the initial gap 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
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
74f3dc5711 android-devices: Output a flash-critical.sh script
This script will flash the "critical" bits to the device.

Though note that this will flash both A/B slots unconditionally.

Similarly, this will flash both the boot and recovery partitions.
2020-03-02 14:02:05 -05:00
Samuel Dionne-Riel
e326b38b4b system-types/android: Output recovery.img
That recovery image unconditionally assumes it's running as recovery
2020-02-29 16:10:00 -05:00
Samuel Dionne-Riel
ead09930ea qemu-x86_64: use absolute input + mon:stdio
mon:stdio is the magic incantation that makes CTRL+C not quit abruptly
the VM.
2019-12-04 17:16:09 -05:00
Samuel Dionne-Riel
00c7d73781 qemu-x86_64: Use a 1080p vertical display 2019-12-04 17:16:09 -05:00
Samuel Dionne-Riel
4c4f8468f3 depthcharge: Allows kpart to be built independently 2019-09-22 15:52:10 -04:00
Samuel Dionne-Riel
3cdecd5c00 android: working system.img/boot.img output
Can be flashed

```
fastboot flash system result/system.img
fastboot flash boot result/boot.img
```
2019-09-21 23:21:12 -04:00
Samuel Dionne-Riel
f9decea807 Adds back android 2019-09-21 22:42:26 -04:00
Samuel Dionne-Riel
507805e9f2 Adds back depthcharge 2019-09-21 22:41:57 -04:00
Samuel Dionne-Riel
b8c4bcda18 Adds back kernel-initrd (for qemu) 2019-09-21 22:41:33 -04:00