Quantcast
Channel: Forums - Recent Threads
Viewing all articles
Browse latest Browse all 262198

KSZ8873 switch on AM1808 custom board

$
0
0

Hello all,

We have design a custom board with AM1808 processor based on Hawkboard design. Until now we have being able to do serial and NAND boot using U-Boot (v2010.12) from DaVinci-PSP-SDK-03.21.00.04.

At this moment we are trying to have ethernet working in U-Boot. We are using the Micrel's KSZ8873MLL switch which is controlled through I2C (not using MIIM), so we can have access to all the registers of the KSZ8873. We have modified the davinci_emac driver for using the I2C as a control interface. Using the U-Boot ping command we are able to se ARP packets sent but then the received packets are not passed to the EMAC driver. We have set the EMAC in loopback mode and in that case the receive function of the EMAC gets some data. So the patched driver should be fine.

We have read the KSZ8873 datasheet and compared to the registers in the running chip and the default values should be OK for sending and receiving packets, we don't need any special switch configuration yet. Do you have any experience with this chip? Does it need some special configuration?

We have also verified that the dynamic MAC table of the switch creates a new entry with the MAC address of our device. Another test was done by adding an entry to the static MAC table of the switch, but it didn't work. The packets seem to be received but are not delivered to the port3 (MII port).

Any help is appreciated. Thank you.

 

Best regards,

Manuel.


Viewing all articles
Browse latest Browse all 262198

Trending Articles



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