Commit graph

331 commits

Author SHA1 Message Date
Oliver Smith
3a2007c36b
pine64-pinephone: fix audio with alsa-lib 1.2.7 (MR 3267)
Let /usr/share/alsa/ucm2/conf.d/simple-card/*.conf be a symlink,
as it is expected since alsa-lib 1.2.7.

Related: d6adde0e32

[ci:skip-build] already built successfully in CI
2022-07-02 23:29:05 -07:00
Clayton Craft
b06f5c6f72
linux-purism-librem5: upgrade to 5.18.5 (MR 3253)
Upstream changelog:

5167067a7a

[ci:skip-build]: already built successfully in CI
2022-06-27 08:58:01 +02:00
Arnavion
f8df093985
device/pine64-pinephone: add additional modem udev rule for new community firmware serial (MR 3240)
Ref: https://github.com/Biktorgj/pinephone_modem_sdk/releases/tag/0.6.7

>Set USB port serial number to `community_fw`, so distros can use
a specific ruleset in udev for this firmware and a different one
when using stock
2022-06-16 22:15:58 +02:00
Martijn Braam
b62d7f6e7c
device/pine64-pinephone: add recommended modem udev rules (MR 3235)
For the Biktorgj firmware the control/power file should be set to on
instead of auto. By matching on the serial number this only applies to
modems with the community firmware installed.
2022-06-15 12:30:26 +02:00
Oliver Smith
6c01d67f3c
pine64-pinephone: update maintainers list (MR 3199)
* add myself as maintainer
* remove Clayton and Bart

[ci:skip-vercheck]
2022-06-14 09:36:17 +02:00
Clayton Craft
87d6a4cff4
linux-purism-librem5: upgrade to 5.18.1pureos1 (MR 3214)
Config changes are just from rebasing on purism's defconfig + migrating
to 5.18 config

[ci:skip-build] already built successfully in CI
2022-06-11 15:38:28 -07:00
Clayton Craft
160e6085be
device/main/u-boot-librem5: upgrade to 2022.04_git20220420 (MR 3085)
This also re-enables the auto flashing for u-boot on the L5, but keeps
it disabled on the devkit for now until this u-boot supports the devkit
again.

[ci:skip-build] already built successfully in CI
2022-06-11 15:33:00 -07:00
Minecrell
b714ea8aef
device-*: Drop file system modules from deviceinfo_modules_initfs (MR 3166)
File system modules are included by default in postmarketos-mkinitfs
and loaded dynamically when needed.

[ci:skip-build]: already built successfully in CI
2022-06-06 10:11:59 +02:00
Clayton Craft
879ffd1f54
linux-purism-librem5: upgrade to 5.17.9 (MR 3175)
Patches to work around modem instabilities are now in purism's fork, so
they were dropped.

I ran 'kconfig migrate' on the config, which is why there are a lot of
chnages there.

[ci:skip-build] already built successfully in CI
2022-06-01 21:17:13 -07:00
Newbyte
699252ad23
device/main/u-boot-pinephone: add maintainers (MR 3135)
Copied from device-pine64-pinephone.
2022-05-31 09:23:23 +02:00
Newbyte
981db6c080
device/main/u-boot-pinephone: move from temp (MR 3135)
Let's clean up temp and move these not-so-temporary U-Boot forks to
the appropriate device subdirectory instead.
2022-05-31 09:23:12 +02:00
Elagost
f5b0a91d6a
pine64-pinephone: fix pinephone keyboard layout (MR 3133) 2022-05-18 10:45:07 +02:00
Elagost
64ef5024d0
device-pine64-pinephone: deviceinfo: change kb151 -> pinephone_keyboard (MR 3124) 2022-05-11 12:16:51 +00:00
Bobby The Builder
e2f31a3d52
linux-postmarketos-allwinner: upgrade to 5.17.5 (MR 3108)
[ci:skip-build]: already built successfully in CI
2022-05-08 17:02:42 +02:00
Bobby The Builder
0389d102fb
linux-postmarketos-allwinner: switch back PP Keyboard driver as module (MR 3108) 2022-05-08 17:02:27 +02:00
Bobby The Builder
a5b16897c1
linux-postmarketos-allwinner: upgrade to 5.17.4_git20220427 (MR 3097)
Disable options
-CONFIG_NET_VENDOR_ENGLEDER
-CONFIG_NET_VENDOR_VERTEXCOM
-CONFIG_SURFACE_PLATFORM

Enable options
+CONFIG_KEYBOARD_PINEPHONE

Note by ollieparanoid: this fixes the suspend to ram issue, pma 1478
[ci:skip-build]: already built successfully in CI
2022-05-01 23:38:22 +02:00
Bobby The Builder
422d14823a
main/linux-postmarketos-allwinner: enable TCPMSS match functionality (MR 3039) (MR 3086)
Re-applied after downgrading to 5.16.4. [ci:skip-vercheck].
2022-04-24 14:20:06 +02:00
Oliver Smith
1cc273fead
linux-postmarketos-allwinner: patch dirtypipe (MR 3086) 2022-04-24 14:20:06 +02:00
Oliver Smith
207e9fa1b0
linux-postmarketos-allwinner: downgrade to 5.16.4_git20220131 (MR 3086)
Downgrade to avoid the suspend issues we've been seeing for the past three
weeks. This reverts commit 3d4d3558b7
("linux-postmarketos-allwinner: upgrade to 5.17.0_git20220313 (MR 3001)").

Related: pmaports issue 1478
2022-04-24 14:20:05 +02:00
Oliver Smith
8271ec7b87
Revert "main/linux-postmarketos-allwinner: enable TCPMSS match functionality (MR 3039)" (MR 3086)
Reverting this to cleanly revert to 5.16.4_git20220131 in the next
patch. This reverts commit 56183bcae3.
2022-04-24 14:19:59 +02:00
Clayton Craft
fbbc1e2683
linux-purism-librem5: upgrade to 5.17.2pureos1 (MR 3082)
- Latest revision of the modem PM issue workaround patches from Purism
- Rebased config on Purism's defconfig
2022-04-21 10:40:35 +02:00
Clayton Craft
f5c79dd7b3
device-purism-librem5: add fw to nonfree subpackage, re-enable modem PM (MR 3066) 2022-04-09 13:59:50 +03:00
Clayton Craft
e8a268df68
device/main/firmware-brcm43752: new aport (MR 3066)
Firmware for the SparkLAN/broadcom wifi module that can be installed in
the librem 5
2022-04-09 13:59:48 +03:00
Clayton Craft
56b346b452
main/linux-purism-librem5: upgrade to 5.16.18 (MR 3066)
- Enable Broadcom and Marvel wifi drivers (cards exist that can be
  installed in the L5)

- Add workaround that helps with modem disappearing when modem PM is
  enabled. Doesn't solve it completely, but it makes the problem much
  less frequent.
2022-04-09 13:59:46 +03:00
Clayton Craft
17beef02f2
device/main/u-boot-librem5: disable installing u-boot on the devkit (MR 2983)
This u-boot version doesn't support the devkit yet. Last I heard, Purism
plans to add the config back in after porting it from the old u-boot.

If anyone needs this (probably no one besides me?), the old u-boot can
be built locally from an earlier version of this package.
2022-04-06 09:11:56 +02:00
Bart Ribbers
e8fdf51d1b
device/main/u-boot-librem5: move from temp (MR 2983) 2022-04-06 09:11:56 +02:00
Clayton Craft
d2ff4c16f2
device-purism-librem5: update boot.scr and uboot flash script (MR 2983)
- updates the boot.scr to support SD card boot

- updates the uboot flash script to support the latest librem5-uboot
  package changes
2022-04-06 09:11:56 +02:00
Clayton Craft
7f52cf8f04
device/main/firmware-siliconlabs-rs9116: upgrade to 2.5.1 (MR 3061) 2022-04-06 00:34:07 +03:00
Clayton Craft
c4d37a5a5b
device/main/firmware-siliconlabs-rs9116: move from community (MR 3061)
fw is used by the L5's wifi chip
2022-04-06 00:34:07 +03:00
Bobby The Builder
56183bcae3
main/linux-postmarketos-allwinner: enable TCPMSS match functionality (MR 3039)
[ci:skip-build]: already built successfully in CI
2022-04-02 16:58:50 +02:00
Clayton Craft
24adb5f5cd
purism-librem5: fix audio, enable xwayland accel (MR 3045)
fixes #1480

[ci:skip-build] already built successfully in CI
2022-03-29 16:07:41 -07:00
Clayton Craft
85fbc51248
linux-purism-librem5: upgrade to 5.16.16 (MR 3033)
The dropped patch was merged in purism's kernel fork

[ci:skip-build] Already built successfuly on CI in MR
2022-03-26 17:36:33 +01:00
Martijn Braam
3d4d3558b7
linux-postmarketos-allwinner: upgrade to 5.17.0_git20220313 (MR 3001)
[ci:skip-build]: already built successfully in CI
2022-03-21 09:25:28 +01:00
Clayton Craft
e73f0d350d
linux-purism-librem5: upgrade to 5.16.11 (MR 2969)
This also includes a patch that is already merged in the purism kernel
to fix the power key on plamo.

[ci:skip-build] already built successfully in CI
2022-03-08 23:28:21 -08:00
elagost
297ff6bf57
linux-postmarketos-allwinner: set kb151 as module (MR 2966)
[ci:skip-build] Already built successfuly on CI in MR
2022-02-27 19:28:19 +01:00
elagost
4db07ad794
device-pine64-pinephone: add kb151 to initrd (MR 2966) 2022-02-27 19:27:58 +01:00
Dylan Van Assche
b71d958fe7
device-pine64-pinephone: depend on fwupd (MR 2760)
Installing fwupd allows automatic upgrades of the Quectel EG25-G modem
firmware.
2022-02-24 18:52:49 +01:00
Federico Amedeo Izzo
78ff5e897f
pine64-pinephone: Fix u-boot user script load address (MR 2952)
The package `device-pine64-pinephone-vccq-mod` installs a u-boot user script.
The user script was loaded at address 0x50100000 partially overwriting
the initramfs (0x4FF00000-0x5015facd), and causing a boot loop.

The user script load address was increased to 0x50700000, leaving 8MB
of free space for the initramfs, the current initramfs size is 2.37MB.
2022-02-21 23:25:59 +01:00
Clayton Craft
a28afc45d8
device-purism-librem5: upgrade to 1.29 (MR 2922)
Includes some udev rule tweaks to improve camera unloading/loading, and
some audio switching fix

[ci:skip-build] already built successfully in CI
2022-02-11 11:10:10 -08:00
Clayton Craft
a98736733e
linux-purism-librem5: upgrade to 5.16.7 (MR 2921)
upstream changelog: eff2f41022/debian/changelog

[ci:skip-build] already built successfully in CI
2022-02-10 22:00:22 -08:00
Clayton Craft
80297800bf
linux-purism-librem5: upgrade to 5.16.3pureos1 (MR 2782)
This enables suspend(!), and rebases the config on purism's config.
2022-02-09 12:23:24 -08:00
Bobby The Builder
20dbb031ce
linux-postmarketos-allwinner: upgrade to 5.16.4 (MR 2905)
[ci:skip-build] already built successfully in CI
2022-02-07 20:26:06 -08:00
Bart Ribbers
47d8f82305
linux-postmarketos-allwinner: move to device/main (MR 2882) 2022-01-26 12:18:52 +01:00
Oliver Smith
eb21ed5472
device/*/device-*: rebuild for new splash screens (MR 2222)
[ci:ignore-count]
2022-01-22 13:40:33 +01:00
Clayton Craft
01febf4f0b
device-purism-librem5: don't use legacy u-boot images for booting (MR 2842)
Using uInitrd is no longer necessary. I'm not sure *why*, but it just
works using the non-u-boot-image initramfs. The post-upgrade script was
changed to clean up the old images from /boot/u{Image,Initrd}, restoring
a lot of free space in that partition (~25MB)

