Modify

Opened 6 years ago

Last modified 2 years ago

#11759 assigned defect

JWAP003 does not find correct driver in boot

Reported by: neryba Owned by: juhosg
Priority: high Milestone: Barrier Breaker 14.07
Component: packages Version: Trunk
Keywords: Cc:

Description (last modified by florian)

Firstly I have made changes in configuration.
In arch/mips/ath79/mach-jwap003. removed ath79_eth0_data.has_ar8216 = 1; line. That occurs eth0 interface working ( start data traffic )

In drivers/net/ethernet/atheros/ag71xx/Kconfig added '
ATH79_MACH_JWAP004' to line end 'default y if ATH79_MACH_WNR2000 ATH79_MACH_MZK_W04NU'. That increase probability to find correct driver.

Now if device boot up there are four different kind of set up

[    3.160000] ag71xx_mdio: probed
[    3.160000] eth0: Atheros AG71xx at 0xb9000000, irq 4
[    3.490000] eth0: Atheros AR8216 switch driver attached.
[    3.590000] ag71xx ag71xx.0: eth0: connected to PHY at ag71xx-mdio.0:00 [uid=004dd042, driver=Atheros AR8216/AR8236/AR8316]
[    3.600000] eth1: Atheros AG71xx at 0xba000000, irq 5
[    3.930000] ag71xx ag71xx.1: eth1: connected to PHY at ag71xx-mdio.0:04 [uid=004dd042, driver=Atheros AR8216/AR8236/AR8316]

In that case all interfaces work correctly (10Mbit & 100Mbit)

[    3.050000] ag71xx_mdio: probed
[    3.060000] eth0: Atheros AG71xx at 0xb9000000, irq 4
[    3.360000] ag71xx ag71xx.0: eth0: connected to PHY at ag71xx-mdio.0:00 [uid=004dd042, driver=Generic PHY]
[    3.380000] eth1: Atheros AG71xx at 0xba000000, irq 5
[    3.680000] ag71xx ag71xx.1: eth1: connected to PHY at ag71xx-mdio.0:04 [uid=004dd042, driver=Generic PHY]

In this case only 100Mbit

[    3.160000] ag71xx_mdio: probed
[    3.160000] eth0: Atheros AG71xx at 0xb9000000, irq 4
[    3.470000] ag71xx ag71xx.0: eth0: could not connect to PHY at ag71xx-mdio.0:00
[    3.480000] eth0: Atheros AG71xx at 0xba000000, irq 5
[    3.780000] ag71xx ag71xx.1: eth0: could not connect to PHY at ag71xx-mdio.0:04

In that case no interfaces found

[    3.160000] ag71xx_mdio: probed
[    3.160000] eth0: Atheros AG71xx at 0xb9000000, irq 4
[    3.490000] eth0: Atheros AR8216 switch driver attached.
[    3.590000] ag71xx ag71xx.0: eth0: connected to PHY at ag71xx-mdio.0:00 [uid=004dd042, driver=Atheros AR8216/AR8236/AR8316]
[    3.680000] eth0: Atheros AG71xx at 0xba000000, irq 5
[    3.880000] ag71xx ag71xx.1: eth0: could not connect to PHY at ag71xx-mdio.0:04

In that case KERNEL PANIC

What should be done that device will be stabile and find correct driver for both 10 and 100Mbit?

another tickets /ticket/11730.html and /ticket/11059.html does not solve problem

Attachments (0)

Change History (6)

comment:1 Changed 6 years ago by neryba

Well, the problem was at AHB speed (by default CPU:300MHz, DDR:300MHz, AHB:150MHz)
No problem at CPU:266.666MHz, DDR:266.666MHz, AHB:66.666MHz or CPU:200MHz, DDR:200MHz, AHB:100MHz
Does anybody know how to detect driver at standard AHB rate?

comment:2 Changed 5 years ago by florian

  • Description modified (diff)

comment:3 Changed 5 years ago by florian

  • Description modified (diff)

comment:4 Changed 5 years ago by florian

  • Owner changed from developers to juhosg
  • Status changed from new to assigned

comment:5 Changed 4 years ago by jow

  • Milestone changed from Attitude Adjustment 12.09 to Barrier Breaker 14.07

Milestone Attitude Adjustment 12.09 deleted

comment:6 Changed 2 years ago by openwrt@…

Any update on this? The old patch seems to be a bit too old and might not work any more on 15.05

Add Comment

Modify Ticket

Action
as assigned .
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.