Commit graph

143 commits

Author SHA1 Message Date
Caleb Connolly
62e5d30506
device-oneplus-fajita: flash the kernel automatically (MR 2215)
postmarketos-update-kernel works for us (with !2214)!
2021-06-08 10:44:42 -07:00
Caleb Connolly
0736f49759
device-oneplus-enchilada: flash the kernel automatically (MR 2215)
postmarketos-update-kernel works for us (with !2214)!
2021-06-08 10:44:42 -07:00
Dylan Van Assche
9125d49e8e
device-pine64-pinetab: improve PulseAudio sample rate 2021-06-02 18:57:54 +02:00
Caleb Connolly
be94e89c02
device-oneplus-fajita: fix osk-sdl (MR 2206)
Add the missing depends to add the GPU firmware to the initramfs
so that osk-sdl works properly, as well as the haptics driver.

Also make all logs go to UART, this will clean up the splash screen and
let developers with UART access debug the boot process.

[ci:skip-build] This MR was already built on CI
2021-06-01 21:13:39 +03:00
Caleb Connolly
8fe6b73d06
device-oneplus-enchilada: add audio and fix osk-sdl (MR 2206)
Add the missing depends for our soc package alsa ucm configs. Also add
the missing depends to add the GPU firmware to the initramfs so that
osk-sdl works properly!

Also enable logs and point them to UART, this will clean up the splash
screen and let any developers with UART attached to debug the boot
process.
2021-06-01 21:13:11 +03:00
Caleb Connolly
83413def86
soc-qcom-sdm845: update ucm profiles for op6 (MR 2206) 2021-06-01 21:13:08 +03:00
Oliver Smith
5d59fd43b9
pine64-pinetab: upower: replace config properly (MR 2205) 2021-05-30 17:01:39 +02:00
Dylan Van Assche
ead17254db
device-pine64-pinetab: shutdown on critical battery (MR 2193)
The PMIC AXP803 sends an interrupt to the A64 CPU when the
battery is critical low. This wakes up the tablet at ~10%
battery level, but UPower wasn't configured to add upon
this interrupt as the action level was way lower.
Therefore, the PMIC performed a hard shutdown when the
battery level dropped further, which may cause data loss.
2021-05-30 15:53:12 +02:00
Bart Ribbers
248989c316
pine64-pinetab: depend on u-boot >= 2021.01_git20201228-r2 (MR 2149) 2021-05-27 14:13:16 +02:00
Oliver Smith
99eb9b2fb5
pine64-pinetab: lower headphone volume to 70% (MR 2182) 2021-05-21 20:02:39 +02:00
Oliver Smith
21a2b0f5ea
pine64-pinetab: add gtk4 artifacts workaround (MR 2132) 2021-05-21 00:44:57 +02:00
Dylan Van Assche
094f15a104
device-pine64-pinetab: increase maximum volume headphone jack (MR 2170)
Headphones are not so quiet anymore from now on!
2021-05-20 13:08:26 +02:00
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
Minecrell
96c3a7450a
community/samsung-a3(u)lte: enable screen in initfs (MR 2110)
As of MR 2039, the kernel modules are now stripped (INSTALL_MOD_STRIP=1).
It turns out that this massively reduces their size so that including
the panel + touchscreen modules in the initfs still fits into the
partition. This allows the splash screen and osk-sdl to work correctly.
2021-04-17 23:04:44 -07:00
Minecrell
7a8b981dba
community/samsung-serranovelte: enable screen in initfs (MR 2110)
As of MR 2039, the kernel modules are now stripped (INSTALL_MOD_STRIP=1).
It turns out that this massively reduces their size so that including
the panel + touchscreen modules in the initfs still fits into the
partition. This allows the splash screen and osk-sdl to work correctly.
2021-04-17 23:04:44 -07:00
Minecrell
2b54e057b5
community/samsung-a5(u)lte: enable screen in initfs (MR 2110)
As of MR 2039, the kernel modules are now stripped (INSTALL_MOD_STRIP=1).
It turns out that this massively reduces their size so that including
the panel + touchscreen modules in the initfs still fits into the
partition. This allows the splash screen and osk-sdl to work correctly.
2021-04-17 23:04:44 -07:00
Minecrell
d463361835
community/motorola-harpia: enable screen in initfs (MR 2110)
As of MR 2039, the kernel modules are now stripped (INSTALL_MOD_STRIP=1).
It turns out that this massively reduces their size so that including
the panel + touchscreen modules in the initfs still fits into the boot
partition. This allows the splash screen and osk-sdl to work correctly.
2021-04-17 23:04:44 -07: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
Clayton Craft
23b54b0f05
{device,linux}-purism-librem5: Add Bhushan Shah as co-maintainer (MR 2096) 2021-04-17 22:40:26 -07:00
Caleb Connolly
99f5924d47
device-oneplus-fajita: osk-sdl support and cleanup (MR 2088)
Make needed deviceinfo changes to support osk-sdl, add "quiet" to the
cmdline and bump the package version to 1.

