Commit graph

1465 commits

Author SHA1 Message Date
Clayton Craft
399b51e949
main/linux-postmarketos-rockchip: enable hwmon for power/nvme/thermal (MR 2394)
This allows using lm_sensors to read temperature data on the pinebook
pro (and probably other devices too)

    ❯ sensors
    gpu_thermal-virtual-0
    Adapter: Virtual device
    temp1:        +41.1°C  (crit = +95.0°C)

    tcpm_source_psy_4_0022-i2c-4-22
    Adapter: rk3x-i2c
    in0:           5.00 V  (min =  +5.00 V, max =  +5.00 V)
    curr1:         2.50 A  (max =  +2.50 A)

    cw2015_battery-i2c-4-62
    Adapter: rk3x-i2c
    in0:           4.24 V
    curr1:         0.00 A

    cpu_thermal-virtual-0
    Adapter: Virtual device
    temp1:        +47.5°C  (crit = +95.0°C)

    nvme-pci-0100
    Adapter: PCI adapter
    Composite:    +31.9°C  (low  = -273.1°C, high = +80.8°C)
                           (crit = +80.8°C)
    Sensor 1:     +31.9°C  (low  = -273.1°C, high = +65261.8°C)
    Sensor 2:     +37.9°C  (low  = -273.1°C, high = +65261.8°C)

[ci:skip-build] Already built on CI
2021-07-31 11:45:38 +03:00
Clayton Craft
d26e7305c0
main/linux-postmarketos-rockchip: upgrade to 5.13.5, fix usb-c (MR 2386)
5.13.5 had some rockchip-related fixes in the changelog, so I figured
why not upgrade to it.

