[{"id":1760492,"web_url":"http://patchwork.ozlabs.org/comment/1760492/","msgid":"<CALeDE9NisOKwO1MZn0FWwTUWwMdLRZhpASOwDqKPf60Ww8TXYg@mail.gmail.com>","list_archive_url":null,"date":"2017-08-30T21:09:27","subject":"Re: [U-Boot] [PATCH 0/2] Board for QEMU's '-machine virt' on ARM","submitter":{"id":13206,"url":"http://patchwork.ozlabs.org/api/people/13206/","name":"Peter Robinson","email":"pbrobinson@gmail.com"},"content":"On Wed, Aug 30, 2017 at 9:31 AM, Tuomas Tynkkynen\n<tuomas.tynkkynen@iki.fi> wrote:\n> Hi,\n>\n> Sending this out in a slightly unfinished state to gauge if there's\n> interest in having this included in U-Boot. Basically this allows\n> running U-Boot under QEMU's '-machine virt' emulation, thus making it\n> possible to boot Linux distros that use the extlinux.conf booting method\n> under '-machine virt'.\n\nI'm definitely interested, and I'm aware of others that are as well.\nBeing able to do that an use things like virtio drivers and easily\ndoing CPU/mem bits would be great.\n\nPeter\n\n> To some extent, this is currently possible by emulating and running\n> U-Boot on some of the Versatile boards, but (IIRC) they have some\n> limitations like limiting to 1GB of RAM or lacking support for PCI.\n>\n> Tuomas Tynkkynen (2):\n>   PCI: Add driver for a 'pci-host-ecam-generic' host controller\n>   ARM: Add a new arch + board for QEMU's 'virt' machine\n>\n>  arch/arm/Kconfig                |  10 +++\n>  arch/arm/mach-qemu/Kconfig      |   9 ++\n>  board/qemu-arm/Makefile         |   5 ++\n>  board/qemu-arm/qemu-arm.c       |  35 ++++++++\n>  configs/qemu_arm_defconfig      |  27 ++++++\n>  drivers/pci/Kconfig             |   8 ++\n>  drivers/pci/Makefile            |   1 +\n>  drivers/pci/pcie_ecam_generic.c | 193 ++++++++++++++++++++++++++++++++++++++++\n>  include/configs/qemu-arm.h      |  63 +++++++++++++\n>  9 files changed, 351 insertions(+)\n>  create mode 100644 arch/arm/mach-qemu/Kconfig\n>  create mode 100644 board/qemu-arm/Makefile\n>  create mode 100644 board/qemu-arm/qemu-arm.c\n>  create mode 100644 configs/qemu_arm_defconfig\n>  create mode 100644 drivers/pci/pcie_ecam_generic.c\n>  create mode 100644 include/configs/qemu-arm.h\n>\n> --\n> 2.13.0\n>\n> _______________________________________________\n> U-Boot mailing list\n> U-Boot@lists.denx.de\n> https://lists.denx.de/listinfo/u-boot","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=\"bgUlJXgp\"; dkim-atps=neutral"],"Received":["from lists.denx.de (dione.denx.de [81.169.180.215])\n\tby ozlabs.org (Postfix) with ESMTP id 3xjJ6Z6cs2z9s8P\n\tfor <incoming@patchwork.ozlabs.org>;\n\tThu, 31 Aug 2017 07:09:41 +1000 (AEST)","by lists.denx.de (Postfix, from userid 105)\n\tid CEB54C21D64; Wed, 30 Aug 2017 21:09:32 +0000 (UTC)","from lists.denx.de (localhost [IPv6:::1])\n\tby lists.denx.de (Postfix) with ESMTP id 7142FC21C2B;\n\tWed, 30 Aug 2017 21:09:30 +0000 (UTC)","by lists.denx.de (Postfix, from userid 105)\n\tid 6B8E0C21C2F; Wed, 30 Aug 2017 21:09:29 +0000 (UTC)","from mail-wm0-f66.google.com (mail-wm0-f66.google.com\n\t[74.125.82.66])\n\tby lists.denx.de (Postfix) with ESMTPS id 07D40C21C2B\n\tfor <u-boot@lists.denx.de>; Wed, 30 Aug 2017 21:09:29 +0000 (UTC)","by mail-wm0-f66.google.com with SMTP id l19so3027589wmi.1\n\tfor <u-boot@lists.denx.de>; Wed, 30 Aug 2017 14:09:29 -0700 (PDT)","by 10.223.161.138 with HTTP; Wed, 30 Aug 2017 14:09:27 -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=FyBBuxMhvn00/ulrz6tiZ/GXyd+vljBa+oSKyz9P+XQ=;\n\tb=bgUlJXgpq0r7gy3wFKYHXaLKi0cKd6TTqhrIYgIMcZgaZpaAlR/uaxyeGBejvSkWSX\n\tfZidCWbSz6ZxP2546QQHobntnwSsPfbUJ0ZcgwODlUc1YpGIbpxvBt1uZTsPj6ocQ4Dm\n\toiZ/fci3rs1d8wByYYGnv0+5p/XMjaYCa+Z1ds7YzD4YFvoJs2kJC9EK/wh9TQUIv7ur\n\t9Ds+aFekDI0q9hlaFxNFhGEJjmdzFsmXqPoRASq7iXQdDrgNdp4ym25qustucjlRhIfh\n\tQqrkEZOKuZFqcAVzRr6Ie/PL/Pzje/trlaAI91kww3ewa8lYNW3asHWxc2idORK2JcJ2\n\t+lag==","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=FyBBuxMhvn00/ulrz6tiZ/GXyd+vljBa+oSKyz9P+XQ=;\n\tb=pre2Jchorv1qNtiIlxa4z7aEnI/K6qLAHoGSEBvXc7JbS4h9AqQlvjogjEQaVQLBkP\n\tDNhW+z8CAlnG+uYfhdGVdTOrrqzH2wDd98OSPi1TkrFBOUBjRKm34b+0VzGnLOxNKx3D\n\tQm2ZbNWn1+VsiwudsVZF4U7O9QeqHRA5Qdna9QPev64ul063IbHQA/OOjETCdGl4J+3f\n\tUig0CkSm/DBynoJl88QpfjrIXseychWkMDmHk4BknbrLim7S/N2t7ZTizBQ/0cBYtzI2\n\tYemW9DU+bsOZqmIGu6pwUQq+UIhA4DQWhAj778uWLJr7UOjtlXPEmyY27kMmvLf/Dazk\n\t5dCA==","X-Gm-Message-State":"AHYfb5gBq9VwPVDzjNzZnk/9+ncfWQCKe/i3R17xSOAt1lCGkmIl8Seo\n\t4CYqa7n/Rt4+fIVTtmmtN8m4RLxpBA==","X-Google-Smtp-Source":"ADKCNb5z42lemIQSwmCY41zOxKpY22aM6ZpnxpZbr0ZxVa6eJVO3BJMBGHsz0Sclrz4Iw5cRJEofLu3EgTWKOULiplg=","X-Received":"by 10.28.139.207 with SMTP id n198mr2015923wmd.181.1504127368655;\n\tWed, 30 Aug 2017 14:09:28 -0700 (PDT)","MIME-Version":"1.0","In-Reply-To":"<20170830083135.9183-1-tuomas.tynkkynen@iki.fi>","References":"<20170830083135.9183-1-tuomas.tynkkynen@iki.fi>","From":"Peter Robinson <pbrobinson@gmail.com>","Date":"Wed, 30 Aug 2017 22:09:27 +0100","Message-ID":"<CALeDE9NisOKwO1MZn0FWwTUWwMdLRZhpASOwDqKPf60Ww8TXYg@mail.gmail.com>","To":"Tuomas Tynkkynen <tuomas.tynkkynen@iki.fi>","Cc":"u-boot@lists.denx.de, Tom Rini <trini@konsulko.com>","Subject":"Re: [U-Boot] [PATCH 0/2] Board for QEMU's '-machine virt' on ARM","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":1761762,"web_url":"http://patchwork.ozlabs.org/comment/1761762/","msgid":"<20170901152503.GB17058@bill-the-cat>","list_archive_url":null,"date":"2017-09-01T15:25:03","subject":"Re: [U-Boot] [PATCH 0/2] Board for QEMU's '-machine virt' on ARM","submitter":{"id":65875,"url":"http://patchwork.ozlabs.org/api/people/65875/","name":"Tom Rini","email":"trini@konsulko.com"},"content":"On Wed, Aug 30, 2017 at 10:09:27PM +0100, Peter Robinson wrote:\n> On Wed, Aug 30, 2017 at 9:31 AM, Tuomas Tynkkynen\n> <tuomas.tynkkynen@iki.fi> wrote:\n> > Hi,\n> >\n> > Sending this out in a slightly unfinished state to gauge if there's\n> > interest in having this included in U-Boot. Basically this allows\n> > running U-Boot under QEMU's '-machine virt' emulation, thus making it\n> > possible to boot Linux distros that use the extlinux.conf booting method\n> > under '-machine virt'.\n> \n> I'm definitely interested, and I'm aware of others that are as well.\n> Being able to do that an use things like virtio drivers and easily\n> doing CPU/mem bits would be great.\n\nI too would like to see this happen.  Can you please make sure to update\n.travis.yml in the next iteration to add it to the list of qemu boards\nwe run and pass tests to (and so also send a PR for the uboot hooks\nrepo) ?  Then we can see about follow-up work to enable more and more\ntests on this platform as well, 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\" (1024-bit key;\n\tunprotected) header.d=konsulko.com header.i=@konsulko.com\n\theader.b=\"GhDsbtGg\"; dkim-atps=neutral"],"Received":["from lists.denx.de (dione.denx.de [81.169.180.215])\n\tby ozlabs.org (Postfix) with ESMTP id 3xkNN44VyPz9t1t\n\tfor <incoming@patchwork.ozlabs.org>;\n\tSat,  2 Sep 2017 01:25:08 +1000 (AEST)","by lists.denx.de (Postfix, from userid 105)\n\tid 45D5AC21F39; Fri,  1 Sep 2017 15:25:02 +0000 (UTC)","from lists.denx.de (localhost [IPv6:::1])\n\tby lists.denx.de (Postfix) with ESMTP id 9EBFCC21F39;\n\tFri,  1 Sep 2017 15:25:00 +0000 (UTC)","by lists.denx.de (Postfix, from userid 105)\n\tid 21938C21F57; Fri,  1 Sep 2017 15:24:47 +0000 (UTC)","from mail-yw0-f169.google.com (mail-yw0-f169.google.com\n\t[209.85.161.169])\n\tby lists.denx.de (Postfix) with ESMTPS id 93EFDC21ECF\n\tfor <u-boot@lists.denx.de>; Fri,  1 Sep 2017 15:24:41 +0000 (UTC)","by mail-yw0-f169.google.com with SMTP id t188so2647533ywb.1\n\tfor <u-boot@lists.denx.de>; Fri, 01 Sep 2017 08:24:41 -0700 (PDT)","from bill-the-cat ([2606:a000:140b:dc:8d41:cbff:603f:b0f2])\n\tby smtp.gmail.com with ESMTPSA id m5sm162230ywi.6.2017.09.01.08.24.39\n\t(version=TLS1_2 cipher=AES128-SHA bits=128/128);\n\tFri, 01 Sep 2017 08:24:39 -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=konsulko.com;\n\ts=google; \n\th=date:from:to:cc:subject:message-id:references:mime-version\n\t:content-disposition:in-reply-to:user-agent;\n\tbh=ljr6m9PiGfzWKHl56Zj8rz4Ae7qSvn4kwIkStnKhGDI=;\n\tb=GhDsbtGgh/TDFMYYmO28HsIdkHzonkEsejTMRHv5GhJ4XIndSrpGWivjm0jPJglppi\n\tn+RFAj7FEx7lgu6gSlBOCBn8EQD3/j2mvC81+AyLY+WT3E4pExdsQNZJUffnl5BhTAWu\n\te6nemQlhaWGvjeIRR76ojvn6cnhYYVpKnJFYk=","X-Google-DKIM-Signature":"v=1; a=rsa-sha256; c=relaxed/relaxed;\n\td=1e100.net; s=20161025;\n\th=x-gm-message-state:date:from:to:cc:subject:message-id:references\n\t:mime-version:content-disposition:in-reply-to:user-agent;\n\tbh=ljr6m9PiGfzWKHl56Zj8rz4Ae7qSvn4kwIkStnKhGDI=;\n\tb=s/kTOqckkt2EM2VBXA9pxap47zJ2vEpAvG2kOfok4NEQ0+QFXK05l2yBElOtXbqf8D\n\ta/viBlEOx5HWNQii2TAYqH2QFqX7m0OrnuWIdGK17lVWuXzYQtKiTZBm2Ak99yk4fgXU\n\te2lY57BpyVdGkBAIIgOh0ZBMj3RQjsMpSSZP7vSd4o1PIT5WzBiXIyoAudAlMAUeAkNI\n\ts7w6ENnvnEwR6iZey3l/SVNxwJtc2yonhhIqiQ4Or78fXZvjca7RZCxlGqiQPjxm4i8g\n\tTsLrBtrtq16JQMbDQS6UtqEnmrlVRxIHC8AKnY2U3KCp2iyQPSG/l5gqZ+QUF69bP55U\n\tOGcw==","X-Gm-Message-State":"AHPjjUiTR1boP1cXcTizLOhygxBuXutFT77rKUAoMIOD+qhdPW8zTuNM\n\t5R9V5A2Wsb63/SBS","X-Google-Smtp-Source":"ADKCNb4hXicxck0R0+cHNAp7fy6ykDdljfwZfFs/LSLkB1JTS6y7+VmqfpizMedOkAItKFmtTxK0SQ==","X-Received":"by 10.129.159.147 with SMTP id\n\tw141mr1892017ywg.328.1504279480266; \n\tFri, 01 Sep 2017 08:24:40 -0700 (PDT)","Date":"Fri, 1 Sep 2017 11:25:03 -0400","From":"Tom Rini <trini@konsulko.com>","To":"Peter Robinson <pbrobinson@gmail.com>","Message-ID":"<20170901152503.GB17058@bill-the-cat>","References":"<20170830083135.9183-1-tuomas.tynkkynen@iki.fi>\n\t<CALeDE9NisOKwO1MZn0FWwTUWwMdLRZhpASOwDqKPf60Ww8TXYg@mail.gmail.com>","MIME-Version":"1.0","In-Reply-To":"<CALeDE9NisOKwO1MZn0FWwTUWwMdLRZhpASOwDqKPf60Ww8TXYg@mail.gmail.com>","User-Agent":"Mutt/1.5.21 (2010-09-15)","Cc":"u-boot@lists.denx.de","Subject":"Re: [U-Boot] [PATCH 0/2] Board for QEMU's '-machine virt' on ARM","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":"multipart/mixed;\n\tboundary=\"===============5378538264328957551==\"","Errors-To":"u-boot-bounces@lists.denx.de","Sender":"\"U-Boot\" <u-boot-bounces@lists.denx.de>"}}]