From patchwork Tue Nov 1 04:53:04 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sam Bobroff X-Patchwork-Id: 689792 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from hemlock.osuosl.org (smtp2.osuosl.org [140.211.166.133]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 3t7Nxg3NRyz9sQw for ; Tue, 1 Nov 2016 19:02:30 +1100 (AEDT) Received: from localhost (localhost [127.0.0.1]) by hemlock.osuosl.org (Postfix) with ESMTP id 934958A633; Tue, 1 Nov 2016 08:02:27 +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 1esX6Q2hi5Vk; Tue, 1 Nov 2016 08:02:25 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by hemlock.osuosl.org (Postfix) with ESMTP id 3DA8388C86; Tue, 1 Nov 2016 08:02:25 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from whitealder.osuosl.org (smtp1.osuosl.org [140.211.166.138]) by ash.osuosl.org (Postfix) with ESMTP id A2BAC1CE6BB for ; Tue, 1 Nov 2016 08:02:23 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by whitealder.osuosl.org (Postfix) with ESMTP id 9CF338C941 for ; Tue, 1 Nov 2016 08:02:23 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from whitealder.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id tjkz6o0TaA45 for ; Tue, 1 Nov 2016 08:02:22 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from mx0a-001b2d01.pphosted.com (mx0a-001b2d01.pphosted.com [148.163.156.1]) by whitealder.osuosl.org (Postfix) with ESMTPS id DE4298C902 for ; Tue, 1 Nov 2016 08:02:22 +0000 (UTC) Received: from pps.filterd (m0098404.ppops.net [127.0.0.1]) by mx0a-001b2d01.pphosted.com (8.16.0.17/8.16.0.17) with SMTP id uA14n49H117672 for ; Tue, 1 Nov 2016 00:53:10 -0400 Received: from e23smtp02.au.ibm.com (e23smtp02.au.ibm.com [202.81.31.144]) by mx0a-001b2d01.pphosted.com with ESMTP id 26emad88b3-1 (version=TLSv1.2 cipher=AES256-SHA bits=256 verify=NOT) for ; Tue, 01 Nov 2016 00:53:10 -0400 Received: from localhost by e23smtp02.au.ibm.com with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted for from ; Tue, 1 Nov 2016 14:53:08 +1000 Received: from d23dlp01.au.ibm.com (202.81.31.203) by e23smtp02.au.ibm.com (202.81.31.208) with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted; Tue, 1 Nov 2016 14:53:05 +1000 Received: from d23relay08.au.ibm.com (d23relay08.au.ibm.com [9.185.71.33]) by d23dlp01.au.ibm.com (Postfix) with ESMTP id F38992CE8054 for ; Tue, 1 Nov 2016 15:53:04 +1100 (EST) Received: from d23av06.au.ibm.com (d23av06.au.ibm.com [9.190.235.151]) by d23relay08.au.ibm.com (8.14.9/8.14.9/NCO v10.0) with ESMTP id uA14r4vm17301536 for ; Tue, 1 Nov 2016 15:53:04 +1100 Received: from d23av06.au.ibm.com (localhost [127.0.0.1]) by d23av06.au.ibm.com (8.14.4/8.14.4/NCO v10.0 AVout) with ESMTP id uA14r4bk016431 for ; Tue, 1 Nov 2016 15:53:04 +1100 Received: from ozlabs.au.ibm.com (ozlabs.au.ibm.com [9.192.253.14]) by d23av06.au.ibm.com (8.14.4/8.14.4/NCO v10.0 AVin) with ESMTP id uA14r42W016427; Tue, 1 Nov 2016 15:53:04 +1100 Received: from tungsten.ozlabs.ibm.com (haven.au.ibm.com [9.192.254.114]) (using TLSv1.2 with cipher AES128-SHA256 (128/128 bits)) (No client certificate requested) by ozlabs.au.ibm.com (Postfix) with ESMTPSA id 58383A0195; Tue, 1 Nov 2016 15:53:04 +1100 (AEDT) From: Sam Bobroff To: buildroot@busybox.net Date: Tue, 1 Nov 2016 15:53:04 +1100 X-Mailer: git-send-email 2.1.4 X-TM-AS-MML: disable X-Content-Scanned: Fidelis XPS MAILER x-cbid: 16110104-0004-0000-0000-000001AD966A X-IBM-AV-DETECTION: SAVI=unused REMOTE=unused XFE=unused x-cbparentid: 16110104-0005-0000-0000-000008FD5054 Message-Id: <955cacaf56560ef6d27555e5e969a576187daba3.1477975719.git.sam.bobroff@au1.ibm.com> X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10432:, , definitions=2016-11-01_01:, , signatures=0 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 spamscore=0 suspectscore=1 malwarescore=0 phishscore=0 adultscore=0 bulkscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1609300000 definitions=main-1611010085 Cc: thomas.petazzoni@free-electrons.com Subject: [Buildroot] [PATCH 1/1] Autobuilder: add powerpc64 and powerpc64le 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" Add autobuilder configuration for powerpc64le, with a Power8 CPU. Add autobuilder configuration for powerpc64 (big endian), with a generic PowerPC CPU. Signed-off-by: Sam Bobroff --- Hello Buildroot, Here are autobuilder configurations for powerpc64le and powerpc64 (big endian). The powerpc64le configuration is set up for Power8 CPUs, because that's where little endian support starts. The powerpc64 configuration is set up for a generic PowerPC CPU, as that makes it as widely usable as possible but Power7 would be another reasonable choice. I tried to follow the same style as the other configurations but I should point out that: * I did not prefix the name with "br-". I'm not sure what it means. * For the actual configuration (.config files) I cut and trimmed the "Target options" section of a working Buildroot configuration. * I haven't inlcuded a pre-built tool chain. I'd like to have one but I assume it can be set up separately. * I wasn't sure if I needed to put anything in the commit message so it's pretty bare. I've run the autobuilder locally on my configurations and it seems to work (I produced some successful builds), although I did hack the autobuilder script a bit so that it would use the local configuration. Anyway, I hope this is pretty close :-) Cheers, Sam. web/toolchains/configs/powerpc64.config | 6 ++++++ web/toolchains/configs/powerpc64le-power8.config | 5 +++++ web/toolchains/configs/toolchain-configs.csv | 2 ++ 3 files changed, 13 insertions(+) create mode 100644 web/toolchains/configs/powerpc64.config create mode 100644 web/toolchains/configs/powerpc64le-power8.config diff --git a/web/toolchains/configs/powerpc64.config b/web/toolchains/configs/powerpc64.config new file mode 100644 index 0000000..13986b1 --- /dev/null +++ b/web/toolchains/configs/powerpc64.config @@ -0,0 +1,6 @@ +BR2_ARCH_IS_64=y +BR2_powerpc64=y +BR2_ARCH="powerpc64" +BR2_ENDIAN="BIG" +BR2_generic_powerpc=y +BR2_powerpc_CLASSIC=y diff --git a/web/toolchains/configs/powerpc64le-power8.config b/web/toolchains/configs/powerpc64le-power8.config new file mode 100644 index 0000000..d35c579 --- /dev/null +++ b/web/toolchains/configs/powerpc64le-power8.config @@ -0,0 +1,5 @@ +BR2_ARCH_IS_64=y +BR2_powerpc64le=y +BR2_ARCH="powerpc64le" +BR2_ENDIAN="LITTLE" +BR2_powerpc_power8=y diff --git a/web/toolchains/configs/toolchain-configs.csv b/web/toolchains/configs/toolchain-configs.csv index 0bb0741..2389743 100644 --- a/web/toolchains/configs/toolchain-configs.csv +++ b/web/toolchains/configs/toolchain-configs.csv @@ -40,6 +40,8 @@ http://autobuild.buildroot.org/toolchains/configs/linaro-aarch64.config,x86,glib http://autobuild.buildroot.org/toolchains/configs/linaro-arm.config,x86,glibc http://autobuild.buildroot.org/toolchains/configs/mips64el-ctng_n32-linux-gnu.config,x86,glibc http://autobuild.buildroot.org/toolchains/configs/mips64el-ctng_n64-linux-gnu.config,x86,glibc +http://autobuild.buildroot.org/toolchains/configs/powerpc64.config,x86_64,glibc +http://autobuild.buildroot.org/toolchains/configs/powerpc64le-power8.config,x86_64,glibc http://autobuild.buildroot.org/toolchains/configs/powerpc-ctng_e500v2-linux-gnuspe.config,x86,glibc http://autobuild.buildroot.org/toolchains/configs/sourcery-arm-armv4t.config,x86,glibc http://autobuild.buildroot.org/toolchains/configs/sourcery-arm.config,x86,glibc