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 A14DFC433EF for ; Sat, 23 Apr 2022 21:14:51 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id B0DBB83DD4; Sat, 23 Apr 2022 23:14:49 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=canonical.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Authentication-Results: phobos.denx.de; dkim=pass (2048-bit key; unprotected) header.d=canonical.com header.i=@canonical.com header.b="uPTGYjX8"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id AB35983DEB; Sat, 23 Apr 2022 23:14:47 +0200 (CEST) Received: from smtp-relay-internal-1.canonical.com (smtp-relay-internal-1.canonical.com [185.125.188.123]) (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 768ED83DB8 for ; Sat, 23 Apr 2022 23:14:44 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=canonical.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=heinrich.schuchardt@canonical.com Received: from mail-ed1-f70.google.com (mail-ed1-f70.google.com [209.85.208.70]) (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 smtp-relay-internal-1.canonical.com (Postfix) with ESMTPS id 545963F19D for ; Sat, 23 Apr 2022 21:14:39 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=canonical.com; s=20210705; t=1650748479; bh=v3GoeueZ2N+lXzYMBCiSYciz14kSUQem/N7AXespSyM=; h=Message-ID:Date:MIME-Version:To:Cc:From:Subject:Content-Type; b=uPTGYjX8Pm6LnNPlkB545fUUPxB2v9nDt2dpDaYroAAGjeAR+IOuAa6xHOKIJlne+ XnVBPZWdMHzr/0DA6ec4I5b8YDECIrCa/iEB3lqZSHUBfS9aL+MP4TEOw0npYMrU7H kKV1eWfbDAHh2peIpNI/iyZplyWsnAspxyZ0GyKxU3mj52hwQ4+wKHBuXFUnjmPA0c 9iJk96KwUaIPn6PcT6ZR8RZWqQ+NtNGRx611BD/d2LvfglED2xZuOd035ZPrBx4vPr lJYcVbvCG4HOMuSW2jlGJBpsXMnd1HR91few/y6OnM+048TQl7agHDJkQUTu4JlAxe GsUkQup5PKq0A== Received: by mail-ed1-f70.google.com with SMTP id dk9-20020a0564021d8900b00425a9c3d40cso4212264edb.7 for ; Sat, 23 Apr 2022 14:14:39 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:message-id:date:mime-version:user-agent :content-language:to:cc:from:subject:content-transfer-encoding; bh=v3GoeueZ2N+lXzYMBCiSYciz14kSUQem/N7AXespSyM=; b=x7Kq13MzKXGEFzsE+wUBmD45TjyzjxqnXhV0EsAnI5mK+TQzvs883PTpG47KW5SxXj tTtQZZhPrTgBuJq5J89nEvnk54qum1OWNEL0xF1mifjEwcf622Gnkh+kKJQ4EAK3xG83 V/COHDlbku8NJZaGOYFA5FlvrRIHl8nE7YTn3j6c32MTZ1PMjT647cO8xCtYVs5ohJfV yTcT1vdyJ9ND20ODklyuo5C6hS4c9rN4jrFTWTpIH/h9sd6TzbSbiVh/SaqnOnbUU833 gQNvIq1fTgGgFPMi/qcYbXYq+0roWad41tIhWB2jFSE/YcYJySaZw4R32tFswPMYw7Ub 9VNQ== X-Gm-Message-State: AOAM53393NZIae5EoBR4SC6YsyO9yTe3pepv8U2wL1Pclgj8Ku9WBTwq w6R7CM7VFa2cVqbYMsD8FucGIy+7z1sDIOp1WjXBY2heKNQbvqb8NxipPuzBdlfQmzTu95BhbcF dwzGjWm+7Q7EFA2JGAPpJ9StKavyMer4= X-Received: by 2002:a17:907:9721:b0:6f3:806c:b9f4 with SMTP id jg33-20020a170907972100b006f3806cb9f4mr1945105ejc.462.1650748478991; Sat, 23 Apr 2022 14:14:38 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzGr18UKItKicGkEapochaY9RFjCSFi7WiVUD69nau454K4uiOwv1o7KdcxC4V6TfzSveISvw== X-Received: by 2002:a17:907:9721:b0:6f3:806c:b9f4 with SMTP id jg33-20020a170907972100b006f3806cb9f4mr1945087ejc.462.1650748478756; Sat, 23 Apr 2022 14:14:38 -0700 (PDT) Received: from [192.168.123.94] (ip-088-152-144-107.um26.pools.vodafone-ip.de. [88.152.144.107]) by smtp.gmail.com with ESMTPSA id lf5-20020a170907174500b006f3806fc9cdsm493106ejc.39.2022.04.23.14.14.37 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Sat, 23 Apr 2022 14:14:38 -0700 (PDT) Message-ID: Date: Sat, 23 Apr 2022 23:14:37 +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 , AKASHI Takahiro , Masahisa Kojima , Vagrant Cascadian , Mark Kettenis , Kyle Evans From: Heinrich Schuchardt Subject: Pull request for efi-2022-07-rc1-3 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit 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 faeb5641131ba0bfafa5ed61dd03b98b1f2a5edb: Merge https://gitlab.denx.de/u-boot/custodians/u-boot-pmic (2022-04-22 11:06:38 -0400) are available in the Git repository at: https://source.denx.de/u-boot/custodians/u-boot-efi.git tags/efi-2022-07-rc1-3 for you to fetch changes up to d97e98c887ed8fa4a339350c02f093f03cd1cf4d: efi_loader: disk: use udevice instead of blk_desc (2022-04-23 22:05:41 +0200) Gitlab CI showed no problem: https://source.denx.de/u-boot/custodians/u-boot-efi/-/pipelines/11846 ---------------------------------------------------------------- Pull request for efi-2022-07-rc1-3 Documentation: * Document image size parameter of bootefi command UEFI: * avoid building partition support in SPL/TPL where not required * improve integration of EFI subsystem and driver model * restore ability to boot arbitrary blob ---------------------------------------------------------------- AKASHI Takahiro (19): disk: include errno.h explicitly in part.h disk: enable function prototypes in part.h for SPL/TPL disk: define nullified functions for !PARTITIONS sandbox: move a function prototype efi_loader: PARTITION_UUIDS should be optional efi_loader: disk: compile efi_disk when CONFIG_BLK disk: don't compile in partition support for spl/tpl if not really necessary dm: tag: change ENOSPC to ENOMEM dm: tag: add some document test: dm: add tests for tag support dm: disk: add UCLASS_PARTITION dm: blk: add a device-probe hook for scanning disk partitions efi_loader: split efi_init_obj_list() into two stages efi_loader: disk: a helper function to create efi_disk objects from udevice efi_loader: disk: not create BLK device for BLK(IF_TYPE_EFI_LOADER) devices efi_loader: disk: a helper function to delete efi_disk objects efi_loader: disk: not delete BLK device for BLK(IF_TYPE_EFI_LOADER) devices dm: disk: add read/write interfaces with udevice efi_loader: disk: use udevice instead of blk_desc Heinrich Schuchardt (1): doc: update bootefi man-page Kyle Evans (1): cmd: bootefi: restore ability to boot arbitrary blob Mark Kettenis (1): doc: board: apple: Mention M1 Ultra support Masahisa Kojima (1): bootmenu: fix menu API error handling Vagrant Cascadian (1): tools: kwboot: Fix spelling of "followed" in kwboot.1 cmd/bootefi.c | 36 ++-- cmd/bootmenu.c | 4 +- common/board_r.c | 2 +- common/main.c | 7 +- disk/Kconfig | 37 +++-- disk/Makefile | 3 + disk/disk-uclass.c | 247 +++++++++++++++++++++++++++ doc/board/apple/m1.rst | 3 +- doc/develop/driver-model/design.rst | 21 +++ doc/kwboot.1 | 2 +- doc/usage/cmd/bootefi.rst | 21 ++- drivers/block/blk-uclass.c | 4 + drivers/core/tag.c | 4 +- include/dm/uclass-id.h | 1 + include/efi_loader.h | 6 +- include/part.h | 39 ++++- include/sandboxblockdev.h | 2 + lib/efi_driver/efi_block_device.c | 34 ++-- lib/efi_loader/Kconfig | 5 +- lib/efi_loader/Makefile | 2 +- lib/efi_loader/efi_device_path.c | 9 +- lib/efi_loader/efi_disk.c | 321 +++++++++++++++++++++++++++--------- lib/efi_loader/efi_setup.c | 62 +++++-- test/dm/Makefile | 1 + test/dm/tag.c | 84 ++++++++++ 25 files changed, 789 insertions(+), 168 deletions(-) create mode 100644 disk/disk-uclass.c create mode 100644 test/dm/tag.c