Commit graph

5447 commits

Author SHA1 Message Date
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
Oliver Smith
60a917222a
main/mobile-config-firefox: upgrade to 3.0.0_rc1 (MR 2723) 2021-12-05 13:54:14 +01:00
Anjandev Momi
11ce9f240c
sxmo-common: update bluetooth for new pipewire/wireplumber (MR 2717) 2021-12-05 12:44:24 +01:00
Clayton Craft
44aeae0de3
cross/gcc*: upgrade to 11.2.1_git20211128-r1 2021-12-04 18:07:27 -08:00
Arnavion
f9643ae9eb
temp/gnome-clocks: drop (MR 2719)
This is now in alpine edge, including the waked patch.
2021-12-02 13:48:08 +01:00
Oliver Smith
07bbd8c0c8
main/postmarketos-ondev: upgrade to 0.7.3 (MR 2712)
Increase boot size from 128 MiB to 256 MiB.

[ci:skip-build] already built successfully in CI
2021-12-01 15:48:29 -08:00
Anton
5eaad55060
lg-w7: new device (MR 2704)
[ci:skip-build] already built successfully in CI
2021-12-01 13:16:08 -08:00
Adam Honse
bc7dbe4288
samsung-hlte: new device (MR 2709)
[ci:skip-build] already built successfully in CI
2021-12-01 13:13:20 -08: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
alikates
5d85109a21
main/lk2nd-msm8953: new package (MR 2680) 2021-11-30 18:49:57 +01:00
Jean THOMAS
b49a3e0a78
lg-bullhead: adapt for mainline kernel support (MR 2654)
Adds mainline kernel option for lg-bullhead (Nexus 5x), in a similar way to MR 2411 (Nexus 6P).
2021-11-29 20:46:59 +01:00
Max Buchholz
c96612558a
temp/xf86-video-opentegra: upgrade to 0_git20211025 (MR 2707) 2021-11-29 15:28:45 +01:00
Max Buchholz
71591e4f62
temp/libvdpau-tegra: rebuild against latest xorg-server (MR 2707) 2021-11-29 15:28:09 +01:00
Oliver Smith
30241a7a65
cross/gcc-*: upgrade to 11.2.1_git20211128 2021-11-29 08:08:05 +01:00
Oliver Smith
e225134edb
main/postmarketos-config-nftables: bump pkgrel
Current package has a bad checksum error on armv7, so build it again.

Fixes: #2081
2021-11-29 07:56:49 +01:00
Oliver Smith
6bba554f93
main/mkbootimg-osm0sis: fix upstream source
[ci:skip-vercheck]
2021-11-27 19:04:58 +01:00
Oliver Smith
c39fa96886
temp/gnome-software-plugin-apk: fix upstream source
This will be upgraded soon, however let's let this broken URL not block
the initial v21.12 bring up for now. Again, same checksum as the
previous tarball.

For edge we'll probably remove this package and instead Alpine's version
instead. [ci:skip-vercheck]
2021-11-27 19:04:53 +01:00
Oliver Smith
ad15da8878
main/anbox-image: drop (MR 2710)
Waydroid works better than anbox, and this package keeps failing to
build as in theory the bundled f-droid version needs to be upgraded more
frequently than we do.
2021-11-27 15:50:24 +01:00
Oliver Smith
06cd6765c4
main/postmarketos-anbox: drop (MR 2710)
Let's use waydroid instead.
2021-11-27 15:50:24 +01:00
Oliver Smith
d88960dc39
main/postmarketos-config-nftables: remove anbox (MR 2710)
Prepare to drop anbox from pmaports in favor of waydroid. For waydroid,
there's an nftables rule packaged as waydroid-nftables subpackage of the
waydroid package in Alpine (see pmaports issue 1280).
2021-11-27 15:50:16 +01:00
bo41
03c989ed54
ci: remove unused args argument from pmb.parse.apkbuild (MR 2711) 2021-11-27 15:42:05 +01:00
Oliver Smith
f68ebfe7b8
main/fbkeyboard: fix upstream source url
again, same checksum, I verified that it builds.
[ci:skip-vercheck]

Related: https://builds.sr.ht/~postmarketos/job/636813#task-pmbootstrap_build-502
2021-11-27 13:43:21 +01:00
Oliver Smith
a38bef1be5
main/crust: fix upstream source url
Source URL has moved. This is the same version, the checksum of the
tarball is the same. I've verified, that this builds.
[ci:skip-vercheck]

