Commit graph

548 commits

Author SHA1 Message Date
Joel Selvaraj
cba716d2ec
community/soc-qcom-sdm845: update alsa ucm conf (MR 3702)
Update ucm conf to latest commit. Fixes headphones volume too high issue.

[ci:skip-build]: already built successfully in CI
2022-12-09 08:17:55 +01:00
Bobby The Builder
c7dc9e5fc3
linux-pine64-pinephonepro: Enable on-boot USB network initialization (MR 3688)
CONFIG_USB_GADGET=y
   CONFIG_USB_DWC3_DUAL_ROLE=y
   CONFIG_USB_XHCI_HCD=y
   CONFIG_USB_XHCI_PLATFORM=y
   CONFIG_USB_DWC2=y
   remove un-necessary activated configs

[ci:skip-build]: already built successfully in CI
2022-12-07 20:54:43 +01:00
Sicelo A. Mhlongo
fcc93a83df
linux-nokia-n900: upgrade to lts 5.15.81 (MR 3692)
- Upgrade to linux 5.15.81
- Remove SPI driver for accelerometer to stop unnecessary dmesg output

[ci:skip-build]: already built successfully in CI
2022-12-07 09:52:35 +01:00
Jan Jasper de Kroon
d8be6416d2
device/community/linux-pine64-pinephonepro: Upgrade to 6.1-rc8 (MR 3685)
- Also enabled LRU_GEN by default like on the PinePhone OG
- Set Ext4 module to built-in as this currently is the main fs used for PPP.
Contains the following patch:
- pinephone pro: finished fix for LCD to make it refresh at precisely 60 Hz

[ci:skip-build]: already built successfully in CI
2022-12-07 09:35:20 +01:00
Newbyte
ab590f2186
linux-postmarketos-exynos4: reduce boot image size (MR 3656)
Otherwise it doesn't fit the small kernel partition on some exynos4
devices (such as samsung-p4note).

Closes https://gitlab.com/postmarketOS/pmaports/-/issues/1785

[ci:skip-build]: Already built successfully in CI
2022-12-04 18:14:55 +01:00
Luca Weiss
6981fb47b6
community/firmware-fairphone-fp4: move from testing (MR 3687)
I missed moving this package when moving the device package to
community.

[ci:skip-vercheck]
2022-12-03 11:56:45 +01:00
Mithil Bavishi
b7fd6c90b0
linux-postmarketos-omap: update config (MR 3653)
[ci:skip-build]: already built successfully in CI
2022-12-02 08:50:52 +01:00
Mithil Bavishi
91035012b1
device: New device samsung-espresso10 2022-12-02 08:50:48 +01:00
Mithil Bavishi
c45c27008c
device-samsung-espresso3g: Rename to espresso7 2022-12-02 08:50:47 +01:00
Jacopo Mondi
9db5f1d9f6
device/pine64-pinephonepro: Build DW9714 lens module (MR 3677)
Add the CONFIG_DW9714 symbol to the PinephonePro defconfig.

The PinephonePro rear camera module uses the DW9714 VCM to drive the
lens, and a driver is required to successfully complete the media
graph probe sequence.

Signed-off-by: Jacopo Mondi <jacopo@jmondi.org>
2022-12-01 12:19:52 +00:00
Joel Selvaraj
ba6c4be060
community/device-oneplus-fajita: add q6voiced conf as it can make calls now (MR 3639)
Related dts and alsa ucm confs are merged in our tree.
2022-11-28 09:07:33 +01:00
Joel Selvaraj
156d093bc5
community/device-oneplus-enchilada: update q6voiced conf to match kernel (MR 3639) 2022-11-28 09:07:33 +01:00
Joel Selvaraj
e95d28a6e7
community/soc-qcom-sdm845: update ucm confs and add call audio idle suspend workaround (MR 3639)
In SDM845, the q6voice kernel driver connects modem and audio backends.
Callaudiod seems to switch to correct audio device and prepares it, however, the audio
device get's closed since no one from the userspace is actively listening to it.
This cuts the audio in call. As a workaround, I have added to script to disable the
suspend-on-idle pulseaudio module during calls, so the audio devices don't close automatically.
2022-11-28 09:07:33 +01:00
Alexander Martinz
8e5d58b8ad
community/linux-postmarketos-qcom-sdm845: upgrade to 6.1.0_rc4 (MR 3639)
Includes the following changes:
- rebase onto rc4
- squash a few changes which were marked to get squashed/fixups
- dropped "wcd934x: use .prepare and .shutdown instead of .trigger"
- OP6 audio device tree changes
- revert of a DSI DCS commit[1], which caused havoc in unprepare
  hooks of panel drivers

[1] - https://lore.kernel.org/linux-arm-msm/1892d0af-8aa4-dc03-887a-e44bb623b836@linaro.org/

Change-Id: I4790a278c0d35618ca824a036982769e66767ffd
Signed-off-by: Alexander Martinz <amartinz@shiftphones.com>
2022-11-28 09:07:28 +01:00
Sicelo A. Mhlongo
e3154dd055
nokia-n900: use updated serial console name (MR 3662)
Since 00648d0282dcca1da453c0b20d27e24bf901a854, the correct serial console name
is ttySx instead of the older ttyOx. Reflect this in cmdline passed to kernel
via u-boot

[ci:skip-build]: already built successfully in CI
2022-11-23 09:07:39 +01:00
Mithil Bavishi
9147bbd9bc
linux-postmarketos-omap: update config (MR 3653) 2022-11-22 10:29:33 +01:00
medsouz
59c3894c44 device/pine64-pinephonepro: Load Pinephone Pro devicetree with Grub (MR 3628)
Restores Pinephone Keyboard functionality
2022-11-14 09:38:27 -05:00
Mithil Bavishi
432c4991fd
linux-postmarketos-omap: Add charger (SMB347) support for espresso10 (MR 3626)
[ci:skip-build]: already built successfully in CI
2022-11-13 20:16:20 +01:00
Jan Jasper de Kroon
c7c7fbce18
pine64-pinephonepro: Clean up double handled modem udev-rules (MR 3635)
Same as with PinePhone, remove some udev rules already handled by eg25-manager udev.

