From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 23814 invoked by alias); 14 Nov 2007 20:11:39 -0000 Received: (qmail 23795 invoked by uid 22791); 14 Nov 2007 20:11:36 -0000 X-Spam-Check-By: sourceware.org Received: from bay0-omc1-s3.bay0.hotmail.com (HELO bay0-omc1-s3.bay0.hotmail.com) (65.54.246.75) by sourceware.org (qpsmtpd/0.31) with ESMTP; Wed, 14 Nov 2007 20:11:28 +0000 Received: from BAY105-W8 ([65.54.224.108]) by bay0-omc1-s3.bay0.hotmail.com with Microsoft SMTPSVC(6.0.3790.3959); Wed, 14 Nov 2007 12:11:27 -0800 Message-ID: From: C B To: Gary Thomas CC: Date: Wed, 14 Nov 2007 20:42:00 -0000 In-Reply-To: References: <472B7580.4080409@mlbassoc.com> <473426B2.3080907@ecoscentric.com> <20071109185542.GC4401@lunn.ch> <47384695.2090107@mlbassoc.com> <20071114133044.GX4401@lunn.ch> <473B12DF.3020408@mlbassoc.com> Content-Type: text/plain; charset="Windows-1252" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-IsSubscribed: yes Mailing-List: contact ecos-discuss-help@ecos.sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: ecos-discuss-owner@ecos.sourceware.org Subject: RE: [ECOS] Adding xscale support to my eCos config X-SW-Source: 2007-11/txt/msg00111.txt.bz2 Ugh. For some reason the compile option I thought I had changed in configt= ool didn't stick. Once I was able to stick it things seemed to work. > From: csb_80@hotmail.com > To: gary@mlbassoc.com > CC: ecos-discuss@ecos.sourceware.org > Date: Wed, 14 Nov 2007 11:15:36 -0500 > Subject: RE: [ECOS] Adding xscale support to my eCos config > > > Yes, I rebuilt eCos with the same -mcpu=3Dxscale option. > > >> Date: Wed, 14 Nov 2007 08:23:11 -0700 >> From: gary@mlbassoc.com >> To: csb_80@hotmail.com >> CC: ecos-discuss@ecos.sourceware.org >> Subject: Re: [ECOS] Adding xscale support to my eCos config >> >> C B wrote: >>> >>> Yes, I believe it should just be a compiler issue. >>> >>> I'll have to look into the 'march' flag but I had tried to compile my a= pplication with -mcpu=3Dxscale and I got an error message saying that libta= rget.a uses FPA instructions where as my app uses VFP instructions. So, I a= ssumed I need to similarly modify how I build eCos but it's not clear to me= at the moment where to make that change (at least within the configtool). >> >> Did you rebuild eCos using these same settings? >> >>>> Date: Wed, 14 Nov 2007 14:30:44 +0100 >>>> From: andrew@lunn.ch >>>> To: csb_80@hotmail.com >>>> CC: ecos-discuss@ecos.sourceware.org >>>> Subject: Re: [ECOS] Adding xscale support to my eCos config >>>> >>>> On Wed, Nov 14, 2007 at 08:19:46AM -0500, C B wrote: >>>>> >>>>> Coming from a long background developing Applications in Java to the >>>>> embedded world is quite a switch so please bear with me. I've got >>>>> an eCos configuration working based on the latest from CVS for an >>>>> ARM9 based target from Atmel. I've written simple applications in >>>>> C, linked against the eCos libs and successfully executed them on my >>>>> target. So, my question: My target supports an extended DSP >>>>> instruction set (xscale). I see an xscale package in the eCos I've >>>>> checked out but it is not clear to me how I get from my current eCos >>>>> configuration to one in which I can make calls from my C application >>>>> to make use of the xscale instruction set. I would appreciate any >>>>> hints. Thanks! >>>> Isn't this just a compiler issue? So long as the compile knows you are >>>> using an xscale with these extra instructions, it should use them. >>>> >>>> Look what flags are passed to the compiler, in particular march. >>>> >>>> If you want to explicitly call these xscale instructions, you will >>>> need to do inline/out of line assembly language programming, or find a >>>> library from somewhere which has wrapped them up in something easier >>>> to use. >>>> >>>> Andrew >> >> -- >> ------------------------------------------------------------ >> Gary Thomas | Consulting for the >> MLB Associates | Embedded world >> ------------------------------------------------------------ > > _________________________________________________________________ > Windows Live Hotmail and Microsoft Office Outlook =96 together at last. = Get it now. > http://office.microsoft.com/en-us/outlook/HA102225181033.aspx?pid=3DCL100= 626971033 > > -- > Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos > and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss > _________________________________________________________________ Climb to the top of the charts!=A0 Play Star Shuffle:=A0 the word scramble = challenge with star power. http://club.live.com/star_shuffle.aspx?icid=3Dstarshuffle_wlmailtextlink_oct -- Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss