From owner-freebsd-arm@FreeBSD.ORG Wed Jul 20 04:37:11 2011 Return-Path: Delivered-To: freebsd-arm@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 1F416106566B for ; Wed, 20 Jul 2011 04:37:11 +0000 (UTC) (envelope-from nitw.satish@gmail.com) Received: from mail-gw0-f54.google.com (mail-gw0-f54.google.com [74.125.83.54]) by mx1.freebsd.org (Postfix) with ESMTP id D2AF98FC13 for ; Wed, 20 Jul 2011 04:37:10 +0000 (UTC) Received: by gwb15 with SMTP id 15so373315gwb.13 for ; Tue, 19 Jul 2011 21:37:10 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=/Dts5UcE5Sbb2ZwGxm8dyScXYGkE4Z4kzgklFvYud0U=; b=NpOIoz+BGMUDIsLgyJLNGGocKsU8lNeF+UEQ48+e7gqpfbhAXZ33gEgGGz6PaWo87g d4t1Z3tFxI1RZrrWO2Aj/JZaubEAtkgHYAZdxLRSxsj/Lz4vH12g41jX03AOQmVgmK+R B6PZSgUfzEwJhw2MtGCmqHp5L3D2YJS5r7XL0= MIME-Version: 1.0 Received: by 10.236.154.169 with SMTP id h29mr8745623yhk.279.1311136630144; Tue, 19 Jul 2011 21:37:10 -0700 (PDT) Received: by 10.236.111.15 with HTTP; Tue, 19 Jul 2011 21:37:10 -0700 (PDT) In-Reply-To: References: <20110718120023.5381410656B5@hub.freebsd.org> <1311045829.1508.11.camel@bmcgover-laptop.beta.com> Date: Wed, 20 Jul 2011 10:07:10 +0530 Message-ID: From: satish kondapalli To: Damjan Marion Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: "Brian J. McGovern" , freebsd-arm@freebsd.org Subject: Re: freebsd-arm Digest, Vol 276, Issue 1 X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting FreeBSD to the StrongARM Processor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 20 Jul 2011 04:37:11 -0000 Thanks marion, "make buildkernel TARGET=arm TARGET_CPUTYPE=cortex-a8" is not working. 1) How to build custom tool chain in free BSD. is there any documentation?. 2) Which gcc version will support for cortex-A8? I want to compile FreeBSD kernel for coretx-A8. any one build the kernel for cortex-A8?(armv7). Thanks Sateesh On Tue, Jul 19, 2011 at 1:12 PM, Damjan Marion wrote: > > On Jul 19, 2011, at 6:53 AM, satish kondapalli wrote: > > Thanks McGovern, > > From gcc info it is clear that Free BSD GCC is not supporting the > > armv7(with march option) architecture and not supporting Coretx-A8 > processor ( with mcpu option). Actually I am compiling the kernel for > Cortex-A8 ( it has armv7-a archtecture) processor. > > From gcc info, i didn't find any mcpu option for cortex and march option > armv7. > > Can anyone please tell me how to build the free BSD kernel for cortex-A8 > processor( armv7 arch) with Free BSD GCC. > > > Problem is that gcc 4.2.1 doesn't support armv7 so you need to use custom > toolchain. > > If it supports procedure would be easy: > make buildkernel TARGET=arm TARGET_CPUTYPE=cortex-a8 > > Damjan >