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.

OMAPL138 secound ethernet connector

Other Parts Discussed in Thread: OMAPL138, OMAP-L138, AM1808

Hi,

I want to use secound Ethernet connector on UI daughter card. I use da850_omapl138_defconfig, I enabled

[*] Use RMII Ethernet PHY on DA850/OMAP-L138 EVM

option in Linux kernel configuration I get:

Clocks: disable unused emac
Clocks: disable unused spi1
davinci_emac_probe: using random MAC addr: 7e:c4:91:bc:4b:4a
emac-mii: probed
eth0: no PHY found
IP-Config: Failed to open eth0
IP-Config: No network devices available.

My config is without video device. I tried to add PHY driver but still I get the same message from kernel.

What else I should enable/disable in kernel configuration ?

 

Regards Grzegorz

 

 

  • Hi, 

    I am also required to use RMII did you solve your issue?

     

    Thanks

     

  • Hi,

    yes, in my case (custom board with custom bootloader) problem was with PINMUX configuration in bootloader, now Ethernet with RMII is working.

     

  • Dear Grzegorz Skiba,

    I need use AM1808 to drive lan8720a with RMII interface.

    can you please help to let me know which code should be changed?

    I has searched the PINmux should define, here is my defination, which are right:

    #ifdef CONFIG_DRIVER_TI_EMAC
    static const struct pinmux_config emac_pins[] = {
    #ifdef CONFIG_DRIVER_TI_EMAC_USE_RMII
     { pinmux(14), 8, 2 },
     { pinmux(14), 8, 3 },
     { pinmux(14), 8, 4 },
     { pinmux(14), 8, 5 },
     { pinmux(14), 8, 6 },
     { pinmux(14), 8, 7 },
     { pinmux(15), 8, 1 },
    #else 
     { pinmux(2), 8, 1 },
     { pinmux(2), 8, 2 },
     { pinmux(2), 8, 3 },
     { pinmux(2), 8, 4 },
     { pinmux(2), 8, 5 },
     { pinmux(2), 8, 6 },
     { pinmux(2), 8, 7 },
     { pinmux(3), 8, 0 },
     { pinmux(3), 8, 1 },
     { pinmux(3), 8, 2 },
     { pinmux(3), 8, 3 },
     { pinmux(3), 8, 4 },
     { pinmux(3), 8, 5 },
     { pinmux(3), 8, 6 },
     { pinmux(3), 8, 7 },
    #endif /* CONFIG_DRIVER_TI_EMAC_USE_RMII */ 
     { pinmux(4), 8, 0 },
     { pinmux(4), 8, 1 }
    };
    #endif /* CONFIG_DRIVER_TI_EMAC */

    if not, please help to advise.

    beside it, do I need do other modification on u-boot and linux kernel on code?

    thanks!