From patchwork Wed May 5 08:21:56 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Quirin Gylstorff X-Patchwork-Id: 12239335 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-8.8 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_PATCH,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 538AAC433B4 for ; Wed, 5 May 2021 08:25:45 +0000 (UTC) Received: from mail02.groups.io (mail02.groups.io [66.175.222.108]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 8359061106 for ; Wed, 5 May 2021 08:25:44 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 8359061106 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=siemens.com Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=bounce+64572+6425+4520388+8129055@lists.cip-project.org X-Received: by 127.0.0.2 with SMTP id u3ZCYY4521723xEYM8NOhdZ0; Wed, 05 May 2021 01:25:44 -0700 X-Received: from gecko.sbs.de (gecko.sbs.de [194.138.37.40]) by mx.groups.io with SMTP id smtpd.web12.4950.1620203143134418061 for ; Wed, 05 May 2021 01:25:43 -0700 X-Received: from mail1.sbs.de (mail1.sbs.de [192.129.41.35]) by gecko.sbs.de (8.15.2/8.15.2) with ESMTPS id 1458PeYV029048 (version=TLSv1.2 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK) for ; Wed, 5 May 2021 10:25:41 +0200 X-Received: from md2dvrtc.fritz.box ([167.87.16.18]) by mail1.sbs.de (8.15.2/8.15.2) with ESMTP id 1458LwLs016955; Wed, 5 May 2021 10:21:58 +0200 From: "Quirin Gylstorff" To: jan.kiszka@siemens.com, cip-dev@lists.cip-project.org Cc: Quirin Gylstorff Subject: [cip-dev][isar-cip-core][PATCH v4 0/2] swupdate-config: variables cleanup Date: Wed, 5 May 2021 10:21:56 +0200 Message-Id: <20210505082158.18899-1-Quirin.Gylstorff@siemens.com> MIME-Version: 1.0 Precedence: Bulk List-Unsubscribe: List-Subscribe: List-Help: Sender: cip-dev@lists.cip-project.org List-Id: Mailing-List: list cip-dev@lists.cip-project.org; contact cip-dev+owner@lists.cip-project.org Reply-To: cip-dev@lists.cip-project.org X-Gm-Message-State: JHvusdzNjx8mzOk7TagaVq1ex4520388AA= DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=lists.cip-project.org; q=dns/txt; s=20140610; t=1620203144; bh=BXpj0poTrKHU3e4z50tvTxpfEIY1E8wuzrVTloR9qXM=; h=Cc:Content-Type:Date:From:Reply-To:Subject:To; b=nzGF4QAM8sfgw0oOt39aQu7+zMN/WkdYKZ1R6f3LhFcgzXJpYS6lKigb1vkDmu3I8W+ qXcO6e2xVWmaWO2eFxyTyancxhdLvFnk0/0f6Xk1SO9hRCxTV58U55SSKBdI5v3Hs+z/0 wbIqVIjTzi7bqIAm6dvhIjkzXtH3lU9ZHnw= From: Quirin Gylstorff This patch removes the variable U_BOOT from the swupdate-config.bbclass. It also adds the suffix `SWUPDATE` to the variable BOOTLOADER. If a custom u-boot is used in concunction with swupdate it is recommened to set `U_BOOT_CONFIG_PACKAGE` to '1'. This now adds a dependency from SWupdate to u-boot-{MACHINE}-config for installing fw_env.config. Changes in V2: - fix typo in commit message - use variable in kas/opt/*.yml Changes in V3: - remove variable U_BOOT - split into 2 commits Changes in V4: - Add missing Changes log - Correct commit message Quirin Gylstorff (2): swupdate-config: remove variable U_BOOT swupdate-config: add prefix to variable BOOTLOADER classes/swupdate-config.bbclass | 17 ++++++++++------- kas/opt/ebg-secure-boot-snakeoil.yml | 2 +- kas/opt/ebg-swu.yml | 4 ++-- kas/opt/qemu-swupdate.yml | 2 +- 4 files changed, 14 insertions(+), 11 deletions(-)