Commit graph

293 commits

Author SHA1 Message Date
Joel Selvaraj
6aea56cd98
firmware-xiaomi-beryllium: upgrade to V12.0.3.0.QEJMIXM (MR 2558) 2021-09-28 14:21:43 +02:00
Nikita Travkin
74b45d4afc
samsung-serranovelte: drop lte suffix, use msm-firmware-loader (MR 2431) 2021-09-27 15:54:04 +03:00
Minecrell
4662042bfa
wileyfox-crackling: use msm-firmware-loader (MR 2431) 2021-09-27 15:23:51 +03:00
Minecrell
e7364b1f21
bq-paella: use msm-firmware-loader (MR 2431) 2021-09-27 15:23:50 +03:00
Minecrell
74239f039e
motorola-harpia: use msm-firmware-loader (MR 2431) 2021-09-27 15:23:50 +03:00
Nikita Travkin
e24dc38ce5
xiaomi-wt88047: use msm-firmware-loader (MR 2431)
Switch to automatic firmware loading to handle regional variants of the
device automatically.
2021-09-27 15:23:50 +03:00
Nikita Travkin
a1688878a2
samsung-a5*: squash to a5, use msm-firmware-loader (MR 2431)
Right now we have multiple variants of A5 that are only different in
secure-boot keys and as such different firmware blobs.
Use msm-firmware-loader to support all A5 variants with a single device
port. Because of that, drop lte suffix as there are 3g variants as well.
2021-09-27 15:23:50 +03:00
Nikita Travkin
7c7f5c7300
samsung-a3*: squash to a3, use msm-firmware-loader (MR 2431)
Right now we have multiple variants of A3 that are only different in
secure-boot keys and as such different firmware blobs.
Use msm-firmware-loader to support all A3 variants with a single device
port. Because of that, drop lte suffix as there are 3g variants as well.
2021-09-27 15:23:50 +03:00
Johannes Marbach
95d375879c
treewide: firmware: use pmb:cross-native/!tracdeps (MR 2468)
Add pmb:cross-native/!tracedeps to applicable firmware packages and
secure both with a test.

This sets the pmb:cross-native and !tracedeps options on all firmware-*
packages that are compatible with the native compilation method. A unit
test ensures the presence of both options while maintaining a list of
exempted packages.

Fixes: #718
[ci:ignore-count] [ci:skip-vercheck] [ci:skip-build]
2021-09-19 18:57:36 +02:00
Dave Young
b7cc62d0c4
n900 kernel cmdline: s/tty02/ttyO2 (MR 2531)
Signed-off-by: Dave Young <dyoung@redhat.com>
2021-09-19 17:30:25 +02:00
Minecrell
26b44a94f7
device/soc-qcom-msm8916: replace msm-modem-rpmsg with msm-modem (MR 2535)
Starting with Linux 5.14, the modem can be controlled through the new
WWAN subsystem in Linux with the WWAN RPMSG CTRL driver. This is also
supported in ModemManager 1.18 and the pmOS fork of oFono.