[ci:skip-build]: already built successfully in CI
2022-11-12 13:05:38 +01:00
Jan Jasper de Kroon
955ac29f0d
device/community/linux-pine64-pinephonepro: upgrade to 6.0.8 (MR 3599)
Upgrade PinePhone Pro kernel to rebased 6.0.8
Including 11 PinePhone Keyboard patches.

[ci:skip-build]: already built successfully in CI
2022-11-11 08:21:36 +01:00
Dylan Van Assche
64dc758fed
community/soc-qcom-sdm845: fix earpiece SHIFT6mq (MR 3618)
Update to latest ALSA UCM configs to fix earpiece on SHIFT6mq

[ci:skip-build] already built successfully in CI
2022-11-06 21:40:54 -08:00
Anton Bambura
99d21ecfef
community/firmware-lenovo-a6010: add myself as maintainer (MR 3611) 2022-11-02 19:07:31 +01:00
Anton Bambura
c1a125b56f
community/firmware-lenovo-a6000: add myself as maintainer (MR 3611) 2022-11-02 19:07:30 +01:00
Oliver Smith
f01b561b97
device/community/soc-*-ucm: set provider_priority (MR 3597)
Setting unversioned provides= without provider_priority is not valid.
Set provider_priority=1, the related aports MR will set it to 10 in
alsa-ucm-conf.

Related: https://gitlab.alpinelinux.org/alpine/aports/-/merge_requests/40814
2022-11-02 15:02:55 +01:00
Oliver Smith
a258f27d03
device/community/firmware-bq-picmt: fix provides (MR 3597) 2022-11-02 15:02:54 +01:00
Alexander Martinz
a2c2a6573e
community/linux-postmarketos-qcom-sdm845: upgrade to 6.1.0_rc3 (MR 3580)
Change-Id: Ice7c2942892eb0a173dcded835d5fac5a8f32066
Signed-off-by: Alexander Martinz <amartinz@shiftphones.com>
[ci:skip-build]: already built successfully in CI
2022-11-02 14:54:57 +01:00
Dylan Van Assche
d8c4343bea
community/soc-qcom-sdm845: add ALSA UCM for SHIFT6mq (MR 3606)
Update the ALSA UCM package for the SDM845 so the ALSA UCM configs for
the SHIFT6mq are included. Speaker, microphones, headset work fine in
HiFi mode. In Voice Call mode, the microphone works, but the earpiece is
still silent.

[ci:skip-build]: already built successfully in CI
2022-11-01 16:53:49 +01:00
Dylan Van Assche
9ce52b3587
community/device-shift-axolotl: add q6voiced config (MR 3606)
q6voiced is a daemon to allow voice calls with the q6voice kernel
driver. Add its config so it can open the right audio device on the
SHIFT6mq during a call.
2022-11-01 16:53:49 +01:00
Luca Weiss
c4fac0adfa
community/linux-postmarketos-qcom-sm6350: enable new community options (MR 3560)
[ci:skip-build] # too many packages for 3h
2022-10-31 21:20:26 +01:00
Luca Weiss
5db3c291f2
community/linux-postmarketos-qcom-msm8996: enable new community options (MR 3560) 2022-10-31 21:19:46 +01:00
Luca Weiss
9ecbd62fce
community/linux-postmarketos-qcom-msm8916: enable new community options (MR 3560) 2022-10-31 21:19:35 +01:00
Luca Weiss
d49ecb9dbb
community/linux-postmarketos-omap: enable new community options (MR 3560) 2022-10-31 21:18:22 +01:00
Luca Weiss
9a462d3759
community/linux-postmarketos-exynos4: enable new community options (MR 3560) 2022-10-31 21:17:39 +01:00
Luca Weiss
76f5a4ab50
community/linux-pine64-pinephonepro: enable new community options (MR 3560) 2022-10-31 21:17:36 +01:00
Luca Weiss
bbce946108
community/linux-nokia-n900: enable new community options (MR 3560) 2022-10-31 21:16:39 +01:00
Sicelo A. Mhlongo
930d8ecad2
device-nokia-n900: fix Fn key in latest xkb-config (MR 3596)
Explicitly set Fn key as Mod5. In xkeyboard-config up to 2.36, this was somehow
set implicitly, since it was working, although I am not sure where/how. In 2.37
it only works when specified.

[ci:skip-build]: already built successfully in CI
2022-10-31 12:34:01 +01:00
Sicelo A. Mhlongo
789343b8c7
device-nokia-n900: enable use of rtc time at boot (MR 3586)
Since N900 rtc works fine, remove swclock from boot as it causes time to be set
wrong. Additionally, rtc device is set correctly in kernel, so remove old,
adjusted hwclock config.

Partially reverts pmaports 0e502a5139
[ci:skip-build]: already built successfully in CI
2022-10-28 08:37:16 +02:00
Joel Selvaraj
c9dc088afd
community/firmware-xiaomi-beryllium: update maintainer info (MR 3497)
Venji10 is no longer involved in actively maintaining the package for more than a year plus.
Changing myself to be the maintainer and also updated my email id.

[ci:skip-build]: already built successfully in CI
2022-10-24 09:46:44 +02:00
Joel Selvaraj
2decd7eb54
community/xiaomi-beryllium: update q6voiced conf and update maintainer information (MR 3497)
Because of recent changes to kernel and alsa-ucm-conf,
the q6voiced device is changed.

Venji10 is no longer involved in actively maintaining the package for more than a year plus.
Changing myself to be the maintainer and also updated my email id.
2022-10-24 09:46:39 +02:00
Joel Selvaraj
c831889cb3
community/soc-qcom-sdm845: upgrade alsa-ucm-conf and add co-maintainer (MR 3497)
Rebased our work on top of latest upstram alsa-ucm-conf.
The beryllium ucm conf is also reworked to fix wrong default audio device issue
and now headphones auto-switching on plugin also works as expected.

Adding myself as a co-maintainer for this package.

Change-Id: I360c60d1675c884c9e85cd95f940fa6cb4b75e83
Signed-off-by: Joel Selvaraj <joelselvaraj.oss@gmail.com>
2022-10-24 09:46:38 +02:00
Alexander Martinz
e5334cd8fa
community/linux-postmarketos-qcom-sdm845: upgrade to 6.0.3 and update co-maintainer email id (MR 3497)
Change-Id: I986b3401fd81ac18b7336f8f0be53e2cf4c4515c
Signed-off-by: Alexander Martinz <amartinz@shiftphones.com>
Signed-off-by: Joel Selvaraj <joelselvaraj.oss@gmail.com>
2022-10-24 09:46:34 +02:00
Mithil Bavishi
fb9bc89df8
linux-samsung-espresso3g: remove (MR 3563)
[ci:skip-build]: ollie verified it builds locally
2022-10-23 14:01:38 +02:00
Mithil Bavishi
784919ce5e
samsung-espresso3g: use linux-postmarketos-omap (MR 3563) 2022-10-23 14:01:33 +02:00
Mithil Bavishi
e34cce6e0f
community/linux-postmarketos-omap: upgrade to 6.0.2 (MR 3563) 2022-10-23 14:01:28 +02:00
Sicelo A. Mhlongo
45aaac6d30
linux-nokia-n900: fix usbnet regression (MR 3567)
After c49180f8cf, usbnet did not come up on N900
automatically since the UDC probed a little late. Fix this by making the driver
built-in.

While at it, make watchdog built-in so it can be kicked even when boot takes
long for any reason.

[ci:skip-build]: already built successfully in CI
2022-10-21 09:17:26 +02:00
Jan Jasper de Kroon
a526c9213d
linux-pine64-pinephonepro: add WiFi CVE backports (MR 3552)
These are the patches added to mitigate the CVE's which have been found in wifi stack.
More information on these CVE's can be found over here: https://seclists.org/oss-sec/2022/q4/20

[ci:skip-build]: Already built successfully in CI
2022-10-20 19:04:43 +02:00
Yassine Oudjana
2837bdb657
community/linux-postmarketos-qcom-msm8996: upgrade to 6.0.2 (MR 3561)
[ci:skip-build]: already built successfully in CI
2022-10-20 09:21:42 +02:00
Sicelo A. Mhlongo
c49180f8cf
linux-nokia-n900: apply wifi cve fixes (MR 3558)
- Downgrade kernel from EOL 5.18 to LTS 5.15 in order to apply WiFi CVE fixes.
  It is currently not possible to upgrade to newer (5.19+) kernels due to a USB
  regression.
- Modify 0005-iio-accel-st-accel-add-lis302dl.patch so it applies on 5.15.74
- Reinstate 0008-wl1251-specify-max.-IE-length.patch for nl80211 support. Patch
  was dropped because it is in mainline since 5.18

[ci:skip-vercheck]: downgrade
[ci:skip-build]: already built successfully in CI
2022-10-19 08:34:43 +02:00
Alexander Martinz
13046d8972
community/linux-postmarketos-qcom-sdm845: upgrade to 5.19.16 (MR 3556)
For a merge list, please see the merge commits:
  - 5.19.13 - (6384fddb50)
  - 5.19.14 - (85caddc9c8)
  - 5.19.15 - (fca27cdc51)
  - 5.19.16 - (9aa25bf492)

Note: This is an important release, as 5.19.16 fixes the recently
      published wifi stack vulnerabilities.

Change-Id: Iffff2c65bdd697b01bc5d8fc090e9a2f2577c701
Signed-off-by: Alexander Martinz <amartinz@shiftphones.com>
2022-10-18 10:54:34 +02:00
Newbyte
2f8a5bf400
linux-postmarketos-exynos4: upgrade to 6.0.2 (MR 3539)
Part of https://gitlab.com/postmarketOS/pmaports/-/issues/1749
[ci:skip-build]: already built successfully in CI
2022-10-16 16:32:37 +02:00
Anjandev Momi
7270f472e3
treewide: fix tabs, final newline, trailing whitespace (MR 3530) 2022-10-16 16:27:22 +02:00
Martijn Braam
8ff73a7de4
pine64-pinebookpro: enable deep sleep (MR 3543)
After testing 6.0.0 I retried deep sleep and it seems to work fine now

[ci:skip-build]: already built successfully in CI
2022-10-16 16:07:00 +02:00
Jan Jasper de Kroon
97ed826c3c
linux-postmarketos-rockchip: upgrade to 6.0.2
This kernel upgrade comprises of 2 point releases 6.0.1 and 6.0.2.
the release from 6.0 to 6.0.2 is a regular maintenance release.
Kernel update 6.0.2 addresses 5 important CVE's in the Wifi stack.
More info can be found over here: https://seclists.org/oss-sec/2022/q4/20

[ci:skip-build]: already built successfully in CI
2022-10-16 16:03:21 +02:00
Luca Weiss
f007868914
community/linux-postmarketos-qcom-sm6350: upgrade to 6.0.2 (MR 3542)
* Merge 6.0.2 stable
* Add pm7250b PMIC to dts

[ci:skip-build] Already built successfuly on CI in MR
2022-10-16 13:47:54 +02:00
Minecrell
d4762ed74f
community/linux-postmarketos-qcom-msm8916: upgrade to 6.0.2 (MR 3532)
- Update to Linux v6.0.2 (includes fixes for WiFi CVEs)
- Tweak kernel configuration slightly (especially crypto options)

[ci:skip-build] Already built successfuly on CI in MR
2022-10-16 13:15:35 +02:00
Minecrell
8f37872995
community/linux-postmarketos-qcom-msm8916: upgrade to 6.0.1 (MR 3532)
- Update to Linux v6.0.1
- Upstreamed some patches this time
- Fixed register address in smb1360 driver

Device changes:
  - samsung-gtelwifiue
    - Audio
    - Better USB detection
  - samsung-e5/e7/grandmax
    - Refactoring for changes that landed upstream
    - Key LED control

New devices:
  - samsung-cprime/heatqlte
    - eMMC, SD card, USB, Buttons, WiFi/BT, Vibrator
    - Display, Brightness control (not for AMOLED on heatqlte)
    - Sensors (Accelerometer)
    - Sound/Modem
    - Battery status
    - NFC
    - NOTE: No touchscreen yet
2022-10-16 13:15:33 +02:00
Newbyte
4818c2c2cd
linux-postmarketos-exynos4: enable zstd compression (MR 3522) 2022-10-15 13:10:31 +02:00
Henrik Grimler
2c68614713
linux-postmarketos-exynos4: update patch 0005 after kernel upgrade (MR 3522)
Our patch needs to be adjusted after commit 58e4a2d27d32 ("extcon: Fix
extcon_get_extcon_dev() error handling").  Also generate all other
patch headers, and make it possible to apply patch 0008 and 0009 with
git am.
2022-10-15 13:10:31 +02:00
Martin Jücker
b15f448999
linux-postmarketos-exynos4: add missing lcd patches for p4note (MR 3522) 2022-10-15 13:10:28 +02:00
Martin Jücker
4668038a9a
linux-postmarketos-exynos4: update to 6.0.1 (MR 3522) 2022-10-15 13:09:41 +02:00
Anton Bambura
5ec845da6e
linux-postmarketos-rockchip: drop armv7 and upgrade to 6.0 (MR 3526)
[ci:skip-build] Already built successfuly on CI in MR
2022-10-14 12:41:30 +02:00
Jami Kettunen
57492bf7da
soc-qcom-sdm845: move some deps to nonfree subpackage (MR 3531)
Both msm-modem-uim-selection and bootmac depend on nonfree firmware to
be useful, so put them under soc-qcom-sdm845-nonfree-firmware.
2022-10-14 11:55:57 +02:00
Luca Weiss
570f7a50b5
community/device-fairphone-fp4: add qbootctl & swclock-offset (MR 3529)
The qbootctl service tells the bootloader that the current boot has
succeeded, so that the bootloader doesn't switch to the other slot after
~7 tries.

The swclock-offset dependency ensures that the time is set correctly
after a reboot, caused by the read-only RTC on Qualcomm.

[ci:skip-build]: already built successfully in CI
2022-10-13 09:37:15 +02:00
Dang Huynh
ae252a05a4
device-nokia-n900: use wl1251-cal for calibration data (MR 3386) 2022-10-12 21:39:13 +02:00
Newbyte
270e5e28ad
device: drop depend on mesa-dri-gallium (MR 3478)
This is now installed by postmarketos-base when appropriate.
2022-10-11 11:19:43 +02:00
Newbyte
70efe55031
linux-*: install dtbs to /boot/dtbs (MR 3254)
[ci:ignore-count]: Too many packages probably
[ci:skip-build]: No way this would finish in time
2022-10-09 17:04:30 +02:00
Dylan Van Assche
08bed11db5
community/device-shift-axolotl: refactor fwupd plugins (MR 3513)
fwupd 1.8.6 has all plugins builtin, remove subpackages
2022-10-09 16:22:19 +02:00
Dylan Van Assche
2867af783a
community/device-pine64-pinephonepro: refactor fwupd plugins (MR 3513)
fwupd 1.8.6 has all plugins builtin, remove subpackages
2022-10-09 16:22:03 +02:00
Minecrell
018b1a1a2d
community/device-asus-me176c: switch to linux-edge (MR 3167)
Linux 5.18 brought better support for some x86-based Android tablets,
thanks to work from Hans de Goede. This includes asus-me176c: the
modified ACPI table and the Linux fork is no longer necessary,
it can just run linux-edge from Alpine.

Drop the old Linux 5.4 fork and related packages. Instead of using
the proprietary sound firmware from linux-firmware-intel, switch to
using the open-source(!) "Sound Open Firmware" (SOF).

NOTE: The mainline battery driver seems quite a bit less accurate
than the ugly old driver ported from the downstream driver. Also,
Bluetooth seems to fail on some boots now. Overall it works quite
well though. :)
2022-10-06 01:34:42 +03:00
Jami Kettunen
abde87678f
soc-qcom-sdm845: fix dependency typo of -vulkan subpackage (MR 3495)
Fixes:

  ERROR: unable to select packages:
    mesa-vulkan-freedreeno (no such package):
      required by: soc-qcom-sdm845-vulkan-9-r0[mesa-vulkan-freedreeno]

Reference: https://pkgs.alpinelinux.org/package/edge/main/aarch64/mesa-vulkan-freedreno
2022-10-05 14:52:08 +02:00
Caleb Connolly
c24bb158a6
soc-qcom-sdm845: automatically install vulkan support (MR 3494)
[ci:skip-build]: already built successfully in CI
2022-10-05 09:17:24 +02:00
Alexander Martinz
37c7f81f55
community/linux-postmarketos-qcom-sdm845: upgrade to 5.19.12 (MR 3474)
For a merge list, please see the merge commits:
  - 5.19.8  - (30c780c930)
  - 5.19.9  - (203e94fc47)
  - 5.19.10 - (a88cf36006)
  - 5.19.11 - (ade68530f5)
  - 5.19.12 - (c19a1c06f1)

Change-Id: Ic6b7f59f326516db392c6281d2cee139a9b92794
Signed-off-by: Alexander Martinz <amartinz@shiftphones.com>

[ci:skip-build] Already built successfuly on CI in MR
2022-10-03 17:39:15 +02:00
Caleb Connolly
bcd0b58cfb
community/firmware-oneplus-sdm845: add OnePlus 6T speaker firmware (MR 3462)
The speaker codec driver is currently carried in the sdm845 mainline
kernel fork, we need the firmware to make use of it.
2022-10-01 22:08:46 +02:00
Caleb Connolly
d9e75b4d92
community/firmware-oneplus-sdm845: clean up package logic (MR 3462) 2022-10-01 22:08:41 +02:00
Vincent Knecht
63a4d7ab0b
community/soc-qcom-msm8916: update ALSA UCM files (MR 3473)
- alcatel-idol347: enable headphones jack control
- msm8916-wcd: fix SpeakerHPHLR switch

[ci:skip-build]: built successfully locally, bpo needs bump
2022-10-01 11:54:28 +02:00
Raymond Hackley
6f074ad61d
samsung-*: Add USB ID (MR 3469)
Some devices have 04e8:6860 as their USB ID. Add it to deviceinfo.

[ci:ignore-count]
[ci:skip-build]: already built successfully in CI
2022-09-28 09:10:57 +02:00
Bart Ribbers
aaa238793d
linux-postmarketos-qcom-sdm845: add BTRFS support (MR 3458)
pmbootstrap allows generating btrfs images (install --filesystem btrfs)
but the sdm845 devices don't support booting it without this
2022-09-27 15:26:27 +02:00
Oliver Smith
18a08fff5d
treewide: adjust deviceinfo to new linting rules (MR 3454)
[ci:ignore-count]
2022-09-27 09:26:53 +02:00
Sicelo A. Mhlongo
f18afd9145
device-nokia-n900: remove duplicates in deviceinfo (MR 3455)
Remove duplicated keyboard/keymap definitions in deviceinfo
2022-09-25 16:05:14 +02:00
Alexander Martinz
67bfa9a8ff
device-shift-axolotl: depend on fwupd and friends (MR 3457)
The SHIFT6mq (axolotl) now supports updating the bootloader via
the new android-boot fwupd plugin.

