Commit graph

529 commits

Author SHA1 Message Date
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
Newbyte
6adf25277d
device/community/u-boot-rockpro64: add maintainers (MR 3135)
Copied from device-pine64-rockpro64.
2022-05-31 09:23:24 +02:00
Newbyte
512c02b179
device/community/u-boot-pinebookpro: move from temp (MR 3135) 2022-05-31 09:23:22 +02:00
Newbyte
40e937a459
device/community/u-boot-rockpro64: move from temp (MR 3135) 2022-05-31 09:23:22 +02:00
Newbyte
538129be5b
linux-postmarketos-exynos4: upgrade to 5.18.0 (MR 3168)
Dropped patch was upstreamed.

[ci:skip-build] Already built successfuly on CI in MR
2022-05-30 19:06:29 +02:00
Luca Weiss
96f2ad2fac
firmware-qcom-adreno: upgrade to 20220509, add a330 & a420 (MR 3149)
The new linux-firmware release contains A330 and A420 firmware, so add
subpackages for those.

[ci:skip-build]: already built successfully in CI
2022-05-25 09:51:07 +02:00
InsanePrawn
43af024596
device/community: sdm845-{enchilada,fajita,beryllium,axolotl}: add appropiate charging drivers (MR 3127) 2022-05-19 02:50:22 +02:00
Alexander Martinz
b4ac329482
shift-axolotl: add support for dynamic partitions (MR 3137)
For more information, see this wiki entry:
  - https://wiki.postmarketos.org/wiki/Android_dynamic_partitions

