[ECOS] adding a package to ecos (redboot)

Shah, Amit amitshah@xgtechnology.com
Wed Dec 3 19:12:00 GMT 2008


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



More information about the Ecos-discuss mailing list