1
1
mirror of https://github.com/NixOS/mobile-nixos.git synced 2024-12-18 05:21:47 +03:00
Commit Graph

1053 Commits

Author SHA1 Message Date
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
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