Related: https://builds.sr.ht/~postmarketos/job/636792#task-pmbootstrap_build-343
2021-11-27 13:32:42 +01:00
Danct12
7ffeea5cb7
device-nokia-n900: fix u-boot script typo (MR 2708) 2021-11-26 20:08:50 +00:00
Oliver Smith
286751e88e
channels.cfg: add v21.12 2021-11-26 01:16:19 +01:00
Oliver Smith
c3a124c44e
cross/gcc-*: upgrade to 11.2.1_git20211125-r1 2021-11-26 00:47:48 +01:00
Newbyte
5024719ca9
cross/gcc-*: upgrade to 11.2.1_git20211125 (MR 2706)
Upstream commit: c29fc97653

[ci:skip-build]: already built successfully in CI
2021-11-25 22:01:17 +01:00
Newbyte
91d95e4251
cross/busybox-static-*: upgrade to 1.34.1-r3 (MR 2705) 2021-11-24 20:50:46 +01:00
Alexander Martinz
deb2336838
shift-axolotl: new device (MR 2703)
Kernel defconfig is a copy of "axolotl_userdebug_defconfig".

Config changes (which differ from the copy above):
  - ran `pmbootstrap kconfig check shift-axolotl`
  - CONFIG_QCA_CLD_WLAN - m -> y

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

[ci:skip-build]
2021-11-24 19:31:48 +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
Johannes Marbach
5fa1755fba
main/postmarketos-mkinitfs: add modprobe subpkgs (MR 2693)
This adds two new subpackages postmarketos-mkinitfs-modprobe-lts and
postmarketos-mkinitfs-modprobe-edge that include /sbin/modprobe in the
initfs when one of the Alpine kernels (linux-lts or linux-edge) are also
installed.

Fixes: #1294

[ci:skip-build] already built successfully in CI
2021-11-22 09:48:39 -08: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
Clayton Craft
e4c50bb999
temp/waked: drop (MR 2696)
This is now in alpine edge
2021-11-22 07:58:34 +01:00
Stacy Harper
67b82a1f3b
main/postmarketos-ui-sxmo-de-dwm: depend on dunst (MR 2692) 2021-11-22 07:52:39 +01:00
Stacy Harper
70fb840906
main/sxmo-common: change dependency to dunstify (MR 2692) 2021-11-22 07:52:39 +01:00
Johannes Marbach
239b2b39e4
main/device-qemu-*: add crc32c_generic into initfs (MR 2694)
This adds the crc32c_generic module into the initfs. Without this,
mounting the boot partition will fail.

Relates to: #1294

[ci:skip-build] already built successfully in CI
2021-11-21 11:40:20 -08:00
person4268
ece1978d53
samsung-gtelwifiue: new device (MR 2681)
[ci:skip-build]: already built successfully in CI
                 linux-postmarketos-qcom-msm8916 was not built by bpo yet
2021-11-21 19:25:10 +01:00
Minecrell
11709bdb54
main/linux-postmarketos-qcom-msm8916: upgrade to 5.15 (MR 2632)
- Update to Linux 5.15
- Upstreamed many more patches
- Major rework of CPU core boot: This is now partially handled in lk2nd
  since mainline Linux does not want to support anything except PSCI on arm64.
- Major rework of "-modem" DTB variants. Now all device trees only contain
  the full modem configuration. lk2nd can patch the DTB at runtime to get
  the alternative "no-modem" variant where audio bypasses the modem entirely.
- Rename some Samsung device trees to drop variant suffixes (e.g. *lte/*wifi)
- Lots of other cleanup everywhere
- Probably many other things I forgot :)

Device changes:
  - samsung-gtelwifiue: new device tree
    - eMMC, SD card, USB, Buttons
    - Display (no brightness control yet)
    - Touchscreen
  - gt58: touch keys and some touch fixes
    - Note: Multi-touch seems broken at the moment :<
  - samsung-a2015/samsung-serranove:
    - Battery: Report voltage as uV
    - Touch keys: Allow changing function from userspace

Kernel config changes:
  - Enable required options for AppArmor and IWD

[ci:ignore-count]
[ci:skip-build]: already built successfully in CI
2021-11-21 19:11:49 +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
5cdf33cf1c
testing/<msm8916>: use _pmb_select="..." instead of kernel variants (MR 2632) 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
f427a49e42
htc-m8qlul: drop kernel variants (MR 2632)
The mainline-modem variant does not actually exist yet and this should
be preferably implemented using the new soc-qcom-msm8916-rproc selection
in the future.
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
674c7f63ad
modem/msm-modem: skip SIM configuration on APQ* SoCs (MR 2632)
Unfortunately, msm-modem-uim-selection causes boot delays on APQ*
SoCs (without most modem functionality) at the moment. The modem will
never show up so it keeps waiting and waiting.

To allow using the same rootfs on devices that have MSM* and APQ*
variants (e.g. Samsung MSM8916 tablets), add a quick check at the
beginning of the service to cancel early when running on an APQ* SoC.
This is easy to check because the SoC is actually exposed in sysfs.
2021-11-21 19:10:58 +01:00