Commit graph

367 commits

Author SHA1 Message Date
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