This also sneaks in a small 1 character change to silence removing the
gpsd service from the default runlevel

[ci:skip-build]: already built successfully in CI
2022-01-16 16:57:16 +01:00
Clayton Craft
33c2fa2370
linux-purism-librem5: enable EFI stub (MR 2842)
useful for booting the kernel via an ipxe.efi started by u-boot
2022-01-16 16:57:03 +01:00
Bart Ribbers
f366f7cfb3
pine64-pinephone: add sensorfw configs (MR 2518)
sensorfw is used by Waydroid (via waydroid-sensord) and the Glacier UI
for rotation and other sensors
2022-01-05 00:05:43 -08:00
Clayton Craft
49af61efbf
purism-librem5: fix audio with alsa-ucm-conf>=1.2.6.x (MR 2743)
[ci:skip-build] already built successfully in CI
2021-12-21 09:37:01 -08:00
Bart Ribbers
e3a0bc31e9
pine64-pinephone: fix audio with alsa-ucm-conf>=1.2.6.x (MR 2743)
Path locations have changed. Always fun breaking backwards
compatibility in minor releases
2021-12-21 09:36:48 -08:00
Clayton Craft
051a9d763a
device-qemu-*: fix sway subpackage install conditions (MR 2749)
By setting the `install_if` to include postmarketos-ui-sway instead of
sway, apk doesn't seem to be confused if it is also trying to install
some other package with `provides=sway` in it.

