From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 23289 invoked by alias); 25 May 2006 11:53:36 -0000 Received: (qmail 23272 invoked by uid 22791); 25 May 2006 11:53:34 -0000 X-Spam-Check-By: sourceware.org Received: from alageremail1.agere.com (HELO alageremail1.agere.com) (192.19.193.106) by sourceware.org (qpsmtpd/0.31) with ESMTP; Thu, 25 May 2006 11:53:31 +0000 Received: from alerelay.agere.com (alerelay.agere.com [135.14.190.33]) by alageremail1.agere.com (8.13.4/8.13.4) with ESMTP id k4PBrTSN008752; Thu, 25 May 2006 07:53:29 -0400 (EDT) Received: from PALMAILF01.ags.agere.com (palmailf01.agere.com [128.94.210.122]) by alerelay.agere.com (8.11.6+Sun/8.11.6) with ESMTP id k4PBrS003763; Thu, 25 May 2006 07:53:28 -0400 (EDT) Received: from GEMMAILU01.ags.agere.com ([135.24.25.44]) by PALMAILF01.ags.agere.com with Microsoft SMTPSVC(6.0.3790.1830); Thu, 25 May 2006 07:53:28 -0400 Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: quoted-printable Date: Thu, 25 May 2006 11:53:00 -0000 Message-ID: <50B437F9A2857D4191F420B587A5ABDA413735@GEMMAILU01.ags.agere.com> From: "Ray, Sujoy \(Sujoy\)" To: "Andrew Lunn" Cc: 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 Subject: RE: [ECOS] Redboot UART driver X-SW-Source: 2006-05/txt/msg00212.txt.bz2 Hi Andrew, As usual - you gave the correct starting point. Thanks for your help. Best regards, Sujoy Ray. -----Original Message----- From: Andrew Lunn [mailto:andrew@lunn.ch]=20 Sent: Thursday, May 25, 2006 11:55 AM To: Ray, Sujoy (Sujoy) Cc: ecos-discuss@ecos.sourceware.org Subject: Re: [ECOS] Redboot UART driver On Thu, May 25, 2006 at 08:23:27AM +0200, Ray, Sujoy (Sujoy) wrote: > Hi ALL, >=20 > Problem Summary: - I am facing a problem with the redboot build=20 > environment while porting it to our ARM9 based SOC. I found that it's=20 > not compiling the serial driver even though "ecosconfig check" shows=20 > that the required package is present. >=20 > Detailed Description:- We make ARM9 based SOC and the UART IP block is > completely different. So, I need to develop a different low level UART > driver for our chip. I did the following:- > 1) Created a folder called myUART in > \ecos-2.0\packages\devs\serial\arm and added necessary cdl and src=20 > files in > the said directory. > 2) Created a package called CYGPKG_IO_SERIAL_ARM_MYUART in > ecos.db which points to the CDL file in \ecos-2.0 > \packages\devs\serial\arm\ myUART\ v2_0\cdl > 3) Added following Lines in ecos.db > target my125Target { > alias { "myTarget" myTarget_arm9 } > packages { CYGPKG_HAL_ARM > CYGPKG_HAL_ARM_ARM9 > CYGPKG_HAL_ARM_ARM9_MYTARGET > CYGPKG_ERROR > CYGPKG_IO > CYGPKG_IO_SERIAL > CYGPKG_IO_SERIAL_ARM_ MYUART >=20 > CYGPKG_DEVS_FLASH_INTEL_28FXXX > CYGPKG_DEVS_FLASH_ARM_MYTARGET > } > description " > The target provides the packages needed to run > eCos on our SOC based board." > } > After adding above mentioned lines, my expectation is myUART.c=20 > located in \ecos-2.0\packages\devs\serial\arm\ myUART > \ v2_0\src\ would be compiled. But in reality I found that this=20 > is not getting compiled. >=20 > Any help regarding this would be highly appreciated. Redboot uses the HAL serial driver, not the fully, interrupt serial driver. The HAL serial driver should be in your CYGPKH_HAL_ARM9_MYTARGET, normally in the file hal_diag.c 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