Hi,
I have a custom board with an AM3352 processor and two TLK105 ethernet phys.
Both phys are connected via RMII, and we have established (via boundary scan) that they both seem to be working.
In u-boot, I was able to ping another machine via eth0 after modifying the pinmux matrix and configuring RMII. I understand that u-boot supports only one network device, which is why I have not tried to use eth1 here.
In Linux, I was able to get both ethernet ports listed as interfaces (eth0, eth1). MDIO communication with the phys seems to be ok, their ID is read during boot and I get a message on the console when I plug / unplug a cable into / from eth0 (not eth1 though). I used some code from the Sitara Linux Board Porting exercise to get this far.
However, I am unable to send or receive anything over the network and the ethernet port constantly changes it's status (up/down).
I am pretty sure that there is some problem with either my pinmux in Linux or that the cpsw is not configured for RMII. I deleted every pinmux entry from the board file I could find, because I prefer doing all the muxing in u-boot. It's much easier to find errors if you don't need to look in dozens of places...
Could someone please point me to the kernel source files I need to edit to
1. make sure no pinmuxing (at least, no wrong pinmuxing...) takes place and
2. configure the cpsw correctly for two TLK105 ethernet phys connected via RMII
Thanks
Tom