From: Andrew Lunn <andrew@lunn.ch>
To: "Ray, Sujoy (Sujoy)" <sray@agere.com>
Cc: ecos-discuss@ecos.sourceware.org
Subject: Re: [ECOS] Redboot UART driver
Date: Thu, 25 May 2006 09:56:00 -0000 [thread overview]
Message-ID: <20060525095512.GB6189@lunn.ch> (raw)
In-Reply-To: <50B437F9A2857D4191F420B587A5ABDA41372C@GEMMAILU01.ags.agere.com>
On Thu, May 25, 2006 at 08:23:27AM +0200, Ray, Sujoy (Sujoy) wrote:
> Hi ALL,
>
> Problem Summary: - I am facing a problem with the redboot build
> environment while porting it to our ARM9 based SOC. I found that it's
> not compiling the serial driver even though "ecosconfig check" shows
> that the required package is present.
>
> 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 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
>
> 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
> located in \ecos-2.0\packages\devs\serial\arm\ myUART
> \ v2_0\src\ would be compiled. But in reality I found that this is
> not getting compiled.
>
> 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
next prev parent reply other threads:[~2006-05-25 9:56 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-05-25 6:23 Ray, Sujoy (Sujoy)
2006-05-25 9:56 ` Andrew Lunn [this message]
2006-05-25 6:25 Ray, Sujoy (Sujoy)
2006-05-25 11:53 Ray, Sujoy (Sujoy)
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20060525095512.GB6189@lunn.ch \
--to=andrew@lunn.ch \
--cc=ecos-discuss@ecos.sourceware.org \
--cc=sray@agere.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).