A big shoutout and heartfelt "Thank You!" to Dylan for working
on this plugin and upstreaming it.

Change-Id: I1d608ce293a152e9354ca117cd370952df3f41ad
Signed-off-by: Alexander Martinz <amartinz@shiftphones.com>
2022-09-23 12:01:00 +02:00
Luca Weiss
2c58ce8e45
device/{community,main}/*: migrate to pmb:kconfigcheck-community (MR 3422)
Replace usages of pmb:kconfigcheck-* options with
pmb:kconfigcheck-community which will be required for all devices in
community/main category. This ensures more consistent features &
behavior across devices.
2022-09-21 22:25:49 +02:00
Sicelo A. Mhlongo
5da6060cd9
device-nokia-n900: Add x11 keymap (MR 3430)
Add rx-51 x11 keymap to device package in response to #1521

[ci:skip-build]: already built successfully in CI
2022-09-13 09:10:47 +02:00
Luca Weiss
64d8dc390e
community/linux-postmarketos-qcom-sm6350: adjust config (MR 3416)
Switch to minimal config that I've been using for development for the
last months, with some minor modifications. In addition to that enable
all the kconfig options that will be a part of the new
pmb:kconfigcheck-community (anbox/waydroid + iwd + nftables + containers
+ zram + netboot).

Note by ollieparanoid:
Re-applied it after I just reverted it. Now realized that I didn't need
to revert this in the first place, this is and aarch64 package and the
cross compilers (x86_64 packages) needed to be published. Anyway, the
gcc mess is mostly resolved now, see issue 2167.

[ci:skip-build] Already built successfuly on CI in MR
2022-09-11 16:43:38 +02:00
Oliver Smith
16d4b59ab8
Revert "community/linux-postmarketos-qcom-sm6350: adjust config (MR 3416)"
Temporarily revert this, so bpo can first build and publish all gcc
cross packages. The build for this linux package currently failed - I
could also set it back to queued and have it build, but that would delay
the publish of the gcc-aarch64 package until the kernel is built.

This reverts commit 979cc0bfb6.
2022-09-11 16:27:19 +02:00
Luca Weiss
979cc0bfb6
community/linux-postmarketos-qcom-sm6350: adjust config (MR 3416)
Switch to minimal config that I've been using for development for the
last months, with some minor modifications. In addition to that enable
all the kconfig options that will be a part of the new
pmb:kconfigcheck-community (anbox/waydroid + iwd + nftables + containers
+ zram + netboot).

[ci:skip-build] Already built successfuly on CI in MR
2022-09-10 15:01:25 +02:00
Luca Weiss
566b8de98a
device/*: Remove pmb:kconfigcheck-apparmor (MR 3410)
Remove as we are removing apparmor check from pmbootstrap

[ci:skip-vercheck] No rebuild necessary
[ci:skip-build]: already built successfully / also not really needed
2022-09-08 08:31:35 +02:00
Alexander Martinz
13ec74abfb
community/linux-postmarketos-qcom-sdm845: upgrade to 5.19.7 (MR 3394)
For a merge list, please see the merge commits:
  - 5.19.1 - (447097cc4b)
  - 5.19.2 - (ffe84a5d13)
  - 5.19.3 - (421c4a4220)
  - 5.19.4 - (58306b544f)
  - 5.19.5 - (3985649cd0)
  - 5.19.6 - (ce51b06459)
  - 5.19.7 - (3c3bb62908)

Change-Id: I43256c81b91fe7aa69bad0f27503888120ac2973
Signed-off-by: Alexander Martinz <amartinz@shiftphones.com>
2022-09-06 14:09:40 +02:00
Dylan Van Assche
3ec4e103fa
community/linux-pine64-pinephonepro: enable SPI flash (MR 3401)
SPI flash for Tow-Boot was enabled a long time ago, but the config was missing in pmaports.

Enables https://gitlab.com/pine64-org/linux/-/merge_requests/29
[ci:skip-build]: already built successfully in CI
2022-09-05 08:47:34 +02:00
Dylan Van Assche
7d72743b1f
device-odroid-hc2: switch to linux-edge (MR 3378)
ODROID HC2 is based upon the Samsung Exynos 5422 and can run full
mainline. Switch to linux-edge from Alpine to enable this and drop
the close-to-mainline fork for this device. The close-to-mainline
fork was already linux-edge for a while but with a separate KConfig.
These KConfig changes are now integrated in linux-edge of Alpine.

U-boot script was updated to handle vmlinuz-edge as well since
Alpine's linux-edge does not generate a vmlinuz file, but vmlinuz-edge.
Probably to allow installing linux-lts as well.

initcall_blacklist=exynos_drm_init was added to the kernel cmdline
because upstream wants to set CONFIG_DRM_EXYNOS=y instead of module.
The DRM subsystem of Exynos5 in the kernel seems to be broken for this
device. There's also no use for it since this device does not have video
out. See https://gitlab.alpinelinux.org/alpine/aports/-/merge_requests/38094
2022-09-02 12:55:49 +02:00
Oliver Smith
fb3b854976
linux-postmarketos-exynos4: disable HDMI for Midas (MR 3395)
Disable HDMI as workaround, as it seems to be buggy when HDMI is
unplugged. It's apparently in DRM_MODE_CONNECTED state, but without size
and with no modes. According to Guido from Phosh this is a bug and
should be fixed in the kernel. By disabling this until it is fixed, we
get Phosh working again.

Related: https://gitlab.gnome.org/World/Phosh/phosh/-/issues/828
2022-09-01 23:21:36 +02:00
Newbyte
3012079396
linux-postmarketos-exynos4: fix build with GCC 12 (MR 3389)
[ci:skip-build]: already built successfully in CI
2022-08-28 23:07:02 +02:00
Luca Weiss
5e17ea3aed
fairphone-fp4: move to community (MR 3364)
The device fulfils the requirements for community category, and I plan
to maintain and develop this device further going forward. Move it!

[ci:skip-vercheck]: linux pkg was moved
[ci:skip-build]: already built successfully in CI
2022-08-25 09:28:58 +02:00
Mighty
9ec0be94e0
linux-postmarketos-omap: new aport (MR 3107)
[ci:skip-build]: already built successfully in CI
2022-08-25 09:25:18 +02:00
Dylan Van Assche
3942f8b1b6
soc-qcom-sdm845: set MAC address on boot (MR 3360)
SDM845 devices running mainline lack a valid MAC address, and
fallback to a random one on each boot. This makes DHCP IPs vary
on each boot and breaks Bluetooth BNEP mode since the kernel enforces
that a valid MAC address is used when Bluetooth BNEP mode is activated.

Add a udev rule to trigger a script when the WLAN or Bluetooth interface
appear to set the MAC address by reading it from the persist partition
for the WLAN MAC address and increment it for generating a Bluetooth MAC
address. This approach seems to be common on some downstream devices
such as the Oneplus 6.

[ci:skip-build]: already built successfully in CI
2022-08-19 09:36:15 +02:00
Bobby The Builder
a34fbd3571
pine64-pinephonepro: add simple-card.conf symlink (MR 3356)
Add a workaround to fix loading the alsa ucm config.

Related: https://github.com/Tow-Boot/Tow-Boot/issues/171
[ci:skip-build]: already built successfully in CI
2022-08-17 09:09:25 +02:00
Dylan Van Assche
133cbd3116
soc-qcom-sdm845: drop upower subpackage (MR 3361)
UPower config to shut down device on low battery
is usefull for all SDM845 devices.

[ci:skip-build]: built successfully in CI
2022-08-15 18:46:53 +02:00
Dang Huynh
84b6d7a0ec
linux-nokia-n900: upgrade to 5.18.16 (MR 3350)
Signed-off-by: Dang Huynh <danct12@disroot.org>

[ci:skip-build] Already built successfuly on CI in MR
2022-08-10 16:27:53 -04:00
Dylan Van Assche
6f6d10e499
linux-postmarketos-qcom-sdm845: sync config from sdm845.config (MR 3347)
Squash of
- linux-postmarketos-qcom-sdm845: enable LED_TRIGGER_PATTERN as builtin
- linux-postmarketos-qcom-sdm845: switch BT_RFCOMM to module
- linux-postmarketos-qcom-sdm845: switch BT_BNEP to module

LED_TRIGGER_PATTERN is necessary for feedbackd to function correctly.
However, it doesn't get enabled by default when build as module,
build as built-in to avoid this problem so the notification LED
blinks correctly. This works around the problem that LED_TRIGGER_PATTERN
is not probed automatically when the Qualcomm LPG driver is used for SDM845 devices. See https://gitlab.com/sdm845-mainline/linux/-/merge_requests/34

CONFIG_BT_RFCOMM should always be build as a module otherwise it may never
be initialized at boot. Without this module, BlueZ will not enable
profiles depending on RFCOMM such as HFP. RFCOMM support as builtin may
work if the Bluetooth driver is builtin (which is not the case here), but I haven't verified that. See https://gitlab.com/sdm845-mainline/linux/-/merge_requests/38

CONFIG_BT_BNEP should always be build as a module otherwise it may never
be initialized at boot. Without this module, BlueZ will not start up its
networking plugin to provide Bluetooth PAN support. BNEP support as
builtin may work if the Bluetooth driver is builtin (which is not the case here), but I haven't verified that. See https://gitlab.com/sdm845-mainline/linux/-/merge_requests/38

[ci:skip-build]
2022-08-09 17:05:49 +03:00
Caleb Connolly
81b0abbc98
community/linux-postmarketos-qcom-sdm845: upgrade to 5.19.0 (MR 3334)
[ci:skip-build] already built in CI
2022-08-06 23:52:02 +01:00
Caleb Connolly
7facf445fe
community/linux-postmarketos-qcom-sdm845: remove unnecessary variable (MR 3334) 2022-08-06 23:51:33 +01:00
Yassine Oudjana
c534e4010c
community/soc-qcom-msm8996: add UCM configuration for Xiaomi MSM8996 devices (MR 3333)
[ci:skip-build]: already built successfully in CI
2022-08-02 09:43:52 +02:00
Yassine Oudjana
7edd56e50a
community/linux-postmarketos-qcom-msm8996: upgrade to 5.18.15 (MR 3333) 2022-07-31 23:03:43 +01:00
Anton Bambura
c1464d8f16
linux-postmarketos-rockchip: add support for gru chromebooks (MR 3215) 2022-07-29 09:41:36 +02:00
Martin Lillepuu
2959b6c15d
linux-postmarketos-qcom-msm8996: tweak configs (MR 3317)
Enable:
* CONFIG_UINPUT required by fbkeyboard
* CONFIG_PSTORE_PMSG required to enable dmesg/console ramoops

Co-Authored-By: Oliver Smith <ollieparanoid@postmarketos.org>
[ci:skip-build]: already built successfully in CI
2022-07-28 08:41:01 +02:00
Pablo Correa Gómez
7ebf3bfc71
main/device-pine64-pinephone: add logind and upower fwupd plugins (MR 3320)
Otherwise, an update could be allowed even if the phone is not
connected to AC and it might also suspend in the middle of the upgrade
2022-07-27 10:57:31 -04:00
Adam Thiede
6545705115
device-pine64-pinephonepro: add gschema override for keyboard symbols (MR 3310)
[ci:skip-build]: already built successfully in CI
2022-07-27 08:42:49 +02:00
Oliver Smith
69afe6cfc7
u-boot-*: bump pkgrel after a-t-f upgrade (MR 3291)
Bump the remaining users of arm-trusted-firmware besides
u-boot-pinephone.

[ci:skip-build]: already built successfully in CI
2022-07-24 17:11:48 +02:00
Dylan Van Assche
47c6d4995a
soc-qcom-sdm845: shutdown when battery is critical (MR 3287)
UPower defaults to HybridSleep mode when battery is critical.
Since we allow suspending the device in regular use, this approach
won't help in a critical battery case scenario. When the battery
level is critical, shutdown the device instead.

Moreover, adjust the default levels for battery low, critical, critical
action since they are too high for SDM845 devices.
2022-07-24 17:07:55 +02:00
Luca Weiss
91ca0bfa01
device/*: replace old mesa-dri- dependencies with gallium (MR 3257)
vc4 and freedreno have been provided by mesa-dri-gallium for a long
time.

mesa-dri-intel subpackage has been deprecated for a while (previously
dependend on dri-classic and dri-gallium)

mesa-dri-classic drivers is removed because mesa upstream has removed
those old drivers from the tree. They've been replaced (for not-ancient
hardware) by gallium.

See also https://gitlab.alpinelinux.org/alpine/aports/-/merge_requests/31848
2022-07-21 13:53:12 +02:00
Yassine Oudjana
ba3896f2ae
community/firmware-xiaomi-scorpio: Add QCA6174 board firmware (MR 3271) 2022-07-15 16:07:41 +02:00
Oliver Smith
c798839c60
pine64-pinephonepro: tweak kernel parameters (MR 3280)
* set PMOS_FORCE_PARTITION_RESIZE
* set loglevel=1 to have less verbose kernel output during boot, same as
  for the pinephone
2022-07-11 08:32:04 +02:00
Oliver Smith
f608015ea3
pine64-pinephonepro: fix dev_internal_storage (MR 3280) 2022-07-11 08:31:59 +02:00
Luca Weiss
724f4dc8b2
bq-paella: update maintainers (MR 3200)
Jonathan hasn't been active on GitLab since more than a year, so remove
them from the maintainer list for this device.
2022-07-08 21:29:18 +02:00
Oliver Smith
28e2019ff7
pine64-pinephonepro: fix audio with alsa-lib 1.2.7 (MR 3272)
Let /usr/share/alsa/ucm2/conf.d/simple-card/*.conf be a symlink,
as it is expected since alsa-lib 1.2.7.

Related: d6adde0e32
[ci:skip-build]: already built successfully in CI
2022-07-08 00:04:54 +02:00
Martijn Braam
e99bc1224d
device/pine64-pinephonepro: add bluetooth firmware (MR 3278)
[ci:skip-build]: already built successfully in CI
2022-07-07 23:31:18 +02:00
Martijn Braam
f59355bf6b
device/pine64-pinephonepro: update kernel to 5.17.9 (MR 3278) 2022-07-07 14:58:22 +02:00
Martijn Braam
560c92cff3
device/pine64-pinephonepro: clean up kconfig (MR 3238)
[ci:skip-vercheck]
[ci:skip-build]: already built successfully in CI
2022-07-07 09:27:18 +02:00
Martijn Braam
11e959cc01
device/pine64-pinephonepro: fix up firmware (MR 3238)
Remove the firmware that was copied from the pine64-pinephone and add
the cdn-dp firmware for the rockchip platform.

[ci:skip-vercheck]
2022-07-07 09:26:57 +02:00
Martijn Braam
b58b7cfbd4
device/pine64-pinephonepro: fix calling (MR 3238) 2022-07-07 09:26:57 +02:00
Martijn Braam
484b23f7a0
device/pine64-pinephonepro: Move to commmunity (MR 3238) 2022-07-07 09:26:57 +02:00
Harry Austen
700756cad2
community/linux-postmarketos-qcom-msm8996: add support for iwd (MR 3266)
These options are required by `iwd`. Make use of the `kconfigcheck-iwd`
APKBUILD option to ensure the required config options remain selected.

[ci:skip-build] already built successfully in CI
2022-07-05 18:39:04 +02:00
Oliver Smith
5572c21fa3
pine64-pinetab: fix audio with alsa-lib 1.2.7 (MR 3273)
Let /usr/share/alsa/ucm2/conf.d/simple-card/*.conf be a symlink,
as it is expected since alsa-lib 1.2.7.

Related: d6adde0e32
2022-07-05 11:44:32 -04:00
Dylan Van Assche
18a50389d6
device-pine64-pinebookpro: drop ALSA UCM configs (MR 3268)
ALSA UCM configs are now upstreamed which causes
a conflict with the device package as both are now
providing the same files. Drop our configs in the device package.
2022-07-02 16:16:28 -04:00
Uli Roth
2eb1a1199b
firmware-xiaomi-beryllium: remove board-2.bin to solve conflict (MR 3241)
Remove board-2.bin firmware as it is already included in linux-firmware-ath10k.

Fixes #1567
2022-06-17 19:10:05 +03:00
Jami Kettunen
46676e735d
linux-postmarketos-rockchip: add vndbinder device for Waydroid (MR 3239) 2022-06-15 21:30:54 +03:00
Alexander Martinz
cdc9bb564b
community/linux-postmarketos-qcom-sdm845: upgrade to 5.18.3 (MR 3213)
For a merge list, please see the merge commits:
  - 5.18.1 - (3d98cf52b5)
  - 5.18.2 - (99cf0d285f)
  - 5.18.3 - (b425b70a63)

-----

This also changes the following Kconfig options:
  - CONFIG_SCSI_UFS_BSG -> y

Change-Id: I4406f381b48a894ea0bff3006fb3fa62683e61a0
Signed-off-by: Alexander Martinz <amartinz@shiftphones.com>
[ci:skip-build]: already built successfully in CI
2022-06-14 10:13:41 +02:00
Raymond Hackley
bf639fc01d
samsung-e7: Move to community (MR 3188)
Like samsung-a{3,5}, samsung-e7 works quite well. Move it to community.

[ci:skip-build] already built successfully in CI
2022-06-11 15:52:18 -07:00
Caleb Connolly
8e5b569bef
device-shift-axolotl: depend on qbootctl (MR 3190)
[ci:skip-build] already built successfully in CI
2022-06-11 15:47:27 -07:00
Caleb Connolly
faae2121ff
device-oneplus-*: depend on qbootctl (MR 3190)
[ci:skip-build] already built successfully in CI
2022-06-11 15:47:26 -07:00
Caleb Connolly
245f6e6911
soc-qcom-sdm845: add qbootctl (MR 3190)
[ci:skip-build] already built successfully in CI
2022-06-11 15:47:26 -07:00
Martijn Braam
f321581f12
device-pine64-pinetab: fix alsa ucm (MR 3218)
[ci:skip-build] already built successfully in CI
2022-06-11 15:35:56 -07:00
Yassine Oudjana
4da6031e8f
community/device-xiaomi-scorpio: disable GPU binning pass (MR 3210)
This is a workaround for a freedreno bug that causes some artifacts
in GNOME and GTK4 apps.
2022-06-09 08:54:47 +02:00
Syboxez Blank
1770b37b60
device: sdm845-{enchilada,fajita,beryllium,axolotl}: rename qcom_smb2 to qcom_pmi8998_charger (MR 3204) 2022-06-08 09:41:31 +02:00
Minecrell
dcfaa6acc2
community/linux-asus-me176c: fix build by updating kernel config
Run "pmbootstrap kconfig migrate asus-me176c" to update the kernel
config for the new Linux version. Otherwise there is an interactive
prompt that times out on BPO (although it succeeds on GitLab CI for
some strange reason).
2022-06-07 19:42:57 +02:00
Minecrell
62f0d60ef7
community/device-asus-me176c: install vulkan/libva driver if needed (MR 3195)
Add subpackages that automatically cause installation of the Vulkan
and libva driver if packages using them get installed. This reduces
the size of a minimal rootfs but still ensures those are present if
needed.

[ci:skip-build]: already built successfully in CI
2022-06-07 08:22:43 +02:00
Minecrell
635906b9aa
community/linux-asus-me176c: upgrade to 5.4.197 (MR 3195)
The new linux-edge / 5.18 kernel will likely not make it in time for
the v22.06 release so let's upgrade the good old 5.4 kernel to the
latest stable release at least.
2022-06-07 08:22:37 +02:00
Martijn Braam
bda72ea7fc
device-pine64-pinebookpro: fix alsa ucm (MR 3203)
[ci:skip-build]: already built successfully in CI
2022-06-07 07:41:28 +02:00
Minecrell
b714ea8aef
device-*: Drop file system modules from deviceinfo_modules_initfs (MR 3166)
File system modules are included by default in postmarketos-mkinitfs
and loaded dynamically when needed.

[ci:skip-build]: already built successfully in CI
2022-06-06 10:11:59 +02:00
Yassine Oudjana
b47461fa75
community/linux-postmarketos-qcom-msm8996: upgrade to 5.18.1 (MR 3183)
[ci:skip-build]: already built successfully in CI
2022-06-06 09:41:48 +02:00
Dylan Van Assche
8848527c22
device-odroid-hc2: enable Samsung JPEG encoder (MR 3191)
Add missing firmware from linux-firmware-other to enable Samsung JPEG hardware encoder
[ci:skip-build]: already built successfully in CI
2022-06-06 09:38:08 +02:00
Dylan Van Assche
7a0e90c2fb
linux-odroid-hc2: upgrade to 5.18.1 (MR 3191) 2022-06-06 09:37:48 +02:00
Minecrell
fa93f361b5
community/linux-postmarketos-qcom-msm8916: upgrade to 5.18 (MR 3189)
- Update to Linux 5.18
- Fix Bluetooth startup problem
- Upstreamed not so many patches this time
- Even more things I forgot than usual...

pmOS kernel config:
  - Enable BNEP, RFCOMM for extra BT features

Device changes:
  - samsung-j3ltetw/j5/j5x:
    - Now covered by a common device tree include
    - Add proper display driver (no brightness control yet)
    - Hall sensor (except j3ltetw)
    - Touchscreen (only j3ltetw and j5x, j5 is still WIP)
    - Sound/Modem for all of them

New devices:
  - samsung-grandmax (Samsung Galaxy Grand Max)
    - eMMC, SD card, USB, Buttons, WiFi/BT, Vibrator
    - Display
    - Touchscreen
    - Sensors (Accelerometer)
    - Sound/Modem
    - Battery status

[ci:skip-build]: already built successfully in CI
2022-06-06 09:11:12 +02:00
Anton Bambura
0408920a34
linux-postmarketos-rockchip: rework armv7 config (MR 3187) 2022-06-05 16:23:20 -04:00
Sicelo A. Mhlongo
ba3731956d
nokia-n900: drop weston subpackage (MR 3174)
Drop the weston config, as it was for fbdev which has not been supported
in weston anymore for a while.

Remove Martijn as Co-Maintainer, as both previous maintainers of the
Nokia N900 stopped maintaining it when the device was briefly dropped
from community.

Co-Authored-By: Oliver Smith <ollieparanoid@postamrketos.org>
[ci:skip-build]: already built successfully in CI
2022-06-03 09:58:08 +02:00
Sicelo A. Mhlongo
90c71ce639
linux-nokia-n900: upgrade to 5.18.1 (MR 3174)
Drop 0002-ARM-dts-n900-remove-rx51-battery.patch, because this wasn't
needed for postmarketOS in the first place. The patch was created for
Maemo Leste as upower quirk initially and they don't carry it anymore
either.

Drop other patches, as they have been upstreamed.

Co-Authored-By: Oliver Smith <ollieparanoid@postmarketos.org>
2022-06-03 09:47:41 +02:00
Caleb Connolly
e820b4171d
community/linux-postmarketos-qcom-sdm845: upgrade to 5.18.0 (MR 3143)
[ci:skip-build]: already built successfully in CI
2022-06-03 09:24:27 +02:00
Uli Roth
7b10f19396
device-xiaomi-beryllium: Fix touchscreen in initramfs for ebbg panels (MR 3184)
[ci:skip-build] already built successfully in CI
2022-06-02 16:09:02 -07:00
Clayton Craft
2dd5a5ab0f
linux-postmarketos-rockchip: upgrade to 5.18 (MR 3170)
Dropped the usb-c patches, because it looks like usb-c charging works
now out of the box on 5.18, and that was the primary reason for me to
include those patches here originally.

[ci:skip-build] already built successfully in CI
2022-06-01 21:43:12 -07:00
Minecrell
ac86b5e760
community/firmware-qcom-db410c: upgrade to 1036.1 (except -wcnss) (MR 3163)
While the newer "Linux board support package" has newer versions for
the "modem" and "venus" firmware, the "wcnss" firmware is actually
older than the one in the previous 1034.2.1 release. To avoid
downgrading it, it is still packaged from the old release in a separate
APKBUILD. (It is probably also better tested than the new release...)

[ci:skip-vercheck]: non-zero pkgrel is intended to match old package
[ci:skip-build] already built successfully in CI
2022-06-01 21:12:32 -07:00
Newbyte
ed0c3001eb
device/community/u-boot-pinebookpro: add maintainer (MR 3135)
Copied from device-pine64-pinebookpro.

[ci:skip-vercheck]
[ci:skip-build]: already built successfully in CI
2022-05-31 09:23:34 +02:00