Commit graph

1963 commits

Author SHA1 Message Date
Clayton Craft
20a0fee217
linux-purism-librem5: backport fixes for CVE-2021-39685 (MR 2761)
[ci:skip-build] already built successfully in CI
2021-12-16 15:36:20 -08:00
Newbyte
cb7436d24b
samsung-m0: remove redundant downstream cmdline (MR 2758)
The downstream kernel provider does not exist any more (see
samsung-m0-downstream if you really want the vendor kernel), so remove
this as it is unused.
2021-12-16 23:02:04 +00:00
Newbyte
8efbab3666
samsung-m0-downstream: fix cmdline (MR 2758)
cmdline probably wasn't being applied properly as there's no downstream
kernel provider any more.
2021-12-16 23:02:04 +00:00
Jack Knightly
4465e9e1cd
samsung-t0lte: new device (MR 2759) 2021-12-16 18:01:58 +01: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
David Heidelberg
29611eef9e
linux-asus-grouper: drop device specific kernel (MR 2584)
Both grouper and tilapia currently uses main/linux-postmarketos-grate

Signed-off-by: David Heidelberg <david@ixit.cz>
2021-12-16 14:37:13 +03:00
Alexey Min
8389cdba01
linux-oneplus-kebab: disable selinux to fix build failures (MR 2737)
With selinux enabled, build fails with gcc-11 with multiple errors like this:

