From 51261ea7e0e284dd3f59720c487eca6e9234455d Mon Sep 17 00:00:00 2001 From: Hugo Osvaldo Barrera Date: Tue, 19 May 2026 20:17:00 +0200 Subject: [PATCH] linux-postmarketos-rockchip: fix pinebook-pro support 4a1612eb56 introduced a set of changes for this kernel to support the pine64-pinenote. These changes broke boot on the PineBook Pro: after the kernel and initfs are loaded and started, the screen blanks and remains that way indefinitely. From the set of changes made for the pine64-pinenote support, reverting only CONFIG_GPIO_ROCKCHIP=y restores the pinebook-pro into a working status. I don't have the means to test on the pine64-pinenote, and would appreciate feedback on this. Fixes: https://gitlab.postmarketos.org/postmarketOS/pmaports/-/work_items/4559 Fixes: 4a1612eb56b8f804dc6debeded72c73ca2d2e7b9 References: https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/8217 Part-of: --- device/community/linux-postmarketos-rockchip/APKBUILD | 4 ++-- .../config-postmarketos-rockchip.aarch64 | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/device/community/linux-postmarketos-rockchip/APKBUILD b/device/community/linux-postmarketos-rockchip/APKBUILD index c3b459f75..d9edab17e 100644 --- a/device/community/linux-postmarketos-rockchip/APKBUILD +++ b/device/community/linux-postmarketos-rockchip/APKBUILD @@ -4,7 +4,7 @@ maintainer="Antoine Martin (ayakael) " pkgname=linux-postmarketos-rockchip pkgver=7.0.8 _kernver=${pkgver%.*} -pkgrel=0 +pkgrel=1 pkgdesc="Mainline kernel for rockchip devices" arch="aarch64" _carch="arm64" @@ -96,5 +96,5 @@ cd7fbd0834ae8558fc0e9ff75591cb60cb4e1aa6beb65976ea515be1c002d9158c134a4f5b7cff56 8c85b708342f8f09ca25b2234b22e93b62b144a9ef919fbb21827f52fa47498e778c79db1559524dd7fb360f95b2ce174171443c1859656c281be41d2b6c5a0b linux-7.0.tar.xz fefa9bea73bbc03477447b2c8ec03af7c13ad73e520751f89bbff81a7abc00a19a498f390dab6f2de3e59bb0ca9f4003b5f6c919ba5d48e5f52d5365d97b16b6 rk3566-pinenote-support.patch 665bdc843912a22bc9f1840bf89195f6cccabd2b8ca3313f3c61b5503c84f98395e3de0d28bc31cbc9f1b4be4a41a483db156fad353506bb5be7abdc22e46501 rk3566-pinenote-ultra-suspend.patch -b418c859d688ab69e09ec0e84a512a7b901a7d798a21a2bb0ccfd6219f40791a5f035b10ac5c20d16a59211e82bab3cf9ef8ed46f355b1896b31292dd7abd8b4 config-postmarketos-rockchip.aarch64 +a10f63880522548d2fd99adac68e557bf93ec0dd957d142b2ffde5ae2e57c60584763fa2e9f924cb97da4cb5fd9ae209ecb3005a2f2519c4a5591f00ee9943bf config-postmarketos-rockchip.aarch64 " diff --git a/device/community/linux-postmarketos-rockchip/config-postmarketos-rockchip.aarch64 b/device/community/linux-postmarketos-rockchip/config-postmarketos-rockchip.aarch64 index dd2cfc4b8..a9b10e995 100644 --- a/device/community/linux-postmarketos-rockchip/config-postmarketos-rockchip.aarch64 +++ b/device/community/linux-postmarketos-rockchip/config-postmarketos-rockchip.aarch64 @@ -3845,7 +3845,7 @@ CONFIG_GPIO_GENERIC_PLATFORM=y # CONFIG_GPIO_MB86S7X is not set CONFIG_GPIO_PL061=y # CONFIG_GPIO_POLARFIRE_SOC is not set -CONFIG_GPIO_ROCKCHIP=m +CONFIG_GPIO_ROCKCHIP=y # CONFIG_GPIO_SIFIVE is not set CONFIG_GPIO_SYSCON=y CONFIG_GPIO_XGENE=y