{"id":815970,"url":"http://patchwork.ozlabs.org/api/patches/815970/?format=json","web_url":"http://patchwork.ozlabs.org/project/buildroot/patch/20170920024845.26157-3-joel@jms.id.au/","project":{"id":27,"url":"http://patchwork.ozlabs.org/api/projects/27/?format=json","name":"Buildroot development","link_name":"buildroot","list_id":"buildroot.buildroot.org","list_email":"buildroot@buildroot.org","web_url":"","scm_url":"","webscm_url":"","list_archive_url":"","list_archive_url_format":"","commit_url_format":""},"msgid":"<20170920024845.26157-3-joel@jms.id.au>","list_archive_url":null,"date":"2017-09-20T02:48:45","name":"[2/2] configs: Add qemu_ppc64le_pseries","commit_ref":null,"pull_url":null,"state":"accepted","archived":false,"hash":"e721163cbe84155c91a91bcbd55c7c57647b40e5","submitter":{"id":48628,"url":"http://patchwork.ozlabs.org/api/people/48628/?format=json","name":"Joel Stanley","email":"joel@jms.id.au"},"delegate":null,"mbox":"http://patchwork.ozlabs.org/project/buildroot/patch/20170920024845.26157-3-joel@jms.id.au/mbox/","series":[{"id":4002,"url":"http://patchwork.ozlabs.org/api/series/4002/?format=json","web_url":"http://patchwork.ozlabs.org/project/buildroot/list/?series=4002","date":"2017-09-20T02:48:43","name":"ppc64 little endian defconfig","version":1,"mbox":"http://patchwork.ozlabs.org/series/4002/mbox/"}],"comments":"http://patchwork.ozlabs.org/api/patches/815970/comments/","check":"pending","checks":"http://patchwork.ozlabs.org/api/patches/815970/checks/","tags":{},"related":[],"headers":{"Return-Path":"<buildroot-bounces@busybox.net>","X-Original-To":["incoming@patchwork.ozlabs.org","buildroot@lists.busybox.net"],"Delivered-To":["patchwork-incoming@bilbo.ozlabs.org","buildroot@osuosl.org"],"Authentication-Results":["ozlabs.org;\n\tspf=pass (mailfrom) smtp.mailfrom=busybox.net\n\t(client-ip=140.211.166.137; helo=fraxinus.osuosl.org;\n\tenvelope-from=buildroot-bounces@busybox.net;\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=\"YrXcvcPQ\"; dkim-atps=neutral"],"Received":["from fraxinus.osuosl.org (smtp4.osuosl.org [140.211.166.137])\n\t(using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits))\n\t(No client certificate requested)\n\tby ozlabs.org (Postfix) with ESMTPS id 3xxkjc1r3Cz9s78\n\tfor <incoming@patchwork.ozlabs.org>;\n\tWed, 20 Sep 2017 12:49:40 +1000 (AEST)","from localhost (localhost [127.0.0.1])\n\tby fraxinus.osuosl.org (Postfix) with ESMTP id 8623687336;\n\tWed, 20 Sep 2017 02:49:35 +0000 (UTC)","from fraxinus.osuosl.org ([127.0.0.1])\n\tby localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024)\n\twith ESMTP id Zrv8MLUkdWq6; Wed, 20 Sep 2017 02:49:34 +0000 (UTC)","from ash.osuosl.org (ash.osuosl.org [140.211.166.34])\n\tby fraxinus.osuosl.org (Postfix) with ESMTP id EBEB1871D8;\n\tWed, 20 Sep 2017 02:49:33 +0000 (UTC)","from hemlock.osuosl.org (smtp2.osuosl.org [140.211.166.133])\n\tby ash.osuosl.org (Postfix) with ESMTP id 54D531C2679\n\tfor <buildroot@lists.busybox.net>;\n\tWed, 20 Sep 2017 02:49:32 +0000 (UTC)","from localhost (localhost [127.0.0.1])\n\tby hemlock.osuosl.org (Postfix) with ESMTP id 4F5DC87E80\n\tfor <buildroot@lists.busybox.net>;\n\tWed, 20 Sep 2017 02:49:32 +0000 (UTC)","from hemlock.osuosl.org ([127.0.0.1])\n\tby localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024)\n\twith ESMTP id aG8elsUCN6yQ for <buildroot@lists.busybox.net>;\n\tWed, 20 Sep 2017 02:49:31 +0000 (UTC)","from mail-pf0-f195.google.com (mail-pf0-f195.google.com\n\t[209.85.192.195])\n\tby hemlock.osuosl.org (Postfix) with ESMTPS id 4466687BF7\n\tfor <buildroot@buildroot.org>; Wed, 20 Sep 2017 02:49:31 +0000 (UTC)","by mail-pf0-f195.google.com with SMTP id e69so633402pfg.4\n\tfor <buildroot@buildroot.org>; Tue, 19 Sep 2017 19:49:31 -0700 (PDT)","from aurora.jms.id.au ([203.0.153.9])\n\tby smtp.gmail.com with ESMTPSA id\n\tj83sm5947313pfe.133.2017.09.19.19.49.26\n\t(version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256);\n\tTue, 19 Sep 2017 19:49:29 -0700 (PDT)","by aurora.jms.id.au (sSMTP sendmail emulation);\n\tWed, 20 Sep 2017 12:19:24 +0930"],"X-Virus-Scanned":["amavisd-new at osuosl.org","amavisd-new at osuosl.org"],"X-Greylist":"domain auto-whitelisted by SQLgrey-1.7.6","DKIM-Signature":"v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025;\n\th=sender:from:to:cc:subject:date:message-id:in-reply-to:references;\n\tbh=N+ziYGK8lr1rQtLGX94niLVLDudKiAG5BabkzJTsnFw=;\n\tb=YrXcvcPQz9ubYjbuoc+pMg3WqNnD/RqYfUaeYm1ncEjOlviZOFfp0/51TxTor7VQgw\n\tUY3lArYxvcRzhBIXYMqKYctyPyZCPzQc/2plNP3IGUM0xJZQewbSV7S0gqKgT9j66DPC\n\tbdfRMnA9D3TNWWpOGe+wGHfPFZ8OA991/B+optVcPBvcQeKX5+EpLEE1UzpYoIm+N/Et\n\tI2z0/ASQtOZgLJd8e7p0rDtSaIDzmhLjTyoTPNBWoOTi57TVtWcd2haRLDyqK4w/He+2\n\tS8npcNswBnRExuOMxBymo3tgxIL2vW5E/qw5MrgZroosWX0yDGnmHgN8Xc//YcmA4V9y\n\teAtw==","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=N+ziYGK8lr1rQtLGX94niLVLDudKiAG5BabkzJTsnFw=;\n\tb=jTdUsdhjVhVrHqY1Kv8hA32Y1FEVHj3fYYu/zR8pm+/s9f69MWK+Rya6GXDNx6ROwF\n\taQli1BfThChxjQ0pLQg91oMUqyKnpITqQgfzTDHpEF5lML5xmbfW6CIqVNI1CRVZL6nX\n\tNTuK1YIG1AxizH4bxXsZTgPTYP3XeqotZyUDukawMDfFSq1r6fUS7sUlgHPXHA9lpsvT\n\tJcTe3DxGxw1PO913PWKRElJmF9YULI9+/hje+2/LL4QT8+r0U/NjwQT1mOYlVKlNXUXD\n\t9Z03VZO3IVZVLDGNQgEB5XlGgBcuxgZ8pie/tefbSCcEOrQCrvon/GffcS4ysMCWg1x6\n\tUqLw==","X-Gm-Message-State":"AHPjjUhFVkroETd4HXQ9Uqmkb40QjXLIJDW22pGV/mCmylvR9t+3WwHE\n\thFOJHThty2tdLXKj/hWIUGKLg1XUHWE=","X-Google-Smtp-Source":"AOwi7QB0qvFlZp10xHeJx15eQ2NqwTcOqj6IvoosWLmUlBVQL4SoxhvsvIlmbS031Jzkd4ChP7zIGA==","X-Received":"by 10.159.218.69 with SMTP id x5mr627951plv.4.1505875770483;\n\tTue, 19 Sep 2017 19:49:30 -0700 (PDT)","From":"Joel Stanley <joel@jms.id.au>","To":"buildroot@buildroot.org","Date":"Wed, 20 Sep 2017 12:18:45 +0930","Message-Id":"<20170920024845.26157-3-joel@jms.id.au>","X-Mailer":"git-send-email 2.14.1","In-Reply-To":"<20170920024845.26157-1-joel@jms.id.au>","References":"<20170920024845.26157-1-joel@jms.id.au>","Subject":"[Buildroot] [PATCH 2/2] configs: Add qemu_ppc64le_pseries","X-BeenThere":"buildroot@busybox.net","X-Mailman-Version":"2.1.18-1","Precedence":"list","List-Id":"Discussion and development of buildroot <buildroot.busybox.net>","List-Unsubscribe":"<http://lists.busybox.net/mailman/options/buildroot>,\n\t<mailto:buildroot-request@busybox.net?subject=unsubscribe>","List-Archive":"<http://lists.busybox.net/pipermail/buildroot/>","List-Post":"<mailto:buildroot@busybox.net>","List-Help":"<mailto:buildroot-request@busybox.net?subject=help>","List-Subscribe":"<http://lists.busybox.net/mailman/listinfo/buildroot>,\n\t<mailto:buildroot-request@busybox.net?subject=subscribe>","MIME-Version":"1.0","Content-Type":"text/plain; charset=\"us-ascii\"","Content-Transfer-Encoding":"7bit","Errors-To":"buildroot-bounces@busybox.net","Sender":"\"buildroot\" <buildroot-bounces@busybox.net>"},"content":"This is similar to the ppc64_pseries config, except we build for little\nendian instead of big endian.\n\nThe default architecture is set to Power8 as this was the first fully\nenabled LE machine.\n\nSigned-off-by: Joel Stanley <joel@jms.id.au>\n---\n .gitlab-ci.yml                         |  1 +\n DEVELOPERS                             |  2 ++\n board/qemu/ppc64le-pseries/readme.txt  |  9 +++++++++\n configs/qemu_ppc64le_pseries_defconfig | 21 +++++++++++++++++++++\n 4 files changed, 33 insertions(+)\n create mode 100644 board/qemu/ppc64le-pseries/readme.txt\n create mode 100644 configs/qemu_ppc64le_pseries_defconfig","diff":"diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml\nindex b44c935f2a93..ff3541a9e3c9 100644\n--- a/.gitlab-ci.yml\n+++ b/.gitlab-ci.yml\n@@ -174,6 +174,7 @@ qemu_mips64r6el_malta_defconfig: *defconfig\n qemu_nios2_10m50_defconfig: *defconfig\n qemu_or1k_defconfig: *defconfig\n qemu_ppc64_pseries_defconfig: *defconfig\n+qemu_ppc64le_pseries_defconfig: *defconfig\n qemu_ppc_g3beige_defconfig: *defconfig\n qemu_ppc_mpc8544ds_defconfig: *defconfig\n qemu_ppc_virtex_ml507_defconfig: *defconfig\ndiff --git a/DEVELOPERS b/DEVELOPERS\nindex ed5fa3d7604a..805898d6be97 100644\n--- a/DEVELOPERS\n+++ b/DEVELOPERS\n@@ -913,6 +913,8 @@ F:\tpackage/fxload/\n \n N:\tJoel Stanley <joel@jms.id.au>\n F:\tpackage/pdbg/\n+F:\tboard/qemu/ppc64le-pseries/\n+F:\tconfigs/qemu_ppc64le_pseries_defconfig\n \n N:\tJohan Derycke <johanderycke@gmail.com>\n F:\tpackage/python-libconfig/\ndiff --git a/board/qemu/ppc64le-pseries/readme.txt b/board/qemu/ppc64le-pseries/readme.txt\nnew file mode 100644\nindex 000000000000..dd188c505f4e\n--- /dev/null\n+++ b/board/qemu/ppc64le-pseries/readme.txt\n@@ -0,0 +1,9 @@\n+Run the emulation with:\n+\n+qemu-system-ppc64le -M pseries -nographic \\\n+\t\t-kernel output/images/vmlinux \\\n+\t\t-initrd output/images/rootfs.ext2\n+\n+The login prompt will appear in the terminal window.\n+\n+Tested with QEMU 2.10.0\ndiff --git a/configs/qemu_ppc64le_pseries_defconfig b/configs/qemu_ppc64le_pseries_defconfig\nnew file mode 100644\nindex 000000000000..62e729d30260\n--- /dev/null\n+++ b/configs/qemu_ppc64le_pseries_defconfig\n@@ -0,0 +1,21 @@\n+# Architecture\n+BR2_powerpc64le=y\n+BR2_powerpc_power8=y\n+\n+# System\n+BR2_TARGET_GENERIC_GETTY_PORT=\"hvc0\"\n+BR2_SYSTEM_DHCP=\"eth0\"\n+\n+# Filesystem\n+BR2_TARGET_ROOTFS_EXT2=y\n+# BR2_TARGET_ROOTFS_TAR is not set\n+\n+# Linux headers same as kernel, a 4.13 series\n+BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_4_13=y\n+\n+# Kernel\n+BR2_LINUX_KERNEL=y\n+BR2_LINUX_KERNEL_CUSTOM_VERSION=y\n+BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE=\"4.13.1\"\n+BR2_LINUX_KERNEL_DEFCONFIG=\"pseries_le\"\n+BR2_LINUX_KERNEL_VMLINUX=y\n","prefixes":["2/2"]}