This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
Re: About adding new platform
- From: Andrew Lunn <andrew dot lunn at ascom dot ch>
- To: jameshq <jameshq at liverpool dot ac dot uk>
- Cc: ecos-discuss at sources dot redhat dot com
- Date: Mon, 10 Jun 2002 17:32:48 +0200
- Subject: Re: [ECOS] About adding new platform
- References: <PJECKLPLDMIGMBJHOILFGEJCCAAA.jameshq@liv.ac.uk>
On Mon, Jun 10, 2002 at 04:20:34PM +0100, jameshq wrote:
> Hi:
> I try to use ecos configuration tool v2.08 and I found it is not allowed
> to add a new platform via the menu: Tools -> Platforms -> Add. the OK button
> can be pressed all the time. Is that right? and if so how can I add a new
> platform into ecos? Thanks a lot!
>
> james
Do you mean you have written a new HAL and you now what the GUI to be
able to use it in a configuration?
I've never actually done this, but i think you need to edit the
ecos.db in the packages directory. You see entries like
target ebsa285 {
alias { "Intel EBSA285 StrongARM board" ebsa }
packages { CYGPKG_HAL_ARM
CYGPKG_HAL_ARM_EBSA285
CYGPKG_IO_PCI
CYGPKG_DEVS_ETH_ARM_EBSA285
CYGPKG_DEVS_ETH_INTEL_I82559
CYGPKG_IO_SERIAL_ARM_EBSA285
CYGPKG_DEVICES_WATCHDOG_ARM_EBSA285
CYGPKG_DEVS_FLASH_EBSA285
}
description "
The ebsa285 target provides the packages needed to run
eCos on an Intel EBSA285 StrongARM board."
}
I think you need to add a new one for your platform.
Andrew
--
Before posting, please read the FAQ: http://sources.redhat.com/fom/ecos
and search the list archive: http://sources.redhat.com/ml/ecos-discuss