immortalwrt/target/linux/generic
Thibaut VARÈNE d5dcdccf33 generic: routerboot sysfs: add support for soft_config
This driver exposes the data encoded in the "soft_config" flash segment
of MikroTik RouterBOARDs devices. It presents the data in a sysfs folder
named "soft_config" through a set of human-and-machine-parseable
attributes. Changes can be discarded by writing 0 to the 'commit'
attribute, or they can be committed to flash storage by writing 1.

This driver does not reuse any of the existing code previously found in
the "rbcfg" utility and makes this utility obsolete by providing a clean
sysfs interface.

Like "rbcfg", this driver requires 4K_SECTORS support since the flash
partition in which these parameters are stored is typically 4KB in size.

Tested-by: Koen Vandeputte <koen.vandeputte@ncentric.com>
Tested-by: Roger Pueyo Centelles <roger.pueyo@guifi.net>
Signed-off-by: Thibaut VARÈNE <hacks@slashdirt.org>
2020-05-29 12:04:32 +08:00
..
backport-4.9 Merge Mainline 2020-05-24 22:41:44 +08:00
backport-4.14 Merge Mainline 2020-05-24 22:41:44 +08:00
backport-4.19 kernel: bump 4.19 to 4.19.118 2020-04-25 11:08:19 +08:00
backport-5.4 kernel: drop backported gpio emulated open drain output fix 2020-05-26 11:53:08 +08:00
files generic: routerboot sysfs: add support for soft_config 2020-05-29 12:04:32 +08:00
hack-4.9 kernel: bump 4.9 to 4.9.224 2020-05-24 20:45:22 +08:00
hack-4.14 kernel: bump 4.14 to 4.14.181 2020-05-24 21:25:57 +08:00
hack-4.19 kernel: bump 4.19 to 4.19.124 2020-05-24 21:59:06 +08:00
hack-5.4 kernel: remove a bunch of trailing whitespaces 2020-05-26 11:53:19 +08:00
image update source 2017-09-06 19:19:45 +08:00
other-files update source 2017-09-06 19:19:45 +08:00
pending-4.9 Merge Mainline 2020-05-24 22:41:44 +08:00
pending-4.14 Merge Mainline 2020-05-24 22:41:44 +08:00
pending-4.19 Merge Mainline 2020-05-24 22:41:44 +08:00
pending-5.4 generic: support mtd-mac-address-ascii 2020-05-27 16:06:20 +08:00
config-4.9 target/generic: add missing config 2020-04-13 22:21:52 +08:00
config-4.14 kernel: mtdsplit: add BCM WFI support 2020-05-19 11:53:47 +08:00
config-4.19 kernel: mtdsplit: add BCM WFI support 2020-05-19 11:53:47 +08:00
config-5.4 kernel: mtdsplit: add BCM WFI support 2020-05-19 11:53:47 +08:00
PATCHES update source 2017-09-06 19:19:45 +08:00