[OpenWrt-Devel] [PATCH 1/8] generic: routerboot sysfs platform driver

Thibaut hacks at slashdirt.org
Wed Apr 8 05:48:54 EDT 2020


Successfully Tested-by on ramips RBM33G by Tobias Schramm (in CC).

> Le 3 avr. 2020 à 20:20, Thibaut VARÈNE <hacks at slashdirt.org> a écrit :
> 
> This driver exposes the data encoded in the "hard_config" flash segment
> of MikroTik RouterBOARDs devices. It presents the data in a sysfs folder
> named "hard_config". The WLAN calibration data is available on demand via
> the 'wlan_data' sysfs file in that folder.
> 
> This driver permanently allocates a chunk of RAM as large as the
> "hard_config" MTD partition (typically 4KB), although it is technically
> possible to operate entirely from the MTD device without using a local
> buffer (except when requesting WLAN calibration data), at the cost of a
> performance penalty.
> 
> This driver does not reuse any of the existing code previously found in
> routerboot.c.
> 
> This driver has been successfully tested on BE (ath79) and LE (ipq40xx)
> hardware.
> 
> Tested-by: Roger Pueyo Centelles <roger.pueyo at guifi.net>
> Tested-by: Baptiste Jonglez <git at bitsofnetworks.org>
> Signed-off-by: Thibaut VARÈNE <hacks at slashdirt.org>


_______________________________________________
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