[ECOS] KS32C5000 Ethernet Multicast Support

Chris Garry cgarry@sweeneydesign.co.uk
Mon May 26 21:38:00 GMT 2003



> ----- Original Message ----- 
> From: "Jay Foster" <jay@systech.com>
> To: <ecos-discuss@sources.redhat.com>
> Sent: Friday, May 23, 2003 6:04 PM
> Subject: [ECOS] KS32C5000 Ethernet Multicast Support
>
>
> > I have attached a preview of what will become a future patch to add
> > multicast support to the Samsung KS32C5000 (S3C4510B) ethernet driver (there
> > is no Changelog for now).
> >
> > I have only been able to do limited testing at this time, so I am looking
> > for help from others using the Samsung part to help verify that at least it
> > doesn't break anything.  My target is big endian, so I have not been able to
> > verify that it works on little endian configurations.  I believe that it
> > will.  Based on other chit-chat in this group, it seems that most ARM
> > developers are using little endian, so there should be someone out there
> > able to try this out.
> >
> > Thanks.
> >
> > Jay
> >  <<ks32c5000_mc_review.pat>>
> >
>
> I've tested this on the E7T platform (little endian) and everything works
> as before - so it doesn't break anything!
> Chris
>

Actually I'll take that back - building RedBoot with networking support now fails:

