1
1
mirror of https://github.com/NixOS/mobile-nixos.git synced 2024-12-16 20:21:32 +03:00
Commit Graph

1257 Commits

Author SHA1 Message Date
Samuel Dionne-Riel
f67bbf99d9 motorola-surfna: Import config from autoport
NOTE: this has been detected as armv7l as the kernel and system on the
device is built for 32 bit ARM. The SoC actually supports 64 bit.
2020-12-28 05:59:46 -05:00
Samuel Dionne-Riel
f2bebaa5a3 hardware-qualcomm: Add msm8940 2020-12-28 05:59:46 -05:00
Samuel Dionne-Riel
91380a8b3d
Merge pull request #260 from samueldr-wip/devices/xiaomi-begonia/misc
xiaomi-begonia: kernel update + fixes
2020-12-27 17:32:51 -05:00
Samuel Dionne-Riel
54220bc004 xiaomi-begonia: work around poweroff issue 2020-12-27 17:31:08 -05:00
Samuel Dionne-Riel
a41d236dc1 xiaomi-begonia: kernel 4.14.184 -> 4.14.194 2020-12-27 17:31:08 -05:00
Samuel Dionne-Riel
073604a3b9 xiaomi-begonia: Stop using vendor ufdt_apply_overlay
This should fix native AArch64 builds.
2020-12-27 17:31:08 -05:00
Samuel Dionne-Riel
19d357d48f ufdt-apply-overlay: Init at 2020-12-13 2020-12-27 17:31:08 -05:00
Samuel Dionne-Riel
17474b48f7
Merge pull request #261 from samueldr-wip/devices/razer-cheryl2/workaround-qol
razer-cheryl2: Workaround made more descriptive
2020-12-27 17:24:49 -05:00
Samuel Dionne-Riel
88b5267dd7 razer-cheryl2: Workaround made more descriptive 2020-12-27 16:39:52 -05:00
Samuel Dionne-Riel
93958aed79
Merge pull request #259 from samueldr-wip/fix/pinephone-native-kernel
kernel-builder: Strip another troublesome config
2020-12-25 23:38:49 -05:00
Samuel Dionne-Riel
9102540f5e kernel-builder: Strip another troublesome config
This config currently breaks the build for native aarch64 pinephone
kernel builds, as it does not appear with cross-compilation.
2020-12-25 22:59:45 -05:00
Samuel Dionne-Riel
a4a36a42cb
Merge pull request #258 from samueldr-wip/feature/pinephone-5.10
pine64-pinephone: kernel 5.9 -> 5.10
2020-12-25 19:37:55 -05:00
Samuel Dionne-Riel
b687361aaf pine64-pinephone: Normalized kernel config on top of 5.10 2020-12-25 16:49:27 -05:00
Samuel Dionne-Riel
90fb0d1df9 pine64-pinephone: Update patch for 5.10 2020-12-25 16:49:27 -05:00
Samuel Dionne-Riel
8650b4c3a6 pine64-pinephone: kernel 5.9 -> 5.10 2020-12-25 15:45:44 -05:00
Samuel Dionne-Riel
1bad3524bb
Merge pull request #188 from noneucat/pinephone-crust
pine64-pinephone-braveheart: implementation of Crust
2020-12-25 14:40:42 -05:00
Samuel Dionne-Riel
194384cc6a
Merge pull request #257 from noneucat/patch-1
Fix attribute 'selectBySystem' missing
2020-12-25 14:02:15 -05:00
Andy Chun @noneucat
0b518aeca5 pine64-pinephone: add Crust 2020-12-25 06:06:12 -08:00
Andy Chun
692544a5ef Fix attribute 'selectBySystem' missing with lib.systems.elaborate
Closes #252.

This uses the `lib.systems.elaborate` function which builds the
complete attrset as preferred by Nixpkgs by using
`lib.systems.elaborate`, rather than building a partial equivalent.

@noneucat originally implemented it the simplest way possible, re-using
parts of the now unneeded custom functions. We can, instead, simply
pass a system name to `elaborate`, which ends up doing the right thing.

Co-authored-by: Andy Chun <andy@lolc.at>
Co-authored-by: Samuel Dionne-Riel <samuel@dionne-riel.com>
2020-12-24 18:25:13 -05:00
Samuel Dionne-Riel
21f662ac08
Merge pull request #249 from samueldr-wip/fix/luks-error-reporting
boot: LUKS errors are "controlled"
2020-11-30 20:54:59 -05:00
Samuel Dionne-Riel
2ab969db37 boot: LUKS errors are "controlled"
This means that we shouldn't raise an exception, but rather fail
outright. The background being black means that things *failed
successfully*, as expected.
2020-11-30 20:45:03 -05:00
Samuel Dionne-Riel
3ada47e6e3
Merge pull request #248 from samueldr-wip/fix/mruby-builder-passthru
mruby-builder: Fix `passthru` being required for mruby builder
2020-11-29 16:48:48 -05:00
Samuel Dionne-Riel
ead0bf029e mruby-builder: Fix passthru being required for mruby builder 2020-11-29 16:03:33 -05:00
Samuel Dionne-Riel
4a64556355
Merge pull request #244 from leenaars/patch-1
Solution for USB3 flashing issue
2020-11-23 13:57:47 -05:00
Samuel Dionne-Riel
a712178a58
Merge pull request #247 from samueldr-wip/device/asus-dumo/fix-kernel-regression
asus-dumo: Fix regression from kernel builder changes
2020-11-22 20:52:31 -05:00
Samuel Dionne-Riel
abc0ab9add asus-dumo: Fix regression from kernel builder changes
The kernel isn't compressed!
2020-11-22 20:37:12 -05:00
leenaars
c73816ef84 Solution for USB3 flashing issue 2020-11-22 19:26:40 -05:00
Samuel Dionne-Riel
8f1cf6fca9
Merge pull request #245 from samueldr-wip/feature/stage-1-recovery-acknowledge
stage-1: Acknowledge recovery boot mode
2020-11-22 16:59:57 -05:00
Samuel Dionne-Riel
fd0a9856bd boot/init: publish desire for recovery mode 2020-11-22 16:53:03 -05:00
Samuel Dionne-Riel
67957f4972 boot/init: Move recovery detection to an abstraction layer 2020-11-22 16:53:03 -05:00
Samuel Dionne-Riel
ff9d66713e boot/splash: Update UI before executing commands
Otherwise we might miss the last message, which may include things to
present to the user, e.g. the label "Continuing to ..."
2020-11-22 16:53:03 -05:00
Samuel Dionne-Riel
cfba499677 boot/splash: Add recovery notification support
To be shown, the publisher has to publish the `recovery` value.
2020-11-22 16:53:03 -05:00
Samuel Dionne-Riel
63ab9f2368
Merge pull request #243 from samueldr-wip/feature/stage-1-ffi-evdev
stage-1: Use evdev bindings for recovery key
2020-11-22 16:52:29 -05:00
Samuel Dionne-Riel
841b835b05 boot/init: update comments in switch_root
It better describes the reasoning for the keys than the previous
"off-the-cuff" comment I left myself.
2020-11-22 16:48:32 -05:00
Samuel Dionne-Riel
ae9ce35a90 boot/lib: Implement evdev query through FFI 2020-11-22 16:48:32 -05:00
Samuel Dionne-Riel
7a30ed255a initrd-boot-gui: Drop evtest dependency 2020-11-22 16:48:32 -05:00
Samuel Dionne-Riel
5928902108 boot/lib: add generated linux input event codes
This could be done a build-time, but it's not like we actually need it
to be the freshest ever.

We're free to update it whenever.
2020-11-22 16:48:32 -05:00
Samuel Dionne-Riel
65d570144f boot/misc: Add script to generate linux input event codes 2020-11-22 16:48:32 -05:00
Samuel Dionne-Riel
0037614821 boot/init: Use the new evdev library
It still uses evdev internally, but first let's change the interface,
*then* change the implementation details.
2020-11-22 16:48:32 -05:00
Samuel Dionne-Riel
f2d1cf95b2 boot/applets: Remove last applet (key-held)
It'll be, at first, bundled-in as-is in a library, then re-done through
evdev ffi.
2020-11-22 16:48:32 -05:00
Samuel Dionne-Riel
92b4eb005d
Merge pull request #242 from samueldr-wip/feature/stage-1-keyboard-input
stage-1: Handle (physical) keyboard input
2020-11-22 16:47:12 -05:00
Samuel Dionne-Riel
a97cf091dd initrd: Provide configuration needed for xkbcommon 2020-11-22 16:45:34 -05:00
Samuel Dionne-Riel
b2a54941de boot/splash: Focus on the text area
This allows keyboard input to be sent to it, thus supporting passphrase
input using a physical keyboard.

Additionally, don't show the focus ring on the only element.
2020-11-22 16:45:25 -05:00
Samuel Dionne-Riel
54a62da803 lvgui: 2020-11-01 -> 2020-11-20 2020-11-22 16:45:25 -05:00
Samuel Dionne-Riel
5467988ca2 lvgui: Provide customized libxkbcommon 2020-11-22 16:45:25 -05:00
Samuel Dionne-Riel
6c7abb0dac initrd: Basic environment is now configurable 2020-11-22 16:45:25 -05:00
Samuel Dionne-Riel
0bcfc63cb8 initrd: Make initrd-meta aware of xz compression 2020-11-22 16:45:25 -05:00
Samuel Dionne-Riel
a853cde215
Merge pull request #241 from samueldr-wip/device/xiaomi-begonia/fix-dtc-overlay
xiaomi-begonia: Don't rely on bundled dtc_overlay
2020-11-22 16:41:40 -05:00
Samuel Dionne-Riel
5bad6b7ab5 xiaomi-begonia: Don't rely on bundled dtc_overlay
While discussing with other devs, working on a samsung device on another
distro, I figured out it was basically free to try and build it with a
shim that's calling "proper" `dtc` and see if it works.

It worked for xiaomi-begonia.

It worked for that other device (on postmarketOS) too!

This means we're suddently gaining the ability to build natively.
Additionally, for postmarketOS, it allows them to build, considering
`dtc_overlay` uses glibc, and postmarketOS doesn't.
2020-11-22 16:40:03 -05:00
Samuel Dionne-Riel
83761e308a
Merge pull request #246 from samueldr-wip/fix/github-actions-broken-2020-11
ci: Update dependencies
2020-11-22 16:19:25 -05:00