From patchwork Wed Jan 13 18:43:56 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Heinrich Schuchardt X-Patchwork-Id: 1425978 X-Patchwork-Delegate: trini@ti.com Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org 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=) Authentication-Results: ozlabs.org; dmarc=fail (p=none dis=none) header.from=gmx.de Authentication-Results: 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=FDXwkKCk; dkim-atps=neutral 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 (4096 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 4DGGZQ0d5Rz9sWF for ; Thu, 14 Jan 2021 05:44:19 +1100 (AEDT) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id E07098269F; Wed, 13 Jan 2021 19:44:08 +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="FDXwkKCk"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id CA120826AA; Wed, 13 Jan 2021 19:44:06 +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_DNSWL_NONE,RCVD_IN_MSPIKE_H3, RCVD_IN_MSPIKE_WL,SPF_HELO_NONE autolearn=ham autolearn_force=no version=3.4.2 Received: from mout.gmx.net (mout.gmx.net [212.227.17.22]) (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 EB70082699 for ; Wed, 13 Jan 2021 19:44:01 +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=1610563441; bh=UwnidJrtW3N5ym/PUIo4RK7lHe4mcH8MFk5aNmPnc24=; h=X-UI-Sender-Class:To:Cc:From:Subject:Date; b=FDXwkKCkHGXl3Pi3uUA5+weRJ31MxoTr+N2peg4XYu597kCTVCxw6Z68YPYSK3olM a8G6M4rcOJzwpiFPR2UqZdIhG0R5auCLw0jFlPrbz+q07cCl17fcuSAIXAGNQj3Euv XbOGH9+CGK+jWCZSZKY2gLMzV4vdK9RhSPuN+ghU= X-UI-Sender-Class: 01bb95c1-4bf8-414a-932a-4f6e2808ef9c Received: from [192.168.123.51] ([62.143.246.89]) by mail.gmx.com (mrgmx105 [212.227.17.168]) with ESMTPSA (Nemesis) id 1M4JmT-1kzU0W06SX-000I85; Wed, 13 Jan 2021 19:44:01 +0100 To: Tom Rini Cc: Alexander Graf , U-Boot Mailing List From: Heinrich Schuchardt Subject: Pull request for UEFI sub-system for efi-2021-04-rc1 Message-ID: Date: Wed, 13 Jan 2021 19:43:56 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.6.0 MIME-Version: 1.0 Content-Language: en-US X-Provags-ID: V03:K1:i2F/WENiqyQZ+8JesF/3scfXF6QKCYTeOe8Lpd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zNnYhDMFm8LqOiT+4sslMb0kyaTVZOfDGfAgfzcHGuYZHC8V mH7HvLImh2+aUR8f2NLA== X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.34 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.102.3 at phobos.denx.de X-Virus-Status: Clean Dear Tom, The following changes since commit ee6726be4f0dccb612f0193c62ca149164c8a5af: Merge tag 'ti-v2021.04-rc1' of https://gitlab.denx.de/u-boot/custodians/u-boot-ti (2021-01-12 09:32:48 -0500) are available in the Git repository at: https://gitlab.denx.de/u-boot/custodians/u-boot-efi.git tags/efi-2021-04-rc1 for you to fetch changes up to 8e70f1cb3f2c18d574b087d4fc1d79e68ce98fa9: efi_selftest: dtbdump support EFI_DT_FIXUP_PROTOCOL (2021-01-13 02:38:01 +0100) Gitlab showed no problems: https://gitlab.denx.de/u-boot/custodians/u-boot-efi/-/pipelines/5854 ---------------------------------------------------------------- Pull request for UEFI sub-system for efi-2021-04-rc1 In the UEFI sub-system: * implement non-blocking file services * print boot device and file path in helloworld.efi * improve detection of boot device * correct argument handling in efivar.py * implement EFI_DT_FIXUP_PROTOCOL Bug fixes: * adjust conitrace command for low baud rates * check that FIT images are valid FDTs ---------------------------------------------------------------- Heinrich Schuchardt (16): efi_loader: implement non-blocking file services tools: efivar.py without arguments tools: efivar.py: incorrect indentation tools: efivar.py should check GUID when deleting tools: efivar.py unused variable efi_loader: simplify running helloworld.efi efi_loader: print boot device and file path in helloworld efi_loader: carve out efi_check_pe() image-fit: fit_check_format check for valid FDT efi_loader: setting boot device efi_loader: move efi_(u)intn_t to efi.h efi_loader: typedef efi_string_t text output protocol efi_loader: remove outdated TODO in efi_memory.c cmd: conitrace: increase wait for next key efi_loader: implement EFI_DT_FIXUP_PROTOCOL efi_selftest: dtbdump support EFI_DT_FIXUP_PROTOCOL cmd/bootefi.c | 234 +++++++++++----------------- cmd/conitrace.c | 4 +- cmd/efidebug.c | 5 + common/image-fit.c | 6 + doc/uefi/uefi.rst | 11 +- fs/fs.c | 3 +- include/efi.h | 5 + include/efi_api.h | 34 ++-- include/efi_dt_fixup.h | 39 +++++ include/efi_loader.h | 10 +- lib/efi_loader/Makefile | 3 + lib/efi_loader/efi_console.c | 6 +- lib/efi_loader/efi_dt_fixup.c | 160 +++++++++++++++++++ lib/efi_loader/efi_file.c | 317 ++++++++++++++++++++++++++++++++------ lib/efi_loader/efi_image_loader.c | 80 ++++++---- lib/efi_loader/efi_memory.c | 2 - lib/efi_loader/efi_root_node.c | 6 + lib/efi_loader/helloworld.c | 167 ++++++++++++++++---- lib/efi_selftest/dtbdump.c | 310 ++++++++++++++++++++++++++++++++----- net/tftp.c | 9 +- tools/efivar.py | 39 ++--- 21 files changed, 1096 insertions(+), 354 deletions(-) create mode 100644 include/efi_dt_fixup.h create mode 100644 lib/efi_loader/efi_dt_fixup.c