[OpenWrt-Devel] RFT: ar71xx/mac80211 update

Sven Schönhoff sven.schoenhoff at gmail.com
Thu Aug 30 15:45:06 EDT 2018


> > My Archer C7 v4 still bricks with the same error reported earlier and
> > confirmed by Koen: Atheros AR8216/AR8236/AR8316: probe of
> > ag71xx-mdio.0:00 failed with error -22
> >
>
> Hi All,
>
> I created a new branch in my staging tree, which is a replica of the
> latest master tree,
> but adds a fix for the switch issue + enables 4.14 on ar71xx by default.
>
> Feel free to build it and try it out.
> Please provide some feedback if it worked for you.
>
> https://git.openwrt.org/?p=openwrt/staging/xback.git;a=shortlog;h=refs/heads/ar71xx_414

Thank you Koen, it fixes the switch issue for my Archer C7 v4 too:

[    0.713675] switch0: Atheros AR8337 rev. 2 switch registered on ag71xx-mdio.0
[    1.432868] libphy: ag71xx_mdio: probed
[    2.066476] ag71xx ag71xx.0: connected to PHY at ag71xx-mdio.0:00
[uid=004dd036, driver=Atheros AR8216/AR8236/AR8316]
[    2.077962] eth0: Atheros AG71xx at 0xb9000000, irq 4, mode:SGMII

Now that the switch works I've noticed that the 5GHz wifi on my Archer
C7 v4 doesn't work with Kernel 4.14 enabled:

[   10.005449] pci 0000:00:00.0: no irq found for pin 1
[   10.011893] PCI: Enabling device 0000:00:00.0 (0000 -> 0002)
[   10.017960] ath10k_pci 0000:00:00.0: pci irq legacy oper_irq_mode 1
irq_mode 0 reset_mode 0
[   10.298735] ath10k_pci 0000:00:00.0: Direct firmware load for
ath10k/pre-cal-pci-0000:00:00.0.bin failed with error -2
[   10.309822] ath10k_pci 0000:00:00.0: Falling back to user helper
[   10.475669] firmware ath10k!pre-cal-pci-0000:00:00.0.bin:
firmware_loading_store: map pages failed
[   10.485244] ath10k_pci 0000:00:00.0: Direct firmware load for
ath10k/cal-pci-0000:00:00.0.bin failed with error -2
[   10.495966] ath10k_pci 0000:00:00.0: Falling back to user helper
[   10.704794] ath10k_pci 0000:00:00.0: Direct firmware load for
ath10k/QCA988X/hw2.0/firmware-6.bin failed with error -2
[   10.715891] ath10k_pci 0000:00:00.0: Falling back to user helper
[   10.811651] firmware ath10k!QCA988X!hw2.0!firmware-6.bin:
firmware_loading_store: map pages failed
[   10.827803] ath10k_pci 0000:00:00.0: qca988x hw2.0 target
0x4100016c chip_id 0x043202ff sub 0000:0000
[   10.837374] ath10k_pci 0000:00:00.0: kconfig debug 0 debugfs 1
tracing 0 dfs 1 testmode 1
[   10.850379] ath10k_pci 0000:00:00.0: firmware ver 10.2.4-1.0-00037
api 5 features no-p2p,raw-mode,mfp,allows-mesh-bcast crc32 a4a52adb
[   10.948081] ath10k_pci 0000:00:00.0: Direct firmware load for
ath10k/QCA988X/hw2.0/board-2.bin failed with error -2
[   10.958903] ath10k_pci 0000:00:00.0: Falling back to user helper
[   11.033046] firmware ath10k!QCA988X!hw2.0!board-2.bin:
firmware_loading_store: map pages failed
[   11.042531] ath10k_pci 0000:00:00.0: board_file api 1 bmi_id N/A
crc32 bebc7c08
[   13.164858] ath10k_pci 0000:00:00.0: failed to receive control
response completion, polling..
[   14.204850] ath10k_pci 0000:00:00.0: Service connect timeout
[   14.210703] ath10k_pci 0000:00:00.0: failed to connect htt (-145)
[   14.346078] ath10k_pci 0000:00:00.0: could not init core (-145)
[   14.352322] ath10k_pci 0000:00:00.0: could not probe fw (-145)
[   14.408888] ieee80211 phy1: Atheros AR9561 Rev:0 mem=0xb8100000, irq=47

Full log: https://pastebin.com/x6u8LEXN

Best regards
Sven
Am Do., 30. Aug. 2018 um 19:18 Uhr schrieb Koen Vandeputte
<koen.vandeputte at ncentric.com>:
>
>
>
> On 2018-08-23 19:00, Sven Schönhoff wrote:
> >>>> curious what i missed as my archer-c7-v4 is working fine..... TPLINK
> >>>> AC1750 device
> >>> Hi,
> >>> please dont top post
> >>> I have no idea what you are asking.
> >>>
> >> Meaning I don't understand his issue mine works fine, so I'm curious as to
> >> what's different
> > I would guess you didn't change KERNEL_PATCHVER to 4.14 in
> > target/linux/ar71xx/Makefile. Kernel 4.14 is not enabled by default
> > yet for ar71xx.
> >
> > My Archer C7 v4 still bricks with the same error reported earlier and
> > confirmed by Koen: Atheros AR8216/AR8236/AR8316: probe of
> > ag71xx-mdio.0:00 failed with error -22
> >
>
> Hi All,
>
> I created a new branch in my staging tree, which is a replica of the
> latest master tree,
> but adds a fix for the switch issue + enables 4.14 on ar71xx by default.
>
> Feel free to build it and try it out.
> Please provide some feedback if it worked for you.
>
> https://git.openwrt.org/?p=openwrt/staging/xback.git;a=shortlog;h=refs/heads/ar71xx_414
>
>
>
> [    0.000000] Linux version 4.14.67 (kvdp at kvdp-BRIX) (gcc version 7.3.0
> (OpenWrt GCC 7.3.0 r7984+5-555c59230402)) #0 Thu Aug 30 14:32:54 2018
> ...
> [    0.138438] MIPS: machine is Mikrotik RouterBOARD 2011UiAS
> ...
> [   11.163357] libphy: Fixed MDIO Bus: probed
> [   11.319898] libphy: ag71xx_mdio: probed
> [   11.360844] switch0: Atheros AR8327 rev. 4 switch registered on
> ag71xx-mdio.0
> [   12.447398] libphy: ag71xx_mdio: probed
> [   13.077402] ag71xx ag71xx.0: connected to PHY at ag71xx-mdio.0:00
> [uid=004dd034, driver=Atheros AR8216/AR8236/AR8316]
> [   13.088989] eth0: Atheros AG71xx at 0xb9000000, irq 4, mode:RGMII
> [   13.717716] ag71xx-mdio.1: Found an AR934X built-in switch
> [   13.769990] eth1: Atheros AG71xx at 0xba000000, irq 5, mode:GMII
>
>
>
>
> Thanks,
>
> Koen

_______________________________________________
openwrt-devel mailing list
openwrt-devel at lists.openwrt.org
https://lists.openwrt.org/mailman/listinfo/openwrt-devel


More information about the openwrt-devel mailing list