Commit graph

336 commits

Author SHA1 Message Date
Bart Ribbers
f2634e66e9
pine64-pinebookpro: fix audio with alsa-ucm-conf>=1.2.6.x (MR 2743) 2021-12-21 09:36:49 -08:00
Bart Ribbers
9502d6e221
pine64-pinetab: fix audio with alsa-ucm-conf>=1.2.6.x (MR 2743) 2021-12-21 09:36:48 -08:00
Dylan Van Assche
d5c96ecc4c
linux-odroid-hc2: upgrade to 5.15.7 (MR 2774)
And add patches for CVE-2021-39685

[ci:skip-build] Already built on CI in MR
2021-12-19 23:35:42 +03:00
Mighty
31f7a6d25f
device-samsung-espresso3g: enable automatic kernel upgrades (MR 2766)
Small tweaks:
* enable atomatic flashing of kernel to boot partition on upgrades
* remove rootston.ini
2021-12-19 20:25:26 +03:00
Mighty
427c31262e
linux-samsung-espresso3g: Fix kconfig for newer gcc (MR 2767) 2021-12-17 21:58:28 -08:00
Mighty
8c3abf9a1d
linux-samsung-espresso3g: backport fixes for CVE-2021-39685 (MR 2763)
[ci:skip-build] Already built on CI in MR
2021-12-17 16:49:19 +03:00
Minecrell
717130ccfe
community/linux-asus-me176c: upgrade to 5.4.165 (MR 2756)
Should fix CVE-2021-39685

[ci:skip-build] Already built on CI in MR
2021-12-16 19:32:18 +03:00
Clayton Craft
69634b878e
device/community/firmware-pine64-rockpro64: move from testing (MR 2727)
Devices that depend on this are in community.

[ci:skip-build] already built successfully in CI
2021-12-05 21:30:20 -08:00
Clayton Craft
bbec68b244
device/community/firmware-odroid-hc2: move from testing (MR 2726)
I suspect this was missed when the Odroid HC2 device was moved to
community.

[ci:skip-build] already built successfully in CI
2021-12-05 21:22:52 -08:00
Yassine Oudjana
f3e6d4f227
xiaomi-scorpio: flash the kernel automatically (MR 2721)
Enable automatic kernel flashing on update.
2021-12-05 22:02:30 +01:00
Yassine Oudjana
1a52b9c78f
xiaomi-scorpio: add DRM to the initramfs (MR 2721)
Add DRM modules and GPU firmware to the initramfs.
2021-12-05 22:02:26 +01:00
Jakob Hauser
c655f5cc9c
samsung-a3|a5|klte|serranove: remap left touch key (MR 2718)
Remapping the left key of tm2-touchkey to KEY_MENU.

The KEY_APPSELECT, which is set by the device tree, is not available in
the postmarketOS UIs. In X11 UIs this is due to keycode limitation to
8 bit. In Wayland UIs the keycodes don't have this limitation but xkb
keycodes higher 255 are not processed correctly by several software
packages. It still makes sense to keep KEY_APPSELECT in the device tree
because this is the correct mapping intended by the manufacturers when
running the kernel on Android.
2021-12-05 21:34:10 +01:00
Dylan Van Assche
415ff553f0
linux-odroid-hc2: upgrade to 5.15.5 (MR 2724)
Tested on my ODROID HC2 running edge

[ci:skip-build]: already built successfully in CI
2021-12-05 21:12:03 +01:00
Nikita Travkin
8df6c1c0f7
wileyfox-crackling: Add udev rule for proximity sensor (MR 2700)
iio-sensor-proxy wants to know when to report "near" status. Add an udev
rule defining that value as a workaround untl it can be passed from
the DT.

[ci:skip-build] already built successfully in CI
2021-12-01 13:11:09 -08:00
Danct12
7ffeea5cb7
device-nokia-n900: fix u-boot script typo (MR 2708) 2021-11-26 20:08:50 +00:00
Nikita Travkin
351c24206f
community/soc-qcom-msm8916: add udev rule for pm8916 haptics (MR 2699)
Feedbackd needs to know which device to use for haptics. Add an udev
rule to mark haptics device in the pm8916.
2021-11-23 15:39:31 +01:00
Mighty
b2d88000b8
samsung-espresso3g: add nonfree userland packages (MR 2651)
[ci:skip-build]: already built successfully in CI
2021-11-22 11:41:23 +01:00
Mighty
1c1dbf2363
linux-samsung-espresso3g: upgrade to 5.15.2 (MR 2651) 2021-11-22 11:40:16 +01:00
Mighty
b78fcd1794
samsung-espresso3g: use minimal .ini file for phosh (MR 2651) 2021-11-22 11:40:01 +01:00
Mighty
0ff5a34c3f
samsung-espresso3g: update pkgver and remove unneeded dependency (MR 2651) 2021-11-22 11:39:53 +01:00
Mighty
5b03579500
samsung-espresso3g: move to community (MR 2651) 2021-11-22 11:39:41 +01:00
Minecrell
3a9898689d
<msm8916>: drop variant suffixes from dtb names (MR 2632)
The new kernel version now has the variant suffixes dropped from the
DTB file names as well.
2021-11-21 19:10:58 +01:00
Minecrell
46a7f0ae08
community/arrow-db410c: add _pmb_select="soc-qcom-msm8916-rproc" (MR 2632)
This allows disabling the modem explicitly to get a bit more RAM.
It's also not _particularly_ useful on DB410c because it only provides GPS.
2021-11-21 19:10:58 +01:00
Minecrell
dd935c0d58
community/<msm8916>: use _pmb_select="..." instead of kernel variants (MR 2632) 2021-11-21 19:10:58 +01:00
Minecrell
a9412824ea
community/soc-qcom-msm8916: introduce more flexible rproc selection (MR 2632)
Add a replacement for the current "mainline" and "mainline-modem"
kernel variants used for the MSM8916 devices. At the moment this is
implemented using separate DTBs that are all maintained in the kernel.

