[{"id":1737347,"web_url":"http://patchwork.ozlabs.org/comment/1737347/","msgid":"<CAPnjgZ01=zc=sMUywbeUm-=Bzfi+7zqDYx82nLVeU3AZQ1kHMQ@mail.gmail.com>","list_archive_url":null,"date":"2017-08-03T15:24:07","subject":"Re: [U-Boot] [PATCH 2/2] sandbox: Convert SANDBOX_BITS_PER_LONG to\n\tKconfig","submitter":{"id":6170,"url":"http://patchwork.ozlabs.org/api/people/6170/","name":"Simon Glass","email":"sjg@chromium.org"},"content":"Hi Bin,\n\nOn 1 August 2017 at 17:33, Bin Meng <bmeng.cn@gmail.com> wrote:\n> Convert SANDBOX_BITS_PER_LONG to Kconfig and assign it a correct\n> number depending on which host we are going to build and run.\n>\n> Signed-off-by: Bin Meng <bmeng.cn@gmail.com>\n> ---\n>\n>  arch/sandbox/Kconfig         | 5 +++++\n>  board/sandbox/README.sandbox | 7 +++----\n>  scripts/config_whitelist.txt | 1 -\n>  3 files changed, 8 insertions(+), 5 deletions(-)\n\nReviewed-by: Simon Glass <sjg@chromium.org>\n\nIs it OK to build 64-bit sandbox on a 32-bit machine? Does that actually work?\n\nIf then I think we need a 3-way setting like:\n\n- 32-bit\n- 64-bit\n- native (i.e. whatever the host is)\n\n- Simon","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=\"kAtZnXyI\"; \n\tdkim=fail reason=\"signature verification failed\" (1024-bit key;\n\tunprotected) header.d=chromium.org header.i=@chromium.org\n\theader.b=\"bneEywkB\"; dkim-atps=neutral"],"Received":["from lists.denx.de (dione.denx.de [81.169.180.215])\n\tby ozlabs.org (Postfix) with ESMTP id 3xNYpD4HLrz9s82\n\tfor <incoming@patchwork.ozlabs.org>;\n\tFri,  4 Aug 2017 01:27:32 +1000 (AEST)","by lists.denx.de (Postfix, from userid 105)\n\tid 3F424C21E1C; Thu,  3 Aug 2017 15:25:44 +0000 (UTC)","from lists.denx.de (localhost [IPv6:::1])\n\tby lists.denx.de (Postfix) with ESMTP id 66B0CC21DDF;\n\tThu,  3 Aug 2017 15:24:50 +0000 (UTC)","by lists.denx.de (Postfix, from userid 105)\n\tid 5C067C21D8D; Thu,  3 Aug 2017 15:24:35 +0000 (UTC)","from mail-vk0-f42.google.com (mail-vk0-f42.google.com\n\t[209.85.213.42])\n\tby lists.denx.de (Postfix) with ESMTPS id 536E7C21E11\n\tfor <u-boot@lists.denx.de>; Thu,  3 Aug 2017 15:24:29 +0000 (UTC)","by mail-vk0-f42.google.com with SMTP id r199so6351218vke.4\n\tfor <u-boot@lists.denx.de>; Thu, 03 Aug 2017 08:24:29 -0700 (PDT)","by 10.176.85.207 with HTTP; Thu, 3 Aug 2017 08:24:07 -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=RCVD_IN_DNSWL_NONE,\n\tRCVD_IN_MSPIKE_H3, RCVD_IN_MSPIKE_WL,\n\tT_DKIM_INVALID autolearn=unavailable\n\tautolearn_force=no version=3.4.0","DKIM-Signature":["v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com;\n\ts=20161025; \n\th=mime-version:sender:in-reply-to:references:from:date:message-id\n\t:subject:to:cc;\n\tbh=767fKSj5D/EN+9d7BKLnikRDIK9cEGZku/v85Xxaxz0=;\n\tb=kAtZnXyI9XqXKS2gqc0rmvc7De1EmlvveTIt0pqsLQuKaqwhs2M0duqNLQO6xIJtDb\n\tMSFoRb6PEuMYCRwD5m0MEerjoLrsx7jLHwfSZeF4PFeYw2pe7ywtlj0irzv942yIwJ8e\n\t4pSux4ji9ZNdtV2yyxFu7xOHrcxktfplMdukU5cxFeZoh04x+tCiK28Bhib+HdyaXR55\n\ty0YZwnFR1x7gebwuJKfGtbDgOqYUzVniF5Kam6gHIlqtRJdnyQgzuBJ8shZ3ZVX+kALh\n\tiEHolv2GDd0PO0p7jCo0SNDcOwYxMixaiKhje4R2Jt6pXMntmEcG0foEPIg1f/gaPMgW\n\tjbNg==","v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org;\n\ts=google; \n\th=mime-version:sender:in-reply-to:references:from:date:message-id\n\t:subject:to:cc;\n\tbh=767fKSj5D/EN+9d7BKLnikRDIK9cEGZku/v85Xxaxz0=;\n\tb=bneEywkBlvRDstwrH0XVC6PXm/mjVEsBnPE1GpzkTotaAcZOX2VmDXB+dFF+bk2B/p\n\tKj9luH+b8DJGctj1YHgKfdWd4drbp+WOEMXrGU+1//vXksxNRw2g0LJlk1cxhTmg8Jvr\n\tJywEyXNGSqO11HKWpBbseaswT7J677tmCvk80="],"X-Google-DKIM-Signature":"v=1; a=rsa-sha256; c=relaxed/relaxed;\n\td=1e100.net; s=20161025;\n\th=x-gm-message-state:mime-version:sender:in-reply-to:references:from\n\t:date:message-id:subject:to:cc;\n\tbh=767fKSj5D/EN+9d7BKLnikRDIK9cEGZku/v85Xxaxz0=;\n\tb=j3YlQdzk/9BeZqzqHA1bm0io0CWTL9LdTsGWi6SDfBDadvCnW/RtS4wS3cuZp6wqfC\n\tQLNR/GrCCH145V1j3Wz9cajjj23nj3qdBaA/Cgr3XgVSnGQU8dPeiuIRtK6WKihGXiXH\n\t6NX3/YlqDcR42BYcJoxlzHoD7QraLyEfiiIV9qC4L/wx7exDcXIe1C179nHPugKJzmot\n\thtva9aeUcfiguPwByqowoynJE9JsnqW0ANqT4pel0TRFc8gln7xQHezVmlLUs4uQQTDS\n\tnZtMcu6l1um4FKckA94vkP6KeHNKzXN3UqHMZ4G9l6IwFWCV1G4Zq8Kf64JCCdWmBoUy\n\tPeBQ==","X-Gm-Message-State":"AIVw1109GnueqYZZsn0Q+Djr9vf4k9p4sXl15CgLmLZohi79svhLLC5Y\n\tZ5O+gASLXFFreQypzndLZEGV0/jIO85i","X-Received":"by 10.31.189.133 with SMTP id n127mr994186vkf.45.1501773868104; \n\tThu, 03 Aug 2017 08:24:28 -0700 (PDT)","MIME-Version":"1.0","In-Reply-To":"<1501630414-4009-2-git-send-email-bmeng.cn@gmail.com>","References":"<1501630414-4009-1-git-send-email-bmeng.cn@gmail.com>\n\t<1501630414-4009-2-git-send-email-bmeng.cn@gmail.com>","From":"Simon Glass <sjg@chromium.org>","Date":"Thu, 3 Aug 2017 09:24:07 -0600","X-Google-Sender-Auth":"VbAl7-O3hcj4xjO_OZXGpeFz3sE","Message-ID":"<CAPnjgZ01=zc=sMUywbeUm-=Bzfi+7zqDYx82nLVeU3AZQ1kHMQ@mail.gmail.com>","To":"Bin Meng <bmeng.cn@gmail.com>","Cc":"U-Boot Mailing List <u-boot@lists.denx.de>","Subject":"Re: [U-Boot] [PATCH 2/2] sandbox: Convert SANDBOX_BITS_PER_LONG to\n\tKconfig","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>","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>"}},{"id":1737939,"web_url":"http://patchwork.ozlabs.org/comment/1737939/","msgid":"<CAEUhbmV5XW6XwZzZJbuRzg8Eku+YdepfAf2GtQw_3SP5A9cHEA@mail.gmail.com>","list_archive_url":null,"date":"2017-08-04T00:17:00","subject":"Re: [U-Boot] [PATCH 2/2] sandbox: Convert SANDBOX_BITS_PER_LONG to\n\tKconfig","submitter":{"id":64981,"url":"http://patchwork.ozlabs.org/api/people/64981/","name":"Bin Meng","email":"bmeng.cn@gmail.com"},"content":"Hi Simon,\n\nOn Thu, Aug 3, 2017 at 11:24 PM, Simon Glass <sjg@chromium.org> wrote:\n> Hi Bin,\n>\n> On 1 August 2017 at 17:33, Bin Meng <bmeng.cn@gmail.com> wrote:\n>> Convert SANDBOX_BITS_PER_LONG to Kconfig and assign it a correct\n>> number depending on which host we are going to build and run.\n>>\n>> Signed-off-by: Bin Meng <bmeng.cn@gmail.com>\n>> ---\n>>\n>>  arch/sandbox/Kconfig         | 5 +++++\n>>  board/sandbox/README.sandbox | 7 +++----\n>>  scripts/config_whitelist.txt | 1 -\n>>  3 files changed, 8 insertions(+), 5 deletions(-)\n>\n> Reviewed-by: Simon Glass <sjg@chromium.org>\n>\n> Is it OK to build 64-bit sandbox on a 32-bit machine? Does that actually work?\n>\n> If then I think we need a 3-way setting like:\n>\n> - 32-bit\n> - 64-bit\n> - native (i.e. whatever the host is)\n\nThat means cross-compiling sandbox. So far this is not working. I will\ntake a look.\n\nRegards,\nBin","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=\"Sfpp3DqM\"; dkim-atps=neutral"],"Received":["from lists.denx.de (dione.denx.de [81.169.180.215])\n\tby ozlabs.org (Postfix) with ESMTP id 3xNnYM0Xtpz9s7v\n\tfor <incoming@patchwork.ozlabs.org>;\n\tFri,  4 Aug 2017 10:17:09 +1000 (AEST)","by lists.denx.de (Postfix, from userid 105)\n\tid E115FC21D7A; Fri,  4 Aug 2017 00:17:05 +0000 (UTC)","from lists.denx.de (localhost [IPv6:::1])\n\tby lists.denx.de (Postfix) with ESMTP id 37E79C21C35;\n\tFri,  4 Aug 2017 00:17:03 +0000 (UTC)","by lists.denx.de (Postfix, from userid 105)\n\tid A859DC21C35; Fri,  4 Aug 2017 00:17:01 +0000 (UTC)","from mail-wr0-f195.google.com (mail-wr0-f195.google.com\n\t[209.85.128.195])\n\tby lists.denx.de (Postfix) with ESMTPS id 3664CC21C2B\n\tfor <u-boot@lists.denx.de>; Fri,  4 Aug 2017 00:17:01 +0000 (UTC)","by mail-wr0-f195.google.com with SMTP id y67so1982511wrb.3\n\tfor <u-boot@lists.denx.de>; Thu, 03 Aug 2017 17:17:01 -0700 (PDT)","by 10.223.135.121 with HTTP; Thu, 3 Aug 2017 17:17:00 -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_H2,\n\tT_DKIM_INVALID autolearn=unavailable\n\tautolearn_force=no version=3.4.0","DKIM-Signature":"v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025;\n\th=mime-version:in-reply-to:references:from:date:message-id:subject:to\n\t:cc; bh=GshSaD0GeqIHfisXw5QyqST5QIXkwwLdr8bAH1JKFE4=;\n\tb=Sfpp3DqM9a8I2P4jSc8GEY6BGmNykZ4kLqeN3smTjsMCLs2D9056UIAaijuJ6VC/RL\n\t/2jrV0//bMewRianAamI2hkkyK8Ky+sOmwWaEghshx/xq4mIpJAok6Nk2LtAYtucmrDI\n\tqb4mBq9WwA9htU6FrSpX9yhXok2URH0TwY5rBZq3/SLCk3zlhYMsspdAPF6GTiytNhNh\n\t02xYemLH9u0IdDT4chJ+72L0MbywRh8hJjReWck5pObjfAxQpI+nvERF8EhCZUZB8LOh\n\tu5j5KpOVO6Yh8KZx8AMNqnzWgXmNtJK7BEstCP+U8JCtaY81FJxdilS6Nquoy8trAKrq\n\t4jQQ==","X-Google-DKIM-Signature":"v=1; a=rsa-sha256; c=relaxed/relaxed;\n\td=1e100.net; s=20161025;\n\th=x-gm-message-state:mime-version:in-reply-to:references:from:date\n\t:message-id:subject:to:cc;\n\tbh=GshSaD0GeqIHfisXw5QyqST5QIXkwwLdr8bAH1JKFE4=;\n\tb=ibtieuuejbMVzo9C1+hIONqkx8DD5Qo0aY7MuB22C9X+MfctD+IlMZIumAyTVXg2OF\n\t2IPyWG2zUIbiDvS5Ba+t2zvxZsQBHpwtQ7+5gR6ODKd7cWnsbEVFq0hgSDAkjQb0XlkL\n\thviEyKN3dPaz8FeujjaLYbYckCzQRL0bmc2QgV7JgL/oLy302Z2e7uTioH+gPwFrnJeG\n\tXiEYfE/0/zI0O+1uZLhPYlIZk2S86NM69LP0gy9Nu6OpaLKHkPKY9aMgBK1qdzgXA3RQ\n\tzrXPNt5E/jSzNkrjsqVI0ev7CcXl+jjXskg3WpoIu9myGP68iG+8BOIlu/Uytp+IbV3l\n\tcFjw==","X-Gm-Message-State":"AIVw111KemgsA+uX6g/tNjcAPf0+dGfNdeAhpSOEkD+wVkOOXJ9Wpurb\n\tfH+zYeCdhUJU0cMQAth7ntIasWGTdw==","X-Received":"by 10.223.154.105 with SMTP id z96mr306900wrb.73.1501805820828; \n\tThu, 03 Aug 2017 17:17:00 -0700 (PDT)","MIME-Version":"1.0","In-Reply-To":"<CAPnjgZ01=zc=sMUywbeUm-=Bzfi+7zqDYx82nLVeU3AZQ1kHMQ@mail.gmail.com>","References":"<1501630414-4009-1-git-send-email-bmeng.cn@gmail.com>\n\t<1501630414-4009-2-git-send-email-bmeng.cn@gmail.com>\n\t<CAPnjgZ01=zc=sMUywbeUm-=Bzfi+7zqDYx82nLVeU3AZQ1kHMQ@mail.gmail.com>","From":"Bin Meng <bmeng.cn@gmail.com>","Date":"Fri, 4 Aug 2017 08:17:00 +0800","Message-ID":"<CAEUhbmV5XW6XwZzZJbuRzg8Eku+YdepfAf2GtQw_3SP5A9cHEA@mail.gmail.com>","To":"Simon Glass <sjg@chromium.org>","Cc":"U-Boot Mailing List <u-boot@lists.denx.de>","Subject":"Re: [U-Boot] [PATCH 2/2] sandbox: Convert SANDBOX_BITS_PER_LONG to\n\tKconfig","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>","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>"}},{"id":1739484,"web_url":"http://patchwork.ozlabs.org/comment/1739484/","msgid":"<CAPnjgZ3mziJtLsLiZLJq50Nt52xjgBpbVv=a_U0Rr2Nja7oLGw@mail.gmail.com>","list_archive_url":null,"date":"2017-08-06T05:16:44","subject":"Re: [U-Boot] [PATCH 2/2] sandbox: Convert SANDBOX_BITS_PER_LONG to\n\tKconfig","submitter":{"id":6170,"url":"http://patchwork.ozlabs.org/api/people/6170/","name":"Simon Glass","email":"sjg@chromium.org"},"content":"Hi Bin,\n\nOn 3 August 2017 at 18:17, Bin Meng <bmeng.cn@gmail.com> wrote:\n> Hi Simon,\n>\n> On Thu, Aug 3, 2017 at 11:24 PM, Simon Glass <sjg@chromium.org> wrote:\n>> Hi Bin,\n>>\n>> On 1 August 2017 at 17:33, Bin Meng <bmeng.cn@gmail.com> wrote:\n>>> Convert SANDBOX_BITS_PER_LONG to Kconfig and assign it a correct\n>>> number depending on which host we are going to build and run.\n>>>\n>>> Signed-off-by: Bin Meng <bmeng.cn@gmail.com>\n>>> ---\n>>>\n>>>  arch/sandbox/Kconfig         | 5 +++++\n>>>  board/sandbox/README.sandbox | 7 +++----\n>>>  scripts/config_whitelist.txt | 1 -\n>>>  3 files changed, 8 insertions(+), 5 deletions(-)\n>>\n>> Reviewed-by: Simon Glass <sjg@chromium.org>\n>>\n>> Is it OK to build 64-bit sandbox on a 32-bit machine? Does that actually work?\n>>\n>> If then I think we need a 3-way setting like:\n>>\n>> - 32-bit\n>> - 64-bit\n>> - native (i.e. whatever the host is)\n>\n> That means cross-compiling sandbox. So far this is not working. I will\n> take a look.\n\nOr perhaps we just require it to use the bit size of the host? Does\ncompiling 64-bit U-Boot on a 32-bit machine actually work?\n\nRegards,\nSimon","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=\"dZlMma7Z\"; \n\tdkim=fail reason=\"signature verification failed\" (1024-bit key;\n\tunprotected) header.d=chromium.org header.i=@chromium.org\n\theader.b=\"BZHJNglu\"; dkim-atps=neutral"],"Received":["from lists.denx.de (dione.denx.de [81.169.180.215])\n\tby ozlabs.org (Postfix) with ESMTP id 3xQ8NQ2Vmhz9s9Y\n\tfor <incoming@patchwork.ozlabs.org>;\n\tSun,  6 Aug 2017 15:29:10 +1000 (AEST)","by lists.denx.de (Postfix, from userid 105)\n\tid 24505C22003; Sun,  6 Aug 2017 05:19:49 +0000 (UTC)","from lists.denx.de (localhost [IPv6:::1])\n\tby lists.denx.de (Postfix) with ESMTP id A1879C21F28;\n\tSun,  6 Aug 2017 05:18:48 +0000 (UTC)","by lists.denx.de (Postfix, from userid 105)\n\tid 10D89C21F09; Sun,  6 Aug 2017 05:17:09 +0000 (UTC)","from mail-ua0-f172.google.com (mail-ua0-f172.google.com\n\t[209.85.217.172])\n\tby lists.denx.de (Postfix) with ESMTPS id BF1B3C21ED5\n\tfor <u-boot@lists.denx.de>; Sun,  6 Aug 2017 05:17:05 +0000 (UTC)","by mail-ua0-f172.google.com with SMTP id w45so20246426uac.5\n\tfor <u-boot@lists.denx.de>; Sat, 05 Aug 2017 22:17:05 -0700 (PDT)","by 10.176.85.207 with HTTP; Sat, 5 Aug 2017 22:16:44 -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=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=mime-version:sender:in-reply-to:references:from:date:message-id\n\t:subject:to:cc;\n\tbh=FG1vvQeMKAlKxzgRC9MuE5soYVkRjr5hXaH+zUFxtbI=;\n\tb=dZlMma7ZB9GmToAtCU4maxNrJGdAJoEX6Dg9Rb4oTxr13gALZeTfKJi+byBgEBc/db\n\tPnhGnsu82d4ksEGAStcX42DP0x1prkc6gyoj3nPOLIjXZGFrjb8FW9LsNrvGsKbYL6Ud\n\t3kSzoePHGw9ufVjUl4eT2A+rFzwrq/Kjy79NQgn2eXH35MYtBlhdoqmOziPk4Zinr0PH\n\tezSvddjlCMW/pY3N7HJc+UmS27e/1lmuQBzYgPWhfh4EtM5Wcz9eEYVHdPSmsAKR7tN9\n\tmL+6iEv8eCwbS5zzrIVz7ORUHTXxM4CPifyvNe4IQ7Y2NrDE0/R62PPaVACJwzbgCKxd\n\tP/6w==","v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org;\n\ts=google; \n\th=mime-version:sender:in-reply-to:references:from:date:message-id\n\t:subject:to:cc;\n\tbh=FG1vvQeMKAlKxzgRC9MuE5soYVkRjr5hXaH+zUFxtbI=;\n\tb=BZHJNglu8npYHJRoJ28I5ovwGV5gB7VCacg5bfTeIA7QUw12Zn8VhuuvD/UYRkOb+9\n\t6/eITHd+zhO00quIrUSFkDnkT+CMe4fFgYAwBFD2Gl+4tN1dkAD80sCrrItO2iSGfi4K\n\tP37SpaiZGW/wa8OuoHiHyHPEwHMaPA8lLLwe4="],"X-Google-DKIM-Signature":"v=1; a=rsa-sha256; c=relaxed/relaxed;\n\td=1e100.net; s=20161025;\n\th=x-gm-message-state:mime-version:sender:in-reply-to:references:from\n\t:date:message-id:subject:to:cc;\n\tbh=FG1vvQeMKAlKxzgRC9MuE5soYVkRjr5hXaH+zUFxtbI=;\n\tb=OJdAaliEkxYwlZmMXHkojYUhgKy5HEoF3gFbtJ+mnnlD8jzf2QG/Cdmr424yOoqKag\n\tr0h96rdCNan01TD03hYGR2nESe+GVJ9l617/HkX5YW95Nl4ahCylVC98XV01gEgWczOA\n\t+PHwweqAubS8zQIeIpSKu/Ag/8xnsz63V7i5WNt85ne3tsGDS1KmzbpSl5c71pk/9Rvu\n\tz0uKYY/zADkNXRhe9XG+WIdtQOCibSYlch5cKDPjpvtJ24znx4qE9N8hlBVRLed2IEgi\n\tbBy+wALAVYLBxI43YnvXoeR7ysD8Gp3llB9ZS1qkv3hlpl55pBF4LcVIiITcax/zn7DC\n\ta0xQ==","X-Gm-Message-State":"AHYfb5grk8HVBiOTz3OtAV6/oJPgsuZtMItPPHNHBOHt/7gB3zSYsNMM\n\t7+aINhxAY4e5/Fjv3llWxw7nJTCnN6Kl","X-Received":"by 10.176.93.203 with SMTP id l11mr4846148uag.28.1501996624611; \n\tSat, 05 Aug 2017 22:17:04 -0700 (PDT)","MIME-Version":"1.0","In-Reply-To":"<CAEUhbmV5XW6XwZzZJbuRzg8Eku+YdepfAf2GtQw_3SP5A9cHEA@mail.gmail.com>","References":"<1501630414-4009-1-git-send-email-bmeng.cn@gmail.com>\n\t<1501630414-4009-2-git-send-email-bmeng.cn@gmail.com>\n\t<CAPnjgZ01=zc=sMUywbeUm-=Bzfi+7zqDYx82nLVeU3AZQ1kHMQ@mail.gmail.com>\n\t<CAEUhbmV5XW6XwZzZJbuRzg8Eku+YdepfAf2GtQw_3SP5A9cHEA@mail.gmail.com>","From":"Simon Glass <sjg@chromium.org>","Date":"Sat, 5 Aug 2017 23:16:44 -0600","X-Google-Sender-Auth":"AWlxuKbHnwpc9Fclua1Sd_CYcOI","Message-ID":"<CAPnjgZ3mziJtLsLiZLJq50Nt52xjgBpbVv=a_U0Rr2Nja7oLGw@mail.gmail.com>","To":"Bin Meng <bmeng.cn@gmail.com>","Cc":"U-Boot Mailing List <u-boot@lists.denx.de>","Subject":"Re: [U-Boot] [PATCH 2/2] sandbox: Convert SANDBOX_BITS_PER_LONG to\n\tKconfig","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>","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>"}},{"id":1739533,"web_url":"http://patchwork.ozlabs.org/comment/1739533/","msgid":"<CAEUhbmWUmnntSGZzLM3PYr9x-3vcjH=vQVA3tCL7Kd-wdd23cQ@mail.gmail.com>","list_archive_url":null,"date":"2017-08-06T09:13:38","subject":"Re: [U-Boot] [PATCH 2/2] sandbox: Convert SANDBOX_BITS_PER_LONG to\n\tKconfig","submitter":{"id":64981,"url":"http://patchwork.ozlabs.org/api/people/64981/","name":"Bin Meng","email":"bmeng.cn@gmail.com"},"content":"Hi Simon,\n\nOn Sun, Aug 6, 2017 at 1:16 PM, Simon Glass <sjg@chromium.org> wrote:\n> Hi Bin,\n>\n> On 3 August 2017 at 18:17, Bin Meng <bmeng.cn@gmail.com> wrote:\n>> Hi Simon,\n>>\n>> On Thu, Aug 3, 2017 at 11:24 PM, Simon Glass <sjg@chromium.org> wrote:\n>>> Hi Bin,\n>>>\n>>> On 1 August 2017 at 17:33, Bin Meng <bmeng.cn@gmail.com> wrote:\n>>>> Convert SANDBOX_BITS_PER_LONG to Kconfig and assign it a correct\n>>>> number depending on which host we are going to build and run.\n>>>>\n>>>> Signed-off-by: Bin Meng <bmeng.cn@gmail.com>\n>>>> ---\n>>>>\n>>>>  arch/sandbox/Kconfig         | 5 +++++\n>>>>  board/sandbox/README.sandbox | 7 +++----\n>>>>  scripts/config_whitelist.txt | 1 -\n>>>>  3 files changed, 8 insertions(+), 5 deletions(-)\n>>>\n>>> Reviewed-by: Simon Glass <sjg@chromium.org>\n>>>\n>>> Is it OK to build 64-bit sandbox on a 32-bit machine? Does that actually work?\n>>>\n>>> If then I think we need a 3-way setting like:\n>>>\n>>> - 32-bit\n>>> - 64-bit\n>>> - native (i.e. whatever the host is)\n>>\n>> That means cross-compiling sandbox. So far this is not working. I will\n>> take a look.\n>\n> Or perhaps we just require it to use the bit size of the host? Does\n> compiling 64-bit U-Boot on a 32-bit machine actually work?\n>\n\nI have not looked into that further but I suspect there is more work\nthan the bit size of the host, for example, linking 64-bit vs. 32-bit\nlibraries?\n\nRegards,\nBin","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=\"FEH+PunX\"; dkim-atps=neutral"],"Received":["from lists.denx.de (dione.denx.de [81.169.180.215])\n\tby ozlabs.org (Postfix) with ESMTP id 3xQFMg3XnWz9t2K\n\tfor <incoming@patchwork.ozlabs.org>;\n\tSun,  6 Aug 2017 19:13:50 +1000 (AEST)","by lists.denx.de (Postfix, from userid 105)\n\tid 8830DC21FAD; Sun,  6 Aug 2017 09:13:42 +0000 (UTC)","from lists.denx.de (localhost [IPv6:::1])\n\tby lists.denx.de (Postfix) with ESMTP id 5F49EC21E4B;\n\tSun,  6 Aug 2017 09:13:40 +0000 (UTC)","by lists.denx.de (Postfix, from userid 105)\n\tid 84BD6C21E4B; Sun,  6 Aug 2017 09:13:39 +0000 (UTC)","from mail-wm0-f68.google.com (mail-wm0-f68.google.com\n\t[74.125.82.68])\n\tby lists.denx.de (Postfix) with ESMTPS id 2C6F3C21D88\n\tfor <u-boot@lists.denx.de>; Sun,  6 Aug 2017 09:13:39 +0000 (UTC)","by mail-wm0-f68.google.com with SMTP id d40so10417751wma.3\n\tfor <u-boot@lists.denx.de>; Sun, 06 Aug 2017 02:13:39 -0700 (PDT)","by 10.223.135.121 with HTTP; Sun, 6 Aug 2017 02:13:38 -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=mime-version:in-reply-to:references:from:date:message-id:subject:to\n\t:cc; bh=iOLKjVY4aoVjeaWRRzKOdIW2iQoFHd0CKN9jNiv8KPI=;\n\tb=FEH+PunXXvEAAPhF2QzlAH5+TqfPScLm4i9EmrU2FrZEgKZHLsiYBWiZxe5muenLar\n\tmgKn5CfbrGP+ax08EomOjj1RrKbF7aCT9zW8bJUmPTXB3GAUTX+kCqhaCayiLCi6Rdac\n\tkmHF5t2MX7cDNxo6lPLMVEWoXaVwrCUm0Mjg0Kr1qjOJ/F7lewITLXFbuXMHTBEEv0hr\n\tU96zYf7HvWgWIkVeXRkrGCHvL3QwfZ7aedVGmvSOKWRrn97DjHb44rTZzpV0NChhaGdO\n\txVxPsMU1gG9YdLQECsTvrOPmAdQsuInlMiJJ3OPeISpfw0R5vgmTTfwEGrD3Q5uBxpDS\n\tK0Rg==","X-Google-DKIM-Signature":"v=1; a=rsa-sha256; c=relaxed/relaxed;\n\td=1e100.net; s=20161025;\n\th=x-gm-message-state:mime-version:in-reply-to:references:from:date\n\t:message-id:subject:to:cc;\n\tbh=iOLKjVY4aoVjeaWRRzKOdIW2iQoFHd0CKN9jNiv8KPI=;\n\tb=CoJ4xnTHVmgnpmOlkAv3V8WVn1JvfmHsNk6YEKR41eVJl3C3km0n55KY+cnKoXW4ZI\n\tHD9OpbzGmBjauWlpkeZO3twjl6ci4/mpqxvHwwJRf5yKCsTqNLwYesOF9C40tOrvISTt\n\tG3Z2mnY7B1gS7DmDbIMKoh5kHGx5nUrQhVIu+p+onamme4HmkT9PLold4D+ijC+wW5p+\n\tGNqrjJGLh83d0FeGAnMwnZhUYL9GAFnd7v36DcO+2y0TdkvmyJNI8aiZKieCt/sIkvvj\n\taNNoiW9eAOeRrK6xcVVVZlh4xmAXLqItJRbHb/ffZ7r9rkfCdl1djbvt5tGJjiJyP9c1\n\tFjbQ==","X-Gm-Message-State":"AHYfb5jm23ZWhzVDDRF5zUPDNCMOPOltFC5TAFNEDxQ5bG/4Vb6nS+d9\n\tUo3J6kCMLrzrS8mRv1eG3KNFn5ulYA==","X-Received":"by 10.28.1.12 with SMTP id 12mr5154356wmb.90.1502010818745; Sun,\n\t06 Aug 2017 02:13:38 -0700 (PDT)","MIME-Version":"1.0","In-Reply-To":"<CAPnjgZ3mziJtLsLiZLJq50Nt52xjgBpbVv=a_U0Rr2Nja7oLGw@mail.gmail.com>","References":"<1501630414-4009-1-git-send-email-bmeng.cn@gmail.com>\n\t<1501630414-4009-2-git-send-email-bmeng.cn@gmail.com>\n\t<CAPnjgZ01=zc=sMUywbeUm-=Bzfi+7zqDYx82nLVeU3AZQ1kHMQ@mail.gmail.com>\n\t<CAEUhbmV5XW6XwZzZJbuRzg8Eku+YdepfAf2GtQw_3SP5A9cHEA@mail.gmail.com>\n\t<CAPnjgZ3mziJtLsLiZLJq50Nt52xjgBpbVv=a_U0Rr2Nja7oLGw@mail.gmail.com>","From":"Bin Meng <bmeng.cn@gmail.com>","Date":"Sun, 6 Aug 2017 17:13:38 +0800","Message-ID":"<CAEUhbmWUmnntSGZzLM3PYr9x-3vcjH=vQVA3tCL7Kd-wdd23cQ@mail.gmail.com>","To":"Simon Glass <sjg@chromium.org>","Cc":"U-Boot Mailing List <u-boot@lists.denx.de>","Subject":"Re: [U-Boot] [PATCH 2/2] sandbox: Convert SANDBOX_BITS_PER_LONG to\n\tKconfig","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>","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>"}},{"id":1745870,"web_url":"http://patchwork.ozlabs.org/comment/1745870/","msgid":"<CAPnjgZ3HaLySnnnuH+r8epTHwm_PS91q3U_buCAgre=xRk9AEg@mail.gmail.com>","list_archive_url":null,"date":"2017-08-13T15:35:29","subject":"Re: [U-Boot] [PATCH 2/2] sandbox: Convert SANDBOX_BITS_PER_LONG to\n\tKconfig","submitter":{"id":6170,"url":"http://patchwork.ozlabs.org/api/people/6170/","name":"Simon Glass","email":"sjg@chromium.org"},"content":"Hi Bin,\n\nOn 6 August 2017 at 03:13, Bin Meng <bmeng.cn@gmail.com> wrote:\n> Hi Simon,\n>\n> On Sun, Aug 6, 2017 at 1:16 PM, Simon Glass <sjg@chromium.org> wrote:\n>> Hi Bin,\n>>\n>> On 3 August 2017 at 18:17, Bin Meng <bmeng.cn@gmail.com> wrote:\n>>> Hi Simon,\n>>>\n>>> On Thu, Aug 3, 2017 at 11:24 PM, Simon Glass <sjg@chromium.org> wrote:\n>>>> Hi Bin,\n>>>>\n>>>> On 1 August 2017 at 17:33, Bin Meng <bmeng.cn@gmail.com> wrote:\n>>>>> Convert SANDBOX_BITS_PER_LONG to Kconfig and assign it a correct\n>>>>> number depending on which host we are going to build and run.\n>>>>>\n>>>>> Signed-off-by: Bin Meng <bmeng.cn@gmail.com>\n>>>>> ---\n>>>>>\n>>>>>  arch/sandbox/Kconfig         | 5 +++++\n>>>>>  board/sandbox/README.sandbox | 7 +++----\n>>>>>  scripts/config_whitelist.txt | 1 -\n>>>>>  3 files changed, 8 insertions(+), 5 deletions(-)\n>>>>\n>>>> Reviewed-by: Simon Glass <sjg@chromium.org>\n>>>>\n>>>> Is it OK to build 64-bit sandbox on a 32-bit machine? Does that actually work?\n>>>>\n>>>> If then I think we need a 3-way setting like:\n>>>>\n>>>> - 32-bit\n>>>> - 64-bit\n>>>> - native (i.e. whatever the host is)\n>>>\n>>> That means cross-compiling sandbox. So far this is not working. I will\n>>> take a look.\n>>\n>> Or perhaps we just require it to use the bit size of the host? Does\n>> compiling 64-bit U-Boot on a 32-bit machine actually work?\n>>\n>\n> I have not looked into that further but I suspect there is more work\n> than the bit size of the host, for example, linking 64-bit vs. 32-bit\n> libraries?\n\nBut does it compile 64-bit sandbox OK on a 32-bit machine? I would\nhave thought it would complain.\n\nI'm not really asking for this feature, it's just that I don't\nunderstand how your patch works, and don't necessarily want to lose\nthe ability to build a 32-bit sandbox. It is to some extent a helpful\nbuild/unit test for 32-bit boards which we still have many of.\n\nRegards,\nSimon","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=\"NBIocATT\"; \n\tdkim=fail reason=\"signature verification failed\" (1024-bit key;\n\tunprotected) header.d=chromium.org header.i=@chromium.org\n\theader.b=\"Lrsijqge\"; dkim-atps=neutral"],"Received":["from lists.denx.de (dione.denx.de [81.169.180.215])\n\tby ozlabs.org (Postfix) with ESMTP id 3xVjZ95Lcsz9s83\n\tfor <incoming@patchwork.ozlabs.org>;\n\tMon, 14 Aug 2017 01:38:25 +1000 (AEST)","by lists.denx.de (Postfix, from userid 105)\n\tid 7DB27C21E33; Sun, 13 Aug 2017 15:37:48 +0000 (UTC)","from lists.denx.de (localhost [IPv6:::1])\n\tby lists.denx.de (Postfix) with ESMTP id B6FFFC21DF4;\n\tSun, 13 Aug 2017 15:36:45 +0000 (UTC)","by lists.denx.de (Postfix, from userid 105)\n\tid EDC6CC21E06; Sun, 13 Aug 2017 15:36:00 +0000 (UTC)","from mail-vk0-f47.google.com (mail-vk0-f47.google.com\n\t[209.85.213.47])\n\tby lists.denx.de (Postfix) with ESMTPS id C54B3C21DC5\n\tfor <u-boot@lists.denx.de>; Sun, 13 Aug 2017 15:35:51 +0000 (UTC)","by mail-vk0-f47.google.com with SMTP id r199so25536691vke.4\n\tfor <u-boot@lists.denx.de>; Sun, 13 Aug 2017 08:35:51 -0700 (PDT)","by 10.176.85.207 with HTTP; Sun, 13 Aug 2017 08:35:29 -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=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=mime-version:sender:in-reply-to:references:from:date:message-id\n\t:subject:to:cc;\n\tbh=HJ2DHrjsPMbppV2mGT4asFh6dSnpXS2//X7XpG7t9bA=;\n\tb=NBIocATTKHVadVj9yl6shasLLKwWkaA4ENttAsSHoLimjgWJzKwfGeqdtQpCfE8CEU\n\tKTYeh3p8Mniau27X74X7JitD9nMcD7LGqio0gGaiCiphcRCteFgXVSUGXDG1xZGKS1jb\n\tnlXS3X954YICy8HHZ6X2/W3zMRJJl5Onycslf6n/96/Y1feh4n3rGjsOnJYJ4RIGUtrq\n\tjCcYCkpw6ZVKLeGE6wfDDjWrXhPK/xk9Lo7J6RXQ1DM2addGWxxxAuF/xOBW0s3cMG6n\n\t/1ILCzZv7J20LaweKwwFv6cACzbIAvHZOENUNya54M7ctjOtposJxDdr2OFdLkroogQy\n\t/mOQ==","v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org;\n\ts=google; \n\th=mime-version:sender:in-reply-to:references:from:date:message-id\n\t:subject:to:cc;\n\tbh=HJ2DHrjsPMbppV2mGT4asFh6dSnpXS2//X7XpG7t9bA=;\n\tb=LrsijqgeC33PAy40pMDhCZIbvVAR9JeXxYu7qFoCwBZEbRC+E52sOozHYk+AJ5g8yA\n\tz5kB7B6szKBFfOKAa6gTn/xvmcKoz+KBh26ze9BJtv2E0OO5is+c8K4QJP/IjV+8vRJx\n\t3O5I3fEpZDflQj//FZBgdAleE7rOdzlSZ9r2M="],"X-Google-DKIM-Signature":"v=1; a=rsa-sha256; c=relaxed/relaxed;\n\td=1e100.net; s=20161025;\n\th=x-gm-message-state:mime-version:sender:in-reply-to:references:from\n\t:date:message-id:subject:to:cc;\n\tbh=HJ2DHrjsPMbppV2mGT4asFh6dSnpXS2//X7XpG7t9bA=;\n\tb=OX2m721LMDscHlvGuvtt6jFbISMk+jgTNncpqDkr5HdBX+1yfXoNl15mIYhTk6+n0Q\n\tKny+Qj9+rHXPPd/DcWQ0df8bMlLo8WtGprdoek5KGIo8M4R7bjb9jL4EZPjQjeY+gOCu\n\t5wzujtsUWOXAKiOqwYxVKKA1/I10pL+3rfX7IK29LL3a5KC6kVhC7rP0PM0YDtJGiZED\n\tXJz4249mMu/z7EPch+DYECCXGx5dInb7SCYGLI83YUo3cyHWsdFoQwr/v+AKlY+uS9Vh\n\tTLq2LCV6DndforeUWeZLeMoa7xIFsPuu274+550JqdzTwVv59M5aOtofBBxliNWm6cnA\n\t8d5A==","X-Gm-Message-State":"AHYfb5iOnM1ioFPKu+gwQmE/W5lBh6cSI7jDuBBXQhXPy839g6XGadaY\n\tWkijehp/8zZrY5b7sfEA3mTLkoENXvVB","X-Received":"by 10.31.86.67 with SMTP id k64mr14709541vkb.202.1502638550503; \n\tSun, 13 Aug 2017 08:35:50 -0700 (PDT)","MIME-Version":"1.0","In-Reply-To":"<CAEUhbmWUmnntSGZzLM3PYr9x-3vcjH=vQVA3tCL7Kd-wdd23cQ@mail.gmail.com>","References":"<1501630414-4009-1-git-send-email-bmeng.cn@gmail.com>\n\t<1501630414-4009-2-git-send-email-bmeng.cn@gmail.com>\n\t<CAPnjgZ01=zc=sMUywbeUm-=Bzfi+7zqDYx82nLVeU3AZQ1kHMQ@mail.gmail.com>\n\t<CAEUhbmV5XW6XwZzZJbuRzg8Eku+YdepfAf2GtQw_3SP5A9cHEA@mail.gmail.com>\n\t<CAPnjgZ3mziJtLsLiZLJq50Nt52xjgBpbVv=a_U0Rr2Nja7oLGw@mail.gmail.com>\n\t<CAEUhbmWUmnntSGZzLM3PYr9x-3vcjH=vQVA3tCL7Kd-wdd23cQ@mail.gmail.com>","From":"Simon Glass <sjg@chromium.org>","Date":"Sun, 13 Aug 2017 09:35:29 -0600","X-Google-Sender-Auth":"sedZtvVo_Jq4cSBbZQL4rnMdKIY","Message-ID":"<CAPnjgZ3HaLySnnnuH+r8epTHwm_PS91q3U_buCAgre=xRk9AEg@mail.gmail.com>","To":"Bin Meng <bmeng.cn@gmail.com>","Cc":"U-Boot Mailing List <u-boot@lists.denx.de>","Subject":"Re: [U-Boot] [PATCH 2/2] sandbox: Convert SANDBOX_BITS_PER_LONG to\n\tKconfig","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>","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>"}},{"id":1746051,"web_url":"http://patchwork.ozlabs.org/comment/1746051/","msgid":"<CAEUhbmXKmaaOGmdgL2GE6hTE5vo950t0jtTV8EY7ou87wQH8Ow@mail.gmail.com>","list_archive_url":null,"date":"2017-08-14T01:26:00","subject":"Re: [U-Boot] [PATCH 2/2] sandbox: Convert SANDBOX_BITS_PER_LONG to\n\tKconfig","submitter":{"id":64981,"url":"http://patchwork.ozlabs.org/api/people/64981/","name":"Bin Meng","email":"bmeng.cn@gmail.com"},"content":"Hi Simon,\n\nOn Sun, Aug 13, 2017 at 11:35 PM, Simon Glass <sjg@chromium.org> wrote:\n> Hi Bin,\n>\n> On 6 August 2017 at 03:13, Bin Meng <bmeng.cn@gmail.com> wrote:\n>> Hi Simon,\n>>\n>> On Sun, Aug 6, 2017 at 1:16 PM, Simon Glass <sjg@chromium.org> wrote:\n>>> Hi Bin,\n>>>\n>>> On 3 August 2017 at 18:17, Bin Meng <bmeng.cn@gmail.com> wrote:\n>>>> Hi Simon,\n>>>>\n>>>> On Thu, Aug 3, 2017 at 11:24 PM, Simon Glass <sjg@chromium.org> wrote:\n>>>>> Hi Bin,\n>>>>>\n>>>>> On 1 August 2017 at 17:33, Bin Meng <bmeng.cn@gmail.com> wrote:\n>>>>>> Convert SANDBOX_BITS_PER_LONG to Kconfig and assign it a correct\n>>>>>> number depending on which host we are going to build and run.\n>>>>>>\n>>>>>> Signed-off-by: Bin Meng <bmeng.cn@gmail.com>\n>>>>>> ---\n>>>>>>\n>>>>>>  arch/sandbox/Kconfig         | 5 +++++\n>>>>>>  board/sandbox/README.sandbox | 7 +++----\n>>>>>>  scripts/config_whitelist.txt | 1 -\n>>>>>>  3 files changed, 8 insertions(+), 5 deletions(-)\n>>>>>\n>>>>> Reviewed-by: Simon Glass <sjg@chromium.org>\n>>>>>\n>>>>> Is it OK to build 64-bit sandbox on a 32-bit machine? Does that actually work?\n>>>>>\n>>>>> If then I think we need a 3-way setting like:\n>>>>>\n>>>>> - 32-bit\n>>>>> - 64-bit\n>>>>> - native (i.e. whatever the host is)\n>>>>\n>>>> That means cross-compiling sandbox. So far this is not working. I will\n>>>> take a look.\n>>>\n>>> Or perhaps we just require it to use the bit size of the host? Does\n>>> compiling 64-bit U-Boot on a 32-bit machine actually work?\n>>>\n>>\n>> I have not looked into that further but I suspect there is more work\n>> than the bit size of the host, for example, linking 64-bit vs. 32-bit\n>> libraries?\n>\n> But does it compile 64-bit sandbox OK on a 32-bit machine? I would\n> have thought it would complain.\n>\n\nNo. Compiling 64-bit sandbox never worked on a 32-bit machine. So far\nsandbox build only supports:\n\n1). build from a 32-bit host and run from a 32-bit host\n2). build from a 64-bit host and run from a 64-bit host (current\ndefault setting)\n\n> I'm not really asking for this feature, it's just that I don't\n> understand how your patch works, and don't necessarily want to lose\n> the ability to build a 32-bit sandbox. It is to some extent a helpful\n> build/unit test for 32-bit boards which we still have many of.\n>\n\nThis patch does not introduce any functional changes. It just converts\nSANDBOX_BITS_PER_LONG to Kconfig so that this can be changed from\ndefconfigs or 'make menuconfig' to make it more user friendly if we\nare building (a 32-bit) sandbox on a 32-bit host. Ideally we should\nadd such cross-build functionality to sandbox build.\n\nRegards,\nBin","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=\"Sm/UpIsy\"; dkim-atps=neutral"],"Received":["from lists.denx.de (dione.denx.de [81.169.180.215])\n\tby ozlabs.org (Postfix) with ESMTP id 3xVycS0yHzz9sPt\n\tfor <incoming@patchwork.ozlabs.org>;\n\tMon, 14 Aug 2017 11:26:14 +1000 (AEST)","by lists.denx.de (Postfix, from userid 105)\n\tid D10FAC21DA9; Mon, 14 Aug 2017 01:26:05 +0000 (UTC)","from lists.denx.de (localhost [IPv6:::1])\n\tby lists.denx.de (Postfix) with ESMTP id EAD69C21D19;\n\tMon, 14 Aug 2017 01:26:02 +0000 (UTC)","by lists.denx.de (Postfix, from userid 105)\n\tid 49326C21D19; Mon, 14 Aug 2017 01:26:02 +0000 (UTC)","from mail-wr0-f193.google.com (mail-wr0-f193.google.com\n\t[209.85.128.193])\n\tby lists.denx.de (Postfix) with ESMTPS id D37D5C21C58\n\tfor <u-boot@lists.denx.de>; Mon, 14 Aug 2017 01:26:01 +0000 (UTC)","by mail-wr0-f193.google.com with SMTP id y41so1195650wrd.0\n\tfor <u-boot@lists.denx.de>; Sun, 13 Aug 2017 18:26:01 -0700 (PDT)","by 10.223.135.121 with HTTP; Sun, 13 Aug 2017 18:26:00 -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_H2,\n\tT_DKIM_INVALID autolearn=unavailable\n\tautolearn_force=no version=3.4.0","DKIM-Signature":"v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025;\n\th=mime-version:in-reply-to:references:from:date:message-id:subject:to\n\t:cc; bh=vePtRrOY+uFK7j/f27tqGdyzT13nAu3bl8efVrAEmlk=;\n\tb=Sm/UpIsyDs4vVASSsPuSTwApdXxuMMWluRACywVHTtYf2P5rx68TWc5FxnzlGY63zz\n\ttHKuy/bXVM5HffftfSrbQQD+toGzjZxZG8XC6ezwfyzIM+XeCGJe6fYzCAFV0yj3bv+n\n\t4coWY2V1pfZArTCrf85UBKGzmKrr7wB2UE+DWLy/eN17OSFn24yWSu+mKyYkBXLzjDNM\n\ttecnek4KzuK7u5WzxufRkztm7xxUTgvGYXeyT61RElawo8U3gULJ9kp5GZeKQeGKkx5O\n\tKulwRx2ey/nYLGdDH/y15S8IAHXhzSQbPE0cvSo2X8AmlTD60kuKLq9FlJYzyT8yOqSq\n\tCVXg==","X-Google-DKIM-Signature":"v=1; a=rsa-sha256; c=relaxed/relaxed;\n\td=1e100.net; s=20161025;\n\th=x-gm-message-state:mime-version:in-reply-to:references:from:date\n\t:message-id:subject:to:cc;\n\tbh=vePtRrOY+uFK7j/f27tqGdyzT13nAu3bl8efVrAEmlk=;\n\tb=nSNkfbw8JjWVaeohs8J5fvvEpsSGlv8kKFZRNmPJ4JBBO/fkstzgavLBVuw+8NQJX+\n\ty9OKe9lypA0lVeH9USGXXwRxadu0P/bgaki8o/4PgDNQHHuWb3nkI/SJb8rYzMlZUMk7\n\tsS8hbaqsNUnEmPulHxN3S9giZPYkj7TJu+Wb3baJV05rxpYxAkx3IaaGkK8oyJPlAJ2r\n\tnztb76opxIEFcJAN6BP3IB0158HwVhq0jxzBAobbyXHRkNY3vb/vK238rejDs+kDZYVk\n\t5skENlVtoeFmA6SETezVFNICwDWBZut7qef4FFyJlyBG7unX7zsNdbe+zz0vF846Xzah\n\tmaRA==","X-Gm-Message-State":"AHYfb5iqzr+b1nQ/IRL3+Hzsox0ImxojMdbChytrv8JUpWaXrSx2pt/B\n\tV9JhR4o4ViuX4USDooUGf/1H0PtcoBvB","X-Received":"by 10.223.133.201 with SMTP id 9mr18060491wru.177.1502673961440; \n\tSun, 13 Aug 2017 18:26:01 -0700 (PDT)","MIME-Version":"1.0","In-Reply-To":"<CAPnjgZ3HaLySnnnuH+r8epTHwm_PS91q3U_buCAgre=xRk9AEg@mail.gmail.com>","References":"<1501630414-4009-1-git-send-email-bmeng.cn@gmail.com>\n\t<1501630414-4009-2-git-send-email-bmeng.cn@gmail.com>\n\t<CAPnjgZ01=zc=sMUywbeUm-=Bzfi+7zqDYx82nLVeU3AZQ1kHMQ@mail.gmail.com>\n\t<CAEUhbmV5XW6XwZzZJbuRzg8Eku+YdepfAf2GtQw_3SP5A9cHEA@mail.gmail.com>\n\t<CAPnjgZ3mziJtLsLiZLJq50Nt52xjgBpbVv=a_U0Rr2Nja7oLGw@mail.gmail.com>\n\t<CAEUhbmWUmnntSGZzLM3PYr9x-3vcjH=vQVA3tCL7Kd-wdd23cQ@mail.gmail.com>\n\t<CAPnjgZ3HaLySnnnuH+r8epTHwm_PS91q3U_buCAgre=xRk9AEg@mail.gmail.com>","From":"Bin Meng <bmeng.cn@gmail.com>","Date":"Mon, 14 Aug 2017 09:26:00 +0800","Message-ID":"<CAEUhbmXKmaaOGmdgL2GE6hTE5vo950t0jtTV8EY7ou87wQH8Ow@mail.gmail.com>","To":"Simon Glass <sjg@chromium.org>","Cc":"U-Boot Mailing List <u-boot@lists.denx.de>","Subject":"Re: [U-Boot] [PATCH 2/2] sandbox: Convert SANDBOX_BITS_PER_LONG to\n\tKconfig","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>","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>"}},{"id":1758002,"web_url":"http://patchwork.ozlabs.org/comment/1758002/","msgid":"<CAPnjgZ34c8WeURAxii=7=TNfxcPzzJrzHA8qL0Q9RVROr0hZ+w@mail.gmail.com>","list_archive_url":null,"date":"2017-08-26T13:37:58","subject":"Re: [U-Boot] [PATCH 2/2] sandbox: Convert SANDBOX_BITS_PER_LONG to\n\tKconfig","submitter":{"id":6170,"url":"http://patchwork.ozlabs.org/api/people/6170/","name":"Simon Glass","email":"sjg@chromium.org"},"content":"Hi Bin,\n\nOn 13 August 2017 at 19:26, Bin Meng <bmeng.cn@gmail.com> wrote:\n> Hi Simon,\n>\n> On Sun, Aug 13, 2017 at 11:35 PM, Simon Glass <sjg@chromium.org> wrote:\n>> Hi Bin,\n>>\n>> On 6 August 2017 at 03:13, Bin Meng <bmeng.cn@gmail.com> wrote:\n>>> Hi Simon,\n>>>\n>>> On Sun, Aug 6, 2017 at 1:16 PM, Simon Glass <sjg@chromium.org> wrote:\n>>>> Hi Bin,\n>>>>\n>>>> On 3 August 2017 at 18:17, Bin Meng <bmeng.cn@gmail.com> wrote:\n>>>>> Hi Simon,\n>>>>>\n>>>>> On Thu, Aug 3, 2017 at 11:24 PM, Simon Glass <sjg@chromium.org> wrote:\n>>>>>> Hi Bin,\n>>>>>>\n>>>>>> On 1 August 2017 at 17:33, Bin Meng <bmeng.cn@gmail.com> wrote:\n>>>>>>> Convert SANDBOX_BITS_PER_LONG to Kconfig and assign it a correct\n>>>>>>> number depending on which host we are going to build and run.\n>>>>>>>\n>>>>>>> Signed-off-by: Bin Meng <bmeng.cn@gmail.com>\n>>>>>>> ---\n>>>>>>>\n>>>>>>>  arch/sandbox/Kconfig         | 5 +++++\n>>>>>>>  board/sandbox/README.sandbox | 7 +++----\n>>>>>>>  scripts/config_whitelist.txt | 1 -\n>>>>>>>  3 files changed, 8 insertions(+), 5 deletions(-)\n>>>>>>\n>>>>>> Reviewed-by: Simon Glass <sjg@chromium.org>\n>>>>>>\n>>>>>> Is it OK to build 64-bit sandbox on a 32-bit machine? Does that actually work?\n>>>>>>\n>>>>>> If then I think we need a 3-way setting like:\n>>>>>>\n>>>>>> - 32-bit\n>>>>>> - 64-bit\n>>>>>> - native (i.e. whatever the host is)\n>>>>>\n>>>>> That means cross-compiling sandbox. So far this is not working. I will\n>>>>> take a look.\n>>>>\n>>>> Or perhaps we just require it to use the bit size of the host? Does\n>>>> compiling 64-bit U-Boot on a 32-bit machine actually work?\n>>>>\n>>>\n>>> I have not looked into that further but I suspect there is more work\n>>> than the bit size of the host, for example, linking 64-bit vs. 32-bit\n>>> libraries?\n>>\n>> But does it compile 64-bit sandbox OK on a 32-bit machine? I would\n>> have thought it would complain.\n>>\n>\n> No. Compiling 64-bit sandbox never worked on a 32-bit machine. So far\n> sandbox build only supports:\n>\n> 1). build from a 32-bit host and run from a 32-bit host\n> 2). build from a 64-bit host and run from a 64-bit host (current\n> default setting)\n>\n>> I'm not really asking for this feature, it's just that I don't\n>> understand how your patch works, and don't necessarily want to lose\n>> the ability to build a 32-bit sandbox. It is to some extent a helpful\n>> build/unit test for 32-bit boards which we still have many of.\n>>\n>\n> This patch does not introduce any functional changes. It just converts\n> SANDBOX_BITS_PER_LONG to Kconfig so that this can be changed from\n> defconfigs or 'make menuconfig' to make it more user friendly if we\n> are building (a 32-bit) sandbox on a 32-bit host. Ideally we should\n> add such cross-build functionality to sandbox build.\n\nThen I think this patch is fine.\n\nRegards,\nSimon","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=\"VdC7gOtF\"; \n\tdkim=fail reason=\"signature verification failed\" (1024-bit key;\n\tunprotected) header.d=chromium.org header.i=@chromium.org\n\theader.b=\"eNHQJTzE\"; dkim-atps=neutral"],"Received":["from lists.denx.de (dione.denx.de [81.169.180.215])\n\tby ozlabs.org (Postfix) with ESMTP id 3xffTh10yhz9t4c\n\tfor <incoming@patchwork.ozlabs.org>;\n\tSat, 26 Aug 2017 23:47:04 +1000 (AEST)","by lists.denx.de (Postfix, from userid 105)\n\tid D1E3BC21EFC; Sat, 26 Aug 2017 13:41:20 +0000 (UTC)","from lists.denx.de (localhost [IPv6:::1])\n\tby lists.denx.de (Postfix) with ESMTP id 6939DC220AB;\n\tSat, 26 Aug 2017 13:40:51 +0000 (UTC)","by lists.denx.de (Postfix, from userid 105)\n\tid A60F4C220A6; Sat, 26 Aug 2017 13:38:24 +0000 (UTC)","from mail-qt0-f180.google.com (mail-qt0-f180.google.com\n\t[209.85.216.180])\n\tby lists.denx.de (Postfix) with ESMTPS id C1741C22095\n\tfor <u-boot@lists.denx.de>; Sat, 26 Aug 2017 13:38:20 +0000 (UTC)","by mail-qt0-f180.google.com with SMTP id u11so9831439qtu.1\n\tfor <u-boot@lists.denx.de>; Sat, 26 Aug 2017 06:38:20 -0700 (PDT)","by 10.200.52.117 with HTTP; Sat, 26 Aug 2017 06:37:58 -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.7 required=5.0 tests=RCVD_IN_DNSWL_LOW,\n\tRCVD_IN_MSPIKE_H3, RCVD_IN_MSPIKE_WL,\n\tT_DKIM_INVALID autolearn=unavailable\n\tautolearn_force=no version=3.4.0","DKIM-Signature":["v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com;\n\ts=20161025; \n\th=mime-version:sender:in-reply-to:references:from:date:message-id\n\t:subject:to:cc;\n\tbh=s4hJC4J+vgXUcXb9OhpJ9U7WlJLTiGk3vqTdIimUKCU=;\n\tb=VdC7gOtF+HFgk5YK3LMcVs9hHFvbDWtmA00vp37olt31ji2R8gEJO97hDlvmSs6oqm\n\t0FeyaHOXATGMMrQKT6fBewD6zsWV6+aqz2uSUjc7JW2tjui6i0YomoMfFM+2+sGsmHqf\n\tYK7F0/lU1/rLl8HEnN1gSPU3yLVKkb2Bsv9GIGb2dXlbDxaF2lt1ZqETcePy3MrqvDmx\n\trFMEsWWc2+/ns1ZLgMEGwkIvn7Y52cTRpAWnbRovqt2PYglHrYx8zDj4jgpH5BsEdyT0\n\tlAWPToaKnltZkvKuMTAc8tGdyrWyF8RBrfOEd4hx1UPuIZn1SHtVhj87CxWrLuv3eCK6\n\tlqZg==","v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org;\n\ts=google; \n\th=mime-version:sender:in-reply-to:references:from:date:message-id\n\t:subject:to:cc;\n\tbh=s4hJC4J+vgXUcXb9OhpJ9U7WlJLTiGk3vqTdIimUKCU=;\n\tb=eNHQJTzEPzjrusN/UtNfy2SnomipsP6MLEcO71ofeCMuYmdMP8BGQ3hLMOdTUvY+Oe\n\tLPj+wx3o8JIPS201Obp00Ig0jPw19pMKv9Sy32vk3VkSxDsNIH82si62sN7Y/SWnarem\n\tUjcNTbKerT3BWMWRaJbcWfjgemlB/HDP97WC4="],"X-Google-DKIM-Signature":"v=1; a=rsa-sha256; c=relaxed/relaxed;\n\td=1e100.net; s=20161025;\n\th=x-gm-message-state:mime-version:sender:in-reply-to:references:from\n\t:date:message-id:subject:to:cc;\n\tbh=s4hJC4J+vgXUcXb9OhpJ9U7WlJLTiGk3vqTdIimUKCU=;\n\tb=TMnQCP7O/w8FGTnymOeGRtrcRSa5tzz0YQKAJIrWAmbgLbVXZMPZvUB/w1R1wGq1Pt\n\tC8azyyhkEAIaV0SU2h5Vj3Jwb8mRh6wOr6SPTShzooGKWPqgXntfuhkBb1t5N7egeZcY\n\t92l2oAHkFdH0Rlk/6+gRdDkwcXsyTxTZXB+Zw4INz4eH/+KigZLzb6Z8eLOXiYqGTqKv\n\twcOtJGs1p7fPWYX7xCvmJg1KC7RRo9J9NpYCG5c0BhXQko62miA9fEbbjsAZKSg3qFrc\n\tTC1pNChfWVlsSRgFai2gq5bE0O50NyCt8yhSniaV88YbkVLrSjJnJ73+VslT3KObTkqD\n\tmZQw==","X-Gm-Message-State":"AHYfb5jJs8g2WwV/1rsf/BBLVEdJP+mYzTlJGtbvraKBJOJNMvHR5zzU\n\t4j8X2n0NndI7DgpeVvhIxPXGEsMECbHm+Zc=","X-Google-Smtp-Source":"ADKCNb7juL1Ts0YeoPHAqOEIMrQySNhbCPyVyYmkCHhfVVdrDMONPKK9/Qa5N8ClH4yhQd2JMdkDAKZCjw9/8M8TU20=","X-Received":"by 10.200.37.133 with SMTP id e5mr2404249qte.51.1503754699542;\n\tSat, 26 Aug 2017 06:38:19 -0700 (PDT)","MIME-Version":"1.0","In-Reply-To":"<CAEUhbmXKmaaOGmdgL2GE6hTE5vo950t0jtTV8EY7ou87wQH8Ow@mail.gmail.com>","References":"<1501630414-4009-1-git-send-email-bmeng.cn@gmail.com>\n\t<1501630414-4009-2-git-send-email-bmeng.cn@gmail.com>\n\t<CAPnjgZ01=zc=sMUywbeUm-=Bzfi+7zqDYx82nLVeU3AZQ1kHMQ@mail.gmail.com>\n\t<CAEUhbmV5XW6XwZzZJbuRzg8Eku+YdepfAf2GtQw_3SP5A9cHEA@mail.gmail.com>\n\t<CAPnjgZ3mziJtLsLiZLJq50Nt52xjgBpbVv=a_U0Rr2Nja7oLGw@mail.gmail.com>\n\t<CAEUhbmWUmnntSGZzLM3PYr9x-3vcjH=vQVA3tCL7Kd-wdd23cQ@mail.gmail.com>\n\t<CAPnjgZ3HaLySnnnuH+r8epTHwm_PS91q3U_buCAgre=xRk9AEg@mail.gmail.com>\n\t<CAEUhbmXKmaaOGmdgL2GE6hTE5vo950t0jtTV8EY7ou87wQH8Ow@mail.gmail.com>","From":"Simon Glass <sjg@chromium.org>","Date":"Sat, 26 Aug 2017 07:37:58 -0600","X-Google-Sender-Auth":"aDkgWSt5mfu2gZmUjxP9F3U2tQk","Message-ID":"<CAPnjgZ34c8WeURAxii=7=TNfxcPzzJrzHA8qL0Q9RVROr0hZ+w@mail.gmail.com>","To":"Bin Meng <bmeng.cn@gmail.com>","Cc":"U-Boot Mailing List <u-boot@lists.denx.de>","Subject":"Re: [U-Boot] [PATCH 2/2] sandbox: Convert SANDBOX_BITS_PER_LONG to\n\tKconfig","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>","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>"}},{"id":1766896,"web_url":"http://patchwork.ozlabs.org/comment/1766896/","msgid":"<CAPnjgZ0e4JVZJuv=Lkxb8Z331_frSp+Ss3-1UfHBrWYKVAMPTw@mail.gmail.com>","list_archive_url":null,"date":"2017-09-12T10:54:40","subject":"Re: [U-Boot] [PATCH 2/2] sandbox: Convert SANDBOX_BITS_PER_LONG to\n\tKconfig","submitter":{"id":12501,"url":"http://patchwork.ozlabs.org/api/people/12501/","name":"Simon Glass","email":"sjg@google.com"},"content":"Hi Bin,\n\nOn 13 August 2017 at 19:26, Bin Meng <bmeng.cn@gmail.com> wrote:\n> Hi Simon,\n>\n> On Sun, Aug 13, 2017 at 11:35 PM, Simon Glass <sjg@chromium.org> wrote:\n>> Hi Bin,\n>>\n>> On 6 August 2017 at 03:13, Bin Meng <bmeng.cn@gmail.com> wrote:\n>>> Hi Simon,\n>>>\n>>> On Sun, Aug 6, 2017 at 1:16 PM, Simon Glass <sjg@chromium.org> wrote:\n>>>> Hi Bin,\n>>>>\n>>>> On 3 August 2017 at 18:17, Bin Meng <bmeng.cn@gmail.com> wrote:\n>>>>> Hi Simon,\n>>>>>\n>>>>> On Thu, Aug 3, 2017 at 11:24 PM, Simon Glass <sjg@chromium.org> wrote:\n>>>>>> Hi Bin,\n>>>>>>\n>>>>>> On 1 August 2017 at 17:33, Bin Meng <bmeng.cn@gmail.com> wrote:\n>>>>>>> Convert SANDBOX_BITS_PER_LONG to Kconfig and assign it a correct\n>>>>>>> number depending on which host we are going to build and run.\n>>>>>>>\n>>>>>>> Signed-off-by: Bin Meng <bmeng.cn@gmail.com>\n>>>>>>> ---\n>>>>>>>\n>>>>>>>  arch/sandbox/Kconfig         | 5 +++++\n>>>>>>>  board/sandbox/README.sandbox | 7 +++----\n>>>>>>>  scripts/config_whitelist.txt | 1 -\n>>>>>>>  3 files changed, 8 insertions(+), 5 deletions(-)\n>>>>>>\n>>>>>> Reviewed-by: Simon Glass <sjg@chromium.org>\n>>>>>>\n>>>>>> Is it OK to build 64-bit sandbox on a 32-bit machine? Does that actually work?\n>>>>>>\n>>>>>> If then I think we need a 3-way setting like:\n>>>>>>\n>>>>>> - 32-bit\n>>>>>> - 64-bit\n>>>>>> - native (i.e. whatever the host is)\n>>>>>\n>>>>> That means cross-compiling sandbox. So far this is not working. I will\n>>>>> take a look.\n>>>>\n>>>> Or perhaps we just require it to use the bit size of the host? Does\n>>>> compiling 64-bit U-Boot on a 32-bit machine actually work?\n>>>>\n>>>\n>>> I have not looked into that further but I suspect there is more work\n>>> than the bit size of the host, for example, linking 64-bit vs. 32-bit\n>>> libraries?\n>>\n>> But does it compile 64-bit sandbox OK on a 32-bit machine? I would\n>> have thought it would complain.\n>>\n>\n> No. Compiling 64-bit sandbox never worked on a 32-bit machine. So far\n> sandbox build only supports:\n>\n> 1). build from a 32-bit host and run from a 32-bit host\n> 2). build from a 64-bit host and run from a 64-bit host (current\n> default setting)\n>\n>> I'm not really asking for this feature, it's just that I don't\n>> understand how your patch works, and don't necessarily want to lose\n>> the ability to build a 32-bit sandbox. It is to some extent a helpful\n>> build/unit test for 32-bit boards which we still have many of.\n>>\n>\n> This patch does not introduce any functional changes. It just converts\n> SANDBOX_BITS_PER_LONG to Kconfig so that this can be changed from\n> defconfigs or 'make menuconfig' to make it more user friendly if we\n> are building (a 32-bit) sandbox on a 32-bit host. Ideally we should\n> add such cross-build functionality to sandbox build.\n\nThen I think this patch is fine.\n\nRegards,\nSimon\n\nApplied to u-boot-dm, thanks!","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=\"KeN5BDWJ\"; dkim-atps=neutral"],"Received":["from lists.denx.de (dione.denx.de [81.169.180.215])\n\tby ozlabs.org (Postfix) with ESMTP id 3xs24t1ftcz9s7g\n\tfor <incoming@patchwork.ozlabs.org>;\n\tTue, 12 Sep 2017 21:05:02 +1000 (AEST)","by lists.denx.de (Postfix, from userid 105)\n\tid EDD08C2210F; Tue, 12 Sep 2017 10:58:46 +0000 (UTC)","from lists.denx.de (localhost [IPv6:::1])\n\tby lists.denx.de (Postfix) with ESMTP id 93EE0C22088;\n\tTue, 12 Sep 2017 10:55:21 +0000 (UTC)","by lists.denx.de (Postfix, from userid 105)\n\tid A290AC22049; Tue, 12 Sep 2017 10:54:50 +0000 (UTC)","from mail-qk0-f176.google.com (mail-qk0-f176.google.com\n\t[209.85.220.176])\n\tby lists.denx.de (Postfix) with ESMTPS id 65645C2205A\n\tfor <u-boot@lists.denx.de>; Tue, 12 Sep 2017 10:54:44 +0000 (UTC)","by mail-qk0-f176.google.com with SMTP id b82so24102411qkc.4\n\tfor <u-boot@lists.denx.de>; Tue, 12 Sep 2017 03:54:44 -0700 (PDT)","from 480794996271 named unknown by gmailapi.google.com with\n\tHTTPREST; Tue, 12 Sep 2017 03:54:41 -0700"],"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, T_DKIM_INVALID,\n\tUNPARSEABLE_RELAY autolearn=unavailable\n\tautolearn_force=no version=3.4.0","DKIM-Signature":"v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com;\n\ts=20161025; \n\th=mime-version:sender:from:in-reply-to:references:date:message-id\n\t:subject:to:cc;\n\tbh=R1JUozs9ylCrJ+YB3WZ7/bv9KStS3qf4w0MQ/TSqcLI=;\n\tb=KeN5BDWJY2ctzEJgY0z8r90cy3dLepyhcMS40CnWldwpB2RAQPiiMugqMFcsQzQUqa\n\tBaDPiO/jrhg4yAZaQuRExlikd9DhmBNfYPtBIkSQkir4xHS5oNGCB6IzwC1Vi6X59O3y\n\tFvat/UgUt/wJm1SOt57vxt1uZZz5KOVz69pQBtnefOrOGQPhpj0f9lIBih8qv/Fvb0XQ\n\ttjuBmYoQQBn9tI6pVWyLkyCbbvLhMAggSa/PLS7zLhIPbTHvZoYouQ6E6cs1XNDk5z9/\n\tN57LzwoLrb/TXMgNTLp3aYJEw2OAkK4ce3+cEqIqjRlfmawdtweCrP+ktm7pVxRoMidf\n\tSVpg==","X-Google-DKIM-Signature":"v=1; a=rsa-sha256; c=relaxed/relaxed;\n\td=1e100.net; s=20161025;\n\th=x-gm-message-state:mime-version:sender:from:in-reply-to:references\n\t:date:message-id:subject:to:cc;\n\tbh=R1JUozs9ylCrJ+YB3WZ7/bv9KStS3qf4w0MQ/TSqcLI=;\n\tb=nTP62sDjafwAgutjgFlAyxow8KVyTjLhs/cleLlwu2DaTtiBRlL3Z0jhDI6XrfhYY4\n\tBUyAdfnleKfOtxq5MyW45I0szL24rCLxf51wbpxDwfqzK/qDbBv7w1agbyZblYYwxduj\n\tSV8eTBd/JiZcTS83faxyLlKIAnSyUYS7LNfQKRc9JQFgGc+B9k4XhEhMB7TtgkbYi1P0\n\tqwxPZatV8jIfHtMLeBv2EXV+rwKhAAxRGdTKYhILFyg+CR+Mam+bXr+yIYRs2btjQW/C\n\t6XsL8J2wg8VjwZ3PWK+v7OrYePivOlU+oKoMJMwifdzYKkbf5eqY0el9hkC51wrBkl3d\n\tlV9w==","X-Gm-Message-State":"AHPjjUhQ+57yx3+JL9RdLO0P9pzPcDBtnTmB/agwJb3CFGonLB69WYfs\n\t3i28nBephykEvdak9bWU+MNLakV+Cm+7w4zW4fB67g==","X-Google-Smtp-Source":"AOwi7QARrLzwNd5EDckevq4fwKoXLBaGo2j4+/Igc2lCwafZxF2G7+VeBK7HrEC47LSFtYB70uB9k4BRbn4RSVPTvgs=","X-Received":"by 10.55.81.215 with SMTP id f206mr17725624qkb.188.1505213683106;\n\tTue, 12 Sep 2017 03:54:43 -0700 (PDT)","MIME-Version":"1.0","From":"sjg@google.com","In-Reply-To":"<CAPnjgZ34c8WeURAxii=7=TNfxcPzzJrzHA8qL0Q9RVROr0hZ+w@mail.gmail.com>","References":"<CAPnjgZ34c8WeURAxii=7=TNfxcPzzJrzHA8qL0Q9RVROr0hZ+w@mail.gmail.com>\n\t<1501630414-4009-1-git-send-email-bmeng.cn@gmail.com>\n\t<1501630414-4009-2-git-send-email-bmeng.cn@gmail.com>\n\t<CAPnjgZ01=zc=sMUywbeUm-=Bzfi+7zqDYx82nLVeU3AZQ1kHMQ@mail.gmail.com>\n\t<CAEUhbmV5XW6XwZzZJbuRzg8Eku+YdepfAf2GtQw_3SP5A9cHEA@mail.gmail.com>\n\t<CAPnjgZ3mziJtLsLiZLJq50Nt52xjgBpbVv=a_U0Rr2Nja7oLGw@mail.gmail.com>\n\t<CAEUhbmWUmnntSGZzLM3PYr9x-3vcjH=vQVA3tCL7Kd-wdd23cQ@mail.gmail.com>\n\t<CAPnjgZ3HaLySnnnuH+r8epTHwm_PS91q3U_buCAgre=xRk9AEg@mail.gmail.com>\n\t<CAEUhbmXKmaaOGmdgL2GE6hTE5vo950t0jtTV8EY7ou87wQH8Ow@mail.gmail.com>","Date":"Tue, 12 Sep 2017 03:54:40 -0700","X-Google-Sender-Auth":"6eA7QEhn9STf5hVMrkHUb3sae1I","Message-ID":"<CAPnjgZ0e4JVZJuv=Lkxb8Z331_frSp+Ss3-1UfHBrWYKVAMPTw@mail.gmail.com>","To":"Simon Glass <sjg@chromium.org>","Cc":"U-Boot Mailing List <u-boot@lists.denx.de>","Subject":"Re: [U-Boot] [PATCH 2/2] sandbox: Convert SANDBOX_BITS_PER_LONG to\n\tKconfig","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>","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>"}}]