{"id":814727,"url":"http://patchwork.ozlabs.org/api/patches/814727/?format=json","web_url":"http://patchwork.ozlabs.org/project/uboot/patch/20170917225927.117917-11-sjg@chromium.org/","project":{"id":18,"url":"http://patchwork.ozlabs.org/api/projects/18/?format=json","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":"<20170917225927.117917-11-sjg@chromium.org>","list_archive_url":null,"date":"2017-09-17T22:59:21","name":"[U-Boot,10/16] efi: sandbox: Add distroboot support","commit_ref":null,"pull_url":null,"state":"superseded","archived":false,"hash":"7ff9c9efc8f1cc5593bec6168a025c827e6de763","submitter":{"id":6170,"url":"http://patchwork.ozlabs.org/api/people/6170/?format=json","name":"Simon Glass","email":"sjg@chromium.org"},"delegate":{"id":3400,"url":"http://patchwork.ozlabs.org/api/users/3400/?format=json","username":"agraf","first_name":"Alexander","last_name":"Graf","email":"agraf@suse.de"},"mbox":"http://patchwork.ozlabs.org/project/uboot/patch/20170917225927.117917-11-sjg@chromium.org/mbox/","series":[{"id":3549,"url":"http://patchwork.ozlabs.org/api/series/3549/?format=json","web_url":"http://patchwork.ozlabs.org/project/uboot/list/?series=3549","date":"2017-09-17T22:59:11","name":"efi: Enable basic sandbox support for EFI loader","version":1,"mbox":"http://patchwork.ozlabs.org/series/3549/mbox/"}],"comments":"http://patchwork.ozlabs.org/api/patches/814727/comments/","check":"pending","checks":"http://patchwork.ozlabs.org/api/patches/814727/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>)","ozlabs.org;\n\tdkim=fail reason=\"signature verification failed\" (2048-bit key;\n\tunprotected) header.d=google.com header.i=@google.com\n\theader.b=\"aCohUl8O\"; dkim-atps=neutral"],"Received":["from lists.denx.de (dione.denx.de [81.169.180.215])\n\tby ozlabs.org (Postfix) with ESMTP id 3xwRNm5WVrz9s7F\n\tfor <incoming@patchwork.ozlabs.org>;\n\tMon, 18 Sep 2017 10:15:36 +1000 (AEST)","by lists.denx.de (Postfix, from userid 105)\n\tid 7631CC21E93; Mon, 18 Sep 2017 00:15:35 +0000 (UTC)","from lists.denx.de (localhost [IPv6:::1])\n\tby lists.denx.de (Postfix) with ESMTP id 3FCC0C21EEE;\n\tSun, 17 Sep 2017 23:02:07 +0000 (UTC)","by lists.denx.de (Postfix, from userid 105)\n\tid 5820AC21EE3; Sun, 17 Sep 2017 23:02:05 +0000 (UTC)","from mail-io0-f170.google.com (mail-io0-f170.google.com\n\t[209.85.223.170])\n\tby lists.denx.de (Postfix) with ESMTPS id E86EFC21DF3\n\tfor <u-boot@lists.denx.de>; Sun, 17 Sep 2017 22:59:41 +0000 (UTC)","by mail-io0-f170.google.com with SMTP id q11so14804647ioe.10\n\tfor <u-boot@lists.denx.de>; Sun, 17 Sep 2017 15:59:41 -0700 (PDT)","from kiwi.bld.corp.google.com ([100.101.164.89])\n\tby smtp.gmail.com with ESMTPSA id\n\tt188sm9646789oif.19.2017.09.17.15.59.38\n\t(version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128);\n\tSun, 17 Sep 2017 15:59:39 -0700 (PDT)","by kiwi.bld.corp.google.com (Postfix, from userid 121222)\n\tid 8DDF91417F3; Sun, 17 Sep 2017 16:59:37 -0600 (MDT)"],"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=RCVD_IN_DNSWL_NONE,\n\tRCVD_IN_MSPIKE_H2,\n\tT_DKIM_INVALID autolearn=unavailable autolearn_force=no\n\tversion=3.4.0","DKIM-Signature":"v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com;\n\ts=20161025; \n\th=sender:from:to:cc:subject:date:message-id:in-reply-to:references;\n\tbh=gnGJ3utV04nVfkTDi9EeAQnYhunipcsgmCHtALumIdY=;\n\tb=aCohUl8Ohzpa6FqwWNuQCr/UmiGApXq2q2gqSjNElF9jOsnwFhr3Oo+A9PHVzTzF8R\n\tw7qBqhhp4Wa8bbYkhLg+xfxEh8d8S55yIOrMcdLtkYhqXMV1c56ITl4si3JuCT2UBJ8d\n\tnt1J98wzh/idikovKt8UDlFRSDpy2p4g4saM2zQkbToOeAMNVPrtIPlidrKBwWIOz7VJ\n\tGi/Rane+EGzfEN6+rGmAQtbeyZQvStvD0c1FsLkMjqIkyYN37VAuyJsX+XR2UY4kYVHL\n\tcKkKZlY225amF3y3S4lJBLJk9Xb2YjVh0Evn7+2IOFUvqCST0t+A5F9rGyhPv8vj9/AE\n\ta3YA==","X-Google-DKIM-Signature":"v=1; a=rsa-sha256; c=relaxed/relaxed;\n\td=1e100.net; s=20161025;\n\th=x-gm-message-state:sender:from:to:cc:subject:date:message-id\n\t:in-reply-to:references;\n\tbh=gnGJ3utV04nVfkTDi9EeAQnYhunipcsgmCHtALumIdY=;\n\tb=JZ6ApHVyu2GogGQOv3aSXR4nMUficwE89Sgx7Uv5uJdFs6UhEszYNit+kzkHr1pqmh\n\tdLzsqlyPgZRkDW55+qAXOo2yrwh6jtEVg6vUbrxLLYwAx7cwZ6zFZAjRpQ3hb21QdTbx\n\tFgAFrg1vBCA+ddYsMWoLTXUCzBhJsJOJCxffEXY1l2iJrG/Eu1HYEfmb2vs6aCXO7oPS\n\tVUQ9q14g3YlRa51tBEIGzTp5PbpY5IVZ6rFe7wqaKBwMXtyWXafa/F51EqiOvj3rTGzb\n\t3vBgViQe9681WJn9WBJe7R/THKZ3K5m7SQEXnX5iLf9wCOhlMnLZSXNoZg4fkqdeKi/7\n\tBGLQ==","X-Gm-Message-State":"AHPjjUjTHuoQT1kyAWaLh1Hr2nXSaQah+SqDhf2caMl0dWPr8L7sAsIt\n\tABzqPnqo6F2Xpd8s","X-Google-Smtp-Source":"AOwi7QDYK+kwiUJhoL+tTPSklzZ0KuDIT8S9S57xit+9v83ts1zXRs8O2sNIK83KdTMrQjUOj6/aaQ==","X-Received":"by 10.202.244.134 with SMTP id\n\ts128mr31918999oih.280.1505689180605; \n\tSun, 17 Sep 2017 15:59:40 -0700 (PDT)","From":"Simon Glass <sjg@chromium.org>","To":"U-Boot Mailing List <u-boot@lists.denx.de>","Date":"Sun, 17 Sep 2017 16:59:21 -0600","Message-Id":"<20170917225927.117917-11-sjg@chromium.org>","X-Mailer":"git-send-email 2.14.1.690.gbb1197296e-goog","In-Reply-To":"<20170917225927.117917-1-sjg@chromium.org>","References":"<20170917225927.117917-1-sjg@chromium.org>","Cc":"Andy Shevchenko <andriy.shevchenko@linux.intel.com>,\n\tHeinrich Schuchardt <xypron.glpk@gmx.de>","Subject":"[U-Boot] [PATCH 10/16] efi: sandbox: Add distroboot support","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":"With sandbox these values depend on the host system. Let's assume that it\nis x86_64 for now.\n\nSigned-off-by: Simon Glass <sjg@chromium.org>\n---\n\n include/config_distro_bootcmd.h | 2 +-\n 1 file changed, 1 insertion(+), 1 deletion(-)","diff":"diff --git a/include/config_distro_bootcmd.h b/include/config_distro_bootcmd.h\nindex 9ed6b9892c..11cc771c5d 100644\n--- a/include/config_distro_bootcmd.h\n+++ b/include/config_distro_bootcmd.h\n@@ -233,7 +233,7 @@\n #elif defined(CONFIG_ARM)\n #define BOOTENV_EFI_PXE_ARCH \"0xa\"\n #define BOOTENV_EFI_PXE_VCI \"PXEClient:Arch:00010:UNDI:003000\"\n-#elif defined(CONFIG_X86)\n+#elif defined(CONFIG_X86) || defined(CONFIG_SANDBOX)\n /* Always assume we're running 64bit */\n #define BOOTENV_EFI_PXE_ARCH \"0x7\"\n #define BOOTENV_EFI_PXE_VCI \"PXEClient:Arch:00007:UNDI:003000\"\n","prefixes":["U-Boot","10/16"]}