Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/patches/806661/?format=api
{ "id": 806661, "url": "http://patchwork.ozlabs.org/api/patches/806661/?format=api", "web_url": "http://patchwork.ozlabs.org/project/uboot/patch/20170828165430.6139-1-xypron.glpk@gmx.de/", "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": "<20170828165430.6139-1-xypron.glpk@gmx.de>", "list_archive_url": null, "date": "2017-08-28T16:54:30", "name": "[U-Boot,1/1] efi_loader: bootefi hello should use loadaddr", "commit_ref": "51c533fdce75fbdec7de28a05a675a553d209bcb", "pull_url": null, "state": "accepted", "archived": false, "hash": "412ff2fb4667adf1bec8789052f7aa9fe67d7952", "submitter": { "id": 61270, "url": "http://patchwork.ozlabs.org/api/people/61270/?format=api", "name": "Heinrich Schuchardt", "email": "xypron.glpk@gmx.de" }, "delegate": null, "mbox": "http://patchwork.ozlabs.org/project/uboot/patch/20170828165430.6139-1-xypron.glpk@gmx.de/mbox/", "series": [ { "id": 215, "url": "http://patchwork.ozlabs.org/api/series/215/?format=api", "web_url": "http://patchwork.ozlabs.org/project/uboot/list/?series=215", "date": "2017-08-28T16:54:30", "name": "[U-Boot,1/1] efi_loader: bootefi hello should use loadaddr", "version": 1, "mbox": "http://patchwork.ozlabs.org/series/215/mbox/" } ], "comments": "http://patchwork.ozlabs.org/api/patches/806661/comments/", "check": "pending", "checks": "http://patchwork.ozlabs.org/api/patches/806661/checks/", "tags": {}, "related": [], "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>)", "Received": [ "from lists.denx.de (dione.denx.de [81.169.180.215])\n\tby ozlabs.org (Postfix) with ESMTP id 3xgyZc5ZMZz9s7m\n\tfor <incoming@patchwork.ozlabs.org>;\n\tTue, 29 Aug 2017 02:55:52 +1000 (AEST)", "by lists.denx.de (Postfix, from userid 105)\n\tid 84BDCC2256B; Mon, 28 Aug 2017 16:55:15 +0000 (UTC)", "from lists.denx.de (localhost [IPv6:::1])\n\tby lists.denx.de (Postfix) with ESMTP id 732DDC22572;\n\tMon, 28 Aug 2017 16:55:12 +0000 (UTC)", "by lists.denx.de (Postfix, from userid 105)\n\tid DFD65C2257A; Mon, 28 Aug 2017 16:55:02 +0000 (UTC)", "from mout.gmx.net (mout.gmx.net [212.227.15.19])\n\tby lists.denx.de (Postfix) with ESMTPS id A412DC2256F\n\tfor <u-boot@lists.denx.de>; Mon, 28 Aug 2017 16:55:00 +0000 (UTC)", "from workstation4.fritz.box ([84.118.154.110]) by mail.gmx.com\n\t(mrgmx003 [212.227.17.184]) with ESMTPSA (Nemesis) id\n\t0LeMWL-1dAL0B1EMv-00qA6G; Mon, 28 Aug 2017 18:54:58 +0200" ], "X-Spam-Checker-Version": "SpamAssassin 3.4.0 (2014-02-07) on lists.denx.de", "X-Spam-Level": "", "X-Spam-Status": "No, score=-0.7 required=5.0 tests=FREEMAIL_FROM,\n\tRCVD_IN_DNSWL_LOW,\n\tRCVD_IN_MSPIKE_H2 autolearn=unavailable autolearn_force=no\n\tversion=3.4.0", "From": "Heinrich Schuchardt <xypron.glpk@gmx.de>", "To": "Alexander Graf <agraf@suse.de>", "Date": "Mon, 28 Aug 2017 18:54:30 +0200", "Message-Id": "<20170828165430.6139-1-xypron.glpk@gmx.de>", "X-Mailer": "git-send-email 2.11.0", "X-Provags-ID": "V03:K0:ZRzV+PoUp2En+pBWubgA/gr8wdZ0P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fk5h85yUnMZ5ZnMEuMQVupgwu\n\t3//VsJkOUS6pXP1rti8cXOBMo7crg==", "Cc": "u-boot@lists.denx.de, Heinrich Schuchardt <xypron.glpk@gmx.de>", "Subject": "[U-Boot] [PATCH 1/1] efi_loader: bootefi hello should use loadaddr", "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": "Command 'bootefi hello' currently uses CONFIG_SYS_LOAD_ADDR\nas loading address.\n\nqemu machines have by default 128 MiB RAM.\nCONFIG_SYS_LOAD_ADDR for x86 is 0x20000000 (512 MiB).\nThis causes 'bootefi hello' to fail.\n\nWe should use the environment variable loadaddr if available.\nIt defaults to 0x1000000 (16 MiB) on qemu_x86.\n\nSigned-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>\n---\n cmd/bootefi.c | 6 +++++-\n 1 file changed, 5 insertions(+), 1 deletion(-)", "diff": "diff --git a/cmd/bootefi.c b/cmd/bootefi.c\nindex 47771f87cc..a3768158a2 100644\n--- a/cmd/bootefi.c\n+++ b/cmd/bootefi.c\n@@ -300,7 +300,11 @@ static int do_bootefi(cmd_tbl_t *cmdtp, int flag, int argc, char * const argv[])\n \tif (!strcmp(argv[1], \"hello\")) {\n \t\tulong size = __efi_hello_world_end - __efi_hello_world_begin;\n \n-\t\taddr = CONFIG_SYS_LOAD_ADDR;\n+\t\tsaddr = env_get(\"loadaddr\");\n+\t\tif (saddr)\n+\t\t\taddr = simple_strtoul(saddr, NULL, 16);\n+\t\telse\n+\t\t\taddr = CONFIG_SYS_LOAD_ADDR;\n \t\tmemcpy((char *)addr, __efi_hello_world_begin, size);\n \t} else\n #endif\n", "prefixes": [ "U-Boot", "1/1" ] }