Samuel Dionne-Riel
6554371388
msm-fb-handle: Drop workaround
2020-06-28 23:54:14 -04:00
Samuel Dionne-Riel
322fdb9847
Merge pull request #171 from samueldr-wip/device/xiaomi-begonia
...
device: add xiaomi-begonia
2020-06-28 23:53:07 -04:00
Samuel Dionne-Riel
6e00fa0eee
xiaomi-begonia: LED now defaults to on
2020-06-27 21:42:53 -04:00
Samuel Dionne-Riel
7eee77e797
xiaomi-begonia: Backport kernel logo centering patches
2020-06-27 21:42:53 -04:00
Samuel Dionne-Riel
bcb1037446
xiaomi-begonia: mtkfb: Default to RGB order
2020-06-27 21:42:53 -04:00
Samuel Dionne-Riel
64684c34f8
xiaomi-begonia: Add kernel
2020-06-27 21:42:53 -04:00
Samuel Dionne-Riel
ccc4e5bea1
xiaomi-begonia: Init new device
2020-06-26 22:51:39 -04:00
Samuel Dionne-Riel
e689208135
Merge pull request #173 from samueldr-wip/fix/aarch64-boot-menu
...
boot/gui: Fix cross-compilation breakage
2020-06-26 17:56:24 -04:00
Samuel Dionne-Riel
9f50617ba7
boot/gui: Fix cross-compilation breakage
...
Turns out that `mruby`'s require looks at the actual file name (not the
link) when deciding between loading bytecode or ruby code.
Cross-compilation appends the system to derivation names.
Fun ensues.
This fixes the issue by using `runCommand`, for which it doesn't happen.
2020-06-26 17:38:12 -04:00
Samuel Dionne-Riel
89d31e58d4
Merge pull request #172 from adisbladis/mruby-2_1_1
...
mruby: Fix compatibility with bison 3.6 & bump package version
2020-06-26 17:25:54 -04:00
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