Hi All,
as per
"processors.wiki.ti.com/index.php/AM335x_CPSW_%28Ethernet%29_Driver%27s_Guide#Bringing_Up_interfaces"
we are using the two ethernet ports of the AM3352 as two independent ports in "dual emac" mode. It is working well and the device tree looks like that:
&mac {
dual_emac = <1>;
status = "okay";
};
&cpsw_emac0 {
dual_emac_res_vlan = <1>;
};
&cpsw_emac1 {
dual_emac_res_vlan = <2>;
};
The Linux image is based on Yocto YP Core - Dizzy (1.7.1).
For diagnostic purposes we would temporarily like to change the configuration in such a way so that the eth0 port is just a copy of the data on eth1.
Is that possible? Can it be done via device tree overlay or some sysfs configuration of the cpsw driver?
Any hints that you would be able to give us are highly appreciated.
many thanks in advance
Chris
-- acurana GmbH, Bahnhofstr. 28, 83043 Bad Aibling, Germany Tel.: +49 8061 / 93 98 386 Fax: +49 8061 / 93 98 385 http://www.acurana.de/ Registergericht / Register Court Traunstein, HRB 21799 Geschäftsführer / Managing Director: Christopher Lang