OpenWrt 19.07.2 on FritzBox 7530 unable to bring up WiFi

Hi all

I am proceding in installing OpenWRT on FritzBox 7530, I have succesfully booted the 19.07.2 initramfs but there is a problem with wireless interface

Sat Feb 29 16:23:52 2020 kern.warn kernel: [    7.561539] ath10k_ahb a000000.wifi: Direct firmware load for ath10k/fwcfg-ahb-a000000.wifi.txt failed with error -2
Sat Feb 29 16:23:52 2020 kern.warn kernel: [    7.561580] ath10k_ahb a000000.wifi: Falling back to user helper
Sat Feb 29 16:23:52 2020 kern.err kernel: [    7.602444] firmware ath10k!fwcfg-ahb-a000000.wifi.txt: firmware_loading_store: map pages failed
Sat Feb 29 16:23:52 2020 kern.warn kernel: [    7.602756] ath10k_ahb a000000.wifi: Direct firmware load for ath10k/pre-cal-ahb-a000000.wifi.bin failed with error -2
Sat Feb 29 16:23:52 2020 kern.warn kernel: [    7.610360] ath10k_ahb a000000.wifi: Falling back to user helper
Sat Feb 29 16:23:52 2020 kern.err kernel: [    7.721063] firmware ath10k!pre-cal-ahb-a000000.wifi.bin: firmware_loading_store: map pages failed
Sat Feb 29 16:23:52 2020 kern.warn kernel: [    7.721422] ath10k_ahb a000000.wifi: Direct firmware load for ath10k/cal-ahb-a000000.wifi.bin failed with error -2
Sat Feb 29 16:23:52 2020 kern.warn kernel: [    7.728945] ath10k_ahb a000000.wifi: Falling back to user helper
Sat Feb 29 16:23:52 2020 kern.err kernel: [    7.840983] firmware ath10k!cal-ahb-a000000.wifi.bin: firmware_loading_store: map pages failed
Sat Feb 29 16:23:52 2020 kern.warn kernel: [    7.841342] ath10k_ahb a000000.wifi: Direct firmware load for ath10k/QCA4019/hw1.0/ct-firmware-5.bin failed with error -2
Sat Feb 29 16:23:52 2020 kern.warn kernel: [    7.848514] ath10k_ahb a000000.wifi: Falling back to user helper
Sat Feb 29 16:23:52 2020 kern.err kernel: [    7.937994] firmware ath10k!QCA4019!hw1.0!ct-firmware-5.bin: firmware_loading_store: map pages failed
Sat Feb 29 16:23:52 2020 kern.warn kernel: [    7.938375] ath10k_ahb a000000.wifi: Direct firmware load for ath10k/QCA4019/hw1.0/ct-firmware-2.bin failed with error -2
Sat Feb 29 16:23:52 2020 kern.warn kernel: [    7.946315] ath10k_ahb a000000.wifi: Falling back to user helper
Sat Feb 29 16:23:52 2020 kern.err kernel: [    8.020512] firmware ath10k!QCA4019!hw1.0!ct-firmware-2.bin: firmware_loading_store: map pages failed
Sat Feb 29 16:23:52 2020 kern.warn kernel: [    8.020811] ath10k_ahb a000000.wifi: Direct firmware load for ath10k/QCA4019/hw1.0/firmware-6.bin failed with error -2
Sat Feb 29 16:23:52 2020 kern.warn kernel: [    8.028742] ath10k_ahb a000000.wifi: Falling back to user helper
Sat Feb 29 16:23:52 2020 kern.err kernel: [    8.095663] firmware ath10k!QCA4019!hw1.0!firmware-6.bin: firmware_loading_store: map pages failed
Sat Feb 29 16:23:52 2020 kern.info kernel: [    8.097530] ath10k_ahb a000000.wifi: qca4019 hw1.0 target 0x01000000 chip_id 0x003b00ff sub 0000:0000
Sat Feb 29 16:23:52 2020 kern.info kernel: [    8.103642] ath10k_ahb a000000.wifi: kconfig debug 0 debugfs 1 tracing 0 dfs 1 testmode 0
Sat Feb 29 16:23:52 2020 kern.info kernel: [    8.117062] ath10k_ahb a000000.wifi: firmware ver 10.4b-ct-4019-fW-012-17ba98334 api 5 features mfp,peer-flow-ctrl,txstatus-noack,wmi-10.x-CT,ratemask-CT,regdump-CT,txrate-CT,flush-all-CT,pingpong-CT,ch-regs-CT,nop-CT,set-special-CT,tx-rc-CT,cust-stats-CT,txrate2-CT,beacon-cb-CT,wmi-block-ack-CT,wmi-bcn-rc-CT crc32 8f2e0e09
Sat Feb 29 16:23:52 2020 kern.err kernel: [    8.146403] ath10k_ahb a000000.wifi: failed to fetch board data for bus=ahb,vendor=0000,device=0000,subsystem-vendor=0000,subsystem-device=0000,variant=AVM-FRITZBox-75 from ath10k/QCA4019/hw1.0/board-2.bin
Sat Feb 29 16:23:52 2020 kern.warn kernel: [    8.149936] ath10k_ahb a000000.wifi: Direct firmware load for ath10k/QCA4019/hw1.0/board.bin failed with error -2
Sat Feb 29 16:23:52 2020 kern.warn kernel: [    8.167913] ath10k_ahb a000000.wifi: Falling back to user helper
Sat Feb 29 16:23:52 2020 kern.err kernel: [    8.213497] firmware ath10k!QCA4019!hw1.0!board.bin: firmware_loading_store: map pages failed
Sat Feb 29 16:23:52 2020 kern.err kernel: [    8.213758] ath10k_ahb a000000.wifi: failed to fetch board-2.bin or board.bin from ath10k/QCA4019/hw1.0
Sat Feb 29 16:23:52 2020 kern.err kernel: [    8.221070] ath10k_ahb a000000.wifi: failed to fetch board file: -11
Sat Feb 29 16:23:52 2020 kern.err kernel: [    8.230468] ath10k_ahb a000000.wifi: could not probe fw (-11)
Sat Feb 29 16:23:52 2020 kern.warn kernel: [    8.412300] ath10k_ahb a800000.wifi: Direct firmware load for ath10k/fwcfg-ahb-a800000.wifi.txt failed with error -2
Sat Feb 29 16:23:52 2020 kern.warn kernel: [    8.412352] ath10k_ahb a800000.wifi: Falling back to user helper
Sat Feb 29 16:23:52 2020 kern.err kernel: [    8.456854] firmware ath10k!fwcfg-ahb-a800000.wifi.txt: firmware_loading_store: map pages failed
Sat Feb 29 16:23:52 2020 kern.warn kernel: [    8.457238] ath10k_ahb a800000.wifi: Direct firmware load for ath10k/pre-cal-ahb-a800000.wifi.bin failed with error -2
Sat Feb 29 16:23:52 2020 kern.warn kernel: [    8.464837] ath10k_ahb a800000.wifi: Falling back to user helper
Sat Feb 29 16:23:52 2020 kern.err kernel: [    8.590001] firmware ath10k!pre-cal-ahb-a800000.wifi.bin: firmware_loading_store: map pages failed
Sat Feb 29 16:23:52 2020 kern.warn kernel: [    8.590292] ath10k_ahb a800000.wifi: Direct firmware load for ath10k/cal-ahb-a800000.wifi.bin failed with error -2
Sat Feb 29 16:23:52 2020 kern.warn kernel: [    8.597882] ath10k_ahb a800000.wifi: Falling back to user helper
Sat Feb 29 16:23:52 2020 kern.err kernel: [    8.732418] firmware ath10k!cal-ahb-a800000.wifi.bin: firmware_loading_store: map pages failed
Sat Feb 29 16:23:52 2020 kern.warn kernel: [    8.732709] ath10k_ahb a800000.wifi: Direct firmware load for ath10k/QCA4019/hw1.0/ct-firmware-5.bin failed with error -2
Sat Feb 29 16:23:52 2020 kern.warn kernel: [    8.740021] ath10k_ahb a800000.wifi: Falling back to user helper
Sat Feb 29 16:23:52 2020 kern.err kernel: [    8.809419] firmware ath10k!QCA4019!hw1.0!ct-firmware-5.bin: firmware_loading_store: map pages failed
Sat Feb 29 16:23:52 2020 kern.warn kernel: [    8.809883] ath10k_ahb a800000.wifi: Direct firmware load for ath10k/QCA4019/hw1.0/ct-firmware-2.bin failed with error -2
Sat Feb 29 16:23:52 2020 kern.warn kernel: [    8.817656] ath10k_ahb a800000.wifi: Falling back to user helper
Sat Feb 29 16:23:52 2020 kern.err kernel: [    8.887261] firmware ath10k!QCA4019!hw1.0!ct-firmware-2.bin: firmware_loading_store: map pages failed
Sat Feb 29 16:23:52 2020 kern.warn kernel: [    8.887645] ath10k_ahb a800000.wifi: Direct firmware load for ath10k/QCA4019/hw1.0/firmware-6.bin failed with error -2
Sat Feb 29 16:23:52 2020 kern.warn kernel: [    8.895560] ath10k_ahb a800000.wifi: Falling back to user helper
Sat Feb 29 16:23:52 2020 kern.err kernel: [    8.955971] firmware ath10k!QCA4019!hw1.0!firmware-6.bin: firmware_loading_store: map pages failed
Sat Feb 29 16:23:52 2020 kern.info kernel: [    8.957817] ath10k_ahb a800000.wifi: qca4019 hw1.0 target 0x01000000 chip_id 0x003b00ff sub 0000:0000
Sat Feb 29 16:23:52 2020 kern.info kernel: [    8.963931] ath10k_ahb a800000.wifi: kconfig debug 0 debugfs 1 tracing 0 dfs 1 testmode 0
Sat Feb 29 16:23:52 2020 kern.info kernel: [    8.978292] ath10k_ahb a800000.wifi: firmware ver 10.4b-ct-4019-fW-012-17ba98334 api 5 features mfp,peer-flow-ctrl,txstatus-noack,wmi-10.x-CT,ratemask-CT,regdump-CT,txrate-CT,flush-all-CT,pingpong-CT,ch-regs-CT,nop-CT,set-special-CT,tx-rc-CT,cust-stats-CT,txrate2-CT,beacon-cb-CT,wmi-block-ack-CT,wmi-bcn-rc-CT crc32 8f2e0e09
Sat Feb 29 16:23:52 2020 kern.err kernel: [    9.006671] ath10k_ahb a800000.wifi: failed to fetch board data for bus=ahb,vendor=0000,device=0000,subsystem-vendor=0000,subsystem-device=0000,variant=AVM-FRITZBox-75 from ath10k/QCA4019/hw1.0/board-2.bin
Sat Feb 29 16:23:52 2020 kern.warn kernel: [    9.010220] ath10k_ahb a800000.wifi: Direct firmware load for ath10k/QCA4019/hw1.0/board.bin failed with error -2
Sat Feb 29 16:23:52 2020 kern.warn kernel: [    9.028231] ath10k_ahb a800000.wifi: Falling back to user helper
Sat Feb 29 16:23:52 2020 kern.err kernel: [    9.074496] firmware ath10k!QCA4019!hw1.0!board.bin: firmware_loading_store: map pages failed
Sat Feb 29 16:23:52 2020 kern.err kernel: [    9.074756] ath10k_ahb a800000.wifi: failed to fetch board-2.bin or board.bin from ath10k/QCA4019/hw1.0
Sat Feb 29 16:23:52 2020 kern.err kernel: [    9.082069] ath10k_ahb a800000.wifi: failed to fetch board file: -11
Sat Feb 29 16:23:52 2020 kern.err kernel: [    9.091390] ath10k_ahb a800000.wifi: could not probe fw (-11)

