Commit graph

331 commits

Author SHA1 Message Date
Bart Ribbers
27b8ef368f
*/*: replace uboot-tools dependency for u-boot-tools (MR 2141)
uboot-tools is provided by u-boot-tools but sometimes apk still gets
confused. This change prevents errors such as

pine64-pinephone:~$ sudo apk upgrade --verbose
WARNING: Failed to perform initial self-upgrade, continuing with full upgrade.
ERROR: unable to select packages:
  uboot-tools (virtual):
	    provided by: u-boot-tools
			    required by: device-pine64-pinephone-0.25-r1[uboot-tools]
[ci:ignore-count]
[ci:skip-build]: already built in CI successfully
2021-04-27 22:01:06 +02:00
Bart Ribbers
9392512166
qemu-{amd64,aarch64}: prevent display blanking when mce is in use (MR 2127)
mce is used by both Glacier and Asteroid to do all kind of power
management related stuff, including blanking the display. However,
obviously we don't ever want to blank the display on Qemu
2021-04-22 15:50:16 +02:00
Clayton Craft
38e689e5ab
linux-purism-librem5: upgrade to 5.11.11pureos1 (MR 2116)
Upstream changelog:
6dcba4b588

The redpine interrupt handler patch has been dropped since it's now
merged in Purism's tree.

[ci:skip-build]: already built successfully in CI
2021-04-18 23:55:58 +02:00
Clayton Craft
e3715a2d4e
main/linux-purism-librem5: move from community (MR 2096)
[ci:skip-vercheck]: moving unchanged packages
[ci:skip-build]: moving unchanged packages
2021-04-17 22:41:10 -07:00
Clayton Craft
313bb89139
main/device-purism-librem5: move from community (MR 2096) 2021-04-17 22:40:45 -07:00
Oliver Smith
caae6d5405
treewide: bump pkgrel to generate new splashes (MR 1996) 2021-04-11 19:52:37 +02:00
Bobby The Builder
259c9eefe5
pine64-*: change default RAM clock from 552 to 528 (MR 1998)
Issue #981 Change default clock from 552 to 528
(latest batches such as KDE are having issues with 552)
2021-04-05 11:14:18 +02:00
Bobby The Builder
ba84cd8d49
temp/u-boot-pinephone: expose ram_freq in device tree (MR 1998)
Query the ram clock:
cat /proc/device-tree/memory/ram_freq
2021-04-05 11:14:17 +02:00
Bobby The Builder
5322350898
temp/u-boot-pinephone: build with 3 RAM clocks (MR 1998)
U-Boot package will be built and packaged with tree
different images, each with a custom RAM clock.

Supported clocks: 528, 552 and 624
2021-04-05 11:14:13 +02:00
Oliver Smith
a9a343dc16
pine64-pinephone: drop setup-modem.sh.ofono (MR 2066)
Now that eg25-manager is able to send the AT commands to the modem, even
when ofono is used, drop the ofono specific script.
2021-03-28 23:26:36 +02:00
Dylan Van Assche
a57d0c630e
device-pine64-pinephone: Override eg25-manager configs (MR 1931)
Figured out with a Quectel engineer and the ModemManager maintainer
2021-03-22 21:20:31 +01:00
Dylan Van Assche
2055cfad30
device-pine64-pinephone: disable ModemManager's suspend/resume hooks (MR 1931) 2021-03-22 21:20:06 +01:00
Clayton Craft
5023b9c433
device-pine64-pinephone: add gpio_vibra module to initfs (MR 1870)
This is needed to enable osk-sdl's haptic feedback when typing
2021-02-22 15:40:48 +03:00
Bart Ribbers
e2cbd9e4ed
pine64-pinephone: enable Kirigami lowpower mode (MR 1928)
Should increase performance a bit of Kirigami applications by disabling
some fancy stuff like shadows
2021-02-11 09:50:05 +01:00
Martijn Braam
6fe006aa52
device-pine64-pinephone: Enable jack detection (MR 1943)
Enable headset jack detection and automatic switching in the UCM
2021-02-11 09:15:10 +01:00
Oliver Smith
c3b1ffe1df
qemu-amd64: add deviceinfo_dev_internal_storage (MR 1820)
Use to simulate installation from SD to eMMC with:
$ pmbootstrap qemu --second-storage
2021-01-27 16:12:26 +01:00
Oliver Smith
c48037d5ed
pine64-pinephone: add deviceinfo_dev_internal_storage (MR 1820) 2021-01-27 16:11:44 +01:00
Bart Ribbers
be2f27a342
pine64-pinephone: re-add checksums
Not sure how I missed that one, and here I was wondering why CI was
broken
2021-01-27 10:19:29 +01:00
Bart Ribbers
71c3d3cc90
pine64-pinephone: change permissions of flashlight so PlaMo can toggle it (MR 1894)
A hack shamelessly stolen from Manjaro. Plasma Mobile runs in the user
session and needs direct access to the sys entries of the flashlight to
be able to toggle it in the GUI

[skip ci] Broken, thinks there is an unreferenced file while there is
not
2021-01-27 10:03:33 +01:00
Oliver Smith
4b8f37e46e
pine64-pinephone: move shelli alsa cfg to subpkg (MR 1902)
Move the shelli-specific alsa config from MR 1741 into a subpackage that
only gets installed together with shelli.

With the config installed, programs using alsa instead of pulseaudio,
can't be controlled through the volume setting in Phosh anymore (and
probably other UIs too). Shelli doesn't use pulseaudio.

Change the path of the config file like in MR 1877, so it's easier to
override it if necessary.

While at it, improve the APKBUILD slightly by fixing the install_if of
the phosh subpkg (should depend on =$pkgver-r$pkgrel, see APKBUILD
reference), and fix long lines.
2021-01-27 09:29:03 +01:00
Clayton Craft
6606d81688
device-pine64-pinephone: add udev rule for toggling wifi PM on charger change (MR 1863) 2021-01-11 23:30:17 -08:00
Clayton Craft
3a6500492e
device-pine64-pinephone: enable eg25-manager in post-upgrade (MR 1867)
On existing installs of pmOS, the service should also be enabled...
2021-01-10 12:36:39 -08:00
clayton craft
d0588c4046
device-pine64-pinephone: do not rely on modem-power from kernel (MR 1815)
This adds eg25-manager for managing modem power in userspace instead of
relying on the modem-power stuff in the kernel. The userspace
eg25-manager has proven to be more reliable than using modem-power.

An older setup-modem script is installed for ofono, since eg25-manager
cannot interface with ofono (yet).

The eg25 init script was removed since it only dealt with configuring
the modem-power driver in the kernel

[ci:skip-build]: already built successfully in CI
2021-01-08 15:28:11 -08:00
Craig Comstock
c3078f5e97
pine64-pinephone: add default alsa config (MR 1741)
For use with or without pulseaudio.
2020-12-04 13:24:01 +01:00
Bart Ribbers
c981d35ce6
pine64-pinephone: move from community to main (MR 1752)
First actual phone in main 🎉
Fits the requirements for main devices as listed on
https://wiki.postmarketos.org/wiki/Device_categorization.
2020-12-02 02:30:13 +01:00
Luca Weiss
ce76c867df
qemu-aarch64: configure getty on serial console (MR 1626) 2020-10-07 21:49:40 +03:00
Luca Weiss
808b73ca43
qemu-amd64: configure getty on serial console (MR 1626) 2020-10-07 21:49:36 +03:00
Oliver Smith
dbf4d13907
treewide: avoid "More than one maintainer" error (MR 1480)
Alpine's abuild is soon going to complain if an APKBUILD has more than
one "Maintainer:" listed. Work around it by renaming the additional
maintainers to "Co-Maintainer:". While at it, move the devicepkg reference
link to the top in device-xiaomi-santoni for consistency.

In postmarketOS, we require at least two maintainers for devices in
main, therefore it does not make sense to drop additional maintainers
from the file.

In Alpine, this change was made because pkgs.alpinelinux.org apparently
can't handle more than one maintainer. I looked into it, and it would
require a database change to add it there, so it does not seem worth the
effort. I also thought about extending abuild to add an environment
variable to skip the check, but then the package would not build with
plain abuild without using the env var.

Related: dd4cd9d606
[ci:skip-build] [ci:skip-vercheck]
2020-08-08 22:07:20 +02:00
Luca Weiss
a17a931026
device/*: Add deviceinfo_chassis variable (MR 1246)
[ci:ignore-count], [ci:skip-build]
2020-05-24 06:35:30 +02:00
Minecrell
a85db1dc7b
*: remove "Contributor:" lines from APKBUILDs (MR 1203)
At the moment we have Contributor: lines on some packages (but not all of them),
but often they don't represent the actual contributors to the package very well.
E.g. when we added them retroactively to the device packages we only added
the initial contributor (which isn't necessarily the person
who made most of the work for a device...)

The Git history is the most representative source for figuring out
who contributed to a package, so there is no reason to duplicate that
into the APKBUILD.

[skip ci]: way too many packages
2020-05-02 21:45:25 +03:00
Minecrell
900cb19576
qemu-*: move from testing to main (!1121)
For testing changes for device categorization, it is useful to have
a device in each of the categories. The PinePhone is close to being
moved to main/, but it doesn't fulfill all requirements yet.

The QEMU "device ports" are very simple since QEMU currently only
emulates a rather limited set of hardware features. All available features
are working correctly (especially after the recent rework of the QEMU
packages). I suppose it is also usable as a "daily driver", at least for
its intended purpose (a virtual machine for testing postmarketOS changes). :)

Given that everyone can run QEMU, everyone could potentially maintain
it. For now I have added myself as maintainer since I did most of the
recent cleanup. Add drebrez as second maintainer.

Overall it seems useful to have qemu-* in main/, especially because
it is now the device that is selected by default in pmbootstrap.
2020-04-11 15:47:49 +02:00