Quantcast
Channel: Processors
Viewing all articles
Browse latest Browse all 149015

Forum Post: USB-to-ethernet driver

$
0
0

Hi,

I have a board based on the am335x EVM. my version of u-boot is 2013.01 of the ti-sdk (psp06.00.00.00) and I'm using the arago linux distro from the TI board port labs ( kernel 3.2 ).

I'm trying to get the AX88772B chip from ASIX to work. I enabled support for it in the kernel config and tried to load it in:

(Please visit the site to view this file)

It enables the network interface "eth2" but when I run ifconfig, there is no eth2 and I don't have access to the internet.

I tried cross compiling the driver from source I obtained from the asix website but It's always giving me errors it can't find certain symbols regarding:

#if LINUX_VERSION_CODE <= KERNEL_VERSION(3, 2, 0)
    .ndo_set_multicast_list    = ax88772b_set_multicast, // doesn't know ndo_set_multicast_list
#else
    .ndo_set_rx_mode    = ax88772b_set_multicast,

If I hardcode: #define LINUX_VERSION_CODE KERNEL_VERSION(3,3,0)

the problem dissapears, why is this? The arago linux kernel version is 3.2.0 so it should know ndo_set_multicast_list I guess from the above #if.

But when I try to load the self-compiled driver, the problem is still there, eth2 defined but not seen in ifconfig.


What could be causing the problem?

Thanks in advance,

Laurens


Viewing all articles
Browse latest Browse all 149015

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>