Okay. I did some more research on this. Good news is: I got the switch working. Also the network setup with separate VLANs for LAN/WAN is working.
Bad news: It's a manual process and requires serial access. Here's how it works: - Install OpenWRT image (for example through the emergency HTTP interface) - During boot interrupt the bootloader (before it reaches the timeout) (note how the LEDs on the Switch turn back on) - Enter "boot" to boot OpenWRT from flash The switch should now be in a working state. Unfortunately I was not yet able to determine what it takes to bring the switch back to life after the bootloader disabled it and before the driver tries to probe it. I requested the u-boot source code (that obviously can enable and disable the switch) from both WD (the vendor) and Alpha Networks (the producer). I hope something turns up from there. I disassembled the athrs_gmac.ko module from the GPL code drop of WD. It seems that the function ar934x_gmac_attach is calling ath_gpio_config_output. Interestingly this is not found in the code drops of the Fritz!Box 7270, which has the source for this module. So I believe it has something to do with GPIOs at some point. I noticed that GPIO4 toggles itself all the time. But I have no idea what this is. In the meantime I'm hopeful that someone else might have another idea on how to get this working. - Felix _______________________________________________ openwrt-devel mailing list [email protected] https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel
