Commit graph

301 commits

Author SHA1 Message Date
Jan Jasper de Kroon
fecd1c038d
device/main/linux-postmarketos-allwinner: upgrade to 6.1.9 (MR 3858)
Also added: 0013-media-ov5640-Update-last-busy-timestamp-to-reset-aut.patch
This solves bug of taking greenish pictures with Megapixels, due to
sensor being shutdown to early after taking a picture.

[ci:skip-build]: already built successfully in CI
2023-02-13 08:43:29 +01:00
Newbyte
3a50065ed8
linux-purism-librem5: update url (MR 3859)
Repository was moved.

[ci:skip-build]: Already built successfully in CI
2023-02-10 20:52:05 +01:00
Newbyte
279c363323
linux-purism-librem5: upgrade to 6.1.10 (MR 3859) 2023-02-10 20:51:58 +01:00
Newbyte
3fd7928b97
u-boot-librem5: add myself as co-maintainer (MR 3850)
[ci:skip-build] already built successfully in CI
2023-02-07 01:22:23 -08:00
Newbyte
518101fc2f
linux-purism-librem5: add myself as co-maintainer (MR 3850) 2023-02-07 01:22:23 -08:00
Newbyte
ac917294cc
device-purism-librem5: add myself as co-maintainer (MR 3850) 2023-02-07 01:22:23 -08:00
Newbyte
678fdf53d2
linux-purism-librem5: enable MGLRU (MR 3850)
See https://gitlab.com/postmarketOS/pmaports/-/issues/1918
2023-02-07 01:22:22 -08:00
Alistair Francis
e6f1fe7e73
linux-purism-librem5: upgrade to 6.1.8pureos1 (MR 3832)
Signed-off-by: Alistair Francis <alistair@alistair23.me>
[ci:skip-build]: already built successfully in CI
2023-02-01 07:42:56 +01:00
Jan Jasper de Kroon
52fd44825a
device/main/linux-postmarketos-allwinner: upgrade to 6.1.7 (MR 3816)
[ci:skip-build]: Already built successfully in CI
2023-01-27 17:46:43 +01:00
Alistair Francis
1993e0cc24
linux-purism-librem5: upgrade to 6.1.4pureos1 (MR 3809)
Signed-off-by: Alistair Francis <alistair@alistair23.me>

[ci:skip-build] already built successfully in CI
2023-01-17 15:11:52 -08:00
Bobby The Builder
c2d091a3a7
main/u-boot-pinephone: upgrade to v2023.01 (MR 3806)
[ci:skip-build]: Already built successfully in CI
2023-01-14 19:07:23 +01:00
Bobby The Builder
ae74e11664
main/device-pine64-pinephone: U-Boot script update (MR 3806)
Protect script when ram_freq is not set
   Safely load PSCI DTO to enable CPUidle driver: psci_idle
      The PSCI DTO shall only be applied if TF-A & Crust
      support CPU idle states [0]. Otherwise the CPU usage
      will be at 100%. This will not be visible in top,
      lead to overheating and battery drain.
      Worst case scenario would lead to a fried chip if
      the CPU thermal_zone does not work or is not enabled
      in DTS.

[0] https://gitlab.com/postmarketOS/pmaports/-/issues/1901#note_1238456920
2023-01-14 19:07:07 +01:00
Luca Weiss
31a651d0d7
pine64-pinephone: Remove myself as maintainer (MR 3804)
I have enough other devices to care about, and honestly haven't touched
my PinePhone in a while. Remove myself as Co-Maintainer from all
relevant packages.

[ci:skip-vercheck]: No rebuild necessary
[ci:skip-build]: Doesn't change resulting packages
2023-01-13 22:33:38 +01:00
Clayton Craft
c3669975e9
purism-librem5: disable power management for Sparklan/brcmfmac wifi (MR 3793)
This wifi module doesn't ship with the L5, but I have one because it's
generally more stable than the redpine thing that does ship with the
L5... however there's a known problem with having PM enabled on it.

