Cover Letter Detail
Show a cover letter.
GET /api/covers/812095/?format=api
{ "id": 812095, "url": "http://patchwork.ozlabs.org/api/covers/812095/?format=api", "web_url": "http://patchwork.ozlabs.org/project/uboot/cover/20170910112149.21358-1-robdclark@gmail.com/", "project": { "id": 18, "url": "http://patchwork.ozlabs.org/api/projects/18/?format=api", "name": "U-Boot", "link_name": "uboot", "list_id": "u-boot.lists.denx.de", "list_email": "u-boot@lists.denx.de", "web_url": null, "scm_url": null, "webscm_url": null, "list_archive_url": "", "list_archive_url_format": "", "commit_url_format": "" }, "msgid": "<20170910112149.21358-1-robdclark@gmail.com>", "list_archive_url": null, "date": "2017-09-10T11:21:17", "name": "[U-Boot,v2,00/21] efi_loader: enough UEFI for standard distro boot", "submitter": { "id": 18760, "url": "http://patchwork.ozlabs.org/api/people/18760/?format=api", "name": "Rob Clark", "email": "robdclark@gmail.com" }, "mbox": "http://patchwork.ozlabs.org/project/uboot/cover/20170910112149.21358-1-robdclark@gmail.com/mbox/", "series": [ { "id": 2383, "url": "http://patchwork.ozlabs.org/api/series/2383/?format=api", "web_url": "http://patchwork.ozlabs.org/project/uboot/list/?series=2383", "date": "2017-09-10T11:21:17", "name": "efi_loader: enough UEFI for standard distro boot", "version": 2, "mbox": "http://patchwork.ozlabs.org/series/2383/mbox/" } ], "comments": "http://patchwork.ozlabs.org/api/covers/812095/comments/", "headers": { "Return-Path": "<u-boot-bounces@lists.denx.de>", "X-Original-To": "incoming@patchwork.ozlabs.org", "Delivered-To": "patchwork-incoming@bilbo.ozlabs.org", "Authentication-Results": [ "ozlabs.org;\n\tspf=none (mailfrom) smtp.mailfrom=lists.denx.de\n\t(client-ip=81.169.180.215; helo=lists.denx.de;\n\tenvelope-from=u-boot-bounces@lists.denx.de;\n\treceiver=<UNKNOWN>)", "ozlabs.org;\n\tdkim=fail reason=\"signature verification failed\" (2048-bit key;\n\tunprotected) header.d=gmail.com header.i=@gmail.com\n\theader.b=\"PrzvvtaH\"; dkim-atps=neutral" ], "Received": [ "from lists.denx.de (dione.denx.de [81.169.180.215])\n\tby ozlabs.org (Postfix) with ESMTP id 3xqpYQ6qKpz9sDB\n\tfor <incoming@patchwork.ozlabs.org>;\n\tSun, 10 Sep 2017 21:22:02 +1000 (AEST)", "by lists.denx.de (Postfix, from userid 105)\n\tid 9BA68C21DC3; Sun, 10 Sep 2017 11:22:00 +0000 (UTC)", "from lists.denx.de (localhost [IPv6:::1])\n\tby lists.denx.de (Postfix) with ESMTP id 54A22C21C4C;\n\tSun, 10 Sep 2017 11:21:58 +0000 (UTC)", "by lists.denx.de (Postfix, from userid 105)\n\tid 2D529C21C4C; Sun, 10 Sep 2017 11:21:57 +0000 (UTC)", "from mail-qk0-f195.google.com (mail-qk0-f195.google.com\n\t[209.85.220.195])\n\tby lists.denx.de (Postfix) with ESMTPS id AC62BC21C39\n\tfor <u-boot@lists.denx.de>; Sun, 10 Sep 2017 11:21:56 +0000 (UTC)", "by mail-qk0-f195.google.com with SMTP id o77so3976422qke.2\n\tfor <u-boot@lists.denx.de>; Sun, 10 Sep 2017 04:21:56 -0700 (PDT)", "from localhost ([2601:184:4780:aac0:25f8:dd96:a084:785a])\n\tby smtp.gmail.com with ESMTPSA id\n\tb11sm4892466qkb.75.2017.09.10.04.21.53\n\t(version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256);\n\tSun, 10 Sep 2017 04:21:53 -0700 (PDT)" ], "X-Spam-Checker-Version": "SpamAssassin 3.4.0 (2014-02-07) on lists.denx.de", "X-Spam-Level": "", "X-Spam-Status": "No, score=-0.0 required=5.0 tests=FREEMAIL_FROM,\n\tRCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H3, RCVD_IN_MSPIKE_WL,\n\tT_DKIM_INVALID\n\tautolearn=unavailable autolearn_force=no version=3.4.0", "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025;\n\th=from:to:cc:subject:date:message-id;\n\tbh=S+/Dyg3oflwddJt+12tKs7UKZtb9zUQQomy/TfXctGI=;\n\tb=PrzvvtaHd47VWr+CODJBS68+xoFtxHFz1o6W0orMq2ITmCLXokRV+0xxFBAiB+/k2x\n\tRyvZ30mCs2Yk/2e9fzGH/c7xCWD1heD5ZFaP0xgC3ArGFLrqUWJNLK4NABhCKyxXYADQ\n\tPktMMejcXcadz+3qGQH9GrG+GnKXLc8kFnAl9ZU1/WZeXhVD8uBenVc/AnN9kxWlWwcn\n\ti6q4gAuufSoeVn0Q0UW8yFe8Wlj4FsQZdQ/EAEHr7TtNfaSU6HgTaBOuV6fxEJXy8gkN\n\tw4tmImLmOB8rHrFOLJahgDHT81rx+S7b7IoGAyYxSUQp3LuHCuGrxoNFJQp5bDEvq/M5\n\tfr3A==", "X-Google-DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed;\n\td=1e100.net; s=20161025;\n\th=x-gm-message-state:from:to:cc:subject:date:message-id;\n\tbh=S+/Dyg3oflwddJt+12tKs7UKZtb9zUQQomy/TfXctGI=;\n\tb=ER3EEzJtSRUZbf1VE9iR/pkw0QJ9gy4iDRE+tkpPeCTu36wCATfx5uHrB6MVSOC7GQ\n\ttweL+C62o/x2kMYS4GprC3/gtcUcWz9KOh/wJJd39Ud1q2TJX69k6BxUDJgKT7+dGt5q\n\tIr68k/8qu1ONv76DAmCH0vshPBJCUQSEJqpYOV0wgMHcY/L7vbkVFq4BYFvquYqF7//o\n\tONjgi0uIxyiOTD5n5AUNnw/yoSQJtHHESuZlo2zw0TFLcfsun2G8goc8DzCJyGhcsJBx\n\tRPjGwSZwAsG4pKfgl+blfW/j0BU+LQtuUYLTdvmjkNx8Maek2+DCsnnGHHtp7tJoKFI8\n\t8Bow==", "X-Gm-Message-State": "AHPjjUgjDhCU+F5saP3oCwNzEXz911OqVMZHvEZWObrwMXhsxMBMu5Mp\n\t2OaH/4TkwoO/1SEXaHE=", "X-Google-Smtp-Source": "ADKCNb65wexeb3GhhWSmI6teKZHKSNh9wiDlA/yjqrGT/exstgGCyF7SG+dnbBcuQk3TarCziZTr4A==", "X-Received": "by 10.55.215.67 with SMTP id m64mr11601544qki.315.1505042515075; \n\tSun, 10 Sep 2017 04:21:55 -0700 (PDT)", "From": "Rob Clark <robdclark@gmail.com>", "To": "U-Boot Mailing List <u-boot@lists.denx.de>", "Date": "Sun, 10 Sep 2017 07:21:17 -0400", "Message-Id": "<20170910112149.21358-1-robdclark@gmail.com>", "X-Mailer": "git-send-email 2.13.5", "Cc": "Heinrich Schuchardt <xypron.glpk@gmx.de>", "Subject": "[U-Boot] [PATCH v2 00/21] efi_loader: enough UEFI for standard\n\tdistro boot", "X-BeenThere": "u-boot@lists.denx.de", "X-Mailman-Version": "2.1.18", "Precedence": "list", "List-Id": "U-Boot discussion <u-boot.lists.denx.de>", "List-Unsubscribe": "<https://lists.denx.de/options/u-boot>,\n\t<mailto:u-boot-request@lists.denx.de?subject=unsubscribe>", "List-Archive": "<http://lists.denx.de/pipermail/u-boot/>", "List-Post": "<mailto:u-boot@lists.denx.de>", "List-Help": "<mailto:u-boot-request@lists.denx.de?subject=help>", "List-Subscribe": "<https://lists.denx.de/listinfo/u-boot>,\n\t<mailto:u-boot-request@lists.denx.de?subject=subscribe>", "MIME-Version": "1.0", "Content-Type": "text/plain; charset=\"utf-8\"", "Content-Transfer-Encoding": "base64", "Errors-To": "u-boot-bounces@lists.denx.de", "Sender": "\"U-Boot\" <u-boot-bounces@lists.denx.de>" }, "content": "This patchset fleshes out EFI_LOADER enough to support booting an\nupstream \\EFI\\BOOT\\bootaa64.efi (which then loads fallback.efi and\nthen eventually the per-distro shim.efi which loads the per-distro\ngrubaa64.efi) without resorting to hacks to hard-code u-boot to load\na particular distro's grub, or other hacks like setting up the\ndistro installation as live-media.\n\nBackground: with a normal UEFI implementation, the boot process is:\n\na) firmware (u-boot) looks at BootOrder and the BootXXXX variables\n to try to determine what to boot.\nb) the firmware will look at the BootXXXX variables (which contain\n an EFI_LOAD_OPTION \"struct\" in order specified by BootOrder, and\n will boot the first bootable option.\nc) The EFI_LOAD_OPTION specifies a device-path which identifies the\n device and file path of the .efi payload to exectute.\n\nThis is implemented with the 'bootefi bootmgr' command.\n\nIf there are no bootable options the firmware falls back to loading\n\\EFI\\BOOT\\bootaa64.efi (exact name varies depending on arch), which\nfor distro's using fallback/shim (which should include most modern\nlinux distros) then loads fallback.efi which uses the\nEFI_SIMPLE_FILE_SYSTEM_PROTCOL and EFI_FILE_PROTOCOL to search for\nany \\EFI\\*\\boot.csv, and will then set BootOrder and BootXXXX EFI\nvariables accordingly so that on next boot fallback.efi is not\nnecessary.\n\nThe last 5 patches are a bit unrelated, just pulling forward some of\nthe patches I have from the next patchset, to get Shell.efi and SCT\nworking.\n\nPeter Jones (2):\n part: extract MBR signature from partitions\n efi: add some more device path structures\n\nRob Clark (19):\n part: move efi_guid_t\n efi: add some missing __packed\n efi_loader: add device-path utils\n efi_loader: drop redundant efi_device_path_protocol\n efi_loader: flesh out device-path to text\n efi_loader: use proper device-paths for partitions\n efi_loader: use proper device-paths for net\n efi_loader: refactor boot device and loaded_image handling\n efi_loader: add file/filesys support\n efi_loader: support load_image() from a file-path\n efi_loader: make pool allocations cacheline aligned\n efi_loader: efi variable support\n efi_loader: add bootmgr\n efi_loader: file_path should be variable length\n efi_loader: set loaded image code/data type properly\n efi_loader: print GUIDs\n efi_loader: split out escape sequence based size query\n efi_loader: Correctly figure out size for vidconsole\n efi_loader: Some console improvements for vidconsole\n\n cmd/bootefi.c | 249 ++++++--------\n disk/part_dos.c | 12 +-\n disk/part_efi.c | 20 ++\n include/blk.h | 15 +\n include/config_distro_bootcmd.h | 5 +\n include/efi.h | 25 ++\n include/efi_api.h | 162 ++++++++-\n include/efi_loader.h | 62 +++-\n include/part.h | 3 +-\n include/part_efi.h | 4 -\n include/pe.h | 6 +\n lib/efi_loader/Makefile | 3 +-\n lib/efi_loader/efi_bootmgr.c | 169 ++++++++++\n lib/efi_loader/efi_boottime.c | 162 +++++++--\n lib/efi_loader/efi_console.c | 123 ++++---\n lib/efi_loader/efi_device_path.c | 563 +++++++++++++++++++++++++++++++\n lib/efi_loader/efi_device_path_to_text.c | 242 +++++++++----\n lib/efi_loader/efi_disk.c | 86 +++--\n lib/efi_loader/efi_file.c | 556 ++++++++++++++++++++++++++++++\n lib/efi_loader/efi_image_loader.c | 26 ++\n lib/efi_loader/efi_memory.c | 5 +-\n lib/efi_loader/efi_net.c | 24 +-\n lib/efi_loader/efi_runtime.c | 17 +-\n lib/efi_loader/efi_variable.c | 335 ++++++++++++++++++\n 24 files changed, 2520 insertions(+), 354 deletions(-)\n create mode 100644 lib/efi_loader/efi_bootmgr.c\n create mode 100644 lib/efi_loader/efi_device_path.c\n create mode 100644 lib/efi_loader/efi_file.c\n create mode 100644 lib/efi_loader/efi_variable.c" }