Commit graph

4454 commits

Author SHA1 Message Date
Clayton Craft
035896c571
linux-nokia-n900: enable nftables support (MR 2060)
Based on https://wiki.gentoo.org/wiki/Nftables#Kernel
2021-06-14 13:29:34 -07:00
Clayton Craft
a772f7a5d4
postmarketos-config-nftables: add package for configuring nftables fw (MR 2060)
Installs nftables config useful for pmOS::

1) drop all connections to wwan* (wildcard matching supported, are there
   any other wwan iface names that wouldn't match this?)

2) allow ssh, drop from wwan (kinda redundant w/ the first rule, but
   doesn't hurt..), allow DHCP on usb*

3) allow all incoming connections on usb* (with the -openusb subpackage)

4) enable logging all nftable events (with the -log subpackage), very
   useful for debugging

fixes #1024
2021-06-14 13:29:34 -07:00
Oliver Smith
9ce6de1724
cross/busybox-static-*: upgrade to 1.33.1-r2 2021-06-14 21:05:30 +02:00
Dylan Van Assche
407ea85f72
linux-postmarketos-allwinner: drop jack detection patch (MR 2190)
This patch is obsolete now and even breaks the detection
of headphones. Headsets are properly detected at all times.

Dropping this, allows ALSA to see the 'Headphone Jack' event
when headphones are plugged in and removed. This way, ALSA UCM
can act on these jack events as well.

[ci:skip-build] Already built on CI in a MR
2021-06-13 21:45:58 +02:00
Dylan Van Assche
31b99cc224
device-pine64-pinephone: add Dylan Van Assche as co-maintainer (MR 2190) 2021-06-13 21:45:57 +02:00
Dylan Van Assche
ccf639f856
device-pine64-pinephone: detect headphones jack events (MR 2190)
Headset jack events emit 2 events: 'Headset Microphone Jack'
and 'Headphone Jack'. These were properly detected before,
but not headphone jack events only: 'Headphone Jack'.
This change allows to detect headphone jack events as well
and act on these events by setting the headphones as
default audio output while keeping the internal
microphone as audio input. For headsets,
the microphone is switched to the headset microphone as well.
2021-06-13 21:45:52 +02:00
Alexey Minnekhanov
f85f939f61
cross/gcc-*: upgrade to 10.3.1_git20210424-r2
Upstream commit: 9a63416183
2021-06-13 02:03:33 +03:00
Minecrell
0b77700f79
cross/gcc-*: rebuild with changes from Alpine
ERROR: unable to select packages:
  libstdc++-10.3.1_git20210424-r1:
    breaks: g++-aarch64-10.3.1_git20210424-r0[libstdc++=10.3.1_git20210424-r0]
    satisfies: g++-10.3.1_git20210424-r1[libstdc++=10.3.1_git20210424-r1]
               g++-10.3.1_git20210424-r1[libstdc++=10.3.1_git20210424-r1]
               gcc-10.3.1_git20210424-r1[so:libstdc++.so.6]
               libgmpxx-6.2.1-r0[so:libstdc++.so.6]
               binutils-aarch64-2.35.2-r2[so:libstdc++.so.6]
               binutils-2.35.2-r2[so:libstdc++.so.6]
               ccache-4.3-r0[so:libstdc++.so.6]
               lzip-1.22-r0[so:libstdc++.so.6]
  gcc-10.3.1_git20210424-r1:
    breaks: g++-aarch64-10.3.1_git20210424-r0[gcc=10.3.1_git20210424-r0]
    satisfies: g++-10.3.1_git20210424-r1[gcc=10.3.1_git20210424-r1]
               build-base-0.5-r2[gcc]
2021-06-11 21:08:00 +02:00
Yassine Oudjana
ee581e5f16
device-xiaomi-scorpio: update and move to community (MR 2188)
- Add SLPI to nonfree_firmware description
- Add touchscreen and fuel gauge modules to the initramfs in preparation for
  osk-sdl and charging-sdl (or any new alternative) support
- Add pointercal file for osk-sdl