The content of the firmware directory is:

root@OpenWrt:/lib/firmware/ath10k/QCA4019/hw1.0# ls
board-2.bin     firmware-5.bin

I did not proceed with flashing due to this issue. What can be the problem? I am using Openwrt official release 19.07.2

Thanks

Hi

Actually it is not a problem. Inspecting the hotplug for firmware I have found that initramfs image lack of fritz tools to extract ART and its dependencies.

I do not know if it is done on purpose or it is a mistake but it is jot a big deal once flashed (it is if someone what to poke around with openwrt)

Bye

Hi Menion,

I cannot see what you mean ("it is if someone what to poke around with openwrt"). Can you tell me, please, whether WIFI is working (2,4 and 5,0 GHz) or not?

... asking because I like to install OpenWrt on FB7530 - unfortunately confused about TFTP...

WiFi works just fine, what I wanted to say is that initramfs image is incomplete and shall be used only for the flashing procedure

1 Like

ok, thank you for your reply!
May I ask you to help me regarding TFTP-command?

What is the problem? Just follow the instructions and you will be fine

The main question is: What commands are necessary putting intramfs image via TFTP on the Box?

> tftp -v -m binary 192.168.1.1 -c put /local-path/to/openwrt-19.07.2-ipq40xx-generic-avm_fritzbox-7530-initramfs-fit-uImage.itb FRITZ7530.bin

