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

Michal Cieslakiewicz michal.cieslakiewicz at wp.pl
Wed Aug 14 04:59:22 EDT 2019


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Hello Adrian,

Thanks for helping me with WNR patchset, one question came to my mind
in the process of developing it and after reading one of your emails.
Sorry if it has been answered elsewhere...

/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...

Best regards
Michal
-----BEGIN PGP SIGNATURE-----

iQIzBAEBCAAdFiEEi7ylFMzTSbpOuOZIHU8//LdGKWsFAl1TzWoACgkQHU8//LdG
KWs+Bw/8DJHoJV8rfG8DYDHriwRa9vmRH8Ay4PVA7VDSoA1BJwE990qRmWdyfSQ7
y7v6l3Aq7SowmZ5UBK4K8HPOjQRy17AY4G8WXNjecPhs8Hs2neE3QrJ/LmqXvUOL
RnMyfaLnhkO66hA3I6QMVVYKI2VPCd/mp3EQllJSIZJEohC7OBvimmUc/8Wqhzn5
mtgLYEueSLWQO0jei9Yho7ZEF5auxkyEjDrvhdYimbBqolEYmpw21CCs124AAxVH
Ou11Q+lnLaZo68iA6k/8COjw4ScVKc2m6W0EgjGYRs5OC7lQ2Uu9kpC+NcFGkSik
AZyIC/unFQB6TJsxUkJ+m26DxokOGksk51DjBdUtAOmccfGkc/otHHYDP7YWNcoc
HRhaidJR+ybG+bRTqz9slNJjSJxdPPF5WnVSsPNmlyjd4CP+XZ8P+SdqZg+Ft25Z
PMIVrjgWsUsrFRaIu9zqGlP7F+Tsg0fES8LMXUQT3vE/YFBxzl/i1uRxyxqXpmv3
c/vr+VySe1+kmfQ89qdVAHB2lTFweKOJAEaI4Cdxf0DqSirsyySG0A92pEmv23U0
4xRysEm863e0qdqzaha5RrjTKK+VrmtGvjD9OWHAt6rbwsd69EJlKmQry3assO24
oA/gx/JIcj0etbJCEVEprryWzbjy3OJOX2w1J0iJXY4LXCT6yDI=
=CoJn
-----END PGP SIGNATURE-----
_______________________________________________
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