fixes #1343

[ci:skip-build] already built successfully in CI
2021-12-19 15:43:55 -08:00
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
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
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
Clayton Craft
33a85ff166
linux-purism-librem5: upgrade to 5.13.19pureos5 (MR 2732)
Changelog:
5f57c075a4
2021-12-10 14:11:42 +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
Clayton Craft
e26f8daa06
linux-purism-librem5: upgrade to 5.13.19pureos4 (MR 2686)
Upstream changelog:
fa57d344e7 (9c96da0e9f91d7d8937b69b524702c106258f0d1)

[ci:skip-build]: already built successfully in CI
2021-11-18 18:02:48 +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
Federico Amedeo Izzo
cc123ebbef
pine64-pinephone: Add support for eMMC Vccq hardware mod (MR 2665)
[ci:skip-build]: already built successfully in CI
2021-11-10 20:05:52 +01:00
Clayton Craft
3883291acd
linux-purism-librem5: upgrade to 5.13.19pureos3 (MR 2658)
my patch to disable SS was merged in purism's tree, so it's dropped
here. This kernel also enables the hantro video decoding stuff.

[ci:skip-build] already built successfully in CI
2021-11-07 13:42:46 -08:00
Jakob Hauser
b0cdf66653
main/postmarketos-ui-xfce4: further improvements (MR 2506)
Improvements from xfce4-phone source:
- Add screenshot to README.md
- Enable screen locking
- Disable Desktop icons "Home", "File System", "Trash"
- Enable single-click on Desktop
- Enable single-click in Thunar
- Change clock format
- Set postmarketos wallpaper