Signed-off-by: Caleb Connolly <caleb@connolly.tech>
[ci:skip-vercheck]
2021-04-16 19:21:27 +02:00
Caleb Connolly
0d7b714f4a
device-oneplus-enchilada: osk-sdl support and cleanup (MR 2088)
Make needed deviceinfo changes to support osk-sdl, add "quiet" to the
cmdline and bump the package version to 1.

Signed-off-by: Caleb Connolly <caleb@connolly.tech>
2021-04-16 19:20:52 +02:00
Caleb Connolly
7ef84a37fc
firmware-oneplus-sdm845: add firmware to initramfs (MR 2088)
Add a subpackage to ensure that GPU firmware is included in initramfs so
that osk-sdl can work.

[ci:skip-vercheck]

Signed-off-by: Caleb Connolly <caleb@connolly.tech>
2021-04-16 19:13:07 +02:00
Caleb Connolly
36eca9bdda
soc-qcom-sdm845: move to community (MR 2088)
[ci:skip-vercheck]
2021-04-16 19:13:07 +02:00
Caleb Connolly
32b488e401
firmware-oneplus-sdm845: move to community (MR 2088) 2021-04-16 19:13:06 +02:00
Caleb Connolly
11be4d37ab
device-oneplus-fajita: move to community (MR 2088) 2021-04-16 19:13:05 +02:00
Caleb Connolly
507adfddbe
device-oneplus-enchilada: move to community (MR 2088) 2021-04-16 19:13:04 +02:00
Minecrell
c1c42c74b8
community/xiaomi-wt88047: move from testing (MR 2073)
[ci:skip-vercheck]: No meaningful change here
2021-04-16 13:16:45 +02: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
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
Clayton Craft
de0bc01e34
purism-librem5: fix bluetooth by disabling LE mode (MR 2089)
This forces coex. mode to only support BT classic/EDR, and disabled LE.
When LE coex. is enabled, BT controller init fails.

see: https://gitlab.com/postmarketOS/pmaports/-/issues/1042
fixes: https://gitlab.com/postmarketOS/pmaports/-/issues/976
2021-04-03 10:58:24 -07:00
Oliver Smith
a909e543f3
nokia-n900: add PMOS_FORCE_PARTITION_RESIZE (MR 2076)
Resize the partition when using a pre-built image. We didn't notice that
this was missing, because N900 images are new and we only tested from
pmbootstrap install --sdcard, which already uses the full SD card size.
2021-03-30 23:03:49 +02:00
Clayton Craft
3d09f9c10d
device-purism-librem5: add nonfree subpackage w/ wifi/bt firmware (MR 2059)
Workaround for https://source.puri.sm/Librem5/linux-next/-/issues/290

This requires a kernel with the flash mode *disabled* in the Redpine
RS911x driver.

[ci:skip-build] already passed CI
2021-03-27 18:37:12 +01:00
Clayton Craft
ddf56b5169
linux-purism-librem5: disable RS9116 fw flashing (MR 2059)
This allows loading nonfree fw from rootfs (/lib/firmware), to work
around: https://source.puri.sm/Librem5/linux-next/-/issues/290

This change will break wifi unless the nonfree
firmware-siliconlabs-rs9116 package is installed.
2021-03-27 18:37:11 +01:00
Clayton Craft
b8c77b240e
device/community/firmware-siliconlabs-rs9116: new aport (MR 2059)
This packages the nonfree Silicon Labs RS9116 firmware, required by the
RS9116 chip when flash mode is *not* enabled in the kernel driver.
2021-03-27 18:37:10 +01:00
Clayton Craft
aaca2d5d38
linux-purism-librem5: upgrade to 5.11.6 (MR 2059)
Upstream changelog:
61e6fc1d50
2021-03-27 18:37:02 +01:00
Minecrell
47ec08d635
community/soc-qcom-msm8916: update UCM files (MR 2039)
- Fix speaker on xiaomi-mido
- Add UCM configuration for alcatel-idol347
2021-03-22 21:22:08 +01:00
Minecrell
b208647c58
bq-paella: include smb1360 (battery/charger driver) in initfs (MR 2039)
This is needed for USB to initialize correctly.
2021-03-22 21:22:08 +01:00
Minecrell
86eff19e0b
community/asus-me176c: fix splash screen width and phosh scaling (MR 2047)
Actually the display in asus-me176c has a width of 800px, which means
that the splash screen isn't perfectly centered. Correct this in
deviceinfo to make it show up correctly.

