1
1
mirror of https://github.com/NixOS/mobile-nixos.git synced 2024-12-25 08:53:32 +03:00
Commit Graph

1167 Commits

Author SHA1 Message Date
Samuel Dionne-Riel
c0c93961cf
Merge pull request #155 from samueldr-wip/feature/less-confusing-default
Add useful stage-2 examples/hello and cleanups
2020-05-31 18:59:41 -04:00
Samuel Dionne-Riel
a01f54348b examples/hello: Add inputs listing to app 2020-05-31 18:54:07 -04:00
Samuel Dionne-Riel
882d410154 examples/hello: Add disks information page 2020-05-31 18:54:07 -04:00
Samuel Dionne-Riel
72221f4314 examples/hello: Add primitive log viewing
It's not very good :/
2020-05-31 18:54:07 -04:00
Samuel Dionne-Riel
0a430fba26 examples/hello: add toolbar to app 2020-05-31 18:54:07 -04:00
Samuel Dionne-Riel
c66fd3db8b examples/hello: review app organization 2020-05-31 18:54:07 -04:00
Samuel Dionne-Riel
a0bce22345 examples/hello: Add "Display validation" window 2020-05-31 18:54:07 -04:00
Samuel Dionne-Riel
3d0552223d examples/hello: introduce a minimal useful example system
The examples/hello system can be used by users that want to boot a
minimal, and cross-compilable system.

This is better than a "raw" build of the root of the Mobile NixOS repo
since it provides a stage-2 application stating the system booted
successfully.
2020-05-31 18:54:07 -04:00
Samuel Dionne-Riel
b38caeec1a boot/init: Fixup for $PROGRAM_NAME now pointing to the applet
We know that the loader is at "/loader" in our initrd. Use that
knowledge.
2020-05-31 18:54:07 -04:00
Samuel Dionne-Riel
6d6df159ef boot/script-loader: Add environment support to wrapper 2020-05-31 18:54:07 -04:00
Samuel Dionne-Riel
dfedfda949 boot/script-loader: Provide appropriate $0 and $PROGRAM_NAME 2020-05-31 18:54:07 -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
21b17451b2 boot/init: add wrap to script-loader
This allows wrapping an applet into a script that will start it.
2020-05-31 18:54:07 -04:00
Samuel Dionne-Riel
31dbeb2599 mruby-builder: Pass passthru through 2020-05-31 18:54:07 -04:00
Samuel Dionne-Riel
e5360ea54f mruby-lvgui: Update to latest version 2020-05-31 18:54:07 -04:00
Samuel Dionne-Riel
275fa9c676 examples/demo: Fix adbd enable in burn tool 2020-05-31 18:54:07 -04:00
Samuel Dionne-Riel
30ff772fbd examples/demo: Fix error reporting by importing 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
7ee81a9cad default.nix: Drop confusing unused attribute
Its documentation, which was really wrong, tells me this was something
that was either lost early on, or never implemented.
2020-05-31 16:05:57 -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
340213c28e
Merge pull request #154 from samueldr-wip/fix/motorola-addison-touch
Add "fb notify" quirk, fixing motorola-addison touch with boot GUI
2020-05-31 16:04:48 -04:00
Samuel Dionne-Riel
84cb903ec7 motorola-addison: Use the fb notify quirk 2020-05-31 02:29:23 -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
Samuel Dionne-Riel
0dd1de0267
Merge pull request #153 from samueldr-wip/fix/menuconfig_152
bin/menuconfig: Fix breakage caused by #152
2020-05-26 11:55:29 -04:00
Samuel Dionne-Riel
b67de7074f bin/menuconfig: Fix breakage caused by #152
Big woops.
2020-05-26 11:51:43 -04:00
Samuel Dionne-Riel
7709231713
Merge pull request #141 from thefloweringash/initrd-usb-modules
initrd-usb: provide modules required for gadgets in initrd
2020-05-25 16:47:37 -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
adc157f0c0 xiaomi-tissot: Fix for new kernel package option 2020-05-24 20:13:07 -04:00
Samuel Dionne-Riel
1639060ab9 xiaomi-lavender: Fix for new kernel package option 2020-05-24 20:13:07 -04:00
Samuel Dionne-Riel
df0cfabada qemu-x86_64: Fix for new kernel package option 2020-05-24 20:13:07 -04:00
Samuel Dionne-Riel
746244f9d1 pine64-pinephone-braveheart: Fix for new kernel package option 2020-05-24 20:13:07 -04:00
Samuel Dionne-Riel
2ac23a7828 oneplus-oneplus3: Fix for new kernel package option 2020-05-24 20:13:07 -04:00
Samuel Dionne-Riel
1a4d5a90dc motorola-addison: Fix for new kernel package option 2020-05-24 20:13:07 -04:00
Samuel Dionne-Riel
b13079f37e google-walleye: Fix for new kernel package option 2020-05-24 20:13:07 -04:00
Samuel Dionne-Riel
e1c3130004 google-marlin: Fix for new kernel package option 2020-05-24 20:13:07 -04:00
Samuel Dionne-Riel
0357c2a8ae asus-z00t: Fix for new kernel package option 2020-05-24 20:13:07 -04:00
Samuel Dionne-Riel
350f8549cb asus-flo: Fix for new kernel package option 2020-05-24 20:13:07 -04:00
Samuel Dionne-Riel
879505199a asus-dumo: Fix for new kernel package option 2020-05-24 20:13:07 -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
c26105eabf release-tools: Eval using imports to get the file name
Instead of the following error message:

```
error: The option `mobile.device.info' defined in `<unknown-file>' does not exist.
(use '--show-trace' to show detailed location information)
```

We now get:

```
error: The option `mobile.device.info' defined in `.../mobile-nixos/devices/asus-z00t' does not exist.
(use '--show-trace' to show detailed location information)
```
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
86f850104c xiaomi-tissot: Fix build using new options
(and minor cleanup)
2020-05-24 20:13:07 -04:00