These patches from Manjaro seem to be the bare minimum required to get
usb-c charging and device peripherial support working again (external
display still doesn't work)

[ci:skip-build] already built successfully in CI
2021-07-30 18:26:31 +02:00
Martijn Braam
0329f2cbcb
main/postmarketos-tweaks: upgrade to 0.7.1 (MR 2392) 2021-07-30 19:09:16 +03:00
Oliver Smith
8cfa9176bf
main/linux-postmarketos-allwinner: enable USB_MON (MR 2383)
In order to have a reliably working modem, let's make it easier to debug
it by enabling this by default.

Related: https://wiki.postmarketos.org/wiki/Create_usbmon_capture

[ci:skip-build] already built successfully in CI
2021-07-25 22:19:50 -07:00
Clayton Craft
60447285a7
main/postmarketos-ui-console: fix wifi support (MR 2382)
tested with nmtui on a pinebook pro

[ci:skip-build] already built successfully in CI
2021-07-24 17:47:09 -07:00
Clayton Craft
79134095a2
main/linux-postmarketos-rockchip: upgrade to 5.13.4, use GCC (MR 2372)
llvm was left over from Martijn's efforts to reduce the kernel size

The drivers for external DP are enabled here, but all patches from
manjaro that deal with DP/typec alt mode, etc are dropped since they do
not solve anything on their own and may cause display instability
issues...

[ci:skip-build]: already built successfully in CI
2021-07-24 12:00:11 +02:00
Clayton Craft
93c1490886
linux-postmarketos-qcom-msm8939: enable support for nftables (MR 2366)
[ci:skip-build] too many changed kernels in series for CI to build
2021-07-23 17:40:55 -07:00
Clayton Craft
d51f521081
linux-postmarketos-qcom-msm8953: enable nftables support (MR 2366)
[ci:skip-build] too many changed kernels in series for CI to build
2021-07-23 17:40:55 -07:00
Clayton Craft
6747bf38ce
linux-postmarketos-exynos4: enable nftables support (MR 2366)
[ci:skip-build] too many changed kernels in series for CI to build
2021-07-23 17:40:54 -07:00
Clayton Craft
dd45ae2301
linux-postmarketos-qcom-sdm660: enable nftables support (MR 2366)
[ci:skip-build] too many changed kernels in series for CI to build
2021-07-23 17:40:54 -07:00
Clayton Craft
4dcd0c4cbc
linux-postmarketos-qcom-sm8150: enable nftables support (MR 2366)
[ci:skip-build] too many changed kernels in series for CI to build
2021-07-23 17:40:54 -07:00
Clayton Craft
f856d504ed
linux-postmarketos-stericsson: enable nftables support (MR 2366)
[ci:skip-build] too many changed kernels in series for CI to build
2021-07-23 17:40:52 -07:00
Bobby The Builder
6340875eb2
linux-postmarketos-allwinner: upgrade to 5.13.1 (MR 2371)
disable CONFIG_NET_VENDOR_MICROSOFT aarch64 & armv7
   enable  CONFIG_SND_SUN9I_HDMI_AUDIO aarch64

[ci:skip-build] already built successfully in CI
2021-07-22 23:54:05 -07:00
Bobby The Builder
4c0ee1ce49
linux-postmarketos-allwinner: disable profiling support (MR 2371) 2021-07-22 23:54:03 -07:00
Bobby The Builder
348a2a7902
linux-postmarketos-allwinner: disable XEN & KVM guest features (MR 2371) 2021-07-22 23:54:03 -07:00
Bobby The Builder
988ce703b0
linux-postmarketos-allwinner: disable Kdump Kernel feature (MR 2371)
smaller kernel size and faster boot
2021-07-22 23:54:02 -07:00
Bobby The Builder
9a050c4725
linux-postmarketos-allwinner: disable IO schedulers (MR 2371)
save a few CPU cycles when data is R/W
2021-07-22 23:54:02 -07:00
Bobby The Builder
d6a9d71c32
linux-postmarketos-allwinner: disable DEBUG (MR 2371)
faster boot time and smaller kernel size
2021-07-22 23:54:02 -07:00
Bobby The Builder
6c0829c6d6
linux-postmarketos-allwinner: Enable full PREEMPT feature (MR 2371)
low latency desktop for faster responsiveness
2021-07-22 23:54:02 -07:00
Bobby The Builder
26d5ab25e1
linux-postmarketos-allwinner: disable NUMA feature (MR 2371)
prevent the creation of a fake NUMA node
   saving a few CPU cycles each DRAM access:

   [    0.000000] NUMA: No NUMA configuration found
   [    0.000000] NUMA: Faking a node at ...
   [    0.000000] NUMA: NODE_DATA [mem 0xff9c2100-0xff9c3fff]

   if you boot on QEMU make sure to review vCPU topology:
   set socket to 1
2021-07-22 23:54:02 -07:00
Newbyte
dc0f00d48c
main/linux-postmarketos-qcom-msm8939: new aport (MR 2344) 2021-07-22 22:31:46 -07:00
Maxim Karasev
4e70549af3
main/linux-postmarketos-allwinner: enable EMAC and GMAC in aarch64 config (MR 2377)
This is needed to get ethernet working on most 64-bit sunxi boards.
Basically just synced with armv7 config a bit.

[ci:skip-build] already built successfully in CI
2021-07-22 20:38:50 -07:00
Yassine Oudjana
90f90c6d50
main/linux-postmarketos-qcom-msm8996: upgrade to 5.14_rc2 (MR 2365)
- Add support for Xiaomi Mi 5 (xiaomi-gemini)
- Enable CPU scaling
- Add support for host mode USB with power on xiaomi-scorpio and xiaomi-gemini
2021-07-20 23:04:28 +03:00
Oliver Smith
cc739e7754
main/mobile-config-firefox: upgrade to 2.2.0 (MR 2356)
Changelog: https://gitlab.com/postmarketOS/mobile-config-firefox/-/tags/2.2.0

[ci:skip-build] already built successfully in CI
2021-07-19 17:22:19 -07:00
Newbyte
b19ce6a937
main/linux-postmarketos-stericsson: upgrade to 5.14-rc2 (MR 2361)
panel.patch has been upstreamed and is therefore dropped.

[ci:skip-build] already built successfully in CI
2021-07-19 17:18:02 -07:00
Luca Weiss
a4dec99f46
main/extract-dtb: upgrade to 1.2.2 (MR 2358) 2021-07-19 12:13:54 +03:00
jenneron
a6f07026cb
main/linux-postmarketos-grate: upgrade to latest git (MR 2355) 2021-07-19 07:42:38 +02:00
Luca Weiss
c6067c02fe
main/linux-postmarketos-allwinner: enable CONFIG_NFT_FIB_IPV{4,6} (MR 2357)
Used by wg-quick for nftables configuration when routing to e.g. ::/0

[ci:skip-build]: already built successfully in CI
2021-07-18 19:24:33 +02:00
Dylan Van Assche
a40026d05e
postmarketos-base-ui: install obexd and obex-capabilities (MR 2245)
Install obex-capabilities and a modified DBus Service
for BlueZ's obexd when BlueZ OBEX support is installed.
UIs depending on BlueZ are now also depending on
bluez-obexd for OBEX support through various MRs at Alpine.
2021-07-18 11:38:10 +03:00
Svyatoslav Ryhel
add2efe222
main/linux-postmarketos-grate: update to 5.14_rc1 (MR 2285)
Signed-off-by: Svyatoslav Ryhel <clamor95@gmail.com>

[ci:skip-build] already built successfully in CI
2021-07-17 18:22:02 -07:00
Newbyte
14c1f12413
main/linux-postmarketos-stericsson: kconfig check for zram (MR 2349)
Anbox, nftables, and containers aren't set up for now because I'm not
sure how useful Anbox would be on devices using this SoC given that most
(all?) of them have around 1 GB of RAM, aren't very fast, and I have
heard that Anbox isn't very well-Asupported on ARMv7. As for nftables,
I don't want debug it at this time in case breaks something. Setting up
container support made the phone hang while booting, however that might
have been due to that I only booted the new kernel without getting the
new modules in the rootfs.

[ci:skip-build] already built successfully in CI
2021-07-17 18:10:01 -07:00
Alexey Minnekhanov
ccc7b6d235
main/linux-postmarketos-rockchip: fix missing serial driver in config (MR 2348) 2021-07-16 09:52:50 -07:00
Clayton Craft
ff5fb1b970
main/postmarketos-ui-sway: depend on pulseaudio (MR 2338)
Pulseaudio is used by other graphical UIs to manage audio, so having it
installed for sway is useful for having audio working "out of the box"

[ci:skip-build] already built successfully in CI
2021-07-14 09:58:41 -07:00
Stacy Harper
3fa1b54a91
main/postmarketos-ui-sxmo: add polkit required dependency (MR 2343)
In postmarketOs we rely on polkit rules to manage networks by example.

This add the dependency and configure the service.
2021-07-13 12:54:25 +00:00
Yassine Oudjana
72800777f6
main/linux-postmarketos-qcom-msm8996: Update to 5.13.1 (MR 2339)
- Rebase onto v5.13.1.
- Add firmware-name properties to oneplus3/3t device trees.
- Enable nftables.
2021-07-12 10:46:22 -07:00
Newbyte
1211c627df
main/linux-postmarketos-stericsson: upgrade to 5.14-rc1 (MR 2340)
And also add a patch to fix firmware loading.
2021-07-12 10:41:42 -07:00
Duje Mihanović
4f16edac7a
main/postmarketos-base-ui: Add ttf-dejavu to dependencies (MR 2341)
This package used to be installed through osk-sdl, but now osk-sdl is only
installed when FDE is enabled, and so when it is not enabled the system has no
fonts to use, which means UIs like Sway and Weston have broken fonts. This
commit fixes the issue.

[ci:skip-build] already built successfully in CI
2021-07-12 10:36:43 -07:00
Clayton Craft
48ee9b67a2
main/postmarketos-ui-console: new aport (MR 2336)
This adds a new 'UI' that includes networking support (network manager), firewall (by way
of postmarketos-base-ui), and anything else that will give a basic,
working image without any graphical UI.

The intention is for bpo to build this instead of the 'none' UI. 'none'
UI will continue to be around for mainlining and testing purposes.
2021-07-11 23:56:29 -07:00
Oliver Smith
7139a82837
main/postmarketos-mkinitfs: support pmOS_i_boot (MR 2337)
Support the shorter label for the installer's boot partition, that works
with the 11 character limit of fat32 partitions.
2021-07-12 07:34:56 +02:00
Oliver Smith
f894697637
main/postmarketos-ondev: upgrade to 0.7.2 (MR 2337) 2021-07-12 07:34:51 +02:00
Clayton Craft
b7cad1a182
linux-postmarketos-rockchip: upgrade to 5.13, enable nftables (MR 2299)
This switches the config over to one based on Alpine's linux-gru which
is for an rk3399 chromebook. It produces way smaller kernels and has
more general purpose hardware support.
2021-07-11 14:35:50 +02:00
Jakob Hauser
bd85700dea
main/postmarketos-base: udev tm2-touchkey and rt5033-battery (MR 2330)
The udev file "20-tm2-touchkey-leds.rules" disables the leds of
tm2-touchkey by default because they are in an unconfigured state.

The udev file "95-rt5033-battery-refresh.rules" triggers a refresh
of the rt5033-battery information within UPower 5 secs after
initialization. This avoids a wrong battery icon after boot.

The udev file "50-firmware.rules" was moved from /etc/udev/rules.d
to /lib/udev/rules.d.

Related: https://wiki.postmarketos.org/wiki/Packaging#Device_specific_quirks
2021-07-11 14:10:03 +02:00
Caleb Connolly
07b7a15b3c
main/linux-postmarketos-qcom-sdm845: upgrade to 5.12.15 (MR 2333)
Upgrade to 5.12.15, adding nftables support and fixing the crashdump
mode issue on the OnePlus 6.

[ci:skip-build] already built successfully in CI
2021-07-10 16:34:45 +02:00
Clayton Craft
b5cdc7603f
main/osk-sdl: upgrade to 0.65 (MR 2326) 2021-07-08 04:48:51 +03:00
Alexey Minnekhanov
2a1f6bddb8
main/linux-postmarketos-qcom-msm8974: hotfix for missing bam_dmux
Turns out, after refactoring (moving bam_dmux driver to wwan
subsystem) we need to set CONFIG_WWAN=y for bam_dmux driver
to be built. Fix this asap :)
2021-07-07 11:16:53 +03:00
Anri Dellal
196ff18b06
main/postmarketos-ui-*: add GPU acceleration option (MR 2078)
Adds pmb:gpu-accel option to Phosh, Plasma Mobile/Bigscreen, Sway,
Glacier and Kodi APKBUILDs to hide the UIs at `pmbootstrap init`
for devices without GPU acceleration support.

