Quantcast
Channel: Processors forum - Recent Threads
Viewing all articles
Browse latest Browse all 17527

Linux/PROCESSOR-SDK-AM437X: How to config double MAC in Am437x-gp-evm

$
0
0

Part Number:PROCESSOR-SDK-AM437X

Tool/software: Linux

Hi,

I'm using customed board basing on am437x-gp-evm with two MAC ports. It works well in the old ti-sdk-01.00.00.03. We update to sdk-05.01.00.11 for its support to bluetooth and wireless. I modified the am437x-gp-evm.dts according to the old one, but it cann't work:

root@am437x-evm:~# ifconfig -a
lo        Link encap:Local Loopback  
          inet addr:127.0.0.1  Mask:255.0.0.0
          inet6 addr: ::1%763612/128 Scope:Host
          UP LOOPBACK RUNNING  MTU:65536  Metric:1
          RX packets:162 errors:0 dropped:0 overruns:0 frame:0
          TX packets:162 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:12300 (12.0 KiB)  TX bytes:12300 (12.0 KiB)

sit0      Link encap:IPv6-in-IPv4  
          NOARP  MTU:1480  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)

I cann't find eth0, eth1 as my expected.

I find errors from  kernel start:

[    1.050951] pinctrl-single 44e10800.pinmux: pin PIN16 already requested by 44e10800.pinmux; cannot claim for 4a100000.ethernet
[    1.062448] pinctrl-single 44e10800.pinmux: pin-16 (4a100000.ethernet) status -22
[    1.069981] pinctrl-single 44e10800.pinmux: could not request pin 16 (PIN16) from group cpsw_default  on device pinctrl-single
[    1.081435] cpsw 4a100000.ethernet: Error applying setting, reverse things back
[    1.088794] cpsw: probe of 4a100000.ethernet failed with error -22

I don't know how to correct it.

Is there anything more to config?or need to config kernel? I attact the am437x-gp-evm.dts and kernnel start log here.

Best Regards!

(Please visit the site to view this file)(Please visit the site to view this file)


Viewing all articles
Browse latest Browse all 17527


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