Samuel Dionne-Riel
1889893a43
kernel-builder: implement QCDT configuration in the builder
2020-10-02 03:27:49 -04:00
Tom Hall
b0336c4213
initrd: handle systemd-udevd being a symlink to udevadm
...
Mirrors 7361f6f252
2020-09-16 23:02:36 +01:00
Samuel Dionne-Riel
6461b307a0
initrd: Make compression method an option
...
This is a semi-internal option. The end-user may want to change it.
Though in reality this is aimed toward device integrators that integrate
a device with a small boot partition.
2020-08-22 21:28:14 -04:00
Samuel Dionne-Riel
dcbfbff1ad
nixos-disintegration: Remove the disabled showManual
option
...
The option has been removed.
aebf9a4709
2020-08-18 17:42:08 -04:00
Samuel Dionne-Riel
8f32fbe7c0
initrd: Fix for lvm2 multiple output
...
See Nixpkgs d3a991d41028c5d2a5af2796c0bb542836457822
2020-07-28 16:27:04 -04:00
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
a361e8e964
initrd: Provide firmwares through the specific option
...
The upstream NixOS make-initrd doesn't handle multiple content linking
to the same location.
2020-07-06 00:18:47 -04:00
Samuel Dionne-Riel
1911603231
mediatek: Add MT6755
2020-06-28 23:54:14 -04:00
Samuel Dionne-Riel
a1430b3ab8
quirks: qualcomm.msm-fb-refresher -> fb-refresher
...
It has been found that it may be useful on non-Qualcomm platforms.
2020-06-28 23:54:14 -04:00
Samuel Dionne-Riel
6554371388
msm-fb-handle: Drop workaround
2020-06-28 23:54:14 -04:00
Samuel Dionne-Riel
17f27ca78d
hardware: init mediatek with MT6785
2020-06-26 01:17:41 -04:00
Samuel Dionne-Riel
d9cd7b336b
initrd-firmware: Init module to add firmware to stage-1
...
Much better than the ad-hoc way used in a previous PR
2020-06-01 18:58:59 -04:00
Samuel Dionne-Riel
eaaa3980f0
initrd: Add tree
output to initrd-meta
...
This ends up being useful to peek into the initrd cpio without actually
having to crack it open.
I have used this to track down a bad symlink.
2020-06-01 18:58:05 -04:00
Samuel Dionne-Riel
d617424ded
boot/gui: review build with a proper derivation
...
Then, the simulator is re-tooled to use it, and the new wrapper thingy.
2020-05-31 18:54:07 -04:00
Samuel Dionne-Riel
94981be08f
stage-1: Package up script loader in overlay
...
It will end up re-used soon.
2020-05-31 18:54:07 -04:00
Samuel Dionne-Riel
22eddafd91
generated-filesystems: overridable options for filesystem generation
...
This allows filesystem generation to be re-configured without overriding
all options.
2020-05-31 18:54:07 -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
2971232eff
qualcomm: Add fb notify quirk
...
This quirk touches the `blank` file of the framebuffer /sys nodes, which
ends up unsuspending things that start suspended until the *right thing*
is happening to not be suspended.
X11, among others, do the right things. It seems other framebuffer
interfaces are not.
This can likely be fixed in other ways, but this is the more
approachable way to me right now.
2020-05-31 02:27:49 -04:00
Andrew Childs
00edd48239
initrd-usb: provide modules required for gadgets in initrd
...
See the kernel documentation for configuring gadgets for more details.
https://www.kernel.org/doc/Documentation/usb/gadget_configfs.txt
2020-05-25 16:38:54 -04:00
Samuel Dionne-Riel
7ec525330f
Merge pull request #152 from samueldr-wip/fix/kernel-cmdline
...
Remove messy `device.info` option
2020-05-25 15:24:26 -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
92324964d1
initrd-kernel: Add options for kernel package
...
We cannot use a "linuxPackagesFor" attrset due to older OEM kernels.
2020-05-24 20:13:07 -04:00
Samuel Dionne-Riel
6f7567d0d6
mobile-device: Remove device.info
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
a8ce7d0043
initrd-kernel: additional_modules -> additionalModules + document
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
ed873e606c
vendor: Provide an option for the vendor partition
2020-05-24 20:13:07 -04:00
Samuel Dionne-Riel
45f9736fac
usb: Provide proper gadgetfs functions option
2020-05-24 20:13:07 -04:00
Samuel Dionne-Riel
114f545889
device: Add device.firmware
to allow a device to provide firmware files
2020-05-24 20:13:07 -04:00
Samuel Dionne-Riel
596a7891e4
device: Drop most of the messy "device.info" option
...
The last option will be cleaned up last.
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
4db9f2ad39
Merge pull request #149 from samueldr-wip/feature/lvgui-ffi
...
boot/gui: Use libffi rather than bespoke bindings
2020-05-24 15:31:23 -04:00
Samuel Dionne-Riel
a35863e641
devices: Use device identity
2020-05-23 18:13:02 -04:00
Samuel Dionne-Riel
ab35b1bf4c
devices: Add device identity option
2020-05-23 17:28:36 -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
15d3f1fdbb
initrd: Remove leftover hack from when isContainer was used
2020-05-23 01:58:26 -04:00
Samuel Dionne-Riel
16f25cf6f6
initrd: stop relying on pkgsStatic
...
This ends up saving ~100KiB. Not much, but we're already 1MiB over the
~7-8 MiB budget.
Though, in reality, it's not for the space saving, but because
dlopen/dlsym will be needed for ffi-based bindings.
2020-05-23 01:56:00 -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