[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: [microblaze-uclinux] Enabling multicast reception



Hi,

 

Previously I had the same problem.

 

I use the content addressable memory in opb_ethernet. In XPS, enable "Use Content Addressable Memory" of opb_ethernet 1.04a

 

And patch the Xilinx linux Ethernet driver to solve this error.

 

Rgds,

Victor Yeo

 


From: owner-microblaze-uclinux@xxxxxxxxxxxxxx [mailto:owner-microblaze-uclinux@xxxxxxxxxxxxxx] On Behalf Of Steve Sjoquist
Sent: Thursday, January 17, 2008 7:30 AM
To: microblaze-uclinux@xxxxxxxxxxxxxx
Subject: [microblaze-uclinux] Enabling multicast reception

 

Hi,

 

I am having trouble receiving multicast UDP packets on my microblaze/uClinux system.

 

I am using the Xilinx OPB 10/100 EMAC along with the microblaze, petalinux v0.20-rc3

distribution with the 2.6.x kernel.

 

I have configured the kernel using make menuconfig and enabled IP_MULTICAST.

 

When uClinux boots I check the eth0 status and MULTICAST is not listed. I was a little

surprised by this because I thought it would be enabled at boot up.

 

I then set multicast using 'ifconfig eth0 multicast' and this appears to work as indicated

by ifconfig (i.e. the MULTICAST keyword is now listed for eth0).

 

I also added a route:

 

route add -net 224.0.0.0 netmask 240.0.0.0 dev eth0

 

This also appears to work - the route is listed when I run route again.

 

When I run my multicast application, however, it does not work. Just after I start my

application there is a single igmp packet sent announcing exclude mode with the proper

multicast address and port - sent as a result of a multicast group

join. The application will not receive any multicast packets from eth0, however.

 

This same application works just fine when compiled and run under SuSE Linux.

 

Does anyone know what I have to do to enable multicast reception on my

system?

 

Thanks,

Steve Sjoquist

Rane Corp.