1
1
mirror of https://github.com/NixOS/mobile-nixos.git synced 2024-12-19 05:51:52 +03:00
Commit Graph

1042 Commits

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