Commit graph

60 commits

Author SHA1 Message Date
Fiona Klute
4c3bf9ce07
linux-postmarketos-allwinner: Import patch for u_ether regression (MR 4706)
This fixes the USB networking issue, see:
https://patchwork.kernel.org/project/linux-usb/patch/20231218164532.411125-2-mailingradian@gmail.com/

Thanks to Alexey Min to pointing me at the patch!

[ci:skip-build]: Already built successfully in CI.
2024-01-11 12:35:12 +01:00
Fiona Klute
79d3be2826
linux-postmarketos-allwinner: upgrade to 6.7.0 (MR 4706)
Fixes #2349. Patches refreshed because some didn't apply when I built
directly from local repo and tried to import them with "git am".

Known issue: NetworkManager fails to assign IP to usb0, I had to
assign it manually to use USB networking.
2024-01-11 12:34:48 +01:00
Arnav Singh
6c0391deb4
linux-postmarketos-allwinner: update checksum due to upstream changes (MR 4684)
Codeberg tarballs changed checksums. The content is the same as before.

Ref: https://codeberg.org/Codeberg/Community/issues/1366

[ci:skip-vercheck]
[ci:skip-build]: already built successfully in CI
2024-01-05 21:01:28 +01:00
Jan Jasper de Kroon
2459e95cd6
linux-postmarketos-allwinner: upgrade to 6.6.3 (MR 4545)
[ci:skip-build]: already built successfully in CI
2023-12-03 14:07:28 +01:00
Clayton Craft
b08ff33a33
linux-postmarketos-allwinner: enable rtw88 wifi drivers on armv7 (MR 4536)
Used on some USB WiFi adapters. This also enabled RFKILL (used by iwd)

[ci:skip-build]: Already built successfully in CI
2023-11-08 16:41:12 +01:00
Jan Jasper de Kroon
a56803bc52
linux-postmarketos-allwinner: upgrade to 6.6.0 (MR 4537)
[ci:skip-build]: already built successfully in CI
2023-11-07 22:54:03 +01:00
Oliver Smith
9dad13d2e6
pine64-pinephone: update maintainers (MR 4529) 2023-11-03 09:27:16 +01:00
Jan Jasper de Kroon
4adee867e1
linux-postmarketos-allwinner: upgrade to 6.6-rc5 (MR 4516)
[ci:skip-build] already built successfully in CI
2023-11-01 16:05:11 -07:00
Arnav Singh
aecda04b22
linux-postmarketos-allwinner, *-pinephone: add myself as co-maintainer (MR 4513)
Also remove craftyguy per their request.

Ref:

- https://gitlab.com/postmarketOS/pmaports/-/merge_requests/4505

- https://gitlab.com/postmarketOS/pmaports/-/merge_requests/4513#note_1624398634