This adds a NM config option, that matches specifically on this
device/driver, to disable wifi. PM for the redpine should not be
affected by this config change.

[ci:skip-build] already built successfully in CI
2023-01-08 13:56:25 -08:00
Jan Jasper de Kroon
314d1e58c3
device/main/linux-postmarketos-allwinner: upgrade to 6.1.3_git20230104 (MR 3781)
[ci:skip-build]: already built successfully in CI
2023-01-06 21:31:46 +01:00
Alistair Francis
22e26ced4f
linux-purism-librem5: upgrade to 6.1.1pureos1 (MR 3758)
Signed-off-by: Alistair Francis <alistair@alistair23.me>
[ci:skip-build]: already built successfully in CI
2022-12-29 17:50:52 +01:00
Alistair Francis
9183be336b
linux-purism-librem5: Add 166MHz to DDRC OPP table (MR 3754)
Backport the Purism patch from https://source.puri.sm/Librem5/linux/-/merge_requests/640

"With this patch, older revisions (2.0) should be able to switch between
166MHz and 800MHz as opposed to being stuck to 800MHz all the time, since
that was the only supported frequency in the OPP table."

Signed-off-by: Alistair Francis <alistair@alistair23.me>

[ci:skip-build] already built successfully in CI
2022-12-20 12:17:16 -08:00
Jan Jasper de Kroon
2707def9f8
device/main/linux-postmarketos-allwinner: Switch to CONFIG_CPU_FREQ_DEFAULT_GOV_SCHEDUTIL (MR 3720)
Schedutil is a CPU scheduler that is designed to be more efficient than other schedulers, such as the conservative scheduler, in terms of energy consumption.
This is because schedutil uses information about the utilization of individual CPU cores to make more intelligent decisions about when and how to scale the frequency of the CPU.
This can help to reduce the overall power consumption of the device, which can be particularly beneficial for battery-powered devices.
Additionally, schedutil can also help to improve the overall performance of the device by ensuring that the CPU is able to operate at its maximum frequency when needed.

In my personal testing I haven't seen any noticable impact on power consumption, while the performance does certainly noticeably increase
Note: This is only a change in the aarch64 configuration as the armv7 configuration already used the schedutil scheduler as default.

[ci:skip-build]: Already built successfully in CI
2022-12-18 13:32:22 +01:00
Clayton Craft
1f2aab3a86
linux-purism-librem5: update to 6.1.0pureos1 (MR 3725)
Most of the config diff is from rebasing the kconfig in pmaports with
mainline + purism changes

[ci:skip-build] already built successfully in CI
2022-12-16 23:37:02 -08:00
Alistair Francis
bb359dfc4f
purism-librem5: add alistair23 as co-maintainer (MR 3705)
Signed-off-by: Alistair Francis <alistair@alistair23.me>

[ci:skip-vercheck]
[ci:skip-build] already built successfully in CI
2022-12-10 11:17:39 -08:00
Clayton Craft
280605a1f9
*-purism-librem5: remove Bhushan as co-maintainer (MR 3705)
He is not actively maintaining this device in pmOS
2022-12-10 11:11:13 -08:00
Alistair Francis
d737c7757e
device/main/u-boot-librem5: upgrade to 2022.10 (MR 3704)
Update to the latest release from Purism.

Signed-off-by: Alistair Francis <alistair@alistair23.me>

[ci:skip-build] already built successfully in CI
2022-12-09 14:55:43 -08:00
Clayton Craft
4c5c74bb8a
purism-librem5: use gnss-share with geoclue (MR 3698)
This fixes gnss out of the box on the librem 5, by configuring geoclue
to use gnss-share as a nmea source.

I went this route, of overriding a .service file that invokes geoclue
with a command line option, because forking this .service file is much
nicer than forking geoclue.conf. The conf file will likely change over
time to add new app permissions or whatever, and it's unlikely
(hopefull!) that this .service file will change much upstream...

