[OpenWrt-Devel] ath9k: mtd-cal-data vs firmware bin file

Dmitry Tunin hanipouspilot at gmail.com
Wed Aug 14 05:56:13 EDT 2019

> /etc/hotplug.d/firmware/10-ath9k-eeprom for these routers just extracts
> 4k of calibration data from ART to bin file in /lib/firmware. I
> compared bin file to mtd area and they are identical. Why ath9k cannot
> use this data directly accessing /dev/mtd6? Is that 'mtd-cal-data' dts
> option for? If so, why does it not work in this case? (tested, ath9k
> initialization ends with error)
> I recall there was no such operation in ar71xx target and older
> kernels...

ath9k node doesn't have 'mtd-cal-data' property.
Regarding ar71xx there were special mach procedures that could
directly load caldata from mtd.

openwrt-devel mailing list
openwrt-devel at lists.openwrt.org

More information about the openwrt-devel mailing list