Also, add configuration file for Phosh to reduce scaling a bit to 1.75.
It's kind of subjective but scaling = 2 definitely feels too large.

[ci:skip-build]: already built successfully in CI
2021-03-21 21:17:59 +01:00
Minecrell
2094a44b23
community/linux-asus-me176c: upgrade to 5.4.107 (MR 2047) 2021-03-21 21:17:57 +01:00
Clayton Craft
56a0531ad2
linux-purism-librem5: build led-pattern driver into kernel (MR 2043)
There's a race condition between when the pwmled device is initialized,
which kicks off a feedbackd udev rule that configures the led trigger to
'pattern', and when ledtrig_pattern actually loads. It seems to mostly
load after the rule runs, so the trigger is never set to 'pattern' on
boot.

This removes the race by building the ledtrig_pattern driver into the
kernel.

[ci:skip-build] Already build successfully in CI
2021-03-21 10:54:29 -07:00
Clayton Craft
a44713cf0d
linux-purism-librem5: add patch to fix wifi performance regression (MR 2043)
This patch fixes a fairly severe performance regression with wifi on the
L5 (something like 20x improvement in performance with this patch)

[ci:skip-build] Already build successfully in CI
2021-03-21 10:54:29 -07:00
Clayton Craft
9ae9a7eb2c
device-purism-librem5: do not start nonexistent service (MR 2034)
Fixes https://gitlab.com/postmarketOS/pmaports/-/issues/1010
2021-03-17 13:36:40 -07:00
Clayton Craft
0dc254adef
device-purism-librem5: use bq25890 ship mode support in kernel (MR 2032)
Ship mode via the mechanism used by purism doesn't work; it's either not
possible or outside my understanding to run an openrc runscript with a
busybox init on *poweroff* and *not reboot*, which is what is required
for this to work properly..

This module param requires a corresponding kernel patch to enable ship
mode support in the bq25890-charger module
2021-03-16 07:38:22 +01:00
Clayton Craft
ee89b6cb24
linux-purism-librem5: add bq25890 patch for ship mode on poweroff (MR 2032)
Submitted to purism here:
https://source.puri.sm/Librem5/linux-next/-/merge_requests/333
2021-03-16 07:38:17 +01:00
Clayton Craft
fe3620e93d
linux-purism-librem5: upgrade to 5.11.4 (MR 2018)
Upstream change logs:

5.11.2:
fdc91c4e20

5.11.4:
a178aa515c

This also adds a -dev subpackage, and cleans up makedepends

[ci:skip-build]: already built successfully in CI
2021-03-14 23:28:31 -07:00
Clayton Craft
07193614cb
device-purism-librem5: use new u-boot location (MR 2023) 2021-03-13 02:18:13 +01:00
Clayton Craft
6ed0879afe
device-purism-librem5: upgrade to 1.15 (MR 2009)
This includes a new librem5-base config release, the most notable change
being some mic echo cancellation changes in pulseaudio config.

Upstream changelog:
351958ffc0

Note: I did not include the upstream change to disable wifi PM. I don't
find the performance to be so bad that it's worth giving up some battery
efficiency for.

Note: the librem5-base thing from purism has a new naming/versioning
format, which is in line with some of their other projects, so the
APKBUILD has been updated to support that too
2021-03-07 20:15:28 +01:00
Clayton Craft
3ed8a1b07c
device-purism-librem5: add smartcard reader support (MR 1993)
This adds a new subpackage that installs dependencies and configures the
smartcard reader on the librem 5. Some setup is required before this
will work (e.g. upgrading reader firmware), the L5 wiki page will have
this information.

The pcsc init script was forked into this package to allow for powering
on the reader *before* the service started. Doing this in a separate
init script would have caused the reader to power on regardless of
whether the pcsc service was set to start, which is not desirable since
it should *only* be powered on when pcsc is starting
2021-02-28 10:50:36 +03:00