/home/pmos/build/src/android_kernel_oneplus_sm8250-0c1bed1067131a0bd3e56c1cbdd3473606c5a48a/out/../security/selinux/hooks.c:5553:(.text+0xb34): relocation truncated to fit: R_AARCH64_ADR_PREL_PG_HI21 against `.bss.rtic'

Selinux is not required for pmOS, so this change should be safe.
2021-12-16 12:29:53 +01:00
Diana Atsuko Herring
f895dc7467
main/android-mkdtimg: drop package (MR 2737)
package replaced by android-mkdtboimg (!2729)
2021-12-16 12:29:53 +01:00
Clayton Craft
e2e2f42022
purism-librem5: replace gpsd with gnss-share (MR 2736)
gnss-share is a location provider I wrote for the librem 5's GPS module,
and can be used directly from geoclue. It allows saving and loading
A-GPS data (manual steps, for now) to facilitate faster fixes.

I'm not completely happy with having to use sed to patch geoclue's conf,
but:

1) I really only need to change 1 line

2) there's a non-zero chance geoclue's conf will be changed in aports if
   new permissions are required for things later

So carrying the config in the device package and using
"replaces=geoclue" (like the postmarketos-* stuff) didn't seem like a
maintainable solution long term since the geoclue conf might gain needed
fixes/features that might make a copy in the device package outdated...
2021-12-13 13:17:57 +01:00
Tim Zimmermann
98ca1e4fde
samsung-beyond1lte: new device (MR 2739)
[ci:skip-build]: Already built successfully in CI
2021-12-12 18:12:05 +01:00
Gianluca Boiano
9f334cb0a3
xiaomi-vince: move audio resources under alsa subpkg (MR 2716)
[ci:skip-build] already built successfully in CI
2021-12-10 11:11:53 -08:00
Gianluca Boiano
0b7ea96f35
xiaomi-vince: update kernel to 4.9.291 (MR 2716)
[ci:skip-build] already built successfully in CI
2021-12-10 11:11:52 -08:00
Clayton Craft
1ef69646d0
pine64-pinephone: configure shorter default suspend time (MR 2728)
[ci:skip-build] already built successfully in CI
2021-12-10 11:04:51 -08:00
Yassine Oudjana
234295575c
device-oneplus-oneplus3t: change nonfree-firmware dependency (MR 2733)
Change firmware-oneplus-oneplus3-op3t to firmware-oneplus-oneplus3t.
2021-12-10 18:47:51 +03:00
Yassine Oudjana
f83f6de05b
device-oneplus-oneplus3: change nonfree-firmware dependency (MR 2733)
Change firmware-oneplus-oneplus3-op3 to firmware-oneplus-oneplus3.
2021-12-10 18:47:50 +03:00
Yassine Oudjana
32508f70e2
testing/firmware-oneplus-oneplus3: split subpackages into separate packages (MR 2733)
This cuts downloads in half as only the needed sources are downloaded.
It also makes the packages simpler and fixes a bug where the oneplus3t
subpackage was overwriting the 20-adreno-gpu-firmware.files of the
oneplus3 subpackage.
2021-12-10 18:47:50 +03:00
Clayton Craft
33a85ff166
linux-purism-librem5: upgrade to 5.13.19pureos5 (MR 2732)
Changelog:
5f57c075a4
2021-12-10 14:11:42 +01:00
Lucid One
c8b3a16e38
raspberry-pi4: fix use of deprecated initramfs name (MR 2731)
initramfs-<flavor> is deprecated when using pmOS mkinitfs.

Signed-off-by: Lucid One <lucid@t5cc.io>
2021-12-09 08:04:41 +01:00
Denis Tolstov
e30bcfc5ff
xiaomi-rolex: new device (MR 1911)
Based on !1158 by @nrdnandan (5 files)
new file: device/testing/device-xiaomi-rolex/APKBUILD
new file: device/testing/device-xiaomi-rolex/deviceinfo
new file: device/testing/linux-xiaomi-rolex/APKBUILD
new file: device/testing/linux-xiaomi-rolex/config-xiaomi-rolex.aarch64
new file: firmware/firmware-xiaomi-rolex/APKBUILD

Changed deviceinfo : Width x Height was 800x600 to correct dimension -> 720x1280

modified: device/testing/device-xiaomi-rolex/APKBUILD
modified: device/testing/device-xiaomi-rolex/deviceinfo

Added directfbrc and fb.modes file. Also added SWAP file support swap_size=1024

Added Audio files and rules removed uneccessary lines in deviceinfo.

device/xiaomi-rolex: Fix linting issues

xiaomi-rolex: Linting fixes; is a handset

xiaomi-rolex: Moved firmware/ to device/testing/

xiaomi-rolex: Enable pmb:cross-native for kernel compilation
because it is the default for recent apkbuilds

xiaomi-rolex: Apply YYLOC patch to build 3.18.140 with gcc-10 (-fno-common)

xiaomi-rolex: update patch checksums in kernel APKBUILD

xiaomi-rolex: update deviceinfo checksum; replace common patch with a symlink

xiaomi-rolex: use mdss patch

xiaomi-rolex: use BGRA mdss framebuffer patch

xiaomi-rolex: mark myself as maintainer, drop contributor from apkbuilds
Refer to git commit history instead to determine contributors

xiaomi-rolex: update kernel config for multiple devpts

xiaomi-rolex: allow firmware cross-native builds, disable tracedeps per linter

[ci:skip-build]: already built successfully in CI
2021-12-08 22:22:03 +01:00
Martijn Braam
6a40c2392d
testing/pine64-pinephonepro: new device (MR 2607)
[ci:skip-build]: already built successfully in CI
2021-12-08 21:55:00 +01:00
Martijn Braam
9297091a0e
testing/device-motorola-osprey: fix boot splash (MR 2697)
Due to the new booting setup of lk2nd the initfs now has the size to
include the display stack.
2021-12-08 21:29:13 +01: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
Timon Baetz
454aa961c5
huawei-sturgeon: enable wifi (MR 2715)
[ci:skip-build]: already built successfully in CI
2021-12-05 22:10:22 +01:00
Timon Baetz
50b93ea065
linux-huawei-sturgeon: change wifi firmware path (MR 2715) 2021-12-05 22:10:12 +01:00
Timon Baetz
8d11b8779e
firmware-huawei-sturgeon: new package (MR 2715) 2021-12-05 22:10:07 +01: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
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
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
Danct12
7ffeea5cb7
device-nokia-n900: fix u-boot script typo (MR 2708) 2021-11-26 20:08:50 +00: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
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
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
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