[OpenWrt-Devel] [PATCH v3 0/6] Speed up and merge caldata/eeprom extraction

Adrian Schmutzler freifunk at adrianschmutzler.de
Wed Feb 27 17:18:03 EST 2019

This patchset goes on with the attempt to
- speed up caldata/eeprom handling by reading blockwise,
- merge the similar functions in one library.

It depends on the patch "ath79: speed up ath9k-eeprom extraction"
by Dmitry Tunin to be applied beforehand.

It replaces my earlier patchsets
- Speed up caldata/eeprom handling for ar71xx/ath79
- Speed up caldata/eeprom handling with common file

The patches 1 to 4 have been run-tested (all at once) on the following
TP-Link WDR4300 (ar71xx and ath79)
Ubnt AC Mesh (ath79)
TP-Link CPE210 v2 (ar71xx)

The patches 5 and 6 are optional. Since a have no ipq40xx or ramips
device at hand, I cannot test them. Thus, one can apply patches 1 to 4
and then easily do patches 5 and 6 if/after they are tested. (So they
do not hold up the earlier patches.)
However, it would be nice if someone did test ramips and ipq40xx.

Adrian Schmutzler (6):
  ath79: Speed up caldata/eeprom handling
  ar71xx: Speed up caldata/eeprom handling
  ar71xx: Speed up mtd extraction in ar71xx.sh
  ar71xx/ath79: Merge eeprom/caldata extraction into eeprom.sh
  ipq40xx: Make use of common eeprom.sh library for caldata
  ramips: Merge ath9k-eeprom extraction to common eeprom.sh

 package/base-files/files/lib/functions/eeprom.sh   | 91 ++++++++++++++++++++
 .../etc/hotplug.d/firmware/10-ath9k-eeprom         | 99 +++++-----------------
 .../etc/hotplug.d/firmware/11-ath10k-caldata       | 80 ++++++-----------
 target/linux/ar71xx/base-files/lib/ar71xx.sh       |  4 +-
 .../etc/hotplug.d/firmware/10-ath9k-eeprom         | 86 ++++++-------------
 .../etc/hotplug.d/firmware/11-ath10k-caldata       | 62 ++++----------
 .../etc/hotplug.d/firmware/11-ath10k-caldata       | 82 +++++-------------
 .../etc/hotplug.d/firmware/10-rt2x00-eeprom        | 32 ++-----
 8 files changed, 209 insertions(+), 327 deletions(-)
 create mode 100644 package/base-files/files/lib/functions/eeprom.sh


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

More information about the openwrt-devel mailing list