Additional changes in postmarketos-ui-xfce4:
- Installing greybird-themes (which is already set as default theme in
  /etc/xdg/xfce4/xfconf/xfce-perchannel-xml/xsettings.xml).
- Changing /etc/skel/.config/autostart/onboard-autostart.desktop to
  slightly speed up keysboard startup (overriding startup-delay of
  /etc/xdg/autostart/onboard-autostart.desktop).
- Enabling scrollbars by /etc/profile.d/enable-scrollbars.sh, this is
  helpful where touch-scrolling doesn't work like e.g. in whiskermenu.

(And re-ordered network-manager-applet in APKBUILD _pmb_recommends
section.)

Also removing xfce4 subpackages of device-qemu-amd64,
device-qemu-aarch64 and device-nokia-n900. The device specific monitor
to set the wallpaper will now be automatically derived from "monitor0"
in file xfce4-desktop.xml.

Additionally taking maintainership as discussed in merge request
(!2506).
2021-09-29 18:29:54 +03:00
Johannes Marbach
95d375879c
treewide: firmware: use pmb:cross-native/!tracdeps (MR 2468)
Add pmb:cross-native/!tracedeps to applicable firmware packages and
secure both with a test.

This sets the pmb:cross-native and !tracedeps options on all firmware-*
packages that are compatible with the native compilation method. A unit
test ensures the presence of both options while maintaining a list of
exempted packages.

