1
1
mirror of https://github.com/NixOS/mobile-nixos.git synced 2024-12-15 11:03:37 +03:00
Commit Graph

1673 Commits

Author SHA1 Message Date
Daniel Barlow
f08d6ab437 fix tyop
Co-authored-by: Samuel Dionne-Riel <samuel@dionne-riel.com>
2021-06-27 23:24:52 +01:00
Daniel Barlow
e44b0097d0 fix panel off-by-5000 bug
CONFIG_SCREEN_OFF_GESTURES adds 5000 to the reported X co-ordinate
when it believes the screen is suspended, but it always believes the
screen is suspended even when it isn't. Hypothesis is that (1)
the pm_ops are not supplied in the i2c_driver code, so the
`suspended=false` line in synaptics_rmi4_resume is not called by
that path; (2) something odd is happening in synaptics_dsx_panel_cb
- which is passed to fb_register_client - such that the equivalent
message from the framebuffer is not being recognised as a reason to
call synaptics_rmi4_resume then either. </Handwaving>
2021-06-27 23:24:52 +01:00
Daniel Barlow
62e446c840 upgrade kernel to lineage-16.0 branch 2021-06-27 23:24:52 +01:00
Daniel Barlow
163c436f1d activate the touchscreen at boot
This is needed for potter: I found the fix in
https://wiki.postmarketos.org/wiki/Troubleshooting#Touch_screen_device_present_but_not_outputting_any_touch_events

which suggests that other motorola devices have the same issue, so I
implemented it as a quirk. I don't yet have any insight on how to find
the correct device path portably
2021-06-27 23:24:52 +01:00
Daniel Barlow
fd3de14746 potter kernel: remove CONFIG_AUDIT
we've already disabled SELinux, not sure if it has any other uses,
and it saved 32k
2021-06-27 23:24:52 +01:00
Daniel Barlow
7aecb4656b use systemdMinimal for udev in initrd
saves 649216 bytes on Potter
2021-06-27 23:24:52 +01:00
Daniel Barlow
b4f27af9ce potter: coalesce seven DTBs into three for space saving
Moto Potter boot partition is only 16MB, which is tight. In the vendor
kernel it has seven hwrev variants with a dts file for each - but four
of them are identical to three of the others. We can make a
significant saving on image size by shipping one of each of the
differing dts files and adding the board-id values of the other
identical hwrevs to each.
2021-06-27 23:24:52 +01:00
Daniel Barlow
8bb3ff7610 add a real partition table to replace the addison one 2021-06-27 23:24:52 +01:00
Daniel Barlow
20c45b6ffa review readme and comments 2021-06-27 23:24:47 +01:00
Daniel Barlow
d5f79c4746 delete untested 32 bit stuff 2021-06-27 23:24:15 +01:00
Daniel Barlow
00040f9e11 add modem firmware (same process as addison)
I haven't tested this extensively, but it causes wlan0 to exist, so
we're on the right track at least
2021-06-27 23:24:06 +01:00
Daniel Barlow
26839fbc8f switch to boulzordev kernel, de-androidify the config 2021-05-25 21:37:52 +01:00
Daniel Barlow
8f4e66ae11 normalize kernel config 2021-05-24 22:31:10 +01:00
Daniel Barlow
3b598c9e66 change addison->potter, copy lineage 15.1 kconfig 2021-05-24 22:24:19 +01:00
Daniel Barlow
a336dd140c clone addison as potter 2021-05-24 21:48:07 +01:00
Samuel Dionne-Riel
4c01b05bc9
Merge pull request #358 from samueldr-wip/fix/readme-chat
README: move chat links
2021-05-21 16:17:56 -04:00
Samuel Dionne-Riel
35e27df7bd README: move chat links 2021-05-21 14:53:59 -04:00
Samuel Dionne-Riel
c926887717
Merge pull request #350 from samueldr-wip/feature/remove-installer-profile
profiles/installer.nix: Remove
2021-04-30 19:48:38 -04:00
Samuel Dionne-Riel
64e8cfb3b5 profiles/installer.nix: Remove
This was never really used properly.
2021-04-30 17:59:35 -04:00
Samuel Dionne-Riel
c4876fccb8
Merge pull request #337 from Artturin/fix-pinephone-audio
pine64-pinephone: add alsa ucm config files to make the audio work
2021-04-30 17:39:10 -04:00
Samuel Dionne-Riel
9d95561e5b
Merge pull request #341 from samueldr-wip/fix/demo-prefer-modesetting
examples/demo: Prefer modesetting first
2021-04-30 15:05:36 -04:00
Samuel Dionne-Riel
e3d8e4a384 examples/demo: Fix wallpaper in modesetting
This is because the wallpaper is set per-display, without falling back
to a general more configurable path before their built-in fallback.
2021-04-29 23:28:55 -04:00
Samuel Dionne-Riel
09fc549450 examples/demo: Prefer modesetting first 2021-04-29 23:28:55 -04:00
Samuel Dionne-Riel
a29fbde4a1
Merge pull request #345 from Mindavi/feature/cross-compilation-fixes
dtbTool-exynos + mkbootimg: support cross-compilation
2021-04-29 17:58:40 -04:00
Samuel Dionne-Riel
bf42da0c3f
Merge pull request #346 from samueldr-wip/package/autoport/0.0.2
autoport: 0.0.1 -> 0.0.2
2021-04-29 16:10:05 -04:00
Samuel Dionne-Riel
e631e80f83 autoport: 0.0.1 -> 0.0.2
Mainly fixes issue with the original host being taken down. (For
unrelated reasons.)
2021-04-29 14:51:33 -04:00
Samuel Dionne-Riel
8155461679
Merge pull request #331 from zhaofengli/pine64-pinetab
device: Add pine64-pinetab
2021-04-29 14:49:39 -04:00
Samuel Dionne-Riel
fc3a04809d
Merge pull request #340 from samueldr-wip/device/pine64/pinephone-gadget-mode
pine64-pinephone: Fixes for gadget mode
2021-04-29 14:33:41 -04:00
Rick van Schijndel
87f58359a8 dtbtool-exynos: support cross-compilation 2021-04-19 20:54:21 +02:00
Rick van Schijndel
f88dbbb978 mkbootimg: support cross-compilation 2021-04-19 20:49:18 +02:00
Zhaofeng Li
aca691b7dd device: Add pine64-pinetab 2021-03-23 21:17:18 -07:00
Samuel Dionne-Riel
59ac9d428c pine64-pinephone: Re-use known working usb id/vendor IDs
Otherwise `adb shell` will not work as expected.

