1
1
mirror of https://github.com/NixOS/mobile-nixos.git synced 2024-12-24 08:23:33 +03:00
Commit Graph

1136 Commits

Author SHA1 Message Date
adisbladis
04ae1487e9
mruby: 2.1.0 -> 2.1.1 2020-06-26 12:55:52 +02:00
adisbladis
f3bde61126
mruby: Fix bison 3.6 compatibility 2020-06-26 12:55:27 +02:00
Samuel Dionne-Riel
0dab276c3f kernel-builder: Add kernel-builder-clang_9 2020-06-26 01:17:41 -04:00
Samuel Dionne-Riel
17f27ca78d hardware: init mediatek with MT6785 2020-06-26 01:17:41 -04:00
Samuel Dionne-Riel
5b5cf641f8 mkbootimg: 2019.04.13 -> 2020.05.18
This is needed to produce boot images that will not brick some MTK
devices, namely xiaomi-begonia.
2020-06-26 01:17:41 -04:00
Samuel Dionne-Riel
f39ebf4c0e
Merge pull request #169 from samueldr-wip/fix/porting-guide-404
doc: Fix 404 in in-depth devices doc
2020-06-18 17:44:52 -04:00
Samuel Dionne-Riel
fe9a6ad93e doc: Fix 404 in in-depth devices doc 2020-06-18 17:30:03 -04:00
Samuel Dionne-Riel
a980fb9812
Merge pull request #167 from samueldr-wip/fix/readme-unstable
README: Add note about unstable branch
2020-06-17 16:43:43 -04:00
Samuel Dionne-Riel
752540a2c5 README: Add note about unstable branch 2020-06-17 16:03:28 -04:00
Samuel Dionne-Riel
5d5d9394b0
Merge pull request #163 from samueldr-wip/device/pine64-pinephone-braveheart/firmware
pine64-pinephone-braveheart: Add firmware package
2020-06-13 17:46:24 -04:00
Samuel Dionne-Riel
5d8ee42ed5
Merge pull request #164 from samueldr-wip/fix/mruby-os-native
mruby-os: Fix native ARM build
2020-06-13 17:44:30 -04:00
Samuel Dionne-Riel
9de525b8a2 mruby-os: Fix native ARM build
Well, the build wasn't good either with cross, but no tests ran, so it
wasn't caught.
2020-06-11 22:07:43 -04:00
Samuel Dionne-Riel
d41b3750fd pine64-pinephone-braveheart: Add firmware package
The firmware is limited to bluetooth only, nothing else (for now)
requires a discrete firmware file.

It looks like the touchscreen can get one, but it is not required, and
seemingly no one provides one.
2020-06-11 19:11:17 -04:00
Samuel Dionne-Riel
f68c78cacb
Merge pull request #158 from samueldr-wip/feature/stage-1-firmware
Add firmware support to stage-1
2020-06-06 01:03:09 -04:00
Samuel Dionne-Riel
0b0e02c3d1
Merge pull request #157 from samueldr-wip/device/asus-dumo/kernel-5.7
asus-dumo: kernel 5.5 -> 5.7
2020-06-05 19:17:31 -04:00
Samuel Dionne-Riel
141ffff360 asus-dumo: Provide minimal firmware for stage-1
The firmware is part of the unfree redistributable set already in
nixpkgs, so unlike some other devices in-tree (asus-z00t) we can
directly add the firmware to the build without any issue.
2020-06-01 18:59:32 -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
e4c72a08aa asus-dumo: kernel 5.5 -> 5.7 2020-06-01 18:19:05 -04:00
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