"-v" for verbose... Or is it like this?

tftp 192.168.1.1
tftp> binary
tftp> put /local-path/to/openwrt-19.07.2-ipq40xx-generic-avm_fritzbox-7530-initramfs-fit-uImage.itb FRITZ7530.bin

You do not have to perform a tftp put you need to open a server! Follow the instruction

1 Like

Thank you for your reply!!!
Which instruction do you mean? This one?
I really don't understand what the official instruction of FB7530 says:

Copy the OpenWRT initramfs (!) image to a TFTP server root directory and rename it to 'FRITZ7530.bin'.

Assuming the TFTP server should run on the local PC I copy FRITZ7530.bin to /var/lib/tftpboot. Then the box get the file itself without user interaction?!?
edit: ... local TFTP server is running; apparently it is required to connect to the bootloader via "telnet", and to tell the BOX to get the images on my harddisk via its TFTP client, isn't it?

No, you do not need to do anything. The uboot you loaded at step 1 with the python script will poll every 5 seconds the presence of the initramfs file on the tftp root directory and load it. So you just need to start a tftp server and as instruction says the tftp server shall run on 192.168.1.70 interface
The applicable instruction are in the second link you provided, just follow them exactly

1 Like

Great! Thank you very much!!!

Unfortunately, I am too stupid as described in this post.. :disappointed_relieved:

Try to run everything on Windows. Use tftp32. Also make sure that the python step works ok

1 Like

Ok, I'll give it a try on Windows. Output of python script was (Linux OS):

> SETENV memsize 0x00080000
< 200 SETENV command successful
> SETENV kernel_args_tmp mtdram1=0x85000000,0x88000000
< 200 SETENV command successful
> MEDIA SDRAM
< 200 Media set to MEDIA_SDRAM

I did it! OpenWrt is running!!! @Menion: Your advice using Windows was the one I was looking for so long. Thank you very, very much!!!!!