[ci:skip-build] already built successfully in CI
2022-12-08 22:56:53 -08:00
Jan Jasper de Kroon
1542dbfb9d
device/main/linux-postmarketos-allwinner: upgrade to 6.1.0_rc7_git20221205 (MR 3694)
Contains the following fix:
- don't reinitialize bluetooth on Pinephone during resume

[ci:skip-build]: already built successfully in CI
2022-12-07 21:15:33 +01:00
Jan Jasper de Kroon
7c7c18e40f
device/main/linux-postmarketos-allwinner: Enabe LRU_GEN by default (MR 3686)
MGLRU seeks to address Linux's poor page reclamation behavior with this new high performance LRU implementation to over-commit memory.
MGLRU has shown to be beneficial in a variety of benchmarks especially on memory constrained systems.

Some benchmarks:
- https://www.phoronix.com/news/Linux-MGLRU-v9-Promising
- https://www.phoronix.com/news/MGLRU-Reaches-mm-stable

[ci:skip-build]: Already built successfully in CI
2022-12-03 12:06:44 +01:00
Clayton Craft
4f712b5771
linux-purism-librem5: upgrade to 6.0.8 (MR 3684)
[ci:skip-build]: already built successfully in CI
2022-12-02 07:27:12 +01:00
Clayton Craft
584337aa82
purism-librem5: upgrade to latest ucm, fix udev rule installation (MR 3684)
Apparently upstream names udev rules with the .udev extension... which
doesn't work with udev (I guess debian has a helper for installing rules
and it renames them?). This adds the expected ".rules" extension to them
so that udev actually uses them.

This update also includes improved ucm config from Purism.

"Lockdown suppport" is also added here, which allows toggling off all of
the hks on the L5 to disable all radios, etc without breaking some
sensors. For more info, see 65ec7038 in librem5-base.
2022-12-01 16:46:14 -08:00
Oliver Smith
5e7faf1a09
device/main/u-boot-librem5: fix build on gcc 12 (MR 3683)
Disable Werror and add -no-warn-rwx-segment to LDFLAGS of
arm-trusted-firmware to make it build with gcc 12, smilar to:
769f9666b6

Related: https://builds.sr.ht/~postmarketos/job/894728#task-pmbootstrap_build-422

[ci:skip-build] already built successfully in CI
2022-12-01 09:27:52 -08:00
Clayton Craft
2ccd927e23
purism-librem5: change default device tree (MR 3614)
Based on some new (to me...) info from Purism's Sebastian K, there are
apparently Evergreen devices that return different values for board rev,
so we shouldn't assume only r4 are Evergreen, and default to the r2 DT.

But many earlier devices (Birch, Chestnut, Dogwood) may or may not have
the board rev set either. Who knows! Defaulting to the Evergreen DT on
these devices is bad too, but there weren't many of those shipped (I
guess?), at least not compared to the number of Evergreens that aren't
properly identifiable in u-boot... so this using this DT by default is
the best of the two bad options we have.

This comment thread has more info:
https://gitlab.com/postmarketOS/pmaports/-/issues/1643#note_1147248594

fixes #1643

[ci:skip-build] already built successfully in CI
2022-12-01 09:24:13 -08:00
Jan Jasper de Kroon
ccc870dcf9
device/main/linux-postmarketos-allwinner: Upgrade to 6.1-rc7 (MR 3678)
Kernel source updated to 6.1-rc7
Ext2 and Ext3 modules in aarch64 config disabled because Ext4 is backwards compatible.
2 fixes for PinePhone included in this source:
pinephone: fix power key behavior during suspend (avoid stuck key during resume)
pinephone keyboard: wait for 100ms after enabling power supply and before probing.

