This is the mail archive of the ecos-discuss@sources.redhat.com mailing list for the eCos project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: network support


Gary Thomas wrote:

> What are you using for bootstrap firmware on the board?

I'm using gdb-stubs.

> If you're not using RedBoot, can you try it?

I just tried but unfortunately here are the problems I run into:

Using the windows eCos configuration tool, from the CirrusLogic
hardware / net packages eCos configuration, I've added the redboot
package. Then when rebuilding the library I get the following
error:

arm-elf-gcc -c  -I//F/OS/ECos/CirrusConf/netrb300101_install/include
-I//C/PROGRA~1/REDHAT~1/eCos/packages/redboot/curr
ent -I//C/PROGRA~1/REDHAT~1/eCos/packages/redboot/current/src
-I//C/PROGRA~1/REDHAT~1/eCos/packages/redboot/current/tes
ts -I. -I//C/PROGRA~1/REDHAT~1/eCos/packages/redboot/current/src/net/
-mcpu=arm7tdmi -Wall -Wpointer-arith -Wstrict-pro
totypes -Winline -Wundef -Woverloaded-virtual -g -O2 -ffunction-sections
-fdata-sections -fno-rtti -fno-exceptions -fvt
able-gc -finit-priority -Wp,-MD,src/net/enet.tmp -o src/net/redboot_enet.o
//C/PROGRA~1/REDHAT~1/eCos/packages/redboot/
current/src/net/enet.c
In file included from
//F/OS/ECos/CirrusConf/netrb300101_install/include/machine/endian.h:66,
                 from
//F/OS/ECos/CirrusConf/netrb300101_install/include/sys/bsdtypes.h:106,
                 from
//F/OS/ECos/CirrusConf/netrb300101_install/include/sys/types.h:137,
                 from
//F/OS/ECos/CirrusConf/netrb300101_install/include/sys/param.h:118,
                 from
//F/OS/ECos/CirrusConf/netrb300101_install/include/eth_drv.h:63,
                 from
//C/PROGRA~1/REDHAT~1/eCos/packages/redboot/current/src/net/enet.c:48:
//F/OS/ECos/CirrusConf/netrb300101_install/include/sys/endian.h:237: warning:
`htons' redefined
//F/OS/ECos/CirrusConf/netrb300101_install/include/net/net.h:75: warning: this
is the location of the previous definiti
on
//F/OS/ECos/CirrusConf/netrb300101_install/include/sys/endian.h:238: warning:
`htonl' redefined
//F/OS/ECos/CirrusConf/netrb300101_install/include/net/net.h:74: warning: this
is the location of the previous definiti
on
In file included from
//F/OS/ECos/CirrusConf/netrb300101_install/include/eth_drv.h:63,
                 from
//C/PROGRA~1/REDHAT~1/eCos/packages/redboot/current/src/net/enet.c:48:
//F/OS/ECos/CirrusConf/netrb300101_install/include/sys/param.h:120:
sys/simplelock.h: No such file or directory
//F/OS/ECos/CirrusConf/netrb300101_install/include/sys/param.h:132:
sys/syslimits.h: No such file or directory
//F/OS/ECos/CirrusConf/netrb300101_install/include/sys/param.h:162:
sys/signal.h: No such file or directory
In file included from
//F/OS/ECos/CirrusConf/netrb300101_install/include/eth_drv.h:63,
                 from
//C/PROGRA~1/REDHAT~1/eCos/packages/redboot/current/src/net/enet.c:48:
//F/OS/ECos/CirrusConf/netrb300101_install/include/sys/param.h:202: warning:
`CLBYTES' redefined
//F/OS/ECos/CirrusConf/netrb300101_install/include/machine/param.h:72:
warning: this is the location of the previous de
finition
//F/OS/ECos/CirrusConf/netrb300101_install/include/sys/param.h:208: warning:
`CLSIZE' is not defined
In file included from
//F/OS/ECos/CirrusConf/netrb300101_install/include/eth_drv.h:64,
                 from
//C/PROGRA~1/REDHAT~1/eCos/packages/redboot/current/src/net/enet.c:48:
//F/OS/ECos/CirrusConf/netrb300101_install/include/sys/socket.h:156: warning:
`AF_INET' redefined
//F/OS/ECos/CirrusConf/netrb300101_install/include/net/net.h:106: warning:
this is the location of the previous definit
ion
In file included from
//F/OS/ECos/CirrusConf/netrb300101_install/include/eth_drv.h:69,
                 from
//C/PROGRA~1/REDHAT~1/eCos/packages/redboot/current/src/net/enet.c:48:
//F/OS/ECos/CirrusConf/netrb300101_install/include/netinet/in.h:269: warning:
`INADDR_ANY' redefined
//F/OS/ECos/CirrusConf/netrb300101_install/include/net/net.h:107: warning:
this is the location of the previous definit
ion
make[1]: *** [src/net/enet.o.d] Error 1
make[1]: Leaving directory
`/f/OS/ECos/CirrusConf/netrb300101_build/redboot/current'
make: *** [build] Error 2

...
Any hints?
So at the moment I'm simply trying to compile from  CirrusLogic hardware / net
package (without network support)
to see if I can get the edb7212_redboot_ROM.bin file built. Doing that raises
several conflicts which I let the
eCos Configuration Tool resolve with its suggested solutions. Right now
compilation is proceeding...

Fano


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]