From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-pa0-f48.google.com (mail-pa0-f48.google.com [209.85.220.48]) by kanga.kvack.org (Postfix) with ESMTP id 5F0606B0038 for ; Tue, 24 Nov 2015 06:41:31 -0500 (EST) Received: by padhx2 with SMTP id hx2so20395010pad.1 for ; Tue, 24 Nov 2015 03:41:31 -0800 (PST) Received: from smtprelay.synopsys.com (smtprelay2.synopsys.com. [198.182.60.111]) by mx.google.com with ESMTPS id n10si25985422pap.139.2015.11.24.03.41.30 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 24 Nov 2015 03:41:30 -0800 (PST) Subject: Re: + arc-convert-to-dma_map_ops.patch added to -mm tree References: <564b9e3a.DaXj5xWV8Mzu1fPX%akpm@linux-foundation.org> <20151124075047.GA29572@lst.de> <1448362882.32654.1.camel@ellerman.id.au> From: Vineet Gupta Message-ID: <56544C89.7060302@synopsys.com> Date: Tue, 24 Nov 2015 17:09:53 +0530 MIME-Version: 1.0 In-Reply-To: <1448362882.32654.1.camel@ellerman.id.au> Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Sender: owner-linux-mm@kvack.org List-ID: To: Michael Ellerman , "hch@lst.de" Cc: "akpm@linux-foundation.org" , arcml , "linux-mm@kvack.org" , lkml , linux-next , Anton Kolesov , Stephen Rothwell , Guenter Roeck , Alexey Brodkin , Francois Bedard Hi Michael, On Tuesday 24 November 2015 04:31 PM, Michael Ellerman wrote: > On Tue, 2015-11-24 at 09:46 +0000, Vineet Gupta wrote: >> > On Tuesday 24 November 2015 01:20 PM, hch@lst.de wrote: >>> > > Hi Vineet, >>> > > >>> > > the original version went through the buildbot, which succeeded. It seems >>> > > like the official buildbot does not support arc, and might benefit from >>> > > helping to set up an arc environment. >> > >> > I have in the past asked kisskb service folks - but haven't heard back from them. >> > Stephan, Michael could you please add ARC toolchain to kisskb build service. I can >> > buy you guys a beer (or some other beverage of choice) next time we meet :-) > Sure, where do I get a toolchain? Can I just build upstream binutils + GCC? > > chers We are in the process of revamping upstream support for GNU tools (they were added many years ago, bit-rotted and now are being redone again). The current tools are hoisted on github. https://github.com/foss-for-synopsys-dwc-arc-processors/ You could use upstream buildroot which automatically picks up relevant tools branches from our github repos. Please note that ARC cores are based off two ISA: ARCompact and recently announced ARCv2. Thus it would be awesome if we could build following kernel configs on regular basis: - axs101_defconfig - axs103_smp_defconfig This however needs 2 toolchain installs as we don't have multilibed tools which support both ISA. You can do following to generate the tools (this first pass builds the kernel as well which can be disabled if u so wish). $ wget http://buildroot.uclibc.org/downloads/buildroot-2015.08.1.tar.gz $ tar -xvf buildroot-2015.08.1.tar.gz $ cd buildroot-2015.08.1; mkdir arcv2 arcomp $ make O=arcv2 snps_axs103_defconfig ; cd arcv2; make ; cd .. # for ARCv2 tools $ make O=arcomp snps_axs101_defconfig ; cd arcomp; make # for ARCompact tools There's another way to build them by hand - with finer grainer control of specific tools branches, target flags and so forth. Let me know if you prefer that and I can point you to same (they in toolchain repo on github) Many thx for looking into this. Please let me know if you run into any issues with above. -Vineet -- To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to majordomo@kvack.org. For more info on Linux MM, see: http://www.linux-mm.org/ . Don't email: email@kvack.org