[ci:skip-build]: already built successfully in CI
2022-12-01 09:02:47 +01:00
Oliver Smith
c1b08d8c60
u-boot-pinephone: disable automatic upgrade (MR 3664)
Don't upgrade u-boot automatically anymore as it doesn't work reliably
and isn't necessary anymore. See the wiki article for details.

Related: https://wiki.postmarketos.org/wiki/PinePhone_U-Boot_Upgrade
2022-11-27 17:52:30 +01:00
Jan Jasper de Kroon
a3ae92f0ff
device/main/linux-postmarketos-allwinner: upgrade to 6.1-rc6 (MR 3666)
[ci:skip-build]: already built successfully in CI
2022-11-27 17:13:01 +01:00
Luca Weiss
7553dc4011
qemu-riscv64: new device (MR 3571)
Support launching postmarketOS in QEMU on riscv64 architecture. It is
mostly copied from device-qemu-aarch64 with some riscv64-specific
modifications.

Currently UIs using Xorg like Mate, XFCE4 and LXQT work fine, Wayland
UIs like weston, plasma-mobile etc didn't work in my testing.

Also using "pmbootstrap qemu --tablet" is needed to make mouse input
work, the defaults don't seem to work at the moment.

[ci:skip-build]: already built successfully in CI
2022-11-20 15:22:22 +01:00
exkc
4a43f241ee
linux-postmarketos-allwinner: enable compiling sunxi-cir (MR 3609)
This gets IR RX working on Allwinner-based devices that have IR.

[ci:skip-build]: already built successfully in CI
2022-11-10 21:32:49 +01:00
Jan Jasper de Kroon
64e671aea3
Revert "device/pine64-pinephone: add recommended modem udev rules (MR 3235)" (MR 3632)
This reverts commit b62d7f6e7c.
These are already handled by 80-modem-eg25.rules in eg25-manager.

[ci:skip-build]: already built successfully in CI
2022-11-10 21:14:07 +01:00
Jan Jasper de Kroon
d4e96df17d
Revert "device/pine64-pinephone: add additional modem udev rule for new community firmware serial (MR 3240)" (MR 3632)
This reverts commit f8df093985.
These are already handled by 80-modem-eg25.rules in eg25-manager.
2022-11-10 21:13:55 +01:00
Jan Jasper de Kroon
62f19c3e03
device/main/linux-postmarketos-allwinner: upgrade to 6.0.7 (MR 3624)
[ci:skip-build]: Already built successfully in CI
2022-11-08 08:39:44 +01:00
Oliver Smith
f288cdaa77
treewide: remove linux-headers replacements (MR 3597)
Remove the -dev subpackages of kernels that replace the linux-headers
package. As I understand, the only case where this would make sense is
if you wanted to build a kernel module against headers that need to be
newer than the headers in Alpine's linux-headers package (currently
5.19.5).

While this might have been historically relevant when wireguard wasn't
in the kernel and you might have needed newer linux-headers to build
the module, it seems irrelevant today. If somebody should need this in
the future, then bring it back properly / consider getting the
linux-headers package in Alpine upgraded. Right now the -dev packages
are broken in several ways:

