Samuel Dionne-Riel
ab90426563
xiaomi-lavender: Fix build using new options
2020-05-24 20:13:07 -04:00
Samuel Dionne-Riel
f9e0364e49
qemu-x86_64: cleanup device description
2020-05-24 20:13:07 -04:00
Samuel Dionne-Riel
7d087b8028
pine64-pinephone-braveheart: cleanup
2020-05-24 20:13:07 -04:00
Samuel Dionne-Riel
08f30c43a6
oneplus-oneplus3: Fix build using new options
2020-05-24 20:13:07 -04:00
Samuel Dionne-Riel
5ce9b7977d
motorola-addison: Fix build using new options
2020-05-24 20:13:07 -04:00
Samuel Dionne-Riel
9d039a300b
google-walleye: Fix build using new options
2020-05-24 20:13:07 -04:00
Samuel Dionne-Riel
16893c00f9
google-marlin: Fix build using new options
2020-05-24 20:13:07 -04:00
Samuel Dionne-Riel
0c1a9d23f2
asus-z00t: Fix build using new options
2020-05-24 20:13:07 -04:00
Samuel Dionne-Riel
5044aaeaef
asus-flo: Fix build using new options
2020-05-24 20:13:07 -04:00
Samuel Dionne-Riel
fa8fbd58de
asus-dumo: Fix build using new options
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
ef141f83c2
devices: Drop kernel_cmdline in favour to 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
4396ee43ee
devices: Use new device identity options
2020-05-23 17:27:57 -04:00
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
cebc037590
boot/gui: Update mruby-lvgui to the fiddle-enabled one
2020-05-23 01:56:00 -04:00
Samuel Dionne-Riel
199201df98
mruby-lvgui: update lvgui version
...
Main changes are:
* Dynamic build support
* Minimal introspection
* "better" makefile which handles the .pc file
2020-05-23 01:56:00 -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
ba9a9852af
boot/init: Remove unused variable
2020-05-23 01:43:12 -04:00
Samuel Dionne-Riel
3e50ec600f
boot/gui: review simulator build
...
Can be launched with `DEBUGGER="gdb --args" ./result/bin/simulator`.
2020-05-23 01:43:12 -04:00
Samuel Dionne-Riel
528c8b8bdb
boot/gui: Further fix applets for LVNanoSVG namespace change
2020-05-21 18:15:21 -04:00
Samuel Dionne-Riel
db10391e13
mruby: Use all gems, and not only direct depdencies
...
Otherwise we lose dependency management on transitive dependencies.
2020-05-19 23:29:38 -04:00
Samuel Dionne-Riel
aa2deb72b6
boot/gui: Fix with added introspection
2020-05-19 23:27:36 -04:00
Samuel Dionne-Riel
d89521ab98
mrbgems: Add mruby-fiddle
...
Bindings to libffi, with (approximatively) the same API as the Ruby
Fiddle stdlib.
This uses a fork with fixes, and hopefully improvements and
maintainership in the future.
2020-05-18 22:44:56 -04:00
Samuel Dionne-Riel
74611efdcd
mruby: Builder re-uses buildInputs from its mruby...
...
Thus re-using buildInputs from gems, thus closing the circle.
2020-05-18 22:44:04 -04:00
Samuel Dionne-Riel
cc1a2e75e5
boot/gui: Moving LVNanoSVG hacks under the hacks namespace
2020-05-18 21:49:04 -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