From patchwork Mon Jul 27 09:05:59 2026 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Nora Schiffer X-Patchwork-Id: 93573 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from aws-us-west-2-korg-lkml-1.web.codeaurora.org (localhost.localdomain [127.0.0.1]) by smtp.lore.kernel.org (Postfix) with ESMTP id 72455C53219 for ; Mon, 27 Jul 2026 09:06:35 +0000 (UTC) Received: from www537.your-server.de (www537.your-server.de [188.40.3.216]) by mx.groups.io with SMTP id smtpd.msgproc01-g2.26927.1785143188379086876 for ; Mon, 27 Jul 2026 02:06:29 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@ew.tq-group.com header.s=default2602 header.b=TbHA5Ncy; spf=pass (domain: ew.tq-group.com, ip: 188.40.3.216, mailfrom: nora.schiffer@ew.tq-group.com) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=ew.tq-group.com; s=default2602; h=Content-Transfer-Encoding:Content-Type: MIME-Version:References:In-Reply-To:Message-ID:Date:Subject:Cc:To:From:Sender :Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID; bh=Ul4wFrZ/24qAlW6juHqxa4S6Rq3OL3OYjkcCAAPzLV4=; b=TbHA5Ncy/4WezCsORNrZTYOIft du3BjQEwYXaOjmYqcR9m6ebuo2odpNoS53NAnUtORmZ8u/pwiYBCEN5Mk2JjimwkbWBoG9q3NkSEK 65p1BmHoij1uy02fmmkDiDX8s9pTGe3Qi6sLLIHf7bLJLUwFGa+45lVrWn46D+gzuYbsL9czDRt16 FRvX0WWLA4uuElRydIBSjZvqI5p93uiGd229fG5dgU/PBJkWfy0QKiOjK2q+2KeMFUO6vwkGzVs0Z 4T1FGBN4tSrqypHEMJfLyRGo/Iiho9CtA5gEUOU0TCzYdf8G8vU8ZL1y1YMzN0RD/qWEQzLJGBpad bKPUuD0A==; Received: from sslproxy06.your-server.de ([78.46.172.3]) by www537.your-server.de with esmtpsa (TLS1.3) tls TLS_AES_256_GCM_SHA384 (Exim 4.96.2) (envelope-from ) id 1woHI2-000AR0-0f; Mon, 27 Jul 2026 11:06:26 +0200 Received: from localhost ([127.0.0.1]) by sslproxy06.your-server.de with esmtpsa (TLS1.3) tls TLS_AES_256_GCM_SHA384 (Exim 4.96) (envelope-from ) id 1woHI2-000A13-1e; Mon, 27 Jul 2026 11:06:26 +0200 From: Nora Schiffer To: openembedded-core@lists.openembedded.org Cc: oss@ew.tq-group.com, Nora Schiffer Subject: [PATCH v2 1/3] kernel-uboot: move FIT_KERNEL_COMP_ALG to image-fitimage.conf Date: Mon, 27 Jul 2026 11:05:59 +0200 Message-ID: <20260727090601.489155-2-nora.schiffer@ew.tq-group.com> X-Mailer: git-send-email 2.54.0 In-Reply-To: <20260727090601.489155-1-nora.schiffer@ew.tq-group.com> References: <20260727090601.489155-1-nora.schiffer@ew.tq-group.com> MIME-Version: 1.0 X-Virus-Scanned: Clear (ClamAV 1.4.3/28074/Mon Jul 27 08:25:14 2026) List-Id: X-Webhook-Received: from 45-33-107-173.ip.linodeusercontent.com [45.33.107.173] by aws-us-west-2-korg-lkml-1.web.codeaurora.org with HTTPS for ; Mon, 27 Jul 2026 09:06:35 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-core/message/242070 It is a bit weird that FIT_KERNEL_COMP_ALG also affects uImage creation, as kernel-uboot.bbclass is used for both, but fixing that would unnecessarily break backwards compatibility. Signed-off-by: Nora Schiffer --- meta/classes-recipe/kernel-uboot.bbclass | 3 +-- meta/conf/image-fitimage.conf | 3 +++ 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/meta/classes-recipe/kernel-uboot.bbclass b/meta/classes-recipe/kernel-uboot.bbclass index fa28be1715..9beccc2dff 100644 --- a/meta/classes-recipe/kernel-uboot.bbclass +++ b/meta/classes-recipe/kernel-uboot.bbclass @@ -4,8 +4,7 @@ # SPDX-License-Identifier: MIT # -# fitImage kernel compression algorithm -FIT_KERNEL_COMP_ALG ?= "gzip" +require conf/image-fitimage.conf # Kernel image type passed to mkimage (i.e. kernel kernel_noload...) UBOOT_MKIMAGE_KERNEL_TYPE ?= "kernel" diff --git a/meta/conf/image-fitimage.conf b/meta/conf/image-fitimage.conf index a06d30e494..abb17186a5 100644 --- a/meta/conf/image-fitimage.conf +++ b/meta/conf/image-fitimage.conf @@ -48,6 +48,9 @@ FIT_OS ?= "linux" # DTBs are provided separately in a FIT image. FIT_LINUX_BIN ?= "linux.bin" +# fitImage kernel compression algorithm +FIT_KERNEL_COMP_ALG ?= "gzip" + # Additional mkimage options for FIT image creation FIT_MKIMAGE_EXTRA_OPTS ?= ""