Other Parts Discussed in Thread: DM385
Tool/software: Linux
Hello,
I've been searching for an example of board file which uses marvell switch (any) , but found none.
Is there any example for such usage ?
Thank you,
Ran
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.
Tool/software: Linux
Hello,
I've been searching for an example of board file which uses marvell switch (any) , but found none.
Is there any example for such usage ?
Thank you,
Ran
Thank you very much Pavel !
I also see an interesting talk on this issue here:
We connect emac1 mii to switch. We don't use the other port (emac0) at all.
I understand that I need to configure both switch phy and ethernet mac to the same communication (rmii/gmii/ etc) type.
I need to make changes both in u-boot and in Linux because network is used to load and program Linux after u-boot is loaded.
What I mainly confused with is how to make the mii port (emac1) which is connected to switch (emac1) , integrate with Linux network interface.
I see that this issue is talked about in the above link.
For example:
1. should I disable phy_init in u-boot (because we don;t use normal phy but the switch is our phy) ? Does the switch should be seen as normal phy , and give correct link status to emac ?
2. Do I need some additional changes in Linux to make Linux understand that the data in mii is Ethernet frames to/from IP stack ?
Thanks,
Ran