This is the mail archive of the
ecos-discuss@sourceware.org
mailing list for the eCos project.
adding a package to ecos (redboot)
- From: "Shah, Amit" <amitshah at xgtechnology dot com>
- To: <ecos-discuss at ecos dot sourceware dot org>
- Date: Wed, 3 Dec 2008 11:28:37 -0700
- Subject: [ECOS] adding a package to ecos (redboot)
Hi I am trying to add a Ethernet driver to my redboot build for IMX31.
Heres what I did;-
In ecos.db I added the package as
package CYGPKG_DEVS_ETH_ASIX_AX88796 {
alias { "SMSC AX88796 ethernet driver"
ax88796_eth_driver }
hardware
directory devs/eth/asix/ax88796
script smsc_ax88796_eth_drivers.cdl
description "Ethernet driver for ASIX AX88796 controller."
}
I created the cdl file "smsc_ax88796_eth_drivers.cdl"
Added the .c and .h for the driver in the appropriate place.
But when I do a "ecosconfig new mx31_3stack redboot" I get the following
error
ecos.db, package CYGPKG_DEVS_ETH_ASIX_AX88796: warning
Version subdirectory `current' does not have a CDL script
`smsc_ax88796_eth_drivers.cdl'.
ecos.db, package CYGPKG_DEVS_ETH_ASIX_AX88796: warning
This package does not have any valid version subdirectories.
Does anyone know if I am making a mistake somewhere? Is there some
manual which describes how to add a package to ecos? Any help to add a
new package to ecos will be much appreciated.
Thanks
Amit Shah
--
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss