2013.01.05. 14:53 keltezéssel, Michel Stempin írta: > Sorry, still struggling with my MTA... > > Here is the result of the same command on a genuine TL-WR703N with the newest > factory firmware "3.14.4 build 120925 rel 33144n" (aka "Ver; 1.7"), thanks to > Uncle_Vernon on the forum: > > U-Boot 1.1.4 (Sep 25 2012 - 09:04:47) > > AP121 (ar9330) U-boot > > <...> > > hornet> md.l 0xb8070000 1 > b8070000: 00000190 .... > hornet>
Ok, this means that the description of the original patch is wrong, because the patch turns off the PHY_SWAP bit and it leaves the PYH_ADDR_SWAP bit set. In theory, a simple ath79_setup_ar933x_phy4_switch(false, false); line should be enough to make it working, and the ath79_eth0_data.phy_mask = BIT(0); line should be dropped from the patch. > > I prefered to have this test performed on a stock v1.7 device rather than on > my modified v1.6, just in case there is an unexpected hardware change between > the 2 versions. > > So it looks like both PHYs and MACs are swapped in v1.7 U-Boot, while this > wasn't the case in previous versions. > >>From what I understand, it looks like the newest U-Boot is routing the >>Ethernet port 4 (the only one that is physically connected) through the eth1 >>switch, rather than eth0? > > I don't see a reason for doing this: does it benefit from the GMII speed over > simple MII, or is it to enable the switch QoS capabilities? Do you see any > other reason? No, it makes no sense at all. The GE1 interface is always connected to MAC0 of the built-in switch via GMII interface regardless of the state of the PHY_SWAP/PHY_ADDR_SWAP bits. -Gabor _______________________________________________ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/mailman/listinfo/openwrt-devel