Commit graph

5971 commits

Author SHA1 Message Date
Bobby The Builder
d93b955b83
main/linux-postmarketos-allwinner: upgrade to 5.19.2 (MR 3368)
[ci:skip-build] Already built successfuly on CI in MR
2022-08-20 19:54:03 -04:00
David Wronek
2e11baa90d
main/postmarketos-base: Add alpine-release to replaces (MR 3372)
Upstream changed the alpine-base package. Conflicting files are now in
alpine-release instead of alpine-base.
2022-08-20 21:47:39 +02:00
Newbyte
8bb44eb40b
linux-postmarketos-stericsson: migrate kconfig (MR 3369)
This was forgotten during the latest update.

[ci:skip-build] Already built once
2022-08-20 18:31:05 +03:00
Andreas Kemnade
04208c6461
device/testing/device-{tolino,kobo}*: use common waveform extractor (MR 3099)
There is no need to duplicate things over and over again.
Also load the waveform in initramfs before loading display
modules. That is early enough to have a working display in
initramfs.
2022-08-19 18:52:44 -04:00
Andreas Kemnade
18efe7b80e
kobo-epdc-extractor: extractor for hidden waveform partitions (MR 3099)
Extracts waveform into a file. Waveform seems to be specific to a
display batch.
2022-08-19 18:52:40 -04: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
Dylan Van Assche
2bb6c15cbd
main: bootmac: new pmaport (MR 3360)
Bootmac configures the MAC addresses of WLAN and Bluetooth interfaces at boot.
Bootmac can be invoked in various ways at boot, but currently only udev rules are tested.
Bootmac generates MAC addresses from the `serialno` provided by Android bootloaders
through /proc/cmdline or from /etc/machine-id. The Organizationally Unique Identifier (OUI)
is retrieved from a lookup database macdb by matching deviceinfo_manufacturer
from /etc/deviceinfo with the entries in the database.

See https://gitlab.com/postmarketOS/bootmac
2022-08-19 09:35:45 +02:00
Johannes Marbach
ce053e7179
main/unl0kr: upgrade to 0.2.0_git20220817 (MR 3366) 2022-08-18 12:31:45 +03:00
Anri Dellal
3e677782ab
main/postmarketos-ui-weston: hide for downstream kernels (MR 3367)
Weston doesn't have fbdev backend anymore,
so hide it in pmbootstrap init to avoid
confusion.
2022-08-18 12:14:56 +03:00
Luca Weiss
13419f0561
testing/device-fairphone-fp4: remove i2c-gpio from initfs again (MR 3363)
Now with GPI DMA fixed this is not necessary anymore.
[ci:skip-build]: already built successfully in CI
2022-08-17 09:16:08 +02:00
Luca Weiss
c86c1d9e93
testing/linux-postmarketos-qcom-sm6350: upgrade to 6.0.0_rc1 (MR 3363)
GPI_DMA now works so we can use GENI I2C and remove bitbang i2c-gpio.
PM8008 driver from mailing list is imported and configured. CCI (camera
i2c bus) is configured plus CAMCC dependency. And some smaller changes.
2022-08-17 09:15:24 +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
ErenTheTitan
ca4860c34b
google-juniper: add sound support (MR 3348) 2022-08-16 11:00:07 -04:00
ErenTheTitan
49f7b70d9c
temp/alsa-ucm-conf-google-kukui: new aport (MR 3348) 2022-08-16 11:00:07 -04:00
Newbyte
3a00c8d5bc
linux-postmarketos-stericsson: fix project link and pkgdesc (MR 3354)
We are just building upstream Linux with minor patches and no longer
using the linked GitHub repo, so let's fix this to avoid confusion.

[ci:skip-build]: already built successfully in CI
2022-08-16 08:46:08 +02:00
Oliver Smith
00828c40cb
qemu-amd64,aarch64: remove edge4virt kernel
Follow removal of linux-edge4virt in Alpine:
1a838bdeb6

Fix for upstream compat failure:
  Increase 'device-qemu-amd64' pkgrel (0 -> 1), missing depend(s): linux-edge4virt

[ci:skip-build]: already built successfully in CI
2022-08-16 08:40:29 +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
Oliver Smith
8cd0101304
Revert "cross/binutils-*: upgrade to 2.39-r1"
This reverts commit 0ce9fdf8d6.

These cross/binutils packages are generated with pmbootstrap aportgen. I
push them directly to master without build testing because so far they
always built fine... but this time it failed. Revert for now.

Related: https://builds.sr.ht/~postmarketos/job/823964
2022-08-15 18:42:54 +02:00
Oliver Smith
0ce9fdf8d6
cross/binutils-*: upgrade to 2.39-r1 2022-08-15 18:16:46 +02:00
Bobby The Builder
b341018d89
main/posmarketos-mkinitfs: add -f parameter to parted (MR 3355)
[ci:skip-build]: already built successfully in CI
2022-08-15 17:42:39 +02:00
Jean Lucas
2b37392456
linux-postmartketos-allwinner: add PinePhone keyboard battery driver (MR 3358)
IP5XXX is needed to be able to read PinePhone battery levels. Extra
configs were automatically added by pmbootstrap.

Signed-off-by: Jean Lucas <jean@4ray.co>
2022-08-14 22:26:11 -04:00
Bobby The Builder
0c0b623f87
cross/gcc-*: upgrade to 12.1.1_git20220630 (MR 3353) 2022-08-13 11:17:36 -04: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
Molly Sophia
08446405c5
xiaomi-polaris: new device (MR 3327) 2022-08-08 17:16:43 +01: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
Jami Kettunen
8f1e9d1940
oneplus-dumpling: add support for alpine-edge kernel (MR 3336)
Adds Alpine's linux-edge as a kernel for the OnePlus 5T.

[ci:skip-build]
2022-08-06 16:42:52 +01:00
Jami Kettunen
7e43e9aba7
oneplus-cheeseburger: add support for alpine-edge kernel (MR 3336)
Adds Alpine's linux-edge as a kernel for the OnePlus 5.
2022-08-06 16:42:34 +01:00
Jami Kettunen
6f556380df
oneplus-dumpling: move downstream pieces to unmaintained (MR 3336)
It can still be chosen as 'oneplus-dumpling-downstream' in
pmbootstrap init.
2022-08-06 16:42:34 +01:00
Jami Kettunen
e1209e44ff
oneplus-cheeseburger: move downstream pieces to unmaintained (MR 3336)
It can still be chosen as 'oneplus-cheeseburger-downstream' in
pmbootstrap init.
2022-08-06 16:42:34 +01:00
Jami Kettunen
b1914ddb10
linux-oneplus-msm8998: move to unmaintained (MR 3336)
The downstream kernel has barely any functionality without libhybris
(which is not coming back to pmOS) so move everything related to the
OnePlus 5/5T downstream ports to downstream since a working mainline
port is much more feature rich.
2022-08-06 16:42:34 +01:00
Luca Weiss
113a5baa3e
fairphone-fp4: add support for using super partition (MR 3344)
Set the necessary flag in deviceinfo so a user can use a logical
partition that was flashed using fastbootd.

$ fastboot create-logical-partition postmarketOS 1000000000
$ pmbootstrap flasher flash_rootfs --partition postmarketOS

[ci:skip-build]: already built successfully in CI
2022-08-05 09:14:51 +02:00
Oliver Smith
d34f9020da
gcc4, gcc6: rebuild against latest isl (MR 3343)
Bump the pkgrel of gcc4 and gcc6, and regenerate the cross/* versions
with "pmbootstrap aportgen gcc6-armv7" etc.

Should fix these errors:
  Error loading shared library libisl.so.22: No such file or directory (needed by /usr/gcc6/libexec/gcc/x86_64-alpine-linux-musl/6.4.0/cc1)
  Error relocating /usr/gcc6/libexec/gcc/x86_64-alpine-linux-musl/6.4.0/cc1: isl_union_map_free: symbol not found
  Error relocating /usr/gcc6/libexec/gcc/x86_64-alpine-linux-musl/6.4.0/cc1: isl_map_from_pw_aff: symbol not found
  Error relocating /usr/gcc6/libexec/gcc/x86_64-alpine-linux-musl/6.4.0/cc1: isl_schedule_from_domain: symbol not found
  ...

Related: 54749a5222
[ci:skip-build]: already built successfully in CI
2022-08-05 09:10:00 +02:00
Oliver Smith
2280958b5e
cross/busybox-static-*: upgrade to 1.35.0-r22 2022-08-04 09:03:17 +02:00
Elliot Huang
9b819e65bb
google-juniper: new device (MR 3332) 2022-08-04 07:31:12 +03:00
Elliot Huang
50c5d50d75
linux-postmarketos-mtk-mt8183: new aport (MR 3332) 2022-08-04 07:31:09 +03:00
Jami Kettunen
2670b2c580
volla-mimameid: new device (Volla Phone 22) (MR 3340) 2022-08-03 19:27:44 -04:00
Luca Weiss
4c14014faa
pine64-dontbeevil: remove sensorfw/primaryuse.conf (MR 3338)
This conflicts with sensorfw config provided in Alpine. Both have the
same content so remove the one from device package.
2022-08-03 20:38:13 +02:00
Luca Weiss
2d9018806e
pine64-pinephone: remove sensorfw/primaryuse.conf (MR 3338)
This conflicts with sensorfw config provided in Alpine. Both have the
same content so remove the one from device package.
2022-08-03 20:38:13 +02:00
Luca Weiss
5beb88422b
temp/evince: remove libexecinfo-dev from makedepends (MR 3339)
See 50795a14de
2022-08-03 15:40:35 +02:00
Luca Weiss
c6818f1e78
temp/ofono: remove libexecinfo-dev from makedepends (MR 3339)
See 50795a14de
2022-08-03 15:38:38 +02:00
Oliver Smith
11682fb0ab
gitlab-ci.yml: set timeout for build to 10h (MR 3337)
A common issue is that building kernels takes longer than the default of
1h, and then MR authors need to adjust the timeout in their pmaports
fork and run it again. By setting this option this is hopefully no
longer the case.

I set it to 10h because that's what we currently have set in the
postmarketOS gitlab configuration and it would allow building MRs for
service packs with multiple kernels.

pmbootstrap has logic built in to detect stale builds - by default it
will stop a build if there was no output for 15 minutes. So having a
large timeout shouldn't be a problem.
2022-08-03 09:24:35 -04:00
Martin Lillepuu
9de9244812
testing/device-oneplus-oneplus3t: add oneplus3t with s6e3fa5 panel (MR 3330)
Add support for multiple panels using kernel variants
2022-08-03 13:55:03 +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
4dfa72c680
google-nyan-big: new device (MR 3325)
Co-Authored-By: Segfault <awarnecke002@hotmail.com>
[ci:skip-build]: already built successfully in CI
2022-07-31 22:03:21 +02:00
Anton Bambura
fcffd2b4b5
google-nyan-blaze: new device (MR 3325)
Co-Authored-By: Segfault <awarnecke002@hotmail.com>
2022-07-31 22:03:13 +02:00
Anton Bambura
4799d000d9
u-boot-nyan-4gb: new aport (MR 3325) 2022-07-31 22:03:13 +02:00
Anton Bambura
c23d44be33
u-boot-nyan-2gb: new aport (MR 3325) 2022-07-31 22:03:13 +02:00