OpenWrt/LEDE Project

  • Status Unconfirmed
  • Percent Complete
  • Task Type Bug Report
  • Category Base system
  • Assigned To No-one
  • Operating System All
  • Severity High
  • Priority Very Low
  • Reported Version Trunk
  • Due in Version Undecided
  • Due Date Undecided
  • Private
Attached to Project: OpenWrt/LEDE Project
Opened by RENErica - 01.02.2021

FS#3604 - ath9k firmware is 0 bytes on Fritzbox 7430

Supply the following if possible:
- Device problem occurs on Fritz!box 7430
- Software versions of OpenWrt/LEDE snapshot r15642+2-eb11cd9ea3
- Steps to reproduce

Firmware for wifi ath9k in the directory /lib/firmware/ is 0 bytes.

Changing the parameter -s 0x1e000 to -s 0x1e800 results in the firmware
being created with 4096 bytes.

The ssid is now displayed, but wifi is very unstable and the connection
is quickly lost.

Here, too, the parameter -l 4096 was changed to -l 5120, which means
that the connection remains stable.

The file /etc/hotplug.d/firmware/12-ath9k-eeprom was locally changed to:

/usr/bin/fritz_cal_extract -i 1 -s 0x1e800 -e 0x207 -l 5120 -o /lib/firmware/$FIRMWARE $(find_mtd_chardev "urlader")

Attached the completely changed file 12-ath9k-eeprom.

Kevin commented on 07.10.2021 13:57

I have two FRITZ!Box 7430 devices (identical except for that one of them was shipped more recently) and can confirm that this issue is present on one of them. For the other, the firmware extraction appears to succeed with the default options.
I've attached a boot log showing how the kernel fails to configure the ath9k device with the empty firmware file on OpenWrt 21.02.0.
The fix suggested above succeeds in allowing the system to recognize the device, however it is not configured correctly. The MAC address (and published BSSID) seems to be stuck to "00:02:03:04:05:08", although fritz_tffs_nand can extract the correct MAC address from /dev/mtd1.


Available keyboard shortcuts


Task Details

Task Editing