public inbox for ecos-devel@sourceware.org
 help / color / mirror / Atom feed
From: Andrew Lunn <andrew@lunn.ch>
To: Paul J THACKER <paul.thacker@st.com>
Cc: ecos-devel@ecos.sourceware.org
Subject: Re: How do I add a serial driver?
Date: Tue, 10 Jun 2008 21:46:00 -0000	[thread overview]
Message-ID: <20080610214551.GJ8456@lunn.ch> (raw)
In-Reply-To: <484EE45D.6040407@st.com>

On Tue, Jun 10, 2008 at 01:30:21PM -0700, Paul J THACKER wrote:
> I'm porting ECOS to a new platform, based on the ARM926. I cloned an  
> existing platform and got everything to compile, but I can't figure out  
> how to add the serial driver.
>
> I cloned an existing driver and added it to my cdl files. It shows up in  
>  Build->Packages, but when I try to add it, I get a message that says  
> "Add and remove hardware packages by selecting a new hardware template".
>
> I tried a couple of other platforms with the same result. I'm clearly  
> not understanding this process. Can anybody help?

Hardware packages should be part of the basic target template:

target h8max {
        alias           { "H8MAX" }
        packages        { CYGPKG_HAL_H8300
                          CYGPKG_HAL_H8300_H8300H
                          CYGPKG_HAL_H8300_H8300H_H8MAX
                          CYGPKG_IO_SERIAL_H8300_SCI
                          CYGPKG_DEVS_ETH_H8300_H8MAX
                          CYGPKG_DEVICES_WATCHDOG_H8300_H8300H
        }
        description "
           The h8max target provides the packages need to run
           eCos in the strawberry-linux.com H8MAX board."
}

        Andrew

  reply	other threads:[~2008-06-10 21:46 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-06-10 20:28 Paul J THACKER
2008-06-10 21:46 ` Andrew Lunn [this message]
2008-06-10 22:11   ` Paul J THACKER
2008-06-11  6:55     ` Andrew Lunn
2008-06-11 16:26       ` Paul J THACKER
2008-06-11 16:48         ` Andrew Lunn
2008-06-11 17:32           ` Paul J THACKER
2008-06-11 19:23             ` Andrew Lunn
2008-06-11 21:21               ` Paul J THACKER
2008-06-11 21:25                 ` Andrew Lunn
2008-06-11 21:29                   ` Paul J THACKER
2008-06-11 23:14                     ` Gary Thomas
     [not found]                       ` <48506034.30601@st.com>
2008-06-11 23:34                         ` Gary Thomas
2008-06-11 23:45                           ` Paul J THACKER
2008-06-12 11:11                             ` Gary Thomas
2008-06-12 16:35                               ` Paul J THACKER

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=20080610214551.GJ8456@lunn.ch \
    --to=andrew@lunn.ch \
    --cc=ecos-devel@ecos.sourceware.org \
    --cc=paul.thacker@st.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).