[ci:skip-vercheck]
2021-06-11 12:07:35 +02:00
Yassine Oudjana
14b1e693a5
firmware-xiaomi-scorpio: update and move to community (MR 2188) 2021-06-11 12:06:44 +02:00
Yassine Oudjana
b9a124c591
soc-qcom-msm8996: update and move to community (MR 2188)
Add linux-firmware-qcom as a dependency for nonfree_firmware to provide
non-signed GPU firmware.
2021-06-11 12:06:33 +02:00
Yassine Oudjana
27e30cb0ae
main/linux-postmarketos-qcom-msm8996: Upgrade to 5.12.7 (MR 2188)
This tag also adds firmware names to xiaomi-scorpio's DT.
2021-06-11 12:06:05 +02:00
Clayton Craft
a2ce6efcb6
main/postmarketos-ui-phosh: replace nemo with portfolio (MR 2230)
This file manager is made to work on adaptive screens out of the box,
and is really nice to use compared to nemo.
2021-06-11 11:58:30 +02:00
Clayton Craft
49788fd83f
linux-purism-librem5: upgrade to 5.12.2purism3 (MR 2246)
Upstream changelog:
5e7d7535eb/debian/changelog
2021-06-11 11:54:10 +02:00
Er2
8c51cfffcd
alcatel-5010d: new device (MR 2152)
[ci:skip-build] already built successfully in CI
2021-06-10 16:45:24 -07:00
BO41
34a85fafa4
huawei-alice: add wifi firmware (MR 2234)
[ci:skip-build] already built successfully in CI
2021-06-10 16:15:59 -07:00
Alexey Minnekhanov
4dce8fe188
cross/grub-efi-x86: upgrade to 2.06 2021-06-10 20:13:09 +03:00
Jakob Hauser
5f7a5aa7a4
main/swclock-offset: update dependency tree cache (MR 2244)
If the system time jumps back and forth before installing the package
"swclock-offset", OpenRC can get confused whether the current dependency
tree is old or new. To resolve this confusion, the dependency tree cache
is updated within the post-install script of the openrc subpackage.
2021-06-10 19:36:00 +03:00
Alexey Minnekhanov
2c224f7bdd
linux-postmarketos-qcom-msm8953: regenerate .config for 5.13
This is needed urgently to prevent `make oldconfig` from asking
questions about new options since 5.10 and thus unblock the
broken aarch64 BPO builder.
2021-06-10 19:13:07 +03:00
Jakob Hauser
6614be1f17
device/community: add swclock-offset dependency for affected SoCs (MR 2241)
Set package dependency "swclock-offset" to "soc-qcom-msm8916" and
"soc-qcom-sdm845".

These SoC's have a read-only real-time clock (RTC). The package
"swclock-offset" keeps an offset between the RTC and the system time.
2021-06-10 18:29:24 +03:00
alikates
ba429d4f71
device-xiaomi-daisy: Split mainline and downstream kernels (MR 2225)
[ci:skip-build] already built successfully in CI
2021-06-09 15:38:03 -07:00
alikates
a596b4fb5f
xiaomi-daisy: Change kernel to msm8953-mainline and add gpu firmware to initramfs (MR 2225) 2021-06-09 15:37:11 -07:00
alikates
7402dbb3cf
Bump linux-postmarketos-qcom-msm8953 version to 5.13_r4 (MR 2225) 2021-06-09 15:37:08 -07:00
alikates
a7ad7962d9
firmware-xiaomi-daisy: Update APKBUILD and add missing WCNSS and GPU firmware (MR 2225) 2021-06-09 15:37:04 -07:00
Clayton Craft
08065a3d7c
postmarketos-ui-phosh: remove pipewire subpackage (MR 2054)
The .desktop file provided here is no longer necessary, Alpine aports
has a better version of it now.

fixes #1098
2021-06-09 13:09:10 -07:00
Jakob Hauser
e6b0103b8c
main/swclock-offset: new package (MR 2191)
Some devices have a working but non-writable real-time clock (RTC).
This package contains two shell scripts: One writes the offset between
'hwclock' and 'swclock' to a file at shutdown, another one reads the
offset from the file at boot and sets the 'swclock'. This way the system
time in userspace is kept in present time.

[ci:skip-build] already built successfully in CI
2021-06-08 19:45:11 -07:00
Stefan
4c0ec94eb4
samsung-zeroltexx: new device Samsung Galaxy S6 edge (G925F) (MR 2105)
Port based on an unofficial LineageOS port
from https://www.los-legacy.de/17.1/zerofltexx, using kernel from
https://github.com/Exynos7420/android_kernel_samsung_exynos7420/

What works:
- Kernel boots
- Display and touch input (tested with Weston)
- USB networking
- Wifi

For now only including Wifi drivers, as I wasn't yet able to
successfully test audio and camera subsystems (but I intentionally left
these firmware files commented out in the APKBUILD file).

[ci:skip-build]: already built successfully in CI
2021-06-09 00:23:48 +02:00
Clayton Craft
d7bcaece8e
postmarketos-ui-phosh: add workaround for starting gsd-xsettings (MR 2233)
This package sets GDK_BACKEND=wayland (in gtk-app-wayland.sh), and some
apps (firefox) still need that set to work. gsd-xsettings, which is
launched explicitly by Phosh 0.11.0+, does not work when this var is set
to wayland.
2021-06-08 23:28:55 +02:00
Oliver Smith
b76c2551b2
temp/dino: add fix for CVE-2021-33896 (MR 2236)
Related: https://dino.im/security/cve-2021-33896/
2021-06-08 22:36:32 +02:00
Caleb Connolly
5e5d23959b
CI: make sure devices that support kernel updates install the script (MR 2215)
To prevent accidental bricks, postmarketos-update-kernel is not
installed by default. If it works for your device and you've added the
deviceinfo variable, you also need to depend on the package for the
updates to actually happen.

