Commit graph

111 commits

Author SHA1 Message Date
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