Drop the udev rules for the previous approach through the RPMSG chardev
since this causes the modem to be detected twice by ModemManager and oFono.
2021-09-19 17:03:31 +02:00
bo41
79061c94ce
device/*: remove empty variables (MR 2534)
[ci:ignore-count] [ci:skip-vercheck]
[ci:skip-build]: built all the device packages successfully in CI
                 already
2021-09-19 16:56:34 +02:00
Dylan Van Assche
093488b82f
device-odroid-hc2: drop NetworkManager (MR 2455)
Console UI can be used now instead of None UI.
Console UI is necessary to have access to the device over SSH
as no display can be used.

[ci:skip-build] already built successfully in CI
2021-09-10 19:32:46 -07:00
Dylan Van Assche
c3b1eeda66
odroid-hc2: move to community (MR 2455)
This devices runs a close-to mainline kernel as linux-odroid-hc2.
I have 2 of these devices which power my selfhosted infrastructure
for some time now and they work really well! Running my selfhosted
infrastructure on Alpine stable releases would be great.
2021-09-10 19:32:45 -07:00
Clayton Craft
1bbc4a2f9d
pine64-pinebookpro: fix audio after 5.14 kernel upgrade (MR 2473)
ucm2 paths changed after the kernel upgrade

[ci:skip-build] already built successfully in CI
2021-09-07 15:51:18 -07:00
Clayton Craft
307c46d943
device-pine64-pinetab: change ucm2 install path to support 5.14 kernel (MR 2471)
with 5.14, there's some change to the path that alsa searches for ucm2
for this device. the install path for PineTab.conf is changed, and it
references "full" path to HiFi and VoiceCall profiles (which I kept in
`PineTab` dir, so that there could be several configs for the same
driver later on, if necessary/desired)

[ci:skip-build] already built successfully in CI
2021-09-05 13:43:09 -07:00
Clayton Craft
65bae8615b
device-*: don't use 'flavor' in kernel/initramfs names (MR 2426)
[ci:ignore-count]
[ci:skip-build] too many changed kernels/packages, won't complete in CI
2021-09-03 10:29:07 -07:00
Joel Selvaraj
a8cb30512f
device-xiaomi-beryllium: adjust phosh scaling (MR 2416)
The phosh scaling is made an integer to avoid scaling issues
in some apps and wallpaper.

[ci:skip-build] Already built on CI in MR
2021-08-26 02:14:48 +01:00
Joel Selvaraj
10f2001eb0
firmware-xiaomi-beryllium: upgrade to latest commit (MR 2416)
Contains venus firmware for hw accelerated video encoding and decoding.

Also, ipa firmware is moved to beryllium folder as mbn format instead of
mdt+bXX files.

The list of files in firmware.files is now file type-wise alphabetically
sorted. Just for better readability.
2021-08-26 02:14:47 +01:00
Caleb Connolly
ac8d589210
device-oneplus-fajita: 5.14 and phosh changes (MR 2416)
Fix deviceinfo to reference the new names for fg and haptics modules.

Bump phosh scaling to 3.0
2021-08-26 02:14:47 +01:00
Caleb Connolly
8d534e86cb
device-oneplus-enchilada: 5.14 and phosh changes (MR 2416)
Fix deviceinfo to reference the new names for fg and haptics modules.

Bump phosh scaling to 3.0
2021-08-26 02:14:47 +01:00
Joel Selvaraj
487333981f
soc-qcom-sdm845: 5.14 feedbackd fix and modemmanager suspend/resume support (MR 2416)
Fix the feedbackd rule as the haptics modules has been renamed.

Although SDM845 doesn't really suspend well, MM needs suspend
and resume support when the device attempts to suspend. Without
which MM will crash and wont resume properly when a suspend
action is triggered.

Depend on msm-modem-uim-selection to configure to modem for modemmanager
2021-08-26 02:14:15 +01:00
Nikita Travkin
1e7c23fb92
community/device-xiaomi-wt88047: Add new panel module (MR 2458)
[ci:skip-build] Already successfully built on CI
2021-08-24 14:45:03 +02:00
Nikita Travkin
f8c8a96389
community/soc-qcom-msm8916: Update ucm to use JackControl (MR 2458) 2021-08-24 14:43:35 +02:00
Bobby The Builder
16d91a3514
community/device-pine64-pinetab: disable sysrq config (MR 2447)
it's already disabled in kernel config:

      sysctl: cannot stat /proc/sys/kernel/sysrq: error code 2
       *   Unable to configure kernel parameters from /etc/sysctl.d/sysrq.conf
2021-08-22 19:24:17 +02:00
Bart Ribbers
2a185f64d5
pine64-rockpro64: add myself as co-maintainer (MR 2362)
[ci:skip-vercheck]
[ci:skip-build] already built successfully in CI]
2021-08-09 20:16:28 -07:00
Bart Ribbers
80d5c34ac7
pine64-rockpro64: move to community (MR 2362)
This device runs on linux-postmarketos-rockchip which at the moment of
writing is 5.13.0 with (only) 6 patches applied, so close-to mainline.
I personally use 2 of these devices with postmarketOS installed daily as
my homeserver setup and it has worked really well. It's also a good
target to run Plasma Bigscreen on as a TV setupbox
2021-08-09 20:06:37 -07:00
Caleb Connolly
9e2a6201d4
firmware-oneplus-sdm845: add venus firmware (MR 2418)
I forgot to include this firmware in the list, lets deal with that now
>.<

[ci:skip-build] already built successfully in CI
2021-08-09 20:04:03 -07:00
Clayton Craft
f9932a0850
device-pine64-pinebookpro: add Clayton as maintainer (MR 2352) 2021-08-02 11:30:50 -07:00
Clayton Craft
0001e6cad8
device-pine64-pinebookpro: move to community (MR 2352) 2021-08-02 11:30:50 -07:00
Clayton Craft
30d41b8e89
firmware-pine64-pinebookpro: move to community (MR 2352) 2021-08-02 11:21:34 -07:00
Bobby The Builder
4a594d22b1
device-pine64-pinetab: remove cma from boot args (MR 2371)
default value already defined:
   Symbol: CMA_SIZE_MBYTES [=256]
   Type  : integer
   Defined at kernel/dma/Kconfig:134
2021-07-22 23:54:02 -07:00
Yassine Oudjana
ca02197e70
device-xiaomi-scorpio: enable big cluster (MR 2365)
Now that CPU scaling is enabled, there is no need to disable the big cluster,
which was hurting performance before by staying at 19.2 MHz. Remove maxcpus=2
from the command line arguments.

[ci:skip-build] Already built successfully on CI
2021-07-20 23:04:37 +03:00
Ultracoolguy
88f2ff05fa
soc-qcom-msm8916: Update ucm to include motorola-ocean (MR 2350) 2021-07-19 07:48:10 +02:00
Yassine Oudjana
69498c9489
soc-qcom-msm8996: Rename haptics udev rule (MR 2339)
The update to Linux v5.13.1 also includes updating the haptics driver
to the latest one posted to the mailing lists, which was renamed to
qcom-spmi-haptics. Rename the udev rule for this driver and update the
driver name in it.

[ci:skip-build] already built successfully in CI
2021-07-12 10:46:22 -07:00
Caleb Connolly
4158c8361f
firmware-oneplus-sdm845: upgrade firmware to latest (MR 2332)
Upgrade the firmware files to files pulled from the latest OTA (OOS 11
beta 21.05.11).
2021-07-10 05:38:59 +03:00
Clayton Craft
f1e0404fb8
device/*: set gpu_accelerated for devices that show '3D=Y' on wiki (MR 2078)
[ci:ignore-count]
[ci:skip-vercheck] needed for the postmarketos-ui-* packages in this
series
[ci:skip-build] already built ui-* packages in CI, and device pacakges
are just trivial deviceinfo change (manually built some just to verify)
2021-07-07 08:06:17 +03:00
Nikita Travkin
e9e9a74b1d
soc-qcom-msm8916: use msm-modem-uim-selection (MR 2291)
Some msm8916 devices, primarily with two sim slots, require slot
to be selected. Install uim-selection script for all msm8916 devices
with modem enabled.

[ci:skip-build] already built successfully in CI
2021-07-05 07:41:23 +03:00
Danct12
3dd89c9a5e
linux-nokia-n900: upgrade to kernel 5.7.19 + build zram module (MR 2308)
Signed-off-by: Danct12 <danct12@disroot.org>
2021-07-04 11:51:42 +02:00
Minecrell
4c666d67aa
arrow-db410c: also include DTB in "second" part of boot image (MR 2297)
I sometimes test DB410c via mainline U-Boot, which wants to have the
DTB in the "second" part of the Android boot image. Otherwise it works
fine. Include it there additionally to simplify this.

[ci:skip-build] already built successfully in CI
2021-07-02 13:49:18 -07:00
Clayton Craft
72baa9ee0c
linux-nokia-n900: enable missing kconfig for nftables support (MR 2284) 2021-07-01 09:05:15 +03:00
Yassine Oudjana
b627285177
device-xiaomi-scorpio: Add RMTFS to runlevel default (MR 2283)
Having RMTFS at runlevel boot makes it start the modem too fast and causes
crashes. Move it to runlevel default with a post-install.

[ci:skip-build] already built successfully in CI
2021-06-30 22:19:07 -07:00
Alexey Minnekhanov
fe4c16f810
pine64-pinetab: Resign from maintaining (MR 2281)
My engineering prototype 1 Gb pinetab is close to unusable,
so I can't use it to test pmOS. Also, PINE64 is no longer
selling these devices, and the ones that were sent previously
to some developers use different display panel anyway.

Martijn Braam and Dylan Van Assche agreed to maintain it.

[skip ci]
2021-06-27 16:29:15 +02:00
Joel Selvaraj
c78c633a06
device-xiaomi-beryllium: move device to community (MR 2257)
Adds OSK-SDL support, automatic kernel update support and
move device to community.
2021-06-25 22:09:44 +02:00
Clayton Craft
cfc8f7b12c
linux-asus-me176c: add kconfig check for nftables (MR 2060) 2021-06-14 14:04:37 -07:00
Clayton Craft
035896c571
linux-nokia-n900: enable nftables support (MR 2060)
Based on https://wiki.gentoo.org/wiki/Nftables#Kernel
2021-06-14 13:29:34 -07:00
Yassine Oudjana
ee581e5f16
device-xiaomi-scorpio: update and move to community (MR 2188)
- Add SLPI to nonfree_firmware description
- Add touchscreen and fuel gauge modules to the initramfs in preparation for
  osk-sdl and charging-sdl (or any new alternative) support
- Add pointercal file for osk-sdl

[ci:skip-vercheck]
2021-06-11 12:07:35 +02:00
Yassine Oudjana
14b1e693a5
firmware-xiaomi-scorpio: update and move to community (MR 2188) 2021-06-11 12:06:44 +02:00
Yassine Oudjana
b9a124c591
soc-qcom-msm8996: update and move to community (MR 2188)
Add linux-firmware-qcom as a dependency for nonfree_firmware to provide
non-signed GPU firmware.
2021-06-11 12:06:33 +02:00
Jakob Hauser
6614be1f17
device/community: add swclock-offset dependency for affected SoCs (MR 2241)
Set package dependency "swclock-offset" to "soc-qcom-msm8916" and
"soc-qcom-sdm845".

These SoC's have a read-only real-time clock (RTC). The package
"swclock-offset" keeps an offset between the RTC and the system time.
2021-06-10 18:29:24 +03:00
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
Clayton Craft
f65516e2cf
community/linux-purism-librem5: upgrade to 5.11.1pureos1 (MR 1987)
Changelog:
42b617ee93

[ci:skip-build]: doesn't finish within 3 hours (can somebody fix this?)
2021-02-27 23:30:05 +01:00
Clayton Craft
5943517ffe
device-purism-librem5: upgrade to 1.13 (MR 1960)
Main change is librem5-base v35, upstream changelog:
89c9c55def

Removed a dtb in the deviceinfo that is no longer generated on newer
kernels
2021-02-21 13:54:22 +01:00
Clayton Craft
9ebdbd023c
linux-purism-librem5: upgrade to 5.11.0pureos1 (MR 1960)
Purism has changed the kernel name they used, so that's reflected in the
apkbuild.

This kernel includes patches for renaming the audio device, and requires
a corresponding upgrade to the device package to bring in the new ucm2
config changes for that.
2021-02-21 13:54:18 +01:00
Minecrell
55503f0e52
samsung-a3lte: move from testing to community (MR 1963)
There is already samsung-a3ulte in community, and the devices actually
share the same kernel, device tree, and basically everything except
firmware. We just need separate firmware packages because Samsung uses
different secure boot certificates on a3lte and a3ulte.

They also share the same wiki page which suggests installation using
the pre-built images now, so having pre-built images only for
samsung-a3ulte is quite confusing for users.

The situation is similar as for samsung-a5ulte and samsung-a5lte
which also are both in community already.
2021-02-17 12:05:08 +01:00
Bart Ribbers
99b8c5b1e5
pine64-pinetab: enable Kirigami lowpower mode (MR 1928) 2021-02-11 09:50:05 +01:00
Alexey Min
00e0036ff2
pine64-pinetab: enable sd to emmc installation (MR 1927)
This enables to build ondev installer image
with an ability to install to internal eMMC
with `pmbootstrap install --ondev --sdcard=...`.
2021-02-04 23:48:30 +03:00
Clayton Craft
361114359f
device-purism-librem5: change default dtb when board_rev is not set (MR 1920)
According to Purism, the imx8mq-librem5.dtb alias is going away soon,
and we should be using the -r2 dtb. The -r2 dtb (which represents
Birch/Chestnut L5 variants) is most compatible, it'll boot on later
variants. dtbs for later L5 devices won't work on older devices.
2021-02-03 15:40:46 -08:00
Bhushan Shah
3a82b531f5
device-purism-librem5*: drop workaround for mesa (MR 1906)
This is now no longer needed in both Plasma Mobile or Phosh. Compositor
seems to handle it correctly.
2021-01-29 09:35:38 +01:00
Clayton Craft
22a5e4dda5
device-purism-librem5: upgrade to 1.11 (MR 1896)
- Upgrade librem5-base to v33
- Include the haptic vibration driver in initfs for supporting osk-sdl's
  haptic feedback feature
- remove gps udev rule in pmaports in favor of using rule from
  librem5-base
- install modem audio udev rule from librem5-base
- add openrc service for putting device into 'ship mode' on shutdown
  (prevents battery from slowly draining)
- include Evergreen/r4 dtb in /boot
- Fix audio with port of ucm config to ucm2 (patch submitted upstream
  here: https://source.puri.sm/Librem5/librem5-base/-/merge_requests/214)
2021-01-27 15:36:21 +01:00
Nikita Travkin
b9af242f4f
wileyfox-crackling: updates for 5.11 kernel (MR 1871)
Change modules included in initfs, remove "no charging" note for
mainline kernel.
2021-01-27 10:09:01 +01:00
jonathan
332b6b5d6e
bq-paella: add truly display panel to initfs, update dtb paths (MR 1871) 2021-01-27 10:09:00 +01:00
Minecrell
7bef094fae
{bq-paella,wileyfox-crackling,xiaomi-wt88047}: remove modprobe.conf (MR 1871)
The modprobe.conf is not necessary on those devices because they already
load the panel module using deviceinfo_modules_initfs. Let's skip the
modprobe.conf in that case so we don't need to add all panels in two places.
2021-01-27 10:09:00 +01:00
Clayton Craft
afe338cee4
linux-purism-librem5: upgrade to 5.9.16+librem5.2 (MR 1904)
Upstream changelog:
ef903bb16a
2021-01-27 09:26:18 +01:00
Clayton Craft
6db0e21df7
device-purism-librem5: add udev rule for toggling wifi PM on charger change (MR 1863) 2021-01-11 23:34:23 -08:00
clayton craft
6410ab3fe5
linux-purism-librem5: upgrade to 5.9.15 (MR 1836)
Upstream changelog:
868f3eb852

Suspend is also disabled in the kconfig, since it is not
supported/working on this device

[ci:skip-build]: already built successfully in CI
2020-12-28 15:34:10 +01:00
Luca Weiss
de9b5d3c21
pine64-pinetab: move to community (MR 1753)
[ci:skip-build]: already built successfully in CI
2020-12-06 18:06:31 -08:00
clayton craft
e067004579
linux-purism-librem5: upgrade to 5.9.12+purism5.1 (MR 1791)
[ci:skip-build]: already built successfully
2020-12-06 18:01:13 -08: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
clayton craft
15a07ac74c
device-pine64-pinephone: add craftyguy as co-maintainer (MR 1765)
I have been working a lot with this device lately, and own one, so it
seems appropriate right‽

[ci:skip-build]: already built successfully in CI
2020-11-27 22:20:03 -08:00
clayton craft
4915578771
device-pine64-pinephone: fix audio after pulseaudio upgrade (MR 1765)
After pulseaudio 14.0 was released, audio on the pinephone was broken.
This applies the relevant config from here to fix it:
c23f92aa46

[ci:skip-build]: already built successfully in CI
2020-11-27 22:19:52 -08:00
Minecrell
b3248bfd32
device/community/soc-qcom-msm8916: fix regressions after PA update (MR 1760)
New upstream ALSA/PulseAudio release, new UCM regressions - of course!
Introduce some new hacks to make the ALSA UCM configurations work again.

This fixes weird "Combination of Speaker,Primary Microphone" outputs
appearing in the PulseAudio mixer.

And while we're at it, some minor improvements/additions:

  - Default to Speaker/PrimaryMic instead of Headphones/Headset
    I believe this is just a workaround until headphones detection
    works properly.

  - Add UCM configurations for oppo-a51f and lenovo-a6010
2020-11-26 11:45:14 +01:00
Luca Weiss
959bbaaffe
treewide: remove unused files (MR 1731)
These files aren't references by any APKBUILD, delete them.
2020-11-18 11:24:01 +01:00
Dylan Van Assche
9d0c1b48d8
Set voice call playback rate to 8000 Hz, closes #864 (MR 1711) 2020-11-14 00:46:37 -08:00
Bart Ribbers
bb41f53879
pine64-pinephone: clean setup-modem.sh script (MR 1701)
Since we now use the in-kernel modem driver of Megi's 5.9 kernel, the
majority of the setup script has become unnecessary. Remove all the now
unnecessary commands and keep it just for enabling VoLTE auto profile
selecting

https://megous.com/git/linux/tree/drivers/misc/modem-power.c?h=orange-pi-5.10#n531
https://megous.com/git/linux/tree/drivers/misc/modem-power.c?h=orange-pi-5.10#n580
https://megous.com/git/linux/tree/drivers/misc/modem-power.c?h=orange-pi-5.10#n610
2020-11-13 01:08:58 -08:00
clayton craft
5a7962685e
purism-librem5: set deviceinfo_mesa_driver (MR 1625) 2020-11-12 23:42:39 -08:00
Luca Weiss
870db09b50
pine64-pinephone: set deviceinfo_mesa_driver to get fast osk-sdl (MR 1625) 2020-11-12 23:41:29 -08:00
clayton craft
fb42b3b601 device-purism-librem5: upgrade to 1.8 (MR 1689)
- Upgrade librem5-base config
        - add goodix touch input and edx touchscreen drivers to
          deviceinfo/initramfs
2020-11-10 02:58:12 +00:00
clayton craft
b721b442e6 linux-purism-librem5: upgrade to 5.9.5 (MR 1689) 2020-11-10 02:58:12 +00:00
Clayton Craft
38607b7f12
device-purism-librem5: select dtb based on device rev (MR 1673)
[ci:skip-build]: already built successfully in CI
2020-11-02 09:07:26 +01:00
Clayton Craft
48d1727d15
linux-purism-librem5: upgrade to 5.9.1 (MR 1673)
This also includes a patch from Purism that is the best workaround so
far for the hang that plagues Dogwood phones.
2020-11-01 19:15:42 -08:00
Minecrell
421095284a
device/community/soc-qcom-msm8916: fork alsa-ucm-conf entirely (MR 1655)
Upstream keeps making breaking changes in patch releases.
Let's fork alsa-ucm-conf entirely for now instead of just patching
in some files to ensure that these files don't break every few months.

This fixes audio on MSM8916 devices when not using the modem.
2020-10-30 17:10:18 +01:00
clayton craft
737f33e561
pine64-pinephone: add workaround for purging the -elogind subpackage (MR 1660)
This subpackage was removed when a proper fix for suspend was merged,
however apk doesn't know to purge this subpackage, so the old elogind
hook workaround stuck around. This workaround could probably be removed
once we're sure all folks on edge have installed this upgraded package
with the 'provides'...
2020-10-28 22:34:56 -07:00
Martijn Braam
07a7853b50
device-pine64-pinephone: add autofocus firmware (MR 1656)
[ci:skip-build]: already built successfully in CI
2020-10-28 11:57:32 -07:00
Pedro Moreno
e4366d5f8a
Pinephone: Fix excessive mic noise on call (MR 1652)
Fix ucm2 settings to lower mic boost and increase mic volume.

Fixes: #720
2020-10-28 11:45:02 -07:00
Bhushan Shah
378904d076
device-pine64-pinephone: remove the elogind hook (MR 1651)
musb_hrdc bug is fixed properly with kernel patch, so we do not need to
do this bind/unbind dance anymore.

This partially reverts commit f7d743a213.
2020-10-27 13:58:34 +05:30
clayton craft
f7d743a213
device-pine64-pinephone: fix suspend with elogind (MR 1636)
- re-enable console suspend, which seems to be broken with elogind when
  suspending (kernel gets hung up indefinitely in vt_waitactive)

- add a suspend hook to work around the musb driver not allowing the
  device to suspend

Based on my testing, this option seems to prevent suspending via
elogind (using `loginctl suspend`). When console suspend is disabled,
the kernel gets hung up in the call to vt_waitactive, and elogind times
out trying to suspend.
2020-10-25 11:17:34 -07:00
Oliver Smith
517f905b84
pine64-pinephone: update devicepkg for 5.9 kernel (MR 1614)
* update modem init for modem_power
* adjust alsa configs
* remove obsolete megapixels config file

Related: https://xnux.eu/log/#020
Co-Authored-By: Martijn Braam <martijn@brixit.nl>
2020-10-20 18:02:24 +02:00
clayton craft
bdf120c6a7
device-purism-librem5: upgrade to 1.6 (MR 1628)
This new version:
        - Upgrades device config from upstream to v25
        - Fixes a problem using modesetting driver on Xorg (lightdm
          was broken because it now uses Xorg)
        - Override GDK to use GLES (change from upstream Purism)
2020-10-08 22:08:35 -07:00
clayton craft
d2cf30ae66
linux-purism-librem5: upgrade to 5.9.0-rc8 (MR 1628) 2020-10-08 22:08:35 -07:00
Martijn Braam
879bd336b7 device/pine64-pinephone: remove megapixels config (MR 1587)
(cherry picked from commit 2ac5e8f90a9f491520b880a98d16a7a4fe0a5c43)
2020-10-07 12:55:20 +02:00
Minecrell
e9925b4a72
device/community/soc-qcom-msm8916: update ALSA UCM configurations (MR 1603)
- Add UCM configuration for Xiaomi Redmi 2 (wt88047)
- Add UCM configuration for Xiaomi Redmi Note 4 (xiaomi-mido)
- Some fixes to UCM configuration for BQ Aquaris X5 (bq-paella)
2020-10-05 02:16:19 +03:00
Minecrell
2c491df415
bq-paella: enable splash screen (MR 1602)
Actually the display has been working in initramfs since MR 1261
(device-bq-paella: enable display and touchscreen on boot).
We should make it explicit in deviceinfo.
2020-09-28 14:49:14 +02:00
Bart Ribbers
f88001e233
firmware-pine64-rtl8723bt: upgrade to 0_git20200705 (MR 1588) 2020-09-18 22:32:07 +03:00
Oliver Smith
1acf66c8bf
pine64-pinephone: add megapixels config (MR 1537)
Copy of https://git.sr.ht/~martijnbraam/megapixels/tree/master/pinephone.ini
Let's do it like with other device specific configs, and put them into
the device package. It's a short file and it looks like it won't change
often.
2020-09-14 22:29:49 +02:00
Ralf Rachinger
583d433d85
device/device-pine64-pinephone: swaps L/R at Headset (MR 1556)
This Patch is needed, because in the kernel the audio from the cpu to the headset gets turned around. We need to turn this around again.
Please revert this if there is a fixed kernel.
2020-09-13 15:00:20 -07:00
Bart Ribbers
ff0929c925
asus-me176: modernize APKBUILD (MR 1538) 2020-09-08 10:09:07 +02:00
Luca Weiss
3720293639
pine64-pinephone: add anx7688 module to initramfs for usb keyboards (MR 1555)
The anx7688 module is needed for any USB devices to probe which we want
in the initramfs for unlocking osk-sdl using a USB-connected keyboard.
2020-09-07 21:19:59 +02:00
Linus Walleij
eb8a6b0cd0
device-nokia-n900: Add Finnish/Swedish keymap (MR 1519)
This adds a Finnish/Swedish key map for the Nokia n900.
The same keymap is used for Finnish and Swedish.

This makes the keyboard work in the console. To fix the
XkbLayout other changes are needed to pmbootstrap.

Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
2020-09-07 18:24:07 +02:00
Danct12
da565bb838
community/firmware-analogix: add new firmware (MR 1421)
Signed-off-by: Danct12 <danct12@disroot.org>
2020-08-19 15:57:25 +02:00
Danct12
11c6587dca
device/*: switch to Alpine Mesa (MR 1496)
[ci:ignore-count]

Signed-off-by: Danct12 <danct12@disroot.org>
2020-08-18 14:53:31 +07:00