Unfortunately, this does not seem likely to be accepted upstream in
the mainline kernel. They will expect to have only a single DTB that
enables all available functionality. The "no-modem" variant is a minor
but still very useful use case because it changes the audio routing:
It allows audio to work without any firmware, with more control on
sample rates, latency etc for advanced audio use cases. However,
having a potentially enabled modem requires routing all audio through
the modem. There are two separate DTBs needed for these two setups.

To avoid burdening mainline with this use case, the idea is to apply
the necessary DTB transformations as part of the lk2nd boot process.
Mainline only contains the DTB with the full functionality (audio
routed through modem). The soc-qcom-msm8916-rproc packages place
a magic file at /boot/lk2nd_rproc_mode that is read by lk2nd. When
the file contains "no-modem" lk2nd will transform the DTB to disable
the modem and change the audio routing to bypass the modem.

That way, this feature does not need to be considered in mainline
at all but can still be offered as "nice to have" by lk2nd. It also
simplifies the device packages because the selection is now common
as part of the soc-qcom-msm8916 package.

Together with a related pmbootstrap change there is a nice prompt
for selecting one of these "rproc" providers:

     $ pmbootstrap init
     [...]
     Available providers for soc-qcom-msm8916-rproc (3):
      * all: Enable all remote processors (audio goes through modem) (**default**)
      * no-modem: Disable only modem (audio bypasses modem, ~80 MiB more RAM)
      * none: Disable all remote processors (no WiFi/BT/modem, ~90 MiB more RAM)
     Provider [default]: ...
2021-11-21 19:10:58 +01:00
Minecrell
04f2850483
community/linux-asus-me176c: upgrade to 5.4.159 (MR 2685)
[ci:skip-build]: already built successfully in CI
2021-11-18 18:06:47 +01:00
Minecrell
eff90a2071
<msm8916+secure boot-venus>: use separate firmware packages (MR 2619)
Rule D: Devices with secure boot and venus present in the firmware
        partition need:

  1. GPU firmware (firmware-qcom-adreno-a300)
  2. msm-firmware-loader (for wcnss, modem, venus)
  4. device-specific -wcnss-nv firmware

[ci:ignore-count]
[ci:skip-build] already built successfully in CI
2021-10-23 14:41:30 -07:00
Minecrell
f84cb52a7f
<msm8916+secure boot+venus>: use separate firmware packages (MR 2619)
Rule C: Devices with secure boot but without venus on the firmware
        partition need:

  1. GPU firmware (firmware-qcom-adreno-a300)
  2. msm-firmware-loader (for wcnss, modem)
  4. device-specific -wcnss-nv firmware
  5. device-specific -venus firmware
2021-10-23 14:41:29 -07:00
Minecrell
c72ed66a27
<msm8916-secure boot+modem>: use separate firmware packages (MR 2619)
Rule A: Devices without secure boot need:
  1. GPU firmware (firmware-qcom-adreno-a300)
  2. msm-firmware-loader (for modem)
  3. firmware-qcom-msm8916-wcnss: more recent wcnss firmware
  4. device-specific -wcnss-nv firmware
  5. firmware-qcom-msm8916-venus: some packaged venus firmware
2021-10-23 14:41:29 -07:00
Minecrell
67176df2f6
arrow-db410c: use separate firmware packages (MR 2619)
Reduce rootfs size a bit by installing the separated firmware packages
instead of the large linux-firmware-qcom package. Also, install the
modem firmware by default to prepare for enabling GPS.
2021-10-23 14:41:29 -07:00
Minecrell
0b269a5601
firmware-<msm8916>: squash firmware blobs (MR 2619)
Squash the packaged venus firmware blobs using pil-squasher so only
one file needs to be loaded rather than many small ones. Linux detects
squashed (.mbn) vs non-squashed (.mdt + .b*) based on file contents
(not file name) so it is fine to install venus.mbn to venus.mdt.
2021-10-23 14:41:29 -07:00
Minecrell
3193027687
community/firmware-bq-picmt: squash firmware blobs (MR 2619)
Strictly speaking firmware-bq-picmt is not needed anymore because
the msm-firmware-loader can be used to load the picmt firmware from
the firmware partitions. However, this package contains quite recent,
largely unmodified firmware from Qualcomm so it still seems useful
to keep if someone wants to test more recent firmware on some other
device (provided that their device does not verify firmware signatures).

