From patchwork Sat Feb 5 21:06:36 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Heinrich Schuchardt X-Patchwork-Id: 1588861 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=kfSldvv7; 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 (4096 bits) server-digest SHA256) (No client certificate requested) by bilbo.ozlabs.org (Postfix) with ESMTPS id 4JrlMl1gzvz9s8q for ; Sun, 6 Feb 2022 08:06:57 +1100 (AEDT) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 3F42C83B63; Sat, 5 Feb 2022 22:06:48 +0100 (CET) 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="kfSldvv7"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 51AF183B71; Sat, 5 Feb 2022 22:06:46 +0100 (CET) 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_H4,RCVD_IN_MSPIKE_WL, 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.17.21]) (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 648DA83B5E for ; Sat, 5 Feb 2022 22:06:43 +0100 (CET) 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=1644095201; bh=W6pLCSAR/UNsAnDoqdoyPfLilgtjyQmxal0OU+RlrgM=; h=X-UI-Sender-Class:Date:To:Cc:From:Subject; b=kfSldvv7v/5g7fI0j+kHlzPvDdqbyicYq3/MaJwZpCJrjhNi6D4o/98C56ySVvC8W np6jQGPSKTEeng1e8cx/KTb1M0u/+CImH0wVEMB4X010ZYdMseJMkP7Gy0+F2SIO/p sqDWItSB7yCaoYParBbVr/uECtwxobs1VEfUOgN8= X-UI-Sender-Class: 01bb95c1-4bf8-414a-932a-4f6e2808ef9c Received: from [192.168.123.94] ([88.152.144.107]) by mail.gmx.net (mrgmx105 [212.227.17.168]) with ESMTPSA (Nemesis) id 1MvsEx-1mO4Sk1ffz-00sxFa; Sat, 05 Feb 2022 22:06:41 +0100 Message-ID: <9e0cd85d-0ae8-021d-99a3-bc9ce7f3047a@gmx.de> Date: Sat, 5 Feb 2022 22:06:36 +0100 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.5.1 Content-Language: en-US To: Tom Rini Cc: Sunil V L , Simon Glass , U-Boot Mailing List , AKASHI Takahiro From: Heinrich Schuchardt Subject: Pull request for efi-2022-04-rc2-2 X-Provags-ID: V03:K1:c9NyvrXcqArFam5F3uFnbgWdWSzxs2QthmzKxYLq75dPNBJRur4 gN4jQZP7rKUBM0VEvqS/Wqnqeq5M99f/+Pub2WnjR8/r1ykgimlx1sKyXcsaTzG5ncJYJoM c6MEqPr3eOIrYn5GfTjcqFcpGY5T6WWrPjpirKJlLWg5R+lY0jXsEHqtyBDcqG6ez1q+SWq nyvnB8+lJhYdjlBPFkmpA== X-UI-Out-Filterresults: notjunk:1;V03:K0:rUmRvuvl2qA=:V7S8k/jfd/LZsmPckCABo0 gF/5ajbrmKvsQDx17E/ucDAUZR7wpi6pKAfpB3u+n3AmniuU6or7u9xy9NSzZEt9gY13Ceo1i dpljGsUaefJKkCXI6NyrMfYYYRWrQUEadbiX7P9KE1Def1u1Ju5TwNMcCDtbSziHp1sZKdzts mj68SlTP5BUGUcoHJh1LnD3+VDd6aDArGbmQCS6XRtXF77s1rgU469CqejMhKeYrzsXqczW+N PsnYbNp9Mz2vXnwiB4dOBHqeyGKVaqza+aor2soh/J2XW00KmlJIvJw111xOtHAKk36khS0IE d/qATrO+ZMad5Z5xplgo7uwtNx5fnMuDtrH2LaTHD48oTW+xiwtR0QqcDwpj79w0edHpoNats xESmXlE6mvCopfJp/ySvr2Tu37hbMqBIPuJHGdfQindMBEdsf/ufAUcFjKqlzWwN7QpmSmcqO 8JTyn9oVrivv5IgMPzn+nHKNnnUQptEtsKgx/8AcPLYGKM82oX/wSnE5FSPTtDPaemLrypG1/ 4jV0PbqWUs4tsdnkieNRdvJImREdZc8bjSmdSPBSI7Vrw8BJbIFThAk1GDg/0OWluX+/inHlx IMpPD+n0feMh1t9CKc+depgV8vlxtgpKUvB8vI3GtjgWghXCRaIjvVyBii29xt+KGvoDXa1W0 FWJZNH1h3KsaZ/6MFwzq97MQLzdncwpu9ICIgRKKmyA/tvmxeDzIREKy2M17U2F+p/dtyJ6cy S4ZvQGL+K2Z1MLWqsgp606DgYz4FeKb1pxIWK6fr3cHOkkRajRFzQAHEr6qiZTXJ7YUJyHzqo oO0h6RM83l9DkYh+YAKr5gQ7ZNhR1H927X1Anm+P6i+lbe9Rfmo1hEJRrW5aX+/boncfyimiM VtoJOdqgG0RAX+/PxMhWK/Jb8Jj67WxCmS3CfQGr2vXl4+iV19bEJEBpcOtt/4piSHzApn5Lc sTpb1ARBURblf+Z1YOq6Fd9JqefYisSyL5lnsK+Gmhg9a+jkrx09Rq43DhBKUcAIt8QJ6sX+d Vu3aIE+J1x2weX8PKY0I76F9GQrMY6PQL6i30ckV2OBxZm1KEeHPnsuae9OZzixSBgRbvI7Ed lMzwPIuwf0WXOQ= 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, I removed the problematic mkeficapsule series now and added a patch to get rid of the malloc.h usage. The following changes since commit 3aaabfe9ff4bbcd11096513b1b28d1fb0a40800f: Merge branch 'master' of https://source.denx.de/u-boot/custodians/u-boot-sunxi (2022-02-03 23:24:31 -0500) are available in the Git repository at: https://source.denx.de/u-boot/custodians/u-boot-efi.git tags/efi-2022-04-rc2-2 for you to fetch changes up to 6bbe12f61c4f7208b428cc038170dc286c872a91: tools: mkeficapsule: dont use malloc.h (2022-02-05 20:20:01 +0100) Gitlab CI showed no problems: https://source.denx.de/u-boot/custodians/u-boot-efi/-/pipelines/10872 The OS-X and Windows problems are gone: https://dev.azure.com/u-boot/u-boot/_build/results?buildId=3590&view=results ---------------------------------------------------------------- Pull request for efi-2022-04-rc2-2 UEFI * add unit test for RISCV_EFI_BOOT_PROTOCOL * disable UEFI for Colibri VF610 * add handle for UART * fix printing of Unicode strings * simplify enumeration of block devices ---------------------------------------------------------------- Heinrich Schuchardt (10): configs: disable UEFI for Colibri VF610 efi_selftest: merge FDT and RISC-V tests lib: fix snprintf() for UTF-16 strings test: test UTF-16 truncation in snprintf() efi_loader: fix device path to text protocol efi_loader: use %zu not %zd to print efi_uintn_t efi_loader: use %zu to print efi_uintn_t in FMP driver efi_loader: fix text output for Uart() DP nodes efi_loader: add handle for UART tools: mkeficapsule: dont use malloc.h Simon Glass (3): efi: Add debugging to efi_set_bootdev() efi: Use device_get_uclass_id() where appropriate efi: Drop unnecessary calls to blk_find_device() Sunil V L (1): efi_selftest: unit test for RISCV_EFI_BOOT_PROTOCOL cmd/bootefi.c | 32 +++++++++----- configs/colibri_vf_defconfig | 2 +- include/efi_loader.h | 1 + lib/efi_loader/efi_boottime.c | 6 +-- lib/efi_loader/efi_console.c | 52 +++++++++++------------ lib/efi_loader/efi_device_path.c | 24 ++++------- lib/efi_loader/efi_device_path_to_text.c | 45 ++++++++++++++------ lib/efi_loader/efi_firmware.c | 4 +- lib/efi_selftest/efi_selftest_fdt.c | 72 +++++++++++++++++++++++++------- lib/vsprintf.c | 14 ++++++- test/unicode_ut.c | 31 ++++++++++++++ tools/mkeficapsule.c | 1 - 12 files changed, 192 insertions(+), 92 deletions(-)