* Use of unversioned provides= (pma#1766)
* Don't contain binaries needed to build binary packages (pma#462).
  This was worked around in 6aba5f ("Package kernel-scripts
  separately"), but later this didn't build anymore and we removed it.

So in short: broken and unused, drop them.
2022-11-02 15:02:54 +01:00
Luca Weiss
44f1e77115
device/*/firmware-*: move away from arch="noarch" (MR 3607)
Stop building many firmware packages for architectures that aren't used
by those devices. This should reduce CI/bpo time and repo space by a
bit.
2022-11-01 18:20:03 +01:00
Luca Weiss
0948a1659c
main/linux-postmarketos-allwinner: enable new community options (MR 3560) 2022-10-31 21:07:16 +01:00
Jan Jasper de Kroon
8b3c4eb6d3
linux-postmarketos-allwinner: upgrade to 6.0.3 (MR 3572)
[ci:skip-build]: already built in CI
2022-10-25 08:26:39 +02:00
Clayton Craft
052fdf55ac
linux-purism-librem5: upgrade to 6.0.2 (MR 3570)
[ci:skip-build]: Already built successfully in CI
2022-10-22 13:32:58 +02:00
Bobby The Builder
5c42cad7a6
linux-postmarketos-allwinner: regenerate config and enable ARM CPU Idle driver (MR 3564)
[ci:skip-build]: Already built successfully in CI
2022-10-20 18:57:23 +02:00
Jan Jasper de Kroon
62bd0f84bd
linux-postmarketos-allwinner: upgrade to 6.0.2 - 1017-0205 Megi Tag (MR 3553)
This updates the APKBUILD with the new Megi 6.0.2 tag release.
The 2 incremental patches on top of 6.0 have hereby been removed.

[ci:skip-build]: already built successfully in CI
2022-10-18 09:17:11 +02:00
Anjandev Momi
7270f472e3
treewide: fix tabs, final newline, trailing whitespace (MR 3530) 2022-10-16 16:27:22 +02:00
Jan Jasper de Kroon
32646621be
linux-postmarketos-allwinner: upgrade to 6.0.2
This kernel update addresses 5 important CVE's in the Wifi stack.
More info can be found over here: https://seclists.org/oss-sec/2022/q4/20

[ci:skip-build]: already built successfully in CI
2022-10-16 15:01:28 +02:00
Clayton Craft
325cc8e483
linux-purism-librem5: upgrade to 6.0
- the config diff is just rebasing

- drops the ship mode patch I wrote, since it is no longer required
  after a pending update to the device-purism-librem5 package...

- drops the dogwood voltage patch, apparently no longer necessary,
  see: https://source.puri.sm/Librem5/linux/-/issues/442#note_214984

- drops the usdhc bus patch
  see: https://source.puri.sm/Librem5/linux/-/issues/442#note_215026

[ci:skip-build] already built successfully in CI
2022-10-13 06:09:10 -07:00
Jan Jasper de Kroon
130e15f2ec
linux-postmarketos-allwinner: upgrade to 6.0.1_git20221004 (MR 3518) 2022-10-13 10:40:29 +02:00
Newbyte
270e5e28ad
device: drop depend on mesa-dri-gallium (MR 3478)
This is now installed by postmarketos-base when appropriate.
2022-10-11 11:19:43 +02:00
Elagost
a292830ef9
device-pine64-pinephone: add kxkbrc for plasma-mobile pinephone-keyboard (MR 3438) 2022-10-09 12:45:35 -05:00
Newbyte
70efe55031
linux-*: install dtbs to /boot/dtbs (MR 3254)
[ci:ignore-count]: Too many packages probably
[ci:skip-build]: No way this would finish in time
2022-10-09 17:04:30 +02:00
Dylan Van Assche
90c11c46ca
main/device-pine64-pinephone: refactor fwupd plugins (MR 3513)
fwupd 1.8.6 has all plugins builtin, remove subpackages
2022-10-09 16:22:38 +02:00
Clayton Craft
67b5efcea1
device-purism-librem5: upgrade to 1.34 (MR 3501)
- update to use librem5-base v52
- install usbguard config / new subpackage
- move xorg.conf to new x11 subpackage
- refactor udev rule install to just install everything available from
  librem5-base upstream
- use purism's shipmode script, see:
  https://source.puri.sm/Librem5/linux/-/merge_requests/333#note_195511
2022-10-07 21:31:45 +02:00
Luca Weiss
2c58ce8e45
device/{community,main}/*: migrate to pmb:kconfigcheck-community (MR 3422)
Replace usages of pmb:kconfigcheck-* options with
pmb:kconfigcheck-community which will be required for all devices in
community/main category. This ensures more consistent features &
behavior across devices.
2022-09-21 22:25:49 +02:00
Bobby The Builder
b66e58d4e3
linux-postmarketos-allwinner: upgrade to 5.19.8 (MR 3421)
[ci:skip-build]: already built successfully in CI
2022-09-18 20:53:42 +02:00
Elagost
8ae2fccd41
linux-postmarketos-allwinner: add exfat module to armv7 config (MR 3437)
[ci:skip-build] Already built fine on CI in MR
2022-09-13 22:10:00 +03:00
Elagost
ac881faa86
linux-postmarketos-allwinner: add exfat module (MR 3436)
[ci:skip-build] Already built fine on CI once
2022-09-13 18:39:58 +03:00
Clayton Craft
bb129dd247
linux-purism-librem5: upgrade to 5.18.11 (MR 3407)
[ci:skip-build]: already built successfully in CI
2022-09-06 08:45:23 +02:00
Jonas Fentker
48cad306b9
device-pine64-pinephone: move flashlight rules to main pkg (MR 3322) 2022-09-01 16:40:39 +02:00
Bobby The Builder
d93b955b83
main/linux-postmarketos-allwinner: upgrade to 5.19.2 (MR 3368)
[ci:skip-build] Already built successfuly on CI in MR
2022-08-20 19:54:03 -04:00
Oliver Smith
00828c40cb
qemu-amd64,aarch64: remove edge4virt kernel
Follow removal of linux-edge4virt in Alpine:
1a838bdeb6

Fix for upstream compat failure:
  Increase 'device-qemu-amd64' pkgrel (0 -> 1), missing depend(s): linux-edge4virt

[ci:skip-build]: already built successfully in CI
2022-08-16 08:40:29 +02:00
Jean Lucas
2b37392456
linux-postmartketos-allwinner: add PinePhone keyboard battery driver (MR 3358)
IP5XXX is needed to be able to read PinePhone battery levels. Extra
configs were automatically added by pmbootstrap.

Signed-off-by: Jean Lucas <jean@4ray.co>
2022-08-14 22:26:11 -04:00
Luca Weiss
2d9018806e
pine64-pinephone: remove sensorfw/primaryuse.conf (MR 3338)
This conflicts with sensorfw config provided in Alpine. Both have the
same content so remove the one from device package.
2022-08-03 20:38:13 +02:00
pcworld
570d55b47e
linux-postmarketos-allwinner: Enable AF8133J magnetometer driver (MR 3324)
The AF8133J magnetometer is being used since the PinePhone Beta edition
in place of the earlier ST LIS3MDL magnetometer.

[ci:skip-build] Already built successfuly on CI in MR
2022-07-29 21:27:09 -04:00
Pablo Correa Gómez
0007ee331c
main/device-pine64-pinephone: add logind and upower fwupd plugins (MR 3320)
Otherwise, an update could be allowed even if the phone is not
connected to AC and it might also suspend in the middle of the upgrade
2022-07-27 10:57:31 -04:00
Adam Thiede
7b0017628f
device-pine64-pinephone: add gschema override for keyboard symbols (MR 3310) 2022-07-27 08:42:33 +02:00
Bobby The Builder
389267bb21
linux-allwinner: upgrade to 5.18.7 (MR 3263)
[ci:skip-build]: already built successfully in CI
2022-07-17 17:12:03 +02:00
Bobby The Builder
41fec92f75
main/u-boot-pinephone: upgrade to 2022.07 (MR 3263) 2022-07-17 17:11:52 +02:00
Minecrell
0737d3089a
qemu: add option to use linux-edge(4virt) kernel (MR 3281) 2022-07-10 20:42:33 -04:00
Clayton Craft
c442dfbd5f
purism-librem5: update paths to ucm to support alsa 1.2.7 (MR 3265)
conf.d expects symlinks now, see:
d6adde0e32

[ci:skip-build] already built successfully in CI
2022-07-05 09:21:23 -07:00
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