Commit Graph
2155 Commits
Author SHA1 Message Date
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:
https://source.puri.sm/Librem5/linux-next/-/commit/5f57c075a4806fb39d45265aafb3ca5aefd282f5
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
Kai Hernowski 63b7969efd lg-vee7e: change to armv7 and gcc6 (MR 2689)
[ci:skip-build]: already built successfully in CI
2021-11-21 02:44:02 +01:00
Antoni Aloy Torrens f5ee783b74 samsung-v1awifi: new device (MR 2671)
[ci:skip-build]: already built successfully in CI
2021-11-21 02:13:00 +01:00
Minecrell 04f2850483 community/linux-asus-me176c: upgrade to 5.4.159 (MR 2685)
[ci:skip-build]: already built successfully in CI
2021-11-18 18:06:47 +01:00
Clayton Craft e26f8daa06 linux-purism-librem5: upgrade to 5.13.19pureos4 (MR 2686)
Upstream changelog:
https://source.puri.sm/Librem5/linux-next/-/commit/fa57d344e74379940c04f004b23805730d06ca19#9c96da0e9f91d7d8937b69b524702c106258f0d1

[ci:skip-build]: already built successfully in CI
2021-11-18 18:02:48 +01:00
Kai Hernowski 51d2b47263 lg-vee7e: modenize aport (MR 2688)
[ci:skip-build] already built successfully in CI
2021-11-16 19:01:45 +01:00
Clayton Craft 04dca0fb21 purism-librem5: rebase with purism's latest librem5-base changes (MR 2666)
This installs some new udev rules added in purism's librem5-base
package, and adds the charger module to initfs to that PD is available
earlier on in the boot process.

[ci:skip-build] already built successfully in CI
2021-11-15 09:52:41 -08:00
Jami Kettunen c16b20e7d3 device-oneplus-dumpling: drop psi=1 from cmdline (MR 2672)
PSI is now enabled by default in linux-postmarketos-qcom-msm8998.

[ci:skip-build]: already built successfully in CI
2021-11-10 23:25:18 +01:00
Jami Kettunen 8e8a62dc52 device-oneplus-cheeseburger: drop psi=1 from cmdline (MR 2672)
PSI is now enabled by default in linux-postmarketos-qcom-msm8998.
2021-11-10 23:25:15 +01:00