make[1]: Entering directory `/ecos-e/Cygwin/ecos-build/redboot-all4_build/devs/eth/arm/ks32c5000/current'
arm-elf-gcc -c -I/ecos-e/Cygwin/ecos-build/redboot-all4_install/include -I/ecos-e/Cygwin/opt/ecos/ecos/packages/devs/eth/arm/ks32c50
00/current -I/ecos-e/Cygwin/opt/ecos/ecos/packages/devs/eth/arm/ks32c5000/current/src -I/ecos-e/Cygwin/opt/ecos/ecos/packages/devs/e
th/arm/ks32c5000/current/tests -I. -I/ecos-e/Cygwin/opt/ecos/ecos/packages/devs/eth/arm/ks32c5000/current/src/ -mcpu=arm7tdmi -mno-s
hort-load-words -Wall -Wpointer-arith -Wstrict-prototypes -Winline -Wundef -Woverloaded-virtual -g -O2 -ffunction-sections -fdata-se
ctions -fno-rtti -fno-exceptions -fvtable-gc -finit-priority -D_KERNEL -D__ECOS -Wp,-MD,src/ks5000_ether.tmp -o
src/devs_eth_arm_ks32c5000_ks5000_ether.o /ecos-e/Cygwin/opt/ecos/ecos/packages/devs/eth/arm/ks32c5000/current/src/ks5000_ether.c
/ecos-e/Cygwin/opt/ecos/ecos/packages/devs/eth/arm/ks32c5000/current/src/ks5000_ether.c: In function `ks32c5000_eth_control':
/ecos-e/Cygwin/opt/ecos/ecos/packages/devs/eth/arm/ks32c5000/current/src/ks5000_ether.c:1328: warning: implicit declaration of
function `CYG_ASSERTC'
/ecos-e/Cygwin/opt/ecos/ecos/packages/devs/eth/arm/ks32c5000/current/src/ks5000_ether.c:1359: warning: implicit declaration of
function `CYG_FAIL'
/ecos-e/Cygwin/opt/ecos/ecos/packages/devs/eth/arm/ks32c5000/current/src/ks5000_ether.c: In function `ks32c5000_eth_send':
/ecos-e/Cygwin/opt/ecos/ecos/packages/devs/eth/arm/ks32c5000/current/src/ks5000_ether.c:1459: warning: implicit declaration of
function `memcpy'
arm-elf-gcc -c -I/ecos-e/Cygwin/ecos-build/redboot-all4_install/include -I/ecos-e/Cygwin/opt/ecos/ecos/packages/devs/eth/arm/ks32c50
00/current -I/ecos-e/Cygwin/opt/ecos/ecos/packages/devs/eth/arm/ks32c5000/current/src -I/ecos-e/Cygwin/opt/ecos/ecos/packages/devs/e
th/arm/ks32c5000/current/tests -I. -I/ecos-e/Cygwin/opt/ecos/ecos/packages/devs/eth/arm/ks32c5000/current/src/ -mcpu=arm7tdmi -mno-s
hort-load-words -Wall -Wpointer-arith -Wstrict-prototypes -Winline -Wundef -Woverloaded-virtual -g -O2 -ffunction-sections -fdata-se
ctions -fno-rtti -fno-exceptions -fvtable-gc -finit-priority -D_KERNEL -D__ECOS -Wp,-MD,src/lxt972.tmp -o
src/devs_eth_arm_ks32c5000_lxt972.o /ecos-e/Cygwin/opt/ecos/ecos/packages/devs/eth/arm/ks32c5000/current/src/lxt972.c
arm-elf-ar rcs /ecos-e/Cygwin/ecos-build/redboot-all4_install/lib/libextras.a src/devs_eth_arm_ks32c5000_ks5000_ether.o
src/devs_eth_arm_ks32c5000_lxt972.o
make[1]: Leaving directory `/ecos-e/Cygwin/ecos-build/redboot-all4_build/devs/eth/arm/ks32c5000/current'
make -r -C hal/common/current /ecos-e/Cygwin/ecos-build/redboot-all4_install/lib/extras.o
make[1]: Entering directory `/ecos-e/Cygwin/ecos-build/redboot-all4_build/hal/common/current'
arm-elf-gcc -mcpu=arm7tdmi -mno-short-load-words -Wall -Wpointer-arith -Wstrict-prototypes -Winline -Wundef -Woverloaded-virtual -g 
-O2 -ffunction-sections -fdata-sections -fno-rtti -fno-exceptions -fvtable-gc -finit-priority -nostdlib -Wl,-r -Wl,--whole-archive -
o /ecos-e/Cygwin/ecos-build/redboot-all4_install/lib/extras.o /ecos-e/Cygwin/ecos-build/redboot-all4_install/lib/libextras.a
make[1]: Leaving directory `/ecos-e/Cygwin/ecos-build/redboot-all4_build/hal/common/current'
make -r -C hal/arm/arch/current /ecos-e/Cygwin/ecos-build/redboot-all4_install/lib/vectors.o
make[1]: Entering directory `/ecos-e/Cygwin/ecos-build/redboot-all4_build/hal/arm/arch/current'
arm-elf-gcc -Wp,-MD,vectors.tmp -I/ecos-e/Cygwin/ecos-build/redboot-all4_install/include -I/ecos-e/Cygwin/opt/ecos/ecos/packages/hal
/arm/arch/current -I/ecos-e/Cygwin/opt/ecos/ecos/packages/hal/arm/arch/current/src -I/ecos-e/Cygwin/opt/ecos/ecos/packages/hal/arm/a
rch/current/tests -I. -mcpu=arm7tdmi -mno-short-load-words -Wall -Wpointer-arith -Wstrict-prototypes -Winline -Wundef -Woverloaded-v
irtual -g -O2 -ffunction-sections -fdata-sections -fno-rtti -fno-exceptions -fvtable-gc -finit-priority -c -o
/ecos-e/Cygwin/ecos-build/redboot-all4_install/lib/vectors.o
/ecos-e/Cygwin/opt/ecos/ecos/packages/hal/arm/arch/current/src/vectors.S
make[1]: Leaving directory `/ecos-e/Cygwin/ecos-build/redboot-all4_build/hal/arm/arch/current'
make -r -C hal/arm/arch/current /ecos-e/Cygwin/ecos-build/redboot-all4_install/lib/target.ld
make[1]: Entering directory `/ecos-e/Cygwin/ecos-build/redboot-all4_build/hal/arm/arch/current'
arm-elf-gcc -E -P -Wp,-MD,target.tmp -xc -I/ecos-e/Cygwin/ecos-build/redboot-all4_install/include -I/ecos-e/Cygwin/opt/ecos/ecos/pac
kages/hal/arm/arch/current -I/ecos-e/Cygwin/opt/ecos/ecos/packages/hal/arm/arch/current/src -I/ecos-e/Cygwin/opt/ecos/ecos/packages/
hal/arm/arch/current/tests -I. -mcpu=arm7tdmi -mno-short-load-words -Wall -Wpointer-arith -Wstrict-prototypes -Winline -Wundef -Wove
rloaded-virtual -g -O2 -ffunction-sections -fdata-sections -fno-rtti -fno-exceptions -fvtable-gc -finit-priority -o
/ecos-e/Cygwin/ecos-build/redboot-all4_install/lib/target.ld /ecos-e/Cygwin/opt/ecos/ecos/packages/hal/arm/arch/current/src/arm.ld
make[1]: Leaving directory `/ecos-e/Cygwin/ecos-build/redboot-all4_build/hal/arm/arch/current'
make -r -C redboot/current /ecos-e/Cygwin/ecos-build/redboot-all4_install/bin/redboot.elf
make[1]: Entering directory `/ecos-e/Cygwin/ecos-build/redboot-all4_build/redboot/current'
arm-elf-gcc -c -I/ecos-e/Cygwin/ecos-build/redboot-all4_install/include -I/ecos-e/Cygwin/opt/ecos/ecos/packages/redboot/current -I/e
cos-e/Cygwin/opt/ecos/ecos/packages/redboot/current/src -I/ecos-e/Cygwin/opt/ecos/ecos/packages/redboot/current/tests -I. -mcpu=arm7
tdmi -mno-short-load-words -Wall -Wpointer-arith -Wstrict-prototypes -Winline -Wundef -Woverloaded-virtual -g -O2 -ffunction-section
s -fdata-sections -fno-rtti -fno-exceptions -fvtable-gc -finit-priority -o
/ecos-e/Cygwin/ecos-build/redboot-all4_install/lib/version.o /ecos-e/Cygwin/opt/ecos/ecos/packages/redboot/current/src/version.c
arm-elf-gcc -mcpu=arm7tdmi -mno-short-load-words -Wl,--gc-sections -Wl,-static -g -nostdlib -L/ecos-e/Cygwin/ecos-build/redboot-all4
_install/lib -Ttarget.ld -o /ecos-e/Cygwin/ecos-build/redboot-all4_install/bin/redboot.elf
/ecos-e/Cygwin/ecos-build/redboot-all4_install/lib/version.o
/ecos-e/Cygwin/ecos-build/redboot-all4_install/lib/extras.o: In function `do_load':
/ecos-e/Cygwin/opt/ecos/ecos/packages/redboot/current/src/load.c:501: undefined reference to `CYG_ASSERTC'
/ecos-e/Cygwin/opt/ecos/ecos/packages/redboot/current/src/load.c:516: undefined reference to `CYG_ASSERTC'
/ecos-e/Cygwin/opt/ecos/ecos/packages/redboot/current/src/load.c:517: undefined reference to `CYG_ASSERTC'
/ecos-e/Cygwin/opt/ecos/ecos/packages/redboot/current/src/load.c:400: undefined reference to `CYG_FAIL'
make[1]: Leaving directory `/ecos-e/Cygwin/ecos-build/redboot-all4_build/redboot/current'
collect2: ld returned 1 exit status
make: Leaving directory `/ecos-e/Cygwin/ecos-build/redboot-all4_build'
make[1]: *** [/ecos-e/Cygwin/ecos-build/redboot-all4_install/bin/redboot.elf] Error 1
make: *** [build] Error 2

--
Chris


-- 
Before posting, please read the FAQ: http://sources.redhat.com/fom/ecos
and search the list archive: http://sources.redhat.com/ml/ecos-discuss



More information about the Ecos-discuss mailing list