Change-Id: Iaf4ba715bc7226d43e05213cd5bd6ce82d327b7e
Signed-off-by: Alexander Martinz <amartinz@shiftphones.com>
2022-05-17 20:28:07 +02:00
Raymond Hackley
f3cd6ea0ee
device/*: fix phosh startup due to new config syntax (MR 3117)
[ci:ignore-count]
2022-05-15 16:52:04 +02:00
Bart Ribbers
86af0bb463
shift-axolotl: move to community (MR 3119)
It checks all the boxes as defined in https://wiki.postmarketos.org/wiki/Device_categorization

[ci:skip-vercheck]
2022-05-14 16:12:19 +02:00
Antoni Aloy Torrens
e822fde276
community/linux-samsung-espresso3g: Fix WiFi reboot issue (MR 3130)
- Patch from Robert Nelson and Hansem Ro.

- Based on the work of Hansem Ro,
  who owns another device, the First Generation Kindle Fire,
  which has similar specifications as the Samsung Galaxy Tab 2 7.0.
2022-05-12 16:30:11 +01:00
Yassine Oudjana
43f309f5ed
xiaomi-scorpio: change device tree name (MR 3126)
The device tree in the kernel is now named msm8996pro-xiaomi-scorpio.dts.
[ci:skip-build]: already built successfully in CI
2022-05-11 09:33:15 +02:00
Yassine Oudjana
02a1a8a20b
community/linux-postmarketos-qcom-msm8996: upgrade to 5.17.6 (MR 3126)
- Add support for Xiaomi Mi 5s Plus (xiaomi-natrium)
- Update charger driver
- Fix race condition in qcom-ngd-ctrl probe
2022-05-11 09:32:56 +02:00
Newbyte
0a90f9d777
samsung-m0: change names in UCM (MR 3120)
This makes the names match the recommended names in the ALSA UCM
header:
f1fa7ea077/include/use-case.h (L112-L144)
2022-05-08 17:26:21 +02:00
Newbyte
0ecbe662c7
soc-samsung-exynos4412: add myself as maintainer (MR 3100)
[ci:skip-vercheck]: Moving between categories doesn't require changing
pkgrel.
[ci:skip-build]: Already built successfuly on CI in MR
2022-05-06 18:52:01 +02:00
Newbyte
84deb8cc6e
samsung-m0: move to community (MR 3100) 2022-05-06 18:51:31 +02:00
Newbyte
aac3347c1c
linux-postmarketos-exynos4: move to community (MR 3100) 2022-05-06 18:51:30 +02:00
Newbyte
45ce85d198
soc-samsung-exynos4412: move to community (MR 3100) 2022-05-06 18:51:30 +02:00
Newbyte
72d5076fad
firmware-samsung-midas: move to community (MR 3100) 2022-05-06 18:51:30 +02:00
Alexander Martinz
1038e2670a
community/linux-postmarketos-qcom-sdm845: upgrade to 5.17.5 (MR 3118)
For a merge list, please see the merge commits:
  - 5.17.1 - (6151d07534)
  - 5.17.2 - (c8e2541a53)
  - 5.17.3 - (f7006752c1)
  - 5.17.4 - (ee8fb89013)
  - 5.17.5 - (b33c0511c5)

Change-Id: Ic1ec5571bd981aa6c24c619aac24ecd2a941d604
Signed-off-by: Alexander Martinz <amartinz@shiftphones.com>
[ci:skip-build]: already built successfully in CI
2022-05-06 09:01:18 +02:00
Clayton Craft
c4d37a5a5b
device/main/firmware-siliconlabs-rs9116: move from community (MR 3061)
fw is used by the L5's wifi chip
2022-04-06 00:34:07 +03:00
Newbyte
0e9be207dd
device-*: replace mesa-dri-swrast with mesa-dri-gallium (MR 3059)
mesa-dri-swrast no longer exists and just installs,
mesa-dri-gallium. However, this might not always be the case, so
let's change it before it causes any issues.

[ci:ignore-count]
[ci:skip-build]
2022-04-05 23:23:03 +03:00
Newbyte
b2c4544ef2
device-*: rootston.ini -> phoc.ini (MR 3054)
rootston.ini is an old, deprecated name.

[ci:ignore-count]
2022-04-03 12:00:06 +02:00
Newbyte
fa2bae032d
samsung-espresso3g: depend on mesa-dri-gallium (MR 3048)
Resolves software rendering not working.
2022-04-02 16:50:05 +02:00
Minecrell
6c628d66ed
samsung-{a3,a5}: also apply ModemManager "facility lock" workaround (MR 3021)
It seems like at least samsung-a5 needs the same "facility lock"
workaround as samsung-serranove, otherwise ModemManager can not detect
the SIM card correctly. Move it to a subpackage of soc-qcom-msm8916
and apply it to samsung-a3 as well just to be sure.

So far this issue seems limited to Samsung devices, at least bq-paella
is not affected (tested with the same SIM card), so it does not seem
right to apply it unconditionally to all devices.

[ci:skip-build] Already built successfuly on CI in MR
2022-03-27 16:34:39 +02:00
Sicelo A. Mhlongo
2991b783d9
linux-nokia-n900: update kernel to LTS 5.15.31 (MR 3032)
[ci:skip-build] Already built successfuly on CI in MR
2022-03-26 22:42:27 +01:00
Mighty
ed90e5dafe
linux-samsung-espresso3g: use mainline 5.17, not PowerVR fork (MR 3027)
[ci:skip-build] Already built fine on CI in MR
2022-03-26 16:20:16 +03:00
Mighty
865ff8dca6
device-samsung-espresso3g: remove GPU support and hacks (MR 3027) 2022-03-26 16:19:15 +03:00
Alexander Martinz
f28294c93b
community/linux-postmarketos-qcom-sdm845: upgrade to 5.17.0-r1 (MR 3031)
- Add support for sdm845-samsung-starqltechn
  - Fix touch for axolotl

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

[ci:skip-build] Already built successfuly on CI in MR
2022-03-24 21:21:16 +01:00
Minecrell
d55c91d1f9
community/soc-qcom-msm8916: update ALSA UCM files (MR 3014)
- alcatel-idol347: add headphones
- Try to revert playback/capture priorities to maybe make automatic
  switching to headphones based on jack detection work a bit better.

[ci:skip-build] Already built successfuly on CI in MR
2022-03-23 10:01:27 +01:00
Minecrell
fbafdc5cba
bq-paella: update touchscreen module name in deviceinfo (MR 3014)
The driver has been renamed to prepare for potential upstreaming.
2022-03-23 09:59:04 +01:00
Minecrell
2be78249e4
community/linux-postmarketos-qcom-msm8916: upgrade to 5.17 (MR 3014)
- Update to Linux 5.17
- Upstreamed many more patches
- Probably many other things I forgot :)

Device changes:
  - alcatel-idol347:
    - Headphones
  - longcheer-l8910 (bq-paella):
    - Touch keys: Allow changing function from userspace
  - samsung-gprime:
    - Split into 3 variants: gprimeltecan, fortuna3g, fortunaltezt
    - Buttons, WiFi/BT, Vibrator
    - Display
    - Touchscreen
    - Sound/Modem
    - Sensors (Accelerometer/Magnetometer, depending on variant)
    - NFC (some variants only)
    - Battery
  - samsung-j5x (J5 2016):
    - WiFi/BT
    - Sensors (Accelerometer)
    - Sound/Modem (jack detection is somewhat broken)

New devices:
  - ark-peach (ARK Benefit A3)
    - eMMC, SD card, USB, Buttons, WiFi/BT
  - huawei-y635:
    - eMMC, SD card, USB, Buttons, WiFi/BT
    - Display
    - Touchscreen
    - Sensors (Accelerometer, Proximity)
    - Sound
    - Battery/Charging
  - samsung-a5-zt: new device variant of samsung-a5
    - different setup for accelerometer and touch key
  - samsung-e7:
    - eMMC, SD card, USB, Buttons, WiFi/BT
    - Display (no brightness control yet)
    - Touchscreen
    - Sensors (Accelerometer)
    - Sound/Modem
    - NFC
  - samsung-j3ltetw:
    - eMMC, SD card, USB, Buttons, WiFi/BT
    - Display (no brightness control yet)
    - Touchscreen
    - Sensors (Accelerometer)
    - Sound/Modem
  - samsung-on7:
    - eMMC, SD card, USB, Buttons, WiFi/BT

Removed devices:
  - oppo-a51f: Unfortunately, it has been unmaintained for a long time
    and it was the last remaining device in a non-upstreamable state
    (authorship unclear and missing Signed-off-by).
2022-03-23 09:59:04 +01:00
Joel Selvaraj
367e1484e8
community/linux-postmarketos-qcom-sdm845: upgrade to 5.17.0 (MR 2982) 2022-03-22 12:29:45 +01:00
Joel Selvaraj
1969218aec
community/soc-qcom-sdm845: update ucm conf and add q6voiced for call audio support (MR 2982)
Also, moving the modemmanager.conf file from the main package to the
nonfree-firmware subpackage as Modem Manager is going to work
only if the nonfree-firmwares are present.
2022-03-22 12:29:44 +01:00
Joel Selvaraj
3865de4dca
community/device-xiaomi-beryllium: add q6voiced conf and fix dependency (MR 2982)
The soc-qcom-sdm845-nonfree-firmware dependency is now moved from
firmware-xiaomi-beryllium package to the device package.
This will make the firmware package to only depend on firmware files.
2022-03-22 12:29:44 +01:00
Joel Selvaraj
2ed40be4a1
community/device-oneplus-enchilada: add q6voiced conf and fix dependency (MR 2982)
The soc-qcom-sdm845-nonfree-firmware dependency is now moved from
firmware-oneplus-sdm845 package to the device package.
This will make the firmware package to only depend on firmware  files.
2022-03-22 12:29:44 +01:00
Joel Selvaraj
f0272470e9
community/device-oneplus-fajita: fix dependency (MR 2982)
The soc-qcom-sdm845-nonfree-firmware dependency is now moved from
firmware-oneplus-sdm845 package to the device package.
This will make the firmware package to only depend on firmware  files.
2022-03-22 12:29:44 +01:00
Joel Selvaraj
8b0eca4231
community/firmware-oneplus-sdm845: remove soc-qcom-sdm845-nonfree-firmware dependency (MR 2982)
The soc-qcom-sdm845-nonfree-firmware dependency is now moved from
firmware-oneplus-sdm845 package to the device package.
This will make the firmware package to only depend on firmware  files.
Also, pmb:cross-native is added to the package options so CI testcases
doesn't fail.
2022-03-22 12:29:44 +01:00
Joel Selvaraj
aa80a81e38
community/firmware-xiaomi-beryllium: remove soc-qcom-sdm845-nonfree-firmware dependency (MR 2982)
The soc-qcom-sdm845-nonfree-firmware dependency is now moved from
firmware-xiaomi-beryllium package to the device package.
This will make the firmware package to only depend on firmware files.
Also, pmb:cross-native is added to the package options so CI testcases
doesn't fail.
2022-03-22 12:29:43 +01:00
Dylan Van Assche
1ffe798a68
device-odroid-hc2: use different name for old rootfs (MR 3009)
It became too confusing by using almost the same name for the old rootfs when booting from HDDs

[ci:skip-build] already built successfully in CI
2022-03-19 00:29:47 -07:00
tim
0cea31a837
google-veyron-jerry: add initfs modules and update kernel config (MR 3004)
[ci:skip-build] already built successfully in CI
2022-03-19 00:27:27 -07:00
Dylan Van Assche
456cb2205f
linux-odroid-hc2: upgrade to 5.16.14 (MR 3006)
[ci:skip-build]: already built successfully in CI
2022-03-16 08:59:38 +01:00
Dylan Van Assche
8dc7bade2f Revert "linux-odroid-hc2: upgrade to 5.16.14"
This reverts commit f6fbe3584a.
2022-03-15 17:46:52 +01:00
Dylan Van Assche
f6fbe3584a linux-odroid-hc2: upgrade to 5.16.14 2022-03-15 17:43:52 +01:00
Martijn Braam
ff27c27bea
linux-postmarketos-rockchip: upgrade to 5.16.8 (MR 2923)
Dropped patches that are now present in stable linux.
Forward ported the EFI IGNOREME patch to 5.16
Enabled a few very common pcie network adapters
2022-03-11 16:36:55 +01:00
Alexander Martinz
5ec32e252e
linux-postmarketos-qcom-sdm845: upgrade to 5.16.12 (MR 2986)
For a merge list, please see the merge commits:
  - 5.16.6  - (521f32a4e0)
  - 5.16.7  - (36f968514b)
  - 5.16.8  - (3023f6e3b7)
  - 5.16.9  - (a87b941715)
  - 5.16.10 - (eb85bcb0a3)
  - 5.16.11 - (73291a1c42)
  - 5.16.12 - (77c0e13ec3)

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

[ci:skip-build] Already built fine on CI in MR
2022-03-07 20:31:37 +01:00
Yassine Oudjana
79be2d5074
community/linux-postmarketos-qcom-msm8996: upgrade to 5.16.12 (MR 2979)
- Add support for the rear camera on xiaomi-scorpio
- Improve charging from SDPs
- Add extcon support on oneplus-oneplus3(t)
- Add container and zram kconfig checks to APKBUILD

[ci:skip-build] Already built successfuly on CI in MR
2022-03-05 10:57:38 +01:00
Raymond Hackley
9833cc8a64
samsung-{a3,a5,a7,klte,serranove}: move tm2-touchkey rules to pmos-base (MR 2926)
Fixes: #1422
2022-03-03 19:21:20 +03:00
Sicelo A. Mhlongo
18046f68f2
linux-nokia-n900: update to latest stable kernel (MR 2964)
- update to kernel 5.15.25 stable
- add TUN as module, fixes pma#1435
- drop fully-upstreamed patches (lp55xx)
- add iio support for lis302dl (will send upstream)
- update N900 dts for lis302dl over iio (will send upstream)
- assign higher priority to patches from kernel.org (resolves pmb#2107)

[ci:skip-build] already built successfully in CI
2022-02-26 22:36:23 +01:00
Alexander Martinz
fac272225b
linux-postmarketos-qcom-sdm845: upgrade to 5.16.5 (MR 2899)
For a merge list, please see the merge commits:
  - 5.16.3 - (98fb3b4121)
  - 5.16.4 - (2962c41f9d)
  - 5.16.5 - (9ee391628f)

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

[ci:skip-build] Already built successfuly on CI in MR
2022-02-06 10:39:07 +01:00
Bart Ribbers
9d44b34602
linux-postmarketos-qcom-sdm845: move to device/community (MR 2882) 2022-01-26 12:18:52 +01:00
Bart Ribbers
5c47fe52c4
linux-postmarketos-qcom-msm8996: move to device/community (MR 2882) 2022-01-26 12:18:52 +01:00
Bart Ribbers
256d491485
linux-postmarketos-qcom-msm8916: move to device/community (MR 2882) 2022-01-26 12:18:52 +01:00
Bart Ribbers
e971500118
linux-postmarketos-rockchip: move to device/community (MR 2882) 2022-01-26 12:18:52 +01:00
Oliver Smith
eb21ed5472
device/*/device-*: rebuild for new splash screens (MR 2222)
[ci:ignore-count]
2022-01-22 13:40:33 +01:00
Sicelo A. Mhlongo
34cb59086f
linux-nokia-n900: workaround for modem regression (MR 2852)
This is a cherry pick of Leste commit 2c7e4a1ac8ec1f908927793e893566aac3dcb9df,
to revert mainline commit f959dcd6ddfd29235030e8026471ac1b022ad2b0, which breaks
N900 modem. This is a temporary workaround until a proper fix is found.
2022-01-15 12:39:58 +02:00
Mighty
6374a1aaba
samsung-espresso3g: Fix Xorg (with our kernel) (MR 2822) 2022-01-09 12:32:40 +01:00
Sicelo A. Mhlongo
1b070346cc
linux-nokia-n900: upgrade to 5.15.13 and improve wlan (MR 2831)
* upgrade kernel to 5.15.13
* add patch for better nl80211 support in wl1251
* add config options to support iwd

