From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 7168 invoked by alias); 21 Jun 2005 13:53:34 -0000 Mailing-List: contact ecos-discuss-help@ecos.sourceware.org; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: ecos-discuss-owner@ecos.sourceware.org Received: (qmail 7156 invoked by uid 22791); 21 Jun 2005 13:53:31 -0000 Received: from londo.lunn.ch (HELO londo.lunn.ch) (80.238.139.98) by sourceware.org (qpsmtpd/0.30-dev) with ESMTP; Tue, 21 Jun 2005 13:53:31 +0000 Received: from lunn by londo.lunn.ch with local (Exim 3.36 #1 (Debian)) id 1DkjBs-0002qT-00; Tue, 21 Jun 2005 15:53:24 +0200 Date: Tue, 21 Jun 2005 13:53:00 -0000 To: "K. Sinan YILDIRIM" Cc: ecos-discuss@sources.redhat.com Message-ID: <20050621135324.GG30632@lunn.ch> Mail-Followup-To: "K. Sinan YILDIRIM" , ecos-discuss@sources.redhat.com References: <200506211638.23121.sinany@beko.com.tr> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200506211638.23121.sinany@beko.com.tr> User-Agent: Mutt/1.5.9i From: Andrew Lunn Subject: Re: [ECOS] ECOS - MIPS X-SW-Source: 2005-06/txt/msg00190.txt.bz2 On Tue, Jun 21, 2005 at 04:38:23PM +0300, K. Sinan YILDIRIM wrote: > hi! > > I examined the MIPS platform ports for Ecos. I have some problems and i am a > little bit confused. > > As far as i see, we cannot configure or compile ecos without > selecting a target platform. One of the Mips targets i examined was > Atlas board. when i configure ecos with configtool, it generates a > buildtree with the atlas board spesific headers. > > Is there a possible way to configure ecos without using a target > platform ? or jusy empty macros or platform specific functions? I > want to have a clean and a MIPS ported code and then fill these > functions according to my board. Is there a way to do this ? I dont > want to inspect atlas board specific codes or compile atlas platform > files. The normal way of doing a port is to take an existing port which is the most similar and modify it to work for your target. So if you board is like the atlas, then use the atlas for a starting point. If its more like a tx49 then use the tx49 as a starting point. In the repository you need to copy the HAL files from you choosen starting target to a directory for your target. You then need to start making the modifications, and add the necassary entries in the packages/ecos.db file. There is a documentation about doing a port. See http://ecos.sourceware.org/docs-latest/ref/hal-porting-guide.html Andrew -- Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss