samsung-crownlte: fix splash screen & Heimdall rootfs flashing (MR 2987)

[ci:skip-build] already built successfully in CI
This commit is contained in:
Przemysław Romanik 2022-02-22 00:59:13 +01:00 committed by Clayton Craft
parent ddd09cb830
commit 8b4e160ce5
No known key found for this signature in database
GPG key ID: 4A4CED6D7EDF950A
5 changed files with 34 additions and 3 deletions

View file

@ -1,7 +1,7 @@
# Reference: <https://postmarketos.org/devicepkg>
pkgname=device-samsung-crownlte
pkgdesc="Samsung Galaxy Note 9"
pkgver=0.1
pkgver=0.2
pkgrel=0
url="https://postmarketos.org"
license="MIT"
@ -17,6 +17,7 @@ depends="
makedepends="devicepkg-dev"
source="
deviceinfo
initfs-hook.sh
stylus.conf
"
subpackages="
@ -46,6 +47,7 @@ x11() {
}
sha512sums="
5f8b2b51f6da0e4763fd6749f4a5b133cfc8ee9f7a3d0fcdec882954c59bfc21eee9a50ac17c332c797e84ae1058d7ecde07a53bf50170f73e698cb62003cb5b deviceinfo
4d947f71b2eab1c82e727fb5592c82b27db5180a2ecdc807246d4807fa83b0539dca984e2330f80e4942694d77773fd83d56fb5b77c2f50c574e7815aabbfd1d deviceinfo
cec13a1cb076a249eb94d11fb122b1f6b0c3e9558a2ed3c8da3e73a8e2db633131ec8ce838e62da8f53b5500dcb77c6f4adf3c1d2f1cda6fd23cb2ca1ccf6abc initfs-hook.sh
29c2f8fbd67f6aa95a34fc465798be71dc360087b4e4fddbcdc9b43a628de384f48c1b9e6a7b3d41c93954baee3b88f08972f0a827d663b0279b06a4b2908bd2 stylus.conf
"

View file

@ -31,3 +31,4 @@ deviceinfo_flash_offset_tags="0x00000100"
deviceinfo_flash_heimdall_partition_kernel="BOOT"
deviceinfo_flash_heimdall_partition_system="SYSTEM"
deviceinfo_rootfs_image_sector_size="4096"
deviceinfo_flash_sparse="true"

View file

@ -0,0 +1,5 @@
#!/bin/sh
# blank and unblank for pmOS splash screen
echo 1 > /sys/class/graphics/fb0/blank
echo 0 > /sys/class/graphics/fb0/blank

View file

@ -0,0 +1,21 @@
From 5e26ce9a50556e787a5d407a78720aecb5986b60 Mon Sep 17 00:00:00 2001
From: LONELY-WOLF <zvenayte@gmail.com>
Date: Thu, 4 Jul 2019 12:15:04 +0300
Subject: [PATCH] [decon] disable decon release()
---
drivers/video/fbdev/exynos/dpu_9810/decon_core.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/video/fbdev/exynos/dpu_9810/decon_core.c b/drivers/video/fbdev/exynos/dpu_9810/decon_core.c
index 41c55ab68c99..4cc004b37cf2 100644
--- a/drivers/video/fbdev/exynos/dpu_9810/decon_core.c
+++ b/drivers/video/fbdev/exynos/dpu_9810/decon_core.c
@@ -2975,6 +2975,7 @@ int decon_release(struct fb_info *info, int user)
struct decon_win *win = info->par;
struct decon_device *decon = win->decon;
+ return 0;
decon_info("%s + : %d\n", __func__, decon->id);
if (decon->dt.out_type == DECON_OUT_DP)
dp_logger_print("decon release\n");

View file

@ -3,7 +3,7 @@
pkgname=linux-samsung-crownlte
pkgver=4.9.218
pkgrel=0
pkgrel=1
pkgdesc="Samsung Galaxy Note 9 kernel fork"
arch="aarch64"
_carch="arm64"
@ -33,6 +33,7 @@ source="
02-decon_dsi-BGRA-to-RGBA.patch
03-decon_dsi-UNBLANK-missed.patch
04-wifi-firmware-path.patch
05-decon_core-disable-decon_release.patch
"
builddir="$srcdir/$_repository-$_commit"
_outdir="out"
@ -66,4 +67,5 @@ a19967220faac402dd6fc2424f89cc236f367047d069a2234ca391e44a47fe04e3aff9562dd0be6f
65f5b1541bf3d4dab9db3d5de2aa888e794772f66d85541d11fbf515e7ec9188cda2ec46411f5469d8485caa5f405ffa16159f556bd9180c0cd3a527b14f9f5f 02-decon_dsi-BGRA-to-RGBA.patch
24eb8701d77ad6cfc98a153341874d753a67930a369b1a08d8d51682a5d1014971e106bda93b7180bcacdf7032bb952fdca02f68886ea27c761eab8fefdb03fa 03-decon_dsi-UNBLANK-missed.patch
596235334147a430d0104d01647e57aeac71b7a9e484daf4ad8fca9cd1cf23e040fbf2c00dea7fb2a096e741eb1dde71471585a59d71d47dcdb1336e5c16efad 04-wifi-firmware-path.patch
3bae3abd47766eba42ebe1ca758f0d9e1f8a926132d98705985b493fb99115af863700cc76cfaf3a8b812fcae86b52b7c6807dc8fbade95f98c1e965c5e3dddc 05-decon_core-disable-decon_release.patch
"