From mboxrd@z Thu Jan 1 00:00:00 1970 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 phobos.denx.de (phobos.denx.de [85.214.62.61]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id B4F83C61DA4 for ; Sat, 4 Feb 2023 09:05:40 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id B83C385F36; Sat, 4 Feb 2023 10:05:19 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=siemens.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Authentication-Results: phobos.denx.de; dkim=pass (1024-bit key; secure) header.d=siemens.com header.i=jan.kiszka@siemens.com header.b="koS/zqi7"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 5AC1C85FCC; Sat, 4 Feb 2023 10:05:12 +0100 (CET) Received: from mta-65-225.siemens.flowmailer.net (mta-65-225.siemens.flowmailer.net [185.136.65.225]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by phobos.denx.de (Postfix) with ESMTPS id 8DACA85EEE for ; Sat, 4 Feb 2023 10:05:08 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=siemens.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=jan.kiszka@siemens.com Received: by mta-65-225.siemens.flowmailer.net with ESMTPSA id 20230204090507b066967522397c423b for ; Sat, 04 Feb 2023 10:05:08 +0100 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; s=fm1; d=siemens.com; i=jan.kiszka@siemens.com; h=Date:From:Subject:To:Message-ID:MIME-Version:Content-Type:Content-Transfer-Encoding:Cc; bh=agb82LOyh5HBM5qBOqWoilO1edyKtdk159MMCBH0rbI=; b=koS/zqi7iQ2ElS2KZ9f8xnY4eRkCzZjWlceDu/alCWgNT/ZuTbaDCd+qMK2vSmd1Jw8I+8 Eo1Jvfj7x6x/oNuYZwo/aDsKU9bKUJy6CbgblNhozaVe4nFerulOzPoGZTY4mFqrhMO06BYh nqO+xAJiO6ahhOH6CjYN40HQM/EuQ=; From: Jan Kiszka To: U-Boot Mailing List Cc: chao zeng , Su Baocheng Subject: [PATCH V6 00/13] IOT2050-related enhancements Date: Sat, 4 Feb 2023 10:04:54 +0100 Message-Id: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Flowmailer-Platform: Siemens Feedback-ID: 519:519-294854:519-21489:flowmailer X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.39 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" X-Virus-Scanned: clamav-milter 0.103.6 at phobos.denx.de X-Virus-Status: Clean (Almost) flushing our upstream queue for the IOT2050 device, this mostly brings board-specific changes such as: - updated build process and firmware layout for PG1 vs. PG2 devices - more watchdog preparations - preparations for verified boot on IOT2050 Advanced devices This series depends on https://lore.kernel.org/u-boot/cover.1675426972.git.jan.kiszka@siemens.com/ ("env: Enhancements for establishing variable protection") Changes in v6: - fixed CFG_ENV_FLAGS_LIST_STATIC setup - migrated to board env file - cleaned up #ifdef in "Optionally embed OTP programming data into image" - rebased over latest master Changes in v5: - factored out two patches Changes in v4: - rebased over latest master - make use of new CONFIG_EFI_SCROLL_ON_CLEAR_SCREEN Changes in v3: - further reworked patch 1 to load default env directly, leaving driver ordering alone Changes in v2: - rebased over latest master - reworked patch 1 to be less invasive to the code - added "iot2050: use the named gpio to control the user-button" Still in our backlog is support for a new variant that comes with M.2 slots. Related DT patches were sent to the kernel and are under review now. Jan CC: chao zeng CC: Su Baocheng Jan Kiszka (10): iot2050: Update firmware layout iot2050: Migrate settings into board env file iot2050: Add watchdog start to bootcmd iot2050: Add CFG_ENV_FLAGS_LIST_STATIC arm: dts: iot2050: Allow verifying U-Boot proper by SPL tools: Add script for converting public key into device tree include iot2050: Add script for signing artifacts arm: dts: iot2050: Optionally embed OTP programming data into image doc: iot2050: Add a note about the watchdog firmware iot2050: Refresh defconfigs and activate CONFIG_EFI_SCROLL_ON_CLEAR_SCREEN Su Baocheng (2): board: siemens: iot2050: Split the build for PG1 and PG2 arm: dts: iot2050: Use the auto generator nodes for fdt chao zeng (1): board: siemens: iot2050: use the named gpio to control the user-button arch/arm/dts/k3-am65-iot2050-boot-image.dtsi | 133 ++++++------------ board/siemens/iot2050/Kconfig | 35 ++++- board/siemens/iot2050/board.c | 17 +-- board/siemens/iot2050/iot2050.env | 17 +++ ...ot2050_defconfig => iot2050_pg1_defconfig} | 13 +- ...ot2050_defconfig => iot2050_pg2_defconfig} | 15 +- doc/board/siemens/iot2050.rst | 79 ++++++++++- include/configs/iot2050.h | 18 +-- tools/binman/missing-blob-help | 14 +- tools/iot2050-sign-fw.sh | 51 +++++++ tools/key2dtsi.py | 64 +++++++++ 11 files changed, 318 insertions(+), 138 deletions(-) create mode 100644 board/siemens/iot2050/iot2050.env copy configs/{iot2050_defconfig => iot2050_pg1_defconfig} (93%) rename configs/{iot2050_defconfig => iot2050_pg2_defconfig} (91%) create mode 100755 tools/iot2050-sign-fw.sh create mode 100755 tools/key2dtsi.py -- 2.35.3