This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

DM6446 Ethernet Link

Hello,

 I am trying to connect my DM6446 to an Ethernet radio through the standard Ethernet port.  If I boot while connected to the radio, I am not able to communicate and I have no connection and no link.  However if I boot while connected to an Ethernet  hub then switch my Ethernet cable to the radio it works fine.  The Davinci is looking for something on boot that this radio does not provide or the radio is looking for something that the Davinci does not provide. 

If I boot while connected to the radio, Ethernet does not work.  However if I remove the cable and plug it into a hub, Ethernet works.  Then if i replug my Ethernet cable back into the Davinci it works.  Once a connection has been established the radio always works.  But the Davinci does not establish a connection on its own.  Is there anyway to force the link.  I tried modifying davinci_emac.c with the following:

static int cfg_link_speed = 10;
MODULE_PARM(cfg_link_speed, "i");
MODULE_PARM_DESC(cfg_link_speed, "Fixed speed of the Link: <1000/100/10>");
//static char *cfg_link_mode = "auto";
static char *cfg_link_mode = "hd";
MODULE_PARM(cfg_link_mode, "1-3s");
MODULE_PARM_DESC(cfg_link_mode, "Fixed mode of the Link: <fd/hd>");

 

This way it would not auto-negotiate.  This did not work.  Any other ideas I could try?  The link is valid the Davinci just does not recoginze it on boot.

Thanks,

Ben

  • Thanks to Sekhar Nori for pointing out a old bug-fix that was the root cause The patch for the same is available at: http://git.kernel.org/?p=linux/kernel/git/khilman/linux-davinci.git;a=commit;h=5e859dd5527ac835d1e0dda2347e6bd0742593b4

    Ben was having a older version of the driver that did not have the above fix. Ben confirmed that the issue was fixed by applying the above fix.

    Regards,

    Anant