[OpenWrt-Devel] [PATCH][ar71xx] Routerboard 951G Switch Fix
cl at isbd.net
Sat Dec 13 05:34:39 EST 2014
On Sat, Dec 13, 2014 at 09:01:09AM +0100, John Crispin wrote:
> On 10/12/2014 22:33, Chris Green wrote:
> > On Wed, Dec 10, 2014 at 01:40:42PM -0700, Davey Hutchison wrote:
> >> Fix pll_1000 value for eth0. Traffic would not flow from the eth0 interface.
> >> The new PLL enables delay, use ath79_setup_ar934x_eth_cfg to also enable
> >> AR934X_ETH_CFG_RXD_DELAY.
> >> Signed-off-by: Davey Hutchison <dhutchison at bluemesh.net>
> >> --- target/linux/ar71xx/files/arch/mips/ath79/mach-rb95x.c
> >> +++ target/linux/ar71xx/files/arch/mips/ath79/mach-rb95x.c
> >> @@ -199,6 +199,7 @@
> >> return;
> >> ath79_setup_ar934x_eth_cfg(AR934X_ETH_CFG_RGMII_GMAC0 |
> >> + AR934X_ETH_CFG_RXD_DELAY |
> >> AR934X_ETH_CFG_SW_ONLY_MODE);
> >> ath79_register_mdio(0, 0x0);
> >> @@ -209,6 +210,7 @@
> >> ath79_init_mac(ath79_eth0_data.mac_addr, ath79_mac_base, 0);
> >> ath79_eth0_data.phy_if_mode = PHY_INTERFACE_MODE_RGMII;
> >> ath79_eth0_data.phy_mask = BIT(0);
> >> + ath79_eth0_pll_data.pll_1000 = 0x3e000000;
> >> ath79_register_eth(0);
> > This needs to be in mach-rb2011.c as well.
> i will hopefully get round to looking at this today. first i could not
> find my rs232 usb keyspan thingy, then i failed to find the poe injector ..
> do these board have uboot ? if so the easiest way would be to enter
> uboot, start a tftp to make sure the network is configured and then use
> the md command to display the relevant register.
I'm using the COM port on my PC (yes, it has a real one!) to do things
to my rb-2011uias-2hnd. It took me w while to produce a correctly
wired DB-9 to RJ-45 cable but I managed in the end.
By 'uboot' do you mean the ability to change boot source etc. by
hitting a key on reboot? This is what I'm doing to load openwrite.
Reboot the rb-2011uias-2hnd, hit a key on the serial port and then
tell it to boot from ethernet using tftp. It's pretty
I can probably submit a patch for mach-rb2011.c parallelling the above
one this week-end.
openwrt-devel mailing list
openwrt-devel at lists.openwrt.org
More information about the openwrt-devel