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

[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.