linux-samsung-coreprimevelte: enable EFI_ZBOOT

Signed-off-by: Duje Mihanović <duje@dujemihanovic.xyz>
Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/8337>
This commit is contained in:
Duje Mihanović 2026-04-13 19:38:59 +02:00 committed by The Friendly Meow (merge) Bot
parent b77efb7d29
commit 8eae9f10ee
No known key found for this signature in database
2 changed files with 30 additions and 13 deletions

View file

@ -3,7 +3,7 @@ maintainer="Duje Mihanović <duje@dujemihanovic.xyz>"
_flavor=samsung-coreprimevelte
pkgname=linux-$_flavor
pkgver=6.19.10
pkgrel=0
pkgrel=1
pkgdesc="Samsung Galaxy Core Prime VE LTE mainline kernel"
arch="aarch64"
_carch="arm64"
@ -60,7 +60,21 @@ build() {
}
package() {
make zinstall modules_install dtbs_install \
if [ -e "$builddir/arch/$_carch/boot/vmlinuz.efi" ]; then
# ZBOOT EFI decompressor for EFI booting
install -Dm644 "$builddir/arch/$_carch/boot/vmlinuz.efi" \
"$pkgdir/boot/linux.efi"
# Old ZSTD'd kernel image for boot.img compatibility
install -Dm644 "$builddir/arch/$_carch/boot/vmlinuz" \
"$pkgdir/boot/vmlinuz"
else
echo "WARNING: CONFIG_EFI_ZBOOT not enabled!"
install -Dm644 "$builddir/arch/$_carch/boot/vmlinuz" \
"$pkgdir/boot/vmlinuz"
fi
make modules_install dtbs_install \
ARCH=$_carch \
LLVM=1 \
INSTALL_MOD_STRIP=1 \
@ -85,5 +99,5 @@ fcd10232882fcdabc122689aad63cb32eab6f626f76fea67a92928affe48705d92a4a75ff6e58741
2cd76bf89f2b8baa9eb998f7a6553782c0b8e213fc9d0ed6cf8707af5a8d3e4722f00626642571a9d381078ada6fcf8f39763edab869db459455d3f6b66a1edd 0007-arm64-dts-marvell-samsung-coreprimevelte-Increase-to.patch
e5cf0fbe4a727bfe83d582714b5a109e989f9b325303d33905cace7534c63462d5ee3374388b802b973fb288d3d7d390806982269465ea461312f8e6940ae534 0008-arm64-dts-marvell-samsung-coreprimevelte-Add-missing.patch
b454382126dd51ebd51dd7b596088a937dec339f2763233ba1ed39b087a84b3342fbec15f03cab6829a55b6342fb80670490e09ee292188670673e0f5bab3fe7 0009-backlight-ktd2801-enable-BL_CORE_SUSPENDRESUME.patch
5f63b452563505bc16d613cd7051706bfb08b51752562b696b7aec9b320b5b57968ce08bcc7751c459580a3c19a4bb08461ede4f39f0fd0e8501c20edab1eba0 config-samsung-coreprimevelte.aarch64
f3d05d84b38b8429857d572e825ebee8ebe881eccdc29ed87fc4ce371d5aec823e36aa6cb6bf1f14f0325c758e79c33f83c34b74955fcc205d76e14c2454e5e0 config-samsung-coreprimevelte.aarch64
"

View file

@ -2,15 +2,15 @@
# Automatically generated file; DO NOT EDIT.
# Linux/arm64 6.19.10 Kernel Configuration
#
CONFIG_CC_VERSION_TEXT="Alpine clang version 22.1.2"
CONFIG_CC_VERSION_TEXT="Alpine clang version 22.1.3"
CONFIG_GCC_VERSION=0
CONFIG_CC_IS_CLANG=y
CONFIG_CLANG_VERSION=220102
CONFIG_CLANG_VERSION=220103
CONFIG_AS_IS_LLVM=y
CONFIG_AS_VERSION=220102
CONFIG_AS_VERSION=220103
CONFIG_LD_VERSION=0
CONFIG_LD_IS_LLD=y
CONFIG_LLD_VERSION=220102
CONFIG_LLD_VERSION=220103
CONFIG_RUSTC_VERSION=0
CONFIG_RUSTC_LLVM_VERSION=0
CONFIG_CC_HAS_ASM_GOTO_OUTPUT=y
@ -36,6 +36,10 @@ CONFIG_WERROR=y
CONFIG_LOCALVERSION="-coreprimevelte"
CONFIG_LOCALVERSION_AUTO=y
CONFIG_BUILD_SALT=""
CONFIG_HAVE_KERNEL_GZIP=y
CONFIG_HAVE_KERNEL_ZSTD=y
# CONFIG_KERNEL_GZIP is not set
CONFIG_KERNEL_ZSTD=y
CONFIG_DEFAULT_INIT=""
CONFIG_DEFAULT_HOSTNAME="(none)"
CONFIG_SYSVIPC=y
@ -574,9 +578,7 @@ CONFIG_ARM64_CONTPTE=y
#
# Boot options
#
CONFIG_CMDLINE="console=ttyS0,115200n8"
CONFIG_CMDLINE_FROM_BOOTLOADER=y
# CONFIG_CMDLINE_FORCE is not set
CONFIG_CMDLINE=""
CONFIG_EFI_STUB=y
CONFIG_EFI=y
# CONFIG_COMPRESSED_INSTALL is not set
@ -1711,7 +1713,7 @@ CONFIG_EFI_VARS_PSTORE=m
CONFIG_EFI_PARAMS_FROM_FDT=y
CONFIG_EFI_RUNTIME_WRAPPERS=y
CONFIG_EFI_GENERIC_STUB=y
# CONFIG_EFI_ZBOOT is not set
CONFIG_EFI_ZBOOT=y
CONFIG_EFI_ARMSTUB_DTB_LOADER=y
# CONFIG_EFI_BOOTLOADER_CONTROL is not set
# CONFIG_EFI_CAPSULE_LOADER is not set
@ -1722,6 +1724,7 @@ CONFIG_EFI_EARLYCON=y
# CONFIG_EFI_DISABLE_RUNTIME is not set
# CONFIG_EFI_COCO_SECRET is not set
# CONFIG_OVMF_DEBUG_LOG is not set
CONFIG_EFI_SBAT_FILE=""
# end of EFI (Extensible Firmware Interface) Support
# CONFIG_TEE_STMM_EFI is not set
@ -2077,7 +2080,7 @@ CONFIG_USB_NET_CDC_NCM=m
CONFIG_USB_NET_NET1080=m
# CONFIG_USB_NET_PLUSB is not set
# CONFIG_USB_NET_MCS7830 is not set
# CONFIG_USB_NET_RNDIS_HOST is not set
CONFIG_USB_NET_RNDIS_HOST=m
CONFIG_USB_NET_CDC_SUBSET_ENABLE=m
CONFIG_USB_NET_CDC_SUBSET=m
# CONFIG_USB_ALI_M5632 is not set
@ -5358,7 +5361,7 @@ CONFIG_KEYS=y
# CONFIG_TRUSTED_KEYS is not set
# CONFIG_ENCRYPTED_KEYS is not set
CONFIG_KEY_DH_OPERATIONS=y
# CONFIG_SECURITY_DMESG_RESTRICT is not set
CONFIG_SECURITY_DMESG_RESTRICT=y
CONFIG_PROC_MEM_ALWAYS_FORCE=y
# CONFIG_PROC_MEM_FORCE_PTRACE is not set
# CONFIG_PROC_MEM_NO_FORCE is not set