Related: pmbootstrap!2043

[ci:skip-build]: already built successfully in CI
[ci:skip-vercheck]
2021-07-06 19:12:27 -07:00
Alexey Minnekhanov
1d3776d45d
main/linux-postmarketos-qcom-msm8974: upgrade to 5.13.0 (MR 2312)
Should work same as before.

Slightly tweaked kernel config options:
* default cpufreq governor is now "conservative" instead of "performance", which should be better for devices running on battery. Not that it matters, MSM8974 does not have cpufreq support anyway.
* enabled CONFIG_ARM_QCOM_SPM_CPUIDLE, which was missing! At least some cpuide is better than none at all.
* 2 missing options for nftables: CONFIG_IP6_NF_FILTER, CONFIG_IP6_NF_TARGET_REJECT
* few missing options for wg-quick: CONFIG_IPV6_MULTIPLE_TABLES, CONFIG_IP_MULTIPLE_TABLES, CONFIG_IP6_NF_RAW, CONFIG_IP_NF_RAW

WWAN subsystem is not enabled.

BAM-DMUX upgraded to version "v3" (subnode of modem remoteproc)

Mark kernel package as supporting anbox, containers (in addition to nftables)

[ci:skip-build] Already built successfully twice on CI
2021-07-07 04:17:27 +03:00
Oliver Smith
11353d8b1e
main/postmarketos-welcome-gtk3: upgrade to 0.3.0 (MR 2322) 2021-07-06 22:03:08 +02:00
Clayton Craft
ae02ad9190
main/postmarketos-ui-phosh: disable app drawer filtering (MR 2298)
Phosh 0.12.0 introduces filtering when the device is of a mobile type
and the app is not explicitly 'adaptive'. This means a lot of apps that
might otherwise work ok-ish are gone from the list.

This change disables the filtering for now.
2021-07-06 21:30:06 +02:00
Jakob Hauser
134afe813d
main/postmarketos-ui-xfce4: add polkit-elogind (MR 2311)
Currently, shut down and reboot as a user does not work (sudo shutdown
from terminal required). polkit-elogind needs to be installed. lxpolkit
is not needed.
2021-07-06 18:05:48 +02:00