Many phones end up using these identifiers in recoveries (non-official
recoveries mainly) because they are likely to work with ADB, even older
ADB releases.

This sucks, it would be better to have a *proper* USB identifier pair,
but since there is none, let's use one that is known to make the
end-user's life easier.

It's not like the previous identifiers were objectively better.
2021-03-21 00:09:01 -04:00
Samuel Dionne-Riel
12f5297bf6 pine64-pinephone: Fix kernel config for gadget mode 2021-03-20 23:51:40 -04:00
Artturin
b76886cb4b pine64-pinephone: add alsa ucm config files to make the audio work 2021-03-16 03:39:25 +02:00
Zhaofeng Li
aed46c64b5 pine64-pinephone: Use correct title in README.adoc
See #331.
2021-03-10 15:18:35 -08:00
Samuel Dionne-Riel
3fa21329c4
Merge pull request #317 from samueldr-wip/feature/cross-canary
cross-canary: Execute cross-built binaries using qemu-user
2021-03-07 18:21:12 -05:00
Samuel Dionne-Riel
c406e5d229 release.nix: Use canaries from overlay 2021-03-07 17:53:10 -05:00
Samuel Dionne-Riel
f4a488231c release.nix: Filter non-derivations from mobile-nixos overlay
This is much sturdier than manually selecting attrpaths to remove. It
won't break the next time a `make-*` or `*-builder` helper is added.
2021-03-07 17:53:10 -05:00
Samuel Dionne-Riel
cd4eef033e release.nix: Add canary to tested jobs
+ Fix for canary being a callPackage'd attrset
 + Fix for testedPlus job name
2021-03-07 17:52:21 -05:00
Samuel Dionne-Riel
bb375bd177 cross-canary: Verifies static binaries are built 2021-03-07 17:52:21 -05:00
Samuel Dionne-Riel
72ddfee51a cross-canary: Add x86_64 emulator
This is used to run the cross canaries on aarch64-linux host!
2021-03-07 17:52:21 -05:00
Samuel Dionne-Riel
e58dde09d5 cross-canary: runtimeShell is not expected to cross-compile for now 2021-03-07 17:52:21 -05:00
Samuel Dionne-Riel
8431c72373 cross-canary: misc cleanup 2021-03-07 17:52:21 -05:00
Samuel Dionne-Riel
264fd8dc89 cross-canary: mruby -> hello-mruby 2021-03-07 17:52:21 -05:00
Samuel Dionne-Riel
e0ec5cee54 cross-canary: Test the stage-1 script-loader 2021-03-07 17:52:21 -05:00
Samuel Dionne-Riel
d0a26ebfa6 cross-canary: Review for static builds 2021-03-07 17:52:21 -05:00
Samuel Dionne-Riel
3ca606f27d cross-canary: Also test static packages 2021-03-07 17:52:21 -05:00
Samuel Dionne-Riel
9dd5d7e79b cross-canary: Add static mruby test 2021-03-07 17:52:21 -05:00
Samuel Dionne-Riel
db8e7eb0aa cross-canary: Add simple test to validate cross work
At least, to a basic level.
2021-03-07 17:52:18 -05:00
Samuel Dionne-Riel
b07dc19062 cross-workarounds: Don't apply overlay on pkgsBuildBuild
As described near the change, this would cause qemu to become an overly
costly build.
2021-03-07 17:52:04 -05:00