Date: Tue, 19 Jul 2011 10:23:08 +0530 From: satish kondapalli <nitw.satish@gmail.com> To: "Brian J. McGovern" <mcgovern@beta.com> Cc: freebsd-arm@freebsd.org Subject: Re: freebsd-arm Digest, Vol 276, Issue 1 Message-ID: <CABDOszYvDc7w1mWx2Nz5dNomAouP-4uKjNettV3gr-hXn7yE-g@mail.gmail.com> In-Reply-To: <1311045829.1508.11.camel@bmcgover-laptop.beta.com> References: <20110718120023.5381410656B5@hub.freebsd.org> <1311045829.1508.11.camel@bmcgover-laptop.beta.com>
next in thread | previous in thread | raw e-mail | index | archive | help
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. Thanks Sateesh On Tue, Jul 19, 2011 at 8:53 AM, Brian J. McGovern <mcgovern@beta.com>wrote: > > Message: 1 > > Date: Mon, 18 Jul 2011 16:26:50 +0530 > > From: satish kondapalli <nitw.satish@gmail.com> > > Subject: Free BSD support for armv7. > > To: freebsd-arm@freebsd.org > > Message-ID: > > < > CABDOszbEMB1eU0iMzv6ihLy-pYOOE2BN33R9KN4ay4UJD2LY5w@mail.gmail.com> > > Content-Type: text/plain; charset=ISO-8859-1 > > > > Hi, > > > > I am trying to compile Freebsd for ARMv7 architecture. I compiled the > > kernel with the following option in my conf file. > > makeoptions CONF_CFLAGS="-march=armv7" > > > > In the compilation time i got the following error. > > head/sys/arm/arm/genassym.c:1: error: bad value (armv7) for -march= > switch. > > > > I am new to FreeBSD, can anyone explain what i need to do in my case. > > My gcc compiler info: > > # gcc -v > > Using built-in specs. > > Target: i386-undermydesk-freebsd > > Configured with: FreeBSD/i386 system compiler > > Thread model: posix > > gcc version 4.2.1 20070719 [FreeBSD] > > > > Thanks > > Sateesh > > > > > From the gcc info page... > > `-march=NAME' > This specifies the name of the target ARM architecture. GCC uses > this name to determine what kind of instructions it can emit when > generating assembly code. This option can be used in conjunction > with or instead of the `-mcpu=' option. Permissible names are: > `armv2', `armv2a', `armv3', `armv3m', `armv4', `armv4t', `armv5', > `armv5t', `armv5te', `armv6', `armv6j', `iwmmxt', `ep9312'. > > > Perhaps what you want is the -mcpu option? If you need -march, I'm > guessing it will be one of the 'later' ones. > > `-mcpu=NAME' > This specifies the name of the target ARM processor. GCC uses > this name to determine what kind of instructions it can emit when > generating assembly code. Permissible names are: `arm2', `arm250', > `arm3', `arm6', `arm60', `arm600', `arm610', `arm620', `arm7', > `arm7m', `arm7d', `arm7dm', `arm7di', `arm7dmi', `arm70', `arm700', > `arm700i', `arm710', `arm710c', `arm7100', `arm7500', `arm7500fe', > `arm7tdmi', `arm7tdmi-s', `arm8', `strongarm', `strongarm110', > `strongarm1100', `arm8', `arm810', `arm9', `arm9e', `arm920', > `arm920t', `arm922t', `arm946e-s', `arm966e-s', `arm968e-s', > `arm926ej-s', `arm940t', `arm9tdmi', `arm10tdmi', `arm1020t', > `arm1026ej-s', `arm10e', `arm1020e', `arm1022e', `arm1136j-s', > `arm1136jf-s', `mpcore', `mpcorenovfp', `arm1176jz-s', > `arm1026ej-s', `arm10e', `arm1020e', `arm1022e', `arm1136j-s', > `arm1136jf-s', `mpcore', `mpcorenovfp', `arm1176jz-s', > `arm1176jzf-s', `xscale', `iwmmxt', `ep9312'. > > >
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CABDOszYvDc7w1mWx2Nz5dNomAouP-4uKjNettV3gr-hXn7yE-g>