From patchwork Sun May 8 07:37:04 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Heinrich Schuchardt X-Patchwork-Id: 1628034 X-Patchwork-Delegate: trini@ti.com Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: bilbo.ozlabs.org; dkim=pass (1024-bit key; secure) header.d=gmx.net header.i=@gmx.net header.a=rsa-sha256 header.s=badeba3b8450 header.b=O95iwXj2; dkim-atps=neutral Authentication-Results: ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=lists.denx.de (client-ip=85.214.62.61; helo=phobos.denx.de; envelope-from=u-boot-bounces@lists.denx.de; receiver=) Received: from phobos.denx.de (phobos.denx.de [85.214.62.61]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by bilbo.ozlabs.org (Postfix) with ESMTPS id 4Kwx3B6JCjz9t0k for ; Sun, 8 May 2022 17:37:24 +1000 (AEST) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 4B84B83BBF; Sun, 8 May 2022 09:37:16 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=fail (p=none dis=none) header.from=gmx.de 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=gmx.net header.i=@gmx.net header.b="O95iwXj2"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id E6CB283C05; Sun, 8 May 2022 09:37:14 +0200 (CEST) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on phobos.denx.de X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,FREEMAIL_FROM,RCVD_IN_MSPIKE_H2,SPF_HELO_NONE,SPF_PASS, T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.2 Received: from mout.gmx.net (mout.gmx.net [212.227.15.18]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) (No client certificate requested) by phobos.denx.de (Postfix) with ESMTPS id 10AD583AF6 for ; Sun, 8 May 2022 09:37:12 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=gmx.de Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=xypron.glpk@gmx.de DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net; s=badeba3b8450; t=1651995428; bh=LDHvy733XZTtkH8Wm+wx+b0suaoqM+x50xn3UVvhYt8=; h=X-UI-Sender-Class:Date:To:Cc:From:Subject; b=O95iwXj2j+EA+TvyFdKSeF8m8HDc8gaJASV/9PPjJPU5IY6Du4az+EDWNkXsQQMgR 61E5HpmXYnYAdjkKH7L4J7xiZ+lYwxQGwXpcHV7F0ETzF49gcuN+LjG9Xw6TlX3eXS nNttnwgxmc/sK10cmp60uOtyS+fQUcIuN0IuVvAk= X-UI-Sender-Class: 01bb95c1-4bf8-414a-932a-4f6e2808ef9c Received: from [192.168.123.94] ([62.143.94.109]) by mail.gmx.net (mrgmx005 [212.227.17.190]) with ESMTPSA (Nemesis) id 1M7b2d-1nk1Vp0nUL-0086v8; Sun, 08 May 2022 09:37:08 +0200 Message-ID: <9f24c12f-8c4f-302e-bbd3-4fa8abd59a30@gmx.de> Date: Sun, 8 May 2022 09:37:04 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.8.1 Content-Language: en-US To: Tom Rini Cc: U-Boot Mailing List , Ilias Apalodimas , Jan Kiszka , Mark Kettenis , Masahisa Kojima , Sean Anderson From: Heinrich Schuchardt Subject: Pull request for efi-2022-07-rc3-2 X-Provags-ID: V03:K1:rt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asBC7MiGVifB jb3nQI4fgYjDuMvE4rsmgNLAVggyY5SqxhxK9Di4bS5KbybYvRmRFQlnEChl7swnZHJjbgX51 JVq81ycr2tJsAF0yy817umOYhisv4ivViYrAreT/JevnoNMoKqfuYrSs0VCdAxJzYUbxdojig /APGQ4As88ELftQNUsmUmjMiUOX7uvGtVzHS4s06aWQV7XkvrayhAYFk4mh0m4VTVSGOM8pag xhF0DXXvEYrCKRUEHDujFZEAuks5OmFP+TlVddIOzRSVNlojZs4hkijGI6NsLB+jBMqL7FsnO AVSNV1cTVMUZW4= 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.5 at phobos.denx.de X-Virus-Status: Clean Dear Tom, The following changes since commit 145921bdbdcfc24f18ce21d570ff86cc7e1fa3ba: Merge https://source.denx.de/u-boot/custodians/u-boot-usb (2022-05-06 08:57:15 -0400) are available in the Git repository at: https://source.denx.de/u-boot/custodians/u-boot-efi.git tags/efi-2022-07-rc3-2 for you to fetch changes up to 4b494770577cc61c3c1a4b57ced2fc98d87957dc: test/py: Add more test cases for rejecting an EFI image (2022-05-07 23:17:26 +0200) Gitlab CI showed no issues: https://source.denx.de/u-boot/custodians/u-boot-efi/-/pipelines/11957 ---------------------------------------------------------------- Pull request for efi-2022-07-rc3-2 UEFI: * Fix build errors due to - using sed with non-standard extension for regular expression - target architecture not recognized for CROSS_COMPILE=armv7a-* - CONFIG_EVENT not selected * add sha384/512 on certificate revocation Others: * factor out the user input handling in bootmenu command ---------------------------------------------------------------- Heinrich Schuchardt (2): Makefile: support CROSS_COMPILE=armv7a-* tools: mkimage: set OPENSSL_API_COMPAT Ilias Apalodimas (2): efi_loader: add sha384/512 on certificate revocation test/py: Add more test cases for rejecting an EFI image Jan Kiszka (1): efi_loader: Select EVENT as well Mark Kettenis (1): Makefile: Avoid non-portable GNU sed extension Masahisa Kojima (1): bootmenu: factor out the user input handling Sean Anderson (1): mkimage: Document misc options Makefile | 4 +- cmd/bootmenu.c | 141 -------------------------- common/menu.c | 128 +++++++++++++++++++++++ doc/mkimage.1 | 36 ++++++- include/efi_api.h | 6 ++ include/efi_loader.h | 6 ++ include/menu.h | 20 ++++ lib/efi_loader/Kconfig | 1 + lib/efi_loader/efi_helper.c | 66 ++++++++++++ lib/efi_loader/efi_signature.c | 76 +++++++++----- test/py/tests/test_efi_secboot/conftest.py | 6 ++ test/py/tests/test_efi_secboot/test_signed.py | 51 ++++++++++ tools/mkimage.c | 15 ++- tools/sunxi_toc0.c | 3 + 14 files changed, 388 insertions(+), 171 deletions(-)