[ci:skip-build] Already built on CI in MR
2022-01-09 08:37:23 +03:00
Sicelo
96b2dfc3c9
nokia-n900: update maintainers (MR 2817)
[ci:skip-build]: already built successfully in CI
2022-01-07 12:00:59 +01:00
Mighty
3f31844ae9
linux-samsung-espresso3g: config updates & backlight fix (MR 2818)
Enable RFKILL and disable CONFIG_BATTERY_BQ27XXX, fix backlight

[ci:skip-build] already built successfully in CI
2022-01-05 16:10:40 -08:00
Danct12
97d48d1e34
linux-nokia-n900: upgrade kernel to 5.15.12 (MR 2814)
[ci:skip-build]: already built successfully in CI
2022-01-04 04:22:48 +01:00
Jakob Hauser
9abe7e28b2
samsung-serranove: add udev rule for modem (MR 2800)
Due to a regression in ModemManager 1.18.2, a special case to reduce
facility lock query was implemented in ModemManager. Versions up to
1.18.6 need to be patched (separate merge request, possibly in Alpine
Linux). For more details, see pmaports issue #1274.

This udev rule makes use of this special case for device
samsung-serranove.
2022-01-02 16:03:12 +01:00
Mighty
084076cab9
linux-samsung-espresso3g: Various fixes and improvements (MR 2789)
linux-samsung-espresso3g: Add support for gp2a light and proximity sensor

linux-samsung-espresso3g: Display now runs at 45Hz

linux-samsung-espresso3g: Add pinmux for wlan host wake

linux-samsung-espresso3g: Add TWL 6030 power off support

linux-samsung-espresso3g: Add TWL 6030 power button support

linux-samsung-espresso3g: Data Enable is active high

linux-samsung-espresso3g: Fix patch
2021-12-28 19:57:16 +01:00
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