[ci:skip-build] already built successfully in CI
2023-10-31 11:30:45 -07:00
Luca Weiss
027866c8d4
{community,main}/*: enable USB_CONFIGFS_NCM (MR 4511)
See also #1797 and !3670

[ci:skip-build] already built successfully in CI
2023-10-30 20:17:27 -07:00
Arnav Singh
160a73321d
main/linux-postmarketos-allwinner: switch to working mirror (MR 4478)
Fixes #2303

[ci:skip-vercheck] [ci:skip-build]: changing source location only
2023-10-16 07:48:58 +02:00
Michal Kazior
d663d4d678
main/linux-postmarketos-allwinner: add CP210X module (MR 4326)
This allows use of some USB peripherals that
utilize the CP210X serial chip.

This includes not only mere UART-to-USB adapters,
but also some devices like GPS, Zigbee dongles,
etc.

[ci:skip-build]: Already built successfully in CI
2023-08-13 13:05:23 +02:00
Jan Jasper de Kroon
7e488322cb
linux-postmarketos-allwinner: upgrade to 6.4.7 (MR 4281)
[ci:skip-build]: already built successfully in CI
2023-08-06 19:11:13 +02:00
Jan Jasper de Kroon
bb5b986bf3
linux-postmarketos-allwinner: upgrade to 6.3.5 (MR 4161)
This kernel release incorporates the following fix from Megi:
- fixed regression in Pinephone power consumption during sleep (touchscreen
  was not disabled properly, consuming a lot of power)

[ci:skip-build]: already built successfully in CI
2023-06-13 07:24:40 +02:00
Luca Weiss
9c894f8a73
main/linux-postmarketos-allwinner: adjust kconfig for usb_gadgets (MR 4028) 2023-05-02 08:32:57 +02:00
Jan Jasper de Kroon
08b32ff4ba
linux-postmarketos-allwinner: upgrade to 6.3.0 (MR 4038)
-Removed 0013-media-ov5640-Update-last-busy-timestamp-to-reset-aut.patch:
 Fix should now be incorporated in 6.3 kernel.

[ci:skip-build]: Already built successfully in CI
2023-04-28 10:40:24 +02:00
Willow Barraco
7517c6cfad
linux-postmarketos-allwinner: enable FSCACHE and NFS caching (MR 3979)
See https://gitlab.com/postmarketOS/pmaports/-/issues/2034

[ci:skip-build]: Already built successfully in CI
2023-03-27 17:43:22 +02:00
Oliver Smith
8cd80e0733
linux-postmarketos-allwinner: unset ANDROID_BINDER_IPC_SELFTEST (MR 3975)
Fix long waydroid initialization time.

[ci:skip-build]: already built successfully in CI
2023-03-24 09:46:16 +01:00
Oliver Smith
ac3ad6047d
linux-postmarketos-allwinner: update waydroid opts (MR 3901)
Enable options required for the Android 11 image inside waydroid:

* CONFIG_BPF_SYSCALL
* CONFIG_CGROUP_BPF
* CONFIG_PSI (already set for this kernel)
* not CONFIG_PSI_DEFAULT_DISABLED (already set for this kernel)

The same will be done for all devices in main and community in the
following patches. Also add V=1 for all kernels I'm modifying that are
below 6.2 (see issue 1990).
2023-03-19 15:52:43 -07:00
Jan Jasper de Kroon
b743274522
device/main/linux-postmarketos-allwinner: upgrade to 6.2.7 (MR 3962)
Kernel configuration addition:
Just like on the PinePhone Pro I enabled the newly added Lazy RCU scheduler.

RCU_LAZY can help battery-powered systems like the PinePhone Pro in a few ways:

    1. Reduced CPU usage: Because RCU_LAZY allows readers to access shared data structures without acquiring locks or other synchronization primitives,
       it reduces the amount of CPU time that is required to manage synchronization. This can be particularly beneficial in battery-powered systems,
       where reducing CPU usage can extend battery life.

    2. Reduced memory usage: RCU_LAZY delays the creation of multiple versions of the shared data structure until they are actually needed.
       This reduces the amount of memory that is required to store these versions.
       In battery-powered systems, where memory usage can be a critical resource, this can help to conserve power.

    3. Reduced synchronization overhead: RCU_LAZY reduces the overhead of synchronization by delaying the creation of multiple versions of the shared data structure.
       This can reduce the amount of time that is spent acquiring and releasing locks or other synchronization primitives,
       which can help to conserve power in battery-powered systems.

Signed-off-by: Jan Jasper de Kroon <jajadekroon@gmail.com>

[ci:skip-build] already built successfully in CI
2023-03-19 15:36:48 -07:00
Arnavion
025105c5a4
device/main/linux-postmarketos-allwinner: enable CONFIG_ARM_SUN8I_A33_MBUS_DEVFREQ and devfreq governors (MR 3864)
This enables the DRAM frequency stats driver that can be useful for debugging
issues with the PinePhone. This came up in a discussion in #pinephone on IRC
where megi was helping a pmos user with idle power draw issues.

This also enables the performance, powersave and userspace devfreq governors.

Ref: 8bfd4858b4

[ci:skip-build]: already built successfully in CI
2023-02-19 20:49:05 +01:00
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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