From patchwork Wed Sep 20 02:48:45 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Joel Stanley X-Patchwork-Id: 815970 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (mailfrom) smtp.mailfrom=busybox.net (client-ip=140.211.166.137; helo=fraxinus.osuosl.org; envelope-from=buildroot-bounces@busybox.net; receiver=) Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.b="YrXcvcPQ"; dkim-atps=neutral Received: from fraxinus.osuosl.org (smtp4.osuosl.org [140.211.166.137]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 3xxkjc1r3Cz9s78 for ; Wed, 20 Sep 2017 12:49:40 +1000 (AEST) Received: from localhost (localhost [127.0.0.1]) by fraxinus.osuosl.org (Postfix) with ESMTP id 8623687336; Wed, 20 Sep 2017 02:49:35 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from fraxinus.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id Zrv8MLUkdWq6; Wed, 20 Sep 2017 02:49:34 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by fraxinus.osuosl.org (Postfix) with ESMTP id EBEB1871D8; Wed, 20 Sep 2017 02:49:33 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from hemlock.osuosl.org (smtp2.osuosl.org [140.211.166.133]) by ash.osuosl.org (Postfix) with ESMTP id 54D531C2679 for ; Wed, 20 Sep 2017 02:49:32 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by hemlock.osuosl.org (Postfix) with ESMTP id 4F5DC87E80 for ; Wed, 20 Sep 2017 02:49:32 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from hemlock.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id aG8elsUCN6yQ for ; Wed, 20 Sep 2017 02:49:31 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from mail-pf0-f195.google.com (mail-pf0-f195.google.com [209.85.192.195]) by hemlock.osuosl.org (Postfix) with ESMTPS id 4466687BF7 for ; Wed, 20 Sep 2017 02:49:31 +0000 (UTC) Received: by mail-pf0-f195.google.com with SMTP id e69so633402pfg.4 for ; Tue, 19 Sep 2017 19:49:31 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=sender:from:to:cc:subject:date:message-id:in-reply-to:references; bh=N+ziYGK8lr1rQtLGX94niLVLDudKiAG5BabkzJTsnFw=; b=YrXcvcPQz9ubYjbuoc+pMg3WqNnD/RqYfUaeYm1ncEjOlviZOFfp0/51TxTor7VQgw UY3lArYxvcRzhBIXYMqKYctyPyZCPzQc/2plNP3IGUM0xJZQewbSV7S0gqKgT9j66DPC bdfRMnA9D3TNWWpOGe+wGHfPFZ8OA991/B+optVcPBvcQeKX5+EpLEE1UzpYoIm+N/Et I2z0/ASQtOZgLJd8e7p0rDtSaIDzmhLjTyoTPNBWoOTi57TVtWcd2haRLDyqK4w/He+2 S8npcNswBnRExuOMxBymo3tgxIL2vW5E/qw5MrgZroosWX0yDGnmHgN8Xc//YcmA4V9y eAtw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:from:to:cc:subject:date:message-id :in-reply-to:references; bh=N+ziYGK8lr1rQtLGX94niLVLDudKiAG5BabkzJTsnFw=; b=jTdUsdhjVhVrHqY1Kv8hA32Y1FEVHj3fYYu/zR8pm+/s9f69MWK+Rya6GXDNx6ROwF aQli1BfThChxjQ0pLQg91oMUqyKnpITqQgfzTDHpEF5lML5xmbfW6CIqVNI1CRVZL6nX NTuK1YIG1AxizH4bxXsZTgPTYP3XeqotZyUDukawMDfFSq1r6fUS7sUlgHPXHA9lpsvT JcTe3DxGxw1PO913PWKRElJmF9YULI9+/hje+2/LL4QT8+r0U/NjwQT1mOYlVKlNXUXD 9Z03VZO3IVZVLDGNQgEB5XlGgBcuxgZ8pie/tefbSCcEOrQCrvon/GffcS4ysMCWg1x6 UqLw== X-Gm-Message-State: AHPjjUhFVkroETd4HXQ9Uqmkb40QjXLIJDW22pGV/mCmylvR9t+3WwHE hFOJHThty2tdLXKj/hWIUGKLg1XUHWE= X-Google-Smtp-Source: AOwi7QB0qvFlZp10xHeJx15eQ2NqwTcOqj6IvoosWLmUlBVQL4SoxhvsvIlmbS031Jzkd4ChP7zIGA== X-Received: by 10.159.218.69 with SMTP id x5mr627951plv.4.1505875770483; Tue, 19 Sep 2017 19:49:30 -0700 (PDT) Received: from aurora.jms.id.au ([203.0.153.9]) by smtp.gmail.com with ESMTPSA id j83sm5947313pfe.133.2017.09.19.19.49.26 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Tue, 19 Sep 2017 19:49:29 -0700 (PDT) Received: by aurora.jms.id.au (sSMTP sendmail emulation); Wed, 20 Sep 2017 12:19:24 +0930 From: Joel Stanley 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 List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Errors-To: buildroot-bounces@busybox.net Sender: "buildroot" This is similar to the ppc64_pseries config, except we build for little endian instead of big endian. The default architecture is set to Power8 as this was the first fully enabled LE machine. Signed-off-by: Joel Stanley --- .gitlab-ci.yml | 1 + DEVELOPERS | 2 ++ board/qemu/ppc64le-pseries/readme.txt | 9 +++++++++ configs/qemu_ppc64le_pseries_defconfig | 21 +++++++++++++++++++++ 4 files changed, 33 insertions(+) create mode 100644 board/qemu/ppc64le-pseries/readme.txt create mode 100644 configs/qemu_ppc64le_pseries_defconfig diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index b44c935f2a93..ff3541a9e3c9 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -174,6 +174,7 @@ qemu_mips64r6el_malta_defconfig: *defconfig qemu_nios2_10m50_defconfig: *defconfig qemu_or1k_defconfig: *defconfig qemu_ppc64_pseries_defconfig: *defconfig +qemu_ppc64le_pseries_defconfig: *defconfig qemu_ppc_g3beige_defconfig: *defconfig qemu_ppc_mpc8544ds_defconfig: *defconfig qemu_ppc_virtex_ml507_defconfig: *defconfig diff --git a/DEVELOPERS b/DEVELOPERS index ed5fa3d7604a..805898d6be97 100644 --- a/DEVELOPERS +++ b/DEVELOPERS @@ -913,6 +913,8 @@ F: package/fxload/ N: Joel Stanley F: package/pdbg/ +F: board/qemu/ppc64le-pseries/ +F: configs/qemu_ppc64le_pseries_defconfig N: Johan Derycke F: package/python-libconfig/ diff --git a/board/qemu/ppc64le-pseries/readme.txt b/board/qemu/ppc64le-pseries/readme.txt new file mode 100644 index 000000000000..dd188c505f4e --- /dev/null +++ b/board/qemu/ppc64le-pseries/readme.txt @@ -0,0 +1,9 @@ +Run the emulation with: + +qemu-system-ppc64le -M pseries -nographic \ + -kernel output/images/vmlinux \ + -initrd output/images/rootfs.ext2 + +The login prompt will appear in the terminal window. + +Tested with QEMU 2.10.0 diff --git a/configs/qemu_ppc64le_pseries_defconfig b/configs/qemu_ppc64le_pseries_defconfig new file mode 100644 index 000000000000..62e729d30260 --- /dev/null +++ b/configs/qemu_ppc64le_pseries_defconfig @@ -0,0 +1,21 @@ +# Architecture +BR2_powerpc64le=y +BR2_powerpc_power8=y + +# System +BR2_TARGET_GENERIC_GETTY_PORT="hvc0" +BR2_SYSTEM_DHCP="eth0" + +# Filesystem +BR2_TARGET_ROOTFS_EXT2=y +# BR2_TARGET_ROOTFS_TAR is not set + +# Linux headers same as kernel, a 4.13 series +BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_4_13=y + +# Kernel +BR2_LINUX_KERNEL=y +BR2_LINUX_KERNEL_CUSTOM_VERSION=y +BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="4.13.1" +BR2_LINUX_KERNEL_DEFCONFIG="pseries_le" +BR2_LINUX_KERNEL_VMLINUX=y