Fixes: #718
[ci:ignore-count] [ci:skip-vercheck] [ci:skip-build]
2021-09-19 18:57:36 +02:00
bo41
79061c94ce
device/*: remove empty variables (MR 2534)
[ci:ignore-count] [ci:skip-vercheck]
[ci:skip-build]: built all the device packages successfully in CI
                 already
2021-09-19 16:56:34 +02:00
Oliver Smith
62453b9e7d
pine64-pinephone: fix pre-upgrade script (MR 2512)
Use -f, so rm
* does not complain if the file does not exist
* does not exit with 1 if the file does not exist

Remove the stdout/stderr redirect (not needed with -f).

Add exit 0 at the end of the file, even though it clearly should not
exit with anything other than 0 anymore, as it's common practice in
these pre-upgrade etc. scripts.

With the old script, the problem was that it would exit 1 as soon as the
files did not exist at the time the script runs. Exit 1 in this
pre-upgrade script causes apk to show an error, and it would not go away
with 'apk fix' since it ran into the same problem.

Fixes: 7c511d ("pine64-pinephone: remove old u-boot...")
2021-09-12 22:29:14 +02:00
Clayton Craft
7c511d677e
pine64-pinephone: remove old u-boot legacy images from /boot on upgrade (MR 2494)
fixes #1228
2021-09-07 14:34:10 -07:00
Clayton Craft
1f8ff25707
pine64-pinephone: remove dependency on wys (MR 2482)
On the pinephone, callaudiod handles the switching of default outputs,
so wys is unnecessary and may be causing issues when running in parallel
with callaudiod.

fixes #1217
2021-09-05 16:29:35 -07:00
Clayton Craft
0a4e7a9db1
device-pine64-pinephone: change ucm2 install path to support 5.14 kernel (MR 2471)
with 5.14, there's some change to the path that alsa searches for ucm2
for this device. the install path for PinePhone.conf is changed, and it
references "full" path to HiFi and VoiceCall profiles (which I kept in
`PinePhone` dir, so that there could be several configs for the same
driver later on, if necessary/desired)
2021-09-05 13:43:07 -07:00
Clayton Craft
65bae8615b
device-*: don't use 'flavor' in kernel/initramfs names (MR 2426)
[ci:ignore-count]
[ci:skip-build] too many changed kernels/packages, won't complete in CI
2021-09-03 10:29:07 -07:00
Clayton Craft
d164248ac6
linux-*: bump pkgrel for kernels that use downstreamkernel_package (MR 2426)
This function was changed, so these packages need to be rebuilt to have
the kernel installed under the new filename 'vmlinuz'
2021-09-03 10:29:07 -07:00
Clayton Craft
82777179c1
device-pine64-pinephone: stop using legacy u-boot initrd (MR 2449)
[ci:skip-build] already built successfully in CI
2021-08-27 11:40:48 -07:00
Johannes Marbach
d850a2b2b4
device-qemu-*: add evdev module to initfs (MR 2463)
The Alpine LTS kernel builds evdev as a module which means it's not automatically
available in the initfs. Including evdev allows osk-sdl to properly recognise
physical keyboards, just like on a real device.

Fixes: #1204

[ci:skip-build] already built successfully in CI
2021-08-26 13:49:57 -07:00
Arnavion
bb25d9aa61
pine64-pinephone: fix pinephone_modem-setup to correctly invoke atinout (MR 2462)
`$DEV` was an undefined variable so the atinout commands were printing their
helptext instead of actually running. This was noticeable because
the "Failed to enable VoLTE profile auto selecting" log was being printed
along with said helptext to syslog.

The block that defined `$DEV` had been accidentally deleted in
bb41f53879 . This change restores it.
2021-08-26 00:34:46 -07:00
Bobby The Builder
2f325b6124
main/device-pine64-pinephone: disable sysrq config (MR 2447)
it's already disabled in kernel config:

      sysctl: cannot stat /proc/sys/kernel/sysrq: error code 2
       *   Unable to configure kernel parameters from /etc/sysctl.d/sysrq.conf
2021-08-22 19:24:22 +02:00
Clayton Craft
fdfe78b6a1
main/linux-purism-librem5: upgrade to 5.13.1 (MR 2389)
kconfig changes here are just me rebasing on config generated with the
new kernel.

[ci:skip-build] already built successfully in CI
2021-07-30 18:51:17 +02:00
Bobby The Builder
615cd3f67c
device-pine64-pinephone: remove cma from boot args (MR 2371)
default value already defined:
   Symbol: CMA_SIZE_MBYTES [=256]
   Type  : integer
   Defined at kernel/dma/Kconfig:134
2021-07-22 23:54:01 -07:00
Uniformbuffer
c043ffaaa7
device-pine64-pinephone: re-enable ngl gsk renderer (MR 2369) 2021-07-21 11:58:08 +02:00
Clayton Craft
28604a7d92
purism-librem5: add usbhid to initfs modules (MR 2347)
This allows using a usb keyboard when docked with osk-sdl

[ci:skip-build] already built successfully in CI
2021-07-16 12:36:26 -07:00
Dylan Van Assche
e78ebb2574
device-pine64-pinephone: use quick suspend/resume hooks (MR 2187)
Improved suspend/resume handling for the EG25 modem

[ci:skip-build] already built successfully in CI
2021-07-11 14:53:13 -07:00
Clayton Craft
f1e0404fb8
device/*: set gpu_accelerated for devices that show '3D=Y' on wiki (MR 2078)
[ci:ignore-count]
[ci:skip-vercheck] needed for the postmarketos-ui-* packages in this
series
[ci:skip-build] already built ui-* packages in CI, and device pacakges
are just trivial deviceinfo change (manually built some just to verify)
2021-07-07 08:06:17 +03:00
Oliver Smith
722e0588f6
qemu-aarch64: use postmarketos-ui-sway-logo-key-alt (MR 2162) 2021-07-03 10:55:57 +02:00
Oliver Smith
4c0b0d80db
qemu-amd64: use postmarketos-ui-sway-logo-key-alt (MR 2162) 2021-07-03 10:55:57 +02:00
Dylan Van Assche
4b225a5f32
device-pine64-pinephone: drop eg25-manager configs (MR 2185)
Replaced by GNSS assistance support

[ci:skip-build] already built successfully in CI
2021-07-02 14:02:08 -07:00
Clayton Craft
f9e45f969e
linux-purism-librem5: enable zram support (MR 2276) 2021-06-25 09:22:08 -07:00
Clayton Craft
ed39ad7319
device-purism-librem5: add workaround for ucm2 breaking audio (MR 2267)
For reference:
https://source.puri.sm/Librem5/librem5-base/-/issues/48

[ci:skip-build] already built successfully in CI
2021-06-23 11:17:56 -07:00
Clayton Craft
91eeb5e2a7
device-purism-librem5: upgrade to librem5-base v38 (MR 2267)
Not much here that is interesting for us, but keeping it relatively in
sync with purism's config helps with patching and maintenance.
2021-06-23 11:17:34 -07:00
Clayton Craft
0582513c46
purism-librem5: disable PM for the broadmobi modem (MR 2259)
Workaround for https://source.puri.sm/Librem5/linux-next/-/issues/303.

It seems worth sacrificing some power savings for a modem that won't
disappear, at least until the above issue is fixed.

[ci:skip-build]: already built successfully in CI
2021-06-19 16:39:37 +02:00
Clayton Craft
686136696c
linux-purism-librem5: add kconfig check for nftables (MR 2060) 2021-06-14 14:04:37 -07: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
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
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
1ae70f921b
device-pine64-pinephone: improve PulseAudio sample rate 2021-06-02 18:57:48 +02:00
Oliver Smith
0b7e4d6371
pine64-pinephone: upower: replace config properly (MR 2205) 2021-05-30 17:01:39 +02:00
Dylan Van Assche
cfb5d41bdf
device-pine64-pinephone: shutdown on critical battery (MR 2193)
The PMIC AXP803 sends an interrupt to the A64 CPU when the
battery is critical low. This wakes up the phone at ~10%
battery level, but UPower wasn't configured to add upon
this interrupt as the action level was way lower.
Therefore, the PMIC performed a hard shutdown when the
battery level dropped further, which may cause data loss.
2021-05-30 15:53:01 +02:00
Bart Ribbers
5a5a3cd619
pine64-pinephone: depend on u-boot >= 2021.01_git20201228-r2 (MR 2149) 2021-05-27 14:13:16 +02:00
Clayton Craft
6aa9506169
linux-purism-librem5: upgrade to 5.12.2pureos2 (MR 2199)
Upstream changelog:
  fe856fdde1

[ci:skip-build]: already built successfully in CI
2021-05-27 02:59:54 +02:00
Oliver Smith
cfe73e6680
pine64-pinephone: lower headphone volume to 70% (MR 2182)
We used to have it at 40% and just bumped it to 100%. With 100%, I can
hear static noise in the headphones when using the PinePhone (pmOS CE)
in a silent room, even if I turn the volume down in Pulseaudio (e.g.
18%-30% in Phosh). This was not the case when we had it at 40%.

70% seems to be the sweet spot, where no static noise can be heard when
using headphones in a silent room, but where volume can still be turned
up to a very high level if necessary.
2021-05-21 20:02:04 +02:00
Oliver Smith
5e227888fc
pine64-pinephone: add gtk4 artifacts workaround (MR 2132) 2021-05-21 00:44:53 +02:00
Dylan Van Assche
a38ca6c0e5
device-pine64-pinephone: increase maximum volume headphone jack (MR 2170)
Headphones are not so quiet anymore from now on!
2021-05-20 13:08:26 +02:00
Clayton Craft
2cd1f8d5c5
linux-purism-librem5: upgrade to 5.12.2 (MR 2157)
Upstream changelog:
ca736e844a

Patches rebased, and includes some new fixes:

arm64-dts-imx8mq-librem5.dtsi-adjust-the-usdhc-bus-s.patch

- Being tested by Purism as well, has shown some promise improving GPS
  reliability

arm64-dts-imx8mq-disable-SuperSpeed-instances-in-par.patch

- Fixes issue with modem disappearing
2021-05-14 11:04:03 +02:00
Clayton Craft
22cee921f7
linux-purism-librem5: upgrade to 5.11.15 (MR 2140)
Upstream changelog:
4e76143d2e

Note, previous wifi driver behavior is not changed. The redpine module
still expects the fw to be in /lib/firmware on boot, and won't use the
fw on the card.. Theoretically this kernel version now supports both
loading fw from rootfs into ram AND using fw burned on the chip, but
since I haven't tested that well yet I'm leaving this as-is.

[ci:skip-build]: already built successfully in CI
2021-04-27 23:34:34 +02:00
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
Bart Ribbers
9392512166
qemu-{amd64,aarch64}: prevent display blanking when mce is in use (MR 2127)
mce is used by both Glacier and Asteroid to do all kind of power
management related stuff, including blanking the display. However,
obviously we don't ever want to blank the display on Qemu
2021-04-22 15:50:16 +02:00
Clayton Craft
38e689e5ab
linux-purism-librem5: upgrade to 5.11.11pureos1 (MR 2116)
Upstream changelog:
6dcba4b588

The redpine interrupt handler patch has been dropped since it's now
merged in Purism's tree.

[ci:skip-build]: already built successfully in CI
2021-04-18 23:55:58 +02: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
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
ba84cd8d49
temp/u-boot-pinephone: expose ram_freq in device tree (MR 1998)
Query the ram clock:
cat /proc/device-tree/memory/ram_freq
2021-04-05 11:14:17 +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
Oliver Smith
a9a343dc16
pine64-pinephone: drop setup-modem.sh.ofono (MR 2066)
Now that eg25-manager is able to send the AT commands to the modem, even
when ofono is used, drop the ofono specific script.
2021-03-28 23:26:36 +02:00
Dylan Van Assche
a57d0c630e
device-pine64-pinephone: Override eg25-manager configs (MR 1931)
Figured out with a Quectel engineer and the ModemManager maintainer
2021-03-22 21:20:31 +01:00
Dylan Van Assche
2055cfad30
device-pine64-pinephone: disable ModemManager's suspend/resume hooks (MR 1931) 2021-03-22 21:20:06 +01:00
Clayton Craft
5023b9c433
device-pine64-pinephone: add gpio_vibra module to initfs (MR 1870)
This is needed to enable osk-sdl's haptic feedback when typing
2021-02-22 15:40:48 +03:00
Bart Ribbers
e2cbd9e4ed
pine64-pinephone: enable Kirigami lowpower mode (MR 1928)
Should increase performance a bit of Kirigami applications by disabling
some fancy stuff like shadows
2021-02-11 09:50:05 +01:00
Martijn Braam
6fe006aa52
device-pine64-pinephone: Enable jack detection (MR 1943)
Enable headset jack detection and automatic switching in the UCM
2021-02-11 09:15:10 +01:00
Oliver Smith
c3b1ffe1df
qemu-amd64: add deviceinfo_dev_internal_storage (MR 1820)
Use to simulate installation from SD to eMMC with:
$ pmbootstrap qemu --second-storage
2021-01-27 16:12:26 +01:00
Oliver Smith
c48037d5ed
pine64-pinephone: add deviceinfo_dev_internal_storage (MR 1820) 2021-01-27 16:11:44 +01:00
Bart Ribbers
be2f27a342
pine64-pinephone: re-add checksums
Not sure how I missed that one, and here I was wondering why CI was
broken
2021-01-27 10:19:29 +01:00
Bart Ribbers
71c3d3cc90
pine64-pinephone: change permissions of flashlight so PlaMo can toggle it (MR 1894)
A hack shamelessly stolen from Manjaro. Plasma Mobile runs in the user
session and needs direct access to the sys entries of the flashlight to
be able to toggle it in the GUI

[skip ci] Broken, thinks there is an unreferenced file while there is
not
2021-01-27 10:03:33 +01:00
Oliver Smith
4b8f37e46e
pine64-pinephone: move shelli alsa cfg to subpkg (MR 1902)
Move the shelli-specific alsa config from MR 1741 into a subpackage that
only gets installed together with shelli.

With the config installed, programs using alsa instead of pulseaudio,
can't be controlled through the volume setting in Phosh anymore (and
probably other UIs too). Shelli doesn't use pulseaudio.

Change the path of the config file like in MR 1877, so it's easier to
override it if necessary.

While at it, improve the APKBUILD slightly by fixing the install_if of
the phosh subpkg (should depend on =$pkgver-r$pkgrel, see APKBUILD
reference), and fix long lines.
2021-01-27 09:29:03 +01:00
Clayton Craft
6606d81688
device-pine64-pinephone: add udev rule for toggling wifi PM on charger change (MR 1863) 2021-01-11 23:30:17 -08:00
Clayton Craft
3a6500492e
device-pine64-pinephone: enable eg25-manager in post-upgrade (MR 1867)
On existing installs of pmOS, the service should also be enabled...
2021-01-10 12:36:39 -08:00
clayton craft
d0588c4046
device-pine64-pinephone: do not rely on modem-power from kernel (MR 1815)
This adds eg25-manager for managing modem power in userspace instead of
relying on the modem-power stuff in the kernel. The userspace
eg25-manager has proven to be more reliable than using modem-power.

An older setup-modem script is installed for ofono, since eg25-manager
cannot interface with ofono (yet).

The eg25 init script was removed since it only dealt with configuring
the modem-power driver in the kernel

[ci:skip-build]: already built successfully in CI
2021-01-08 15:28:11 -08:00
Craig Comstock
c3078f5e97
pine64-pinephone: add default alsa config (MR 1741)
For use with or without pulseaudio.
2020-12-04 13:24:01 +01:00
Bart Ribbers
c981d35ce6
pine64-pinephone: move from community to main (MR 1752)
First actual phone in main 🎉
Fits the requirements for main devices as listed on
https://wiki.postmarketos.org/wiki/Device_categorization.
2020-12-02 02:30:13 +01:00
Luca Weiss
ce76c867df
qemu-aarch64: configure getty on serial console (MR 1626) 2020-10-07 21:49:40 +03:00
Luca Weiss
808b73ca43
qemu-amd64: configure getty on serial console (MR 1626) 2020-10-07 21:49:36 +03:00
Oliver Smith
dbf4d13907
treewide: avoid "More than one maintainer" error (MR 1480)
Alpine's abuild is soon going to complain if an APKBUILD has more than
one "Maintainer:" listed. Work around it by renaming the additional
maintainers to "Co-Maintainer:". While at it, move the devicepkg reference
link to the top in device-xiaomi-santoni for consistency.

In postmarketOS, we require at least two maintainers for devices in
main, therefore it does not make sense to drop additional maintainers
from the file.

In Alpine, this change was made because pkgs.alpinelinux.org apparently
can't handle more than one maintainer. I looked into it, and it would
require a database change to add it there, so it does not seem worth the
effort. I also thought about extending abuild to add an environment
variable to skip the check, but then the package would not build with
plain abuild without using the env var.

Related: dd4cd9d606
[ci:skip-build] [ci:skip-vercheck]
2020-08-08 22:07:20 +02:00
Luca Weiss
a17a931026
device/*: Add deviceinfo_chassis variable (MR 1246)
[ci:ignore-count], [ci:skip-build]
2020-05-24 06:35:30 +02:00
Minecrell
a85db1dc7b
*: remove "Contributor:" lines from APKBUILDs (MR 1203)
At the moment we have Contributor: lines on some packages (but not all of them),
but often they don't represent the actual contributors to the package very well.
E.g. when we added them retroactively to the device packages we only added
the initial contributor (which isn't necessarily the person
who made most of the work for a device...)

The Git history is the most representative source for figuring out
who contributed to a package, so there is no reason to duplicate that
into the APKBUILD.

[skip ci]: way too many packages
2020-05-02 21:45:25 +03:00
Minecrell
900cb19576
qemu-*: move from testing to main (!1121)
For testing changes for device categorization, it is useful to have
a device in each of the categories. The PinePhone is close to being
moved to main/, but it doesn't fulfill all requirements yet.

The QEMU "device ports" are very simple since QEMU currently only
emulates a rather limited set of hardware features. All available features
are working correctly (especially after the recent rework of the QEMU
packages). I suppose it is also usable as a "daily driver", at least for
its intended purpose (a virtual machine for testing postmarketOS changes). :)

Given that everyone can run QEMU, everyone could potentially maintain
it. For now I have added myself as maintainer since I did most of the
recent cleanup. Add drebrez as second maintainer.

Overall it seems useful to have qemu-* in main/, especially because
it is now the device that is selected by default in pmbootstrap.
2020-04-11 15:47:49 +02:00