To make this firmware package consistent with firmware-qcom-db410c,
squash the firmware blobs using pil-squasher so only one file needs
to be loaded rather than many small ones.
2021-10-23 14:41:29 -07:00
Minecrell
1d923c2aeb
community/firmware-qcom-db410c: package all firmware, squash, new paths (MR 2619)
Unfortunately, at the moment MSM8916 devices always have to install
all of linux-firmware-qcom (~ 60 MiB) when they actually just use
~ 0.008 MiB of GPU firmware in there. Everything else is just big
firmware blobs for other SoCs that are never going to be useful.

It's much more efficient to package the necessary firmware separately
to save rootfs space. The DB410c linux-board-support-package contains
all the firmware from linux-firmware as well, so we can easily package
it as part of the firmware-qcom-db410c package.

This commit makes the following changes to firmware-qcom-db410c:
  1. Package venus() firmware that was previously installed from
     linux-firmware-qcom. GPU firmware is packaged in firmware-qcom-adreno.
  2. Use new firmware paths for DB410c that were applied upstream
  3. "Squash" the firmware blobs to a single file using pil-squasher
2021-10-23 14:41:28 -07:00
Minecrell
d90dc7d4b3
community/firmware-qcom-adreno: new aport (MR 2625)
Add a new firmware-qcom-adreno APKBUILD that packages the GPU firmware
from upstream linux-firmware as separate packages. It is basically
a minimal replacement for linux-firmware-qcom that allows saving rootfs
space by installing only the firmware that is really relevant for the
device.

[ci:skip-build] already built successfully in CI
2021-10-23 14:32:53 -07:00
Minecrell
038186fd71
firmware-<msm8916>: drop unused firmware subpackages (MR 2613)
The firmware provided by these subpackages is now covered by the
msm-firmware-loader, so there is no need to build packages for them
anymore.

[ci:ignore-count]
2021-10-21 13:53:45 +02:00
Minecrell
0163ac2624
xiaomi-wt88047: fix replaces/provides of subpackages (MR 2613)
The "replaces"/"provides" should have the full package name, not just
the part of the subpackage. Also, the nonfree-firmware subpackage does
not need it because the old "device-xiaomi-wt88047-nonfree-firmware-modem-wt88047"
packages were only install_if packages without any files installed.
2021-10-21 13:53:45 +02:00
Nikita Travkin
ac582ac2f4
samsung-gt510: Move to community (MR 2604)
[ci:skip-vercheck][ci:skip-build] Already successfully built on CI
2021-10-21 13:41:33 +02:00
Nikita Travkin
b5d3515422
samsung-gt58: Move to community (MR 2604) 2021-10-21 13:40:59 +02:00
jenneron
15dd2115cf
lenovo-a6010: move to community (MR 2577)
[ci:skip-build]: already built successfully in CI
2021-10-17 13:36:18 +02:00
jenneron
4af1db6e9e
lenovo-a6000: move to community (MR 2577) 2021-10-17 13:35:17 +02:00
Alexey Minnekhanov
d343bb49c6
linux-asus-me176c: switch to installkernel-pmos (MR 2586)
[ci:skip-build] Will never finish in time
2021-10-14 12:28:25 +03:00
Alexey Minnekhanov
f4510ded35
linux-nokia-n900: switch to installkernel-pmos (MR 2586) 2021-10-14 12:28:21 +03:00
Jakob Hauser
b0cdf66653
main/postmarketos-ui-xfce4: further improvements (MR 2506)
Improvements from xfce4-phone source:
- Add screenshot to README.md
- Enable screen locking
- Disable Desktop icons "Home", "File System", "Trash"
- Enable single-click on Desktop
- Enable single-click in Thunar
- Change clock format
- Set postmarketos wallpaper

Additional changes in postmarketos-ui-xfce4:
- Installing greybird-themes (which is already set as default theme in
  /etc/xdg/xfce4/xfconf/xfce-perchannel-xml/xsettings.xml).
- Changing /etc/skel/.config/autostart/onboard-autostart.desktop to
  slightly speed up keysboard startup (overriding startup-delay of
  /etc/xdg/autostart/onboard-autostart.desktop).
- Enabling scrollbars by /etc/profile.d/enable-scrollbars.sh, this is
  helpful where touch-scrolling doesn't work like e.g. in whiskermenu.

(And re-ordered network-manager-applet in APKBUILD _pmb_recommends
section.)

Also removing xfce4 subpackages of device-qemu-amd64,
device-qemu-aarch64 and device-nokia-n900. The device specific monitor
to set the wallpaper will now be automatically derived from "monitor0"
in file xfce4-desktop.xml.

Additionally taking maintainership as discussed in merge request
(!2506).
2021-09-29 18:29:54 +03:00
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