[ci:skip-build] already built successfully in CI
2021-06-08 10:44:42 -07:00
Caleb Connolly
62e5d30506
device-oneplus-fajita: flash the kernel automatically (MR 2215)
postmarketos-update-kernel works for us (with !2214)!
2021-06-08 10:44:42 -07:00
Caleb Connolly
0736f49759
device-oneplus-enchilada: flash the kernel automatically (MR 2215)
postmarketos-update-kernel works for us (with !2214)!
2021-06-08 10:44:42 -07:00
Caleb Connolly
70b0cf24e5
postmarketos-mkinitfs: flash new boot image (MR 2215)
On Android devices that support kernel updates (marked by the deviceinfo
variable "deviceinfo_flash_kernel_on_update") lets flash the kernel and
initramfs automatically!
2021-06-08 10:44:41 -07:00
Caleb Connolly
48e8b93ac6
postmarketos-mkinitfs: use variable for bootimg (MR 2215)
Use a variable for "bootimg" in create_bootimg rather than repeat the
same pattern replacement.
2021-06-08 10:44:41 -07:00
Ignacy Kuchciński
65ced8fdd1
huawei-warsaw: fix p2p related cpu stalls (MR 2232)
[ci:skip-build] already built successfully in CI
2021-06-08 09:38:49 -07:00
YSpoof
2f6eea09ac
motorola-odessa: new device (Motorola Moto G9 Plus) (MR 2224)
[ci:skip-build] Already built on CI in MR
2021-06-07 18:57:55 +03:00
Minecrell
501c888dc8
temp/ofono: upgrade to 9999 (1.32), match WWAN QMI ports (MR 2227) 2021-06-07 17:07:37 +02:00
Newbyte
aa0c95ac72
samsung-i9300: capitalise WiFi properly in nonfree_firmware subpackage pkgdesc (MR 2229) 2021-06-06 20:58:21 +02:00
Newbyte
69cd6ff843
samsung-i9300: add a warning regarding hardware failure (MR 2229)
This has been reported by two people now (me and Mark/nergzd723),
so I think it's reasonable to warn about this.
2021-06-06 20:58:18 +02:00
Ignacy Kuchciński
7fb10635e0
main/*: fix outdated url variables (MR 2226)
[ci:skip-vercheck]
2021-06-06 19:02:54 +02:00
Ignacy Kuchciński
20a34f5b2d
huawei-warsaw: add firmware package and Wifi functionality (MR 2221)
[ci:skip-build]: already built successfully in CI
2021-06-06 17:56:47 +02:00
Ignacy Kuchciński
bd32516522
main/hisi-wlan: new aport (MR 2221) 2021-06-06 17:56:06 +02:00
Oliver Smith
b22a9e3e4f
channels.cfg: stable(-next) -> v20.05/v21.03
Prepare for the upcoming release based on Alpine 3.14.

Closes: https://gitlab.com/postmarketOS/pmbootstrap/-/issues/2015
2021-06-06 16:06:34 +02:00
Newbyte
739d9f931d
device-samsung-skomer: add phosh config (MR 2220)
[ci:skip-build] already built successfully in CI
2021-06-04 14:36:31 -07:00
Newbyte
b567756b16
main/linux-postmarketos-stericsson: upgrade to 5.13-rc4 (MR 2220)
And also update patches. See patch files for descriptions.
2021-06-04 14:36:31 -07:00
Anjandev Momi
c792feaa3e
temp/gnome-software: add libhandy dependancy (MR 2219)
Closes #1102
2021-06-04 11:04:30 +02:00
Clayton Craft
bf6ad7a78c
device-purism-librem5: set mesa env for using gles2 and opengl 2.1 (MR 2217)
These are needed to expose opengl 2.1, and for using gles2 with gst.
This also fixes launching Xwayland.
2021-06-03 00:03:00 +02:00
Dylan Van Assche
5e562fdbc6
main/postmarketos-base: add pulseaudio config
Automatically switch to a connected USB or
Bluetooth audio device and duck the main volume
when a notification is received.
2021-06-02 18:58:04 +02:00
Dylan Van Assche
9125d49e8e
device-pine64-pinetab: improve PulseAudio sample rate 2021-06-02 18:57:54 +02:00
Dylan Van Assche
1ae70f921b
device-pine64-pinephone: improve PulseAudio sample rate 2021-06-02 18:57:48 +02:00