Commit Graph
131 Commits
Author SHA1 Message Date
Bart Ribbers 27b8ef368f */*: replace uboot-tools dependency for u-boot-tools (MR 2141)
uboot-tools is provided by u-boot-tools but sometimes apk still gets
confused. This change prevents errors such as

pine64-pinephone:~$ sudo apk upgrade --verbose
WARNING: Failed to perform initial self-upgrade, continuing with full upgrade.
ERROR: unable to select packages:
  uboot-tools (virtual):
	    provided by: u-boot-tools
			    required by: device-pine64-pinephone-0.25-r1[uboot-tools]
[ci:ignore-count]
[ci:skip-build]: already built in CI successfully
2021-04-27 22:01:06 +02:00
Minecrell 96c3a7450a community/samsung-a3(u)lte: enable screen in initfs (MR 2110)
As of MR 2039, the kernel modules are now stripped (INSTALL_MOD_STRIP=1).
It turns out that this massively reduces their size so that including
the panel + touchscreen modules in the initfs still fits into the
partition. This allows the splash screen and osk-sdl to work correctly.
2021-04-17 23:04:44 -07:00
Minecrell 7a8b981dba community/samsung-serranovelte: enable screen in initfs (MR 2110)
As of MR 2039, the kernel modules are now stripped (INSTALL_MOD_STRIP=1).
It turns out that this massively reduces their size so that including
the panel + touchscreen modules in the initfs still fits into the
partition. This allows the splash screen and osk-sdl to work correctly.
2021-04-17 23:04:44 -07:00
Minecrell 2b54e057b5 community/samsung-a5(u)lte: enable screen in initfs (MR 2110)
As of MR 2039, the kernel modules are now stripped (INSTALL_MOD_STRIP=1).
It turns out that this massively reduces their size so that including
the panel + touchscreen modules in the initfs still fits into the
partition. This allows the splash screen and osk-sdl to work correctly.
2021-04-17 23:04:44 -07:00
Minecrell d463361835 community/motorola-harpia: enable screen in initfs (MR 2110)
As of MR 2039, the kernel modules are now stripped (INSTALL_MOD_STRIP=1).
It turns out that this massively reduces their size so that including
the panel + touchscreen modules in the initfs still fits into the boot
partition. This allows the splash screen and osk-sdl to work correctly.
2021-04-17 23:04:44 -07:00
Clayton Craft e3715a2d4e main/linux-purism-librem5: move from community (MR 2096)
[ci:skip-vercheck]: moving unchanged packages
[ci:skip-build]: moving unchanged packages
2021-04-17 22:41:10 -07:00
Clayton Craft 313bb89139 main/device-purism-librem5: move from community (MR 2096) 2021-04-17 22:40:45 -07:00
Clayton Craft 23b54b0f05 {device,linux}-purism-librem5: Add Bhushan Shah as co-maintainer (MR 2096) 2021-04-17 22:40:26 -07:00
Caleb Connolly 99f5924d47 device-oneplus-fajita: osk-sdl support and cleanup (MR 2088)
Make needed deviceinfo changes to support osk-sdl, add "quiet" to the
cmdline and bump the package version to 1.

Signed-off-by: Caleb Connolly <caleb@connolly.tech>
[ci:skip-vercheck]
2021-04-16 19:21:27 +02:00
Caleb Connolly 0d7b714f4a device-oneplus-enchilada: osk-sdl support and cleanup (MR 2088)
Make needed deviceinfo changes to support osk-sdl, add "quiet" to the
cmdline and bump the package version to 1.

Signed-off-by: Caleb Connolly <caleb@connolly.tech>
2021-04-16 19:20:52 +02:00
Caleb Connolly 7ef84a37fc firmware-oneplus-sdm845: add firmware to initramfs (MR 2088)
Add a subpackage to ensure that GPU firmware is included in initramfs so
that osk-sdl can work.

[ci:skip-vercheck]

Signed-off-by: Caleb Connolly <caleb@connolly.tech>
2021-04-16 19:13:07 +02:00
Caleb Connolly 36eca9bdda soc-qcom-sdm845: move to community (MR 2088)
[ci:skip-vercheck]
2021-04-16 19:13:07 +02:00
Caleb Connolly 32b488e401 firmware-oneplus-sdm845: move to community (MR 2088) 2021-04-16 19:13:06 +02:00
Caleb Connolly 11be4d37ab device-oneplus-fajita: move to community (MR 2088) 2021-04-16 19:13:05 +02:00
Caleb Connolly 507adfddbe device-oneplus-enchilada: move to community (MR 2088) 2021-04-16 19:13:04 +02:00
Minecrell c1c42c74b8 community/xiaomi-wt88047: move from testing (MR 2073)
[ci:skip-vercheck]: No meaningful change here
2021-04-16 13:16:45 +02:00
Oliver Smith caae6d5405 treewide: bump pkgrel to generate new splashes (MR 1996) 2021-04-11 19:52:37 +02:00
Bobby The Builder 259c9eefe5 pine64-*: change default RAM clock from 552 to 528 (MR 1998)
Issue #981 Change default clock from 552 to 528
(latest batches such as KDE are having issues with 552)
2021-04-05 11:14:18 +02:00
Bobby The Builder 5322350898 temp/u-boot-pinephone: build with 3 RAM clocks (MR 1998)
U-Boot package will be built and packaged with tree
different images, each with a custom RAM clock.

Supported clocks: 528, 552 and 624
2021-04-05 11:14:13 +02:00
Clayton Craft de0bc01e34 purism-librem5: fix bluetooth by disabling LE mode (MR 2089)
This forces coex. mode to only support BT classic/EDR, and disabled LE.
When LE coex. is enabled, BT controller init fails.

see: https://gitlab.com/postmarketOS/pmaports/-/issues/1042
fixes: https://gitlab.com/postmarketOS/pmaports/-/issues/976
2021-04-03 10:58:24 -07:00
Oliver Smith a909e543f3 nokia-n900: add PMOS_FORCE_PARTITION_RESIZE (MR 2076)
Resize the partition when using a pre-built image. We didn't notice that
this was missing, because N900 images are new and we only tested from
pmbootstrap install --sdcard, which already uses the full SD card size.
2021-03-30 23:03:49 +02:00
Clayton Craft 3d09f9c10d device-purism-librem5: add nonfree subpackage w/ wifi/bt firmware (MR 2059)
Workaround for https://source.puri.sm/Librem5/linux-next/-/issues/290

This requires a kernel with the flash mode *disabled* in the Redpine
RS911x driver.

[ci:skip-build] already passed CI
2021-03-27 18:37:12 +01:00
Clayton Craft ddf56b5169 linux-purism-librem5: disable RS9116 fw flashing (MR 2059)
This allows loading nonfree fw from rootfs (/lib/firmware), to work
around: https://source.puri.sm/Librem5/linux-next/-/issues/290

This change will break wifi unless the nonfree
firmware-siliconlabs-rs9116 package is installed.
2021-03-27 18:37:11 +01:00
Clayton Craft b8c77b240e device/community/firmware-siliconlabs-rs9116: new aport (MR 2059)
This packages the nonfree Silicon Labs RS9116 firmware, required by the
RS9116 chip when flash mode is *not* enabled in the kernel driver.
2021-03-27 18:37:10 +01:00
Clayton Craft aaca2d5d38 linux-purism-librem5: upgrade to 5.11.6 (MR 2059)
Upstream changelog:
https://source.puri.sm/Librem5/linux-next/-/commit/61e6fc1d50487aa3a7ca112d78f94c3e4ddee976
2021-03-27 18:37:02 +01:00
Minecrell 47ec08d635 community/soc-qcom-msm8916: update UCM files (MR 2039)
- Fix speaker on xiaomi-mido
- Add UCM configuration for alcatel-idol347
2021-03-22 21:22:08 +01:00
Minecrell b208647c58 bq-paella: include smb1360 (battery/charger driver) in initfs (MR 2039)
This is needed for USB to initialize correctly.
2021-03-22 21:22:08 +01:00
Minecrell 86eff19e0b community/asus-me176c: fix splash screen width and phosh scaling (MR 2047)
Actually the display in asus-me176c has a width of 800px, which means
that the splash screen isn't perfectly centered. Correct this in
deviceinfo to make it show up correctly.

Also, add configuration file for Phosh to reduce scaling a bit to 1.75.
It's kind of subjective but scaling = 2 definitely feels too large.

[ci:skip-build]: already built successfully in CI
2021-03-21 21:17:59 +01:00
Minecrell 2094a44b23 community/linux-asus-me176c: upgrade to 5.4.107 (MR 2047) 2021-03-21 21:17:57 +01:00
Clayton Craft 56a0531ad2 linux-purism-librem5: build led-pattern driver into kernel (MR 2043)
There's a race condition between when the pwmled device is initialized,
which kicks off a feedbackd udev rule that configures the led trigger to
'pattern', and when ledtrig_pattern actually loads. It seems to mostly
load after the rule runs, so the trigger is never set to 'pattern' on
boot.

This removes the race by building the ledtrig_pattern driver into the
kernel.

[ci:skip-build] Already build successfully in CI
2021-03-21 10:54:29 -07:00
Clayton Craft a44713cf0d linux-purism-librem5: add patch to fix wifi performance regression (MR 2043)
This patch fixes a fairly severe performance regression with wifi on the
L5 (something like 20x improvement in performance with this patch)

[ci:skip-build] Already build successfully in CI
2021-03-21 10:54:29 -07:00
Clayton Craft 9ae9a7eb2c device-purism-librem5: do not start nonexistent service (MR 2034)
Fixes https://gitlab.com/postmarketOS/pmaports/-/issues/1010
2021-03-17 13:36:40 -07:00
Clayton Craft 0dc254adef device-purism-librem5: use bq25890 ship mode support in kernel (MR 2032)
Ship mode via the mechanism used by purism doesn't work; it's either not
possible or outside my understanding to run an openrc runscript with a
busybox init on *poweroff* and *not reboot*, which is what is required
for this to work properly..

This module param requires a corresponding kernel patch to enable ship
mode support in the bq25890-charger module
2021-03-16 07:38:22 +01:00
Clayton Craft ee89b6cb24 linux-purism-librem5: add bq25890 patch for ship mode on poweroff (MR 2032)
Submitted to purism here:
https://source.puri.sm/Librem5/linux-next/-/merge_requests/333
2021-03-16 07:38:17 +01:00
Clayton Craft fe3620e93d linux-purism-librem5: upgrade to 5.11.4 (MR 2018)
Upstream change logs:

5.11.2:
https://source.puri.sm/Librem5/linux-next/-/commit/fdc91c4e20af5146c9733f16ca6912fb5721e69b

5.11.4:
https://source.puri.sm/Librem5/linux-next/-/commit/a178aa515c9474d8a3d4b473def3027be96d6772

This also adds a -dev subpackage, and cleans up makedepends

[ci:skip-build]: already built successfully in CI
2021-03-14 23:28:31 -07:00
Clayton Craft 07193614cb device-purism-librem5: use new u-boot location (MR 2023) 2021-03-13 02:18:13 +01:00
Clayton Craft 6ed0879afe device-purism-librem5: upgrade to 1.15 (MR 2009)
This includes a new librem5-base config release, the most notable change
being some mic echo cancellation changes in pulseaudio config.

Upstream changelog:
https://source.puri.sm/Librem5/librem5-base/-/commit/351958ffc0ff21e31647d69e23e47aefdf2ec396

Note: I did not include the upstream change to disable wifi PM. I don't
find the performance to be so bad that it's worth giving up some battery
efficiency for.

Note: the librem5-base thing from purism has a new naming/versioning
format, which is in line with some of their other projects, so the
APKBUILD has been updated to support that too
2021-03-07 20:15:28 +01:00
Clayton Craft 3ed8a1b07c device-purism-librem5: add smartcard reader support (MR 1993)
This adds a new subpackage that installs dependencies and configures the
smartcard reader on the librem 5. Some setup is required before this
will work (e.g. upgrading reader firmware), the L5 wiki page will have
this information.

The pcsc init script was forked into this package to allow for powering
on the reader *before* the service started. Doing this in a separate
init script would have caused the reader to power on regardless of
whether the pcsc service was set to start, which is not desirable since
it should *only* be powered on when pcsc is starting
2021-02-28 10:50:36 +03:00
Clayton Craft f65516e2cf community/linux-purism-librem5: upgrade to 5.11.1pureos1 (MR 1987)
Changelog:
https://source.puri.sm/Librem5/linux-next/-/commit/42b617ee93593724aa4f57cf26e98c12d5c73829

[ci:skip-build]: doesn't finish within 3 hours (can somebody fix this?)
2021-02-27 23:30:05 +01:00
Clayton Craft 5943517ffe device-purism-librem5: upgrade to 1.13 (MR 1960)
Main change is librem5-base v35, upstream changelog:
https://source.puri.sm/Librem5/librem5-base/-/commit/89c9c55defcd26353fa63de67a10d4695f6bdf3b

Removed a dtb in the deviceinfo that is no longer generated on newer
kernels
2021-02-21 13:54:22 +01:00
Clayton Craft 9ebdbd023c linux-purism-librem5: upgrade to 5.11.0pureos1 (MR 1960)
Purism has changed the kernel name they used, so that's reflected in the
apkbuild.

This kernel includes patches for renaming the audio device, and requires
a corresponding upgrade to the device package to bring in the new ucm2
config changes for that.
2021-02-21 13:54:18 +01:00
Minecrell 55503f0e52 samsung-a3lte: move from testing to community (MR 1963)
There is already samsung-a3ulte in community, and the devices actually
share the same kernel, device tree, and basically everything except
firmware. We just need separate firmware packages because Samsung uses
different secure boot certificates on a3lte and a3ulte.

They also share the same wiki page which suggests installation using
the pre-built images now, so having pre-built images only for
samsung-a3ulte is quite confusing for users.

The situation is similar as for samsung-a5ulte and samsung-a5lte
which also are both in community already.
2021-02-17 12:05:08 +01:00
Bart Ribbers 99b8c5b1e5 pine64-pinetab: enable Kirigami lowpower mode (MR 1928) 2021-02-11 09:50:05 +01:00
Alexey Min 00e0036ff2 pine64-pinetab: enable sd to emmc installation (MR 1927)
This enables to build ondev installer image
with an ability to install to internal eMMC
with `pmbootstrap install --ondev --sdcard=...`.
2021-02-04 23:48:30 +03:00
Clayton Craft 361114359f device-purism-librem5: change default dtb when board_rev is not set (MR 1920)
According to Purism, the imx8mq-librem5.dtb alias is going away soon,
and we should be using the -r2 dtb. The -r2 dtb (which represents
Birch/Chestnut L5 variants) is most compatible, it'll boot on later
variants. dtbs for later L5 devices won't work on older devices.
2021-02-03 15:40:46 -08:00
Bhushan Shah 3a82b531f5 device-purism-librem5*: drop workaround for mesa (MR 1906)
This is now no longer needed in both Plasma Mobile or Phosh. Compositor
seems to handle it correctly.
2021-01-29 09:35:38 +01:00
Clayton Craft 22a5e4dda5 device-purism-librem5: upgrade to 1.11 (MR 1896)
- Upgrade librem5-base to v33
- Include the haptic vibration driver in initfs for supporting osk-sdl's
  haptic feedback feature
- remove gps udev rule in pmaports in favor of using rule from
  librem5-base
- install modem audio udev rule from librem5-base
- add openrc service for putting device into 'ship mode' on shutdown
  (prevents battery from slowly draining)
- include Evergreen/r4 dtb in /boot
- Fix audio with port of ucm config to ucm2 (patch submitted upstream
  here: https://source.puri.sm/Librem5/librem5-base/-/merge_requests/214)
2021-01-27 15:36:21 +01:00
Nikita Travkin b9af242f4f wileyfox-crackling: updates for 5.11 kernel (MR 1871)
Change modules included in initfs, remove "no charging" note for
mainline kernel.
2021-01-27 10:09:01 +01:00
jonathan 332b6b5d6e bq-paella: add truly display panel to initfs, update dtb paths (MR 1871) 2021-01-27 10:09:00 +01:00
Minecrell 7bef094fae {bq-paella,wileyfox-crackling,xiaomi-wt88047}: remove modprobe.conf (MR 1871)
The modprobe.conf is not necessary on those devices because they already
load the panel module using deviceinfo_modules_initfs. Let's skip the
modprobe.conf in that case so we don't need to add all panels in two places.
2021-01-27 10:09:00 +01:00