From patchwork Wed May 4 15:54:25 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Heinrich Schuchardt X-Patchwork-Id: 1626448 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=JAGFvq2s; dkim-atps=neutral Authentication-Results: ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=lists.denx.de (client-ip=2a01:238:438b:c500:173d:9f52:ddab:ee01; helo=phobos.denx.de; envelope-from=u-boot-bounces@lists.denx.de; receiver=) Received: from phobos.denx.de (phobos.denx.de [IPv6:2a01:238:438b:c500:173d:9f52:ddab:ee01]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by bilbo.ozlabs.org (Postfix) with ESMTPS id 4KthGn31p2z9sCq for ; Thu, 5 May 2022 01:54:41 +1000 (AEST) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id AE9FD83108; Wed, 4 May 2022 17:54:35 +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="JAGFvq2s"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id EC8A983EEF; Wed, 4 May 2022 17:54:32 +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.4 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,FREEMAIL_FROM,RCVD_IN_MSPIKE_H2,RCVD_IN_SBL_CSS, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=no autolearn_force=no version=3.4.2 Received: from mout.gmx.net (mout.gmx.net [212.227.17.20]) (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 13A5083EDF for ; Wed, 4 May 2022 17:54:30 +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=1651679668; bh=7BxfmhFW7TpJ3LIDjSUOS+0+0t9MYV9N/0DOGpY5B4o=; h=X-UI-Sender-Class:Date:To:Cc:From:Subject; b=JAGFvq2sjJXOEGoNGzMG4SkTfKNOAw9G6Qxz/OBDgkeCaER7UEUgFFKpGuch2sYKd ym64R/O4h3s7L5lqAmW/038BYXRJqtov3kOWwFjD6tOUVlm/8Q/DmXdYixRUsQ5pjl h/RRAjhwDVcdfkgzGAmi/n2zlJETu5IBXbtG6ib0= X-UI-Sender-Class: 01bb95c1-4bf8-414a-932a-4f6e2808ef9c Received: from [10.241.211.102] ([37.205.120.66]) by mail.gmx.net (mrgmx104 [212.227.17.168]) with ESMTPSA (Nemesis) id 1Mi2O1-1oHEIP2nir-00e78x; Wed, 04 May 2022 17:54:28 +0200 Message-ID: <9cd7e39c-0b95-8f87-ae36-81448e35c3a5@gmx.de> Date: Wed, 4 May 2022 17:54:25 +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 , Masahisa Kojima , AKASHI Takahiro From: Heinrich Schuchardt Subject: Pull request for efi-2022-07-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Em9HABsOc5E97Abpt/ucnBOKR5UxrKioN8/D6O +SaxGcRLJcDz7PlFN0EIvTU5FW7DgpGcz75BFgVPesDb+uqpCpZe9ni7vnO/fs+S/oSzXPTRY fO5QzQzX+VMlSlff24E1ooz9DcjvoexabmHM4As4pNKDZAmCbZFyJh2FjX6obo3VRxuR/xfvy 8iFpHMrosAVX/dm6gIyRLcKEdtX363VC0IEZ2IWsCwze/+Vn/qL9pAuznewttsHrgl/Nd7y9n V7F39Hq6XrAynfNli2TyQfExN385iDEUxf+VlOETZdw+nClS4e+k0rbtWRkO1rpvfqbnNylc8 CSXQZGbmPFfQJk= 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 f8e7670f8b2a5ba8f25682eee56039fa5f0a20ca: CI: Azure: Rework how we update MSYS2 (2022-05-03 08:32:50 -0400) are available in the Git repository at: https://source.denx.de/u-boot/custodians/u-boot-efi.git tags/efi-2022-07-rc2-2 for you to fetch changes up to 2158b0da220ccbe969bc18668263141d9a89f13e: bootmenu: add Kconfig option not to enter U-Boot console (2022-05-03 21:39:22 +0200) Gitlab CI showed no issues: https://source.denx.de/u-boot/custodians/u-boot-efi/-/pipelines/11915 ---------------------------------------------------------------- Pull request for efi-2022-07-rc2-2 * Test Unit test for 'bootmenu' command * UEFI Preparatory patches for implementing a UEFI boot options based menu ---------------------------------------------------------------- AKASHI Takahiro (2): efi_loader: export efi_locate_device_handle() efi_loader: bootmgr: add booting from removable media Heinrich Schuchardt (10): sandbox: enable bootmenu command test: unit test for bootmenu cmd: simplify bootmenu doc: fix typos in bootmenu.rst efi_loader: reset colors before clearing screen test: fix some pylint problems in test_capsule_firmware_raw.py efi_selftest: buildefi_selftest_unaligned.c efi_selftest: clean up unaligned unit test efi_selftest: error handling in efi_selftest_tcg2 lib: fix selection of CONFIG_CHARSET Masahisa Kojima (7): lib/charset: add u16_strlcat() function test: unit test for u16_strlcat() menu: always show the menu regardless of the number of entry menu: menu_get_choice() return -ENOENT if menu item is empty bootmenu: update bootmenu_entry structure bootmenu: add UEFI boot entry into bootmenu bootmenu: add Kconfig option not to enter U-Boot console cmd/Kconfig | 11 + cmd/bootmenu.c | 345 +++++++++++++++++---- common/menu.c | 5 +- configs/sandbox_defconfig | 1 + doc/usage/cmd/bootmenu.rst | 4 +- drivers/ufs/Kconfig | 1 + include/charset.h | 14 + include/efi_default_filename.h | 45 +++ include/efi_loader.h | 4 + lib/Kconfig | 5 - lib/charset.c | 16 + lib/efi/Kconfig | 1 + lib/efi_loader/Kconfig | 1 + lib/efi_loader/efi_bootmgr.c | 51 ++- lib/efi_loader/efi_boottime.c | 7 +- lib/efi_loader/efi_console.c | 4 +- lib/efi_selftest/Makefile | 4 +- lib/efi_selftest/efi_selftest_tcg2.c | 8 +- lib/efi_selftest/efi_selftest_unaligned.c | 9 +- scripts/pylint.base | 1 + test/Kconfig | 1 + test/py/tests/test_bootmenu.py | 46 +++ .../test_efi_capsule/test_capsule_firmware_raw.py | 42 ++- test/unicode_ut.c | 50 +++ 24 files changed, 576 insertions(+), 100 deletions(-) create mode 100644 include/efi_default_filename.h create mode 100644 test/py/tests/test_bootmenu.py