[PATCH 1/3] generic: platform/mikrotik: make soft_config writable without 4K sectors

Sven Roederer devel-sven at geroedel.de
Sun Jan 9 05:57:50 PST 2022


Am Dienstag, 21. Dezember 2021, 08:45:59 CET schrieb Oskari Lemmela:
> Make soft_config writable in all cases. Performing soft_config commit
> will fail if mtd partition is not writable.
> 
> Signed-off-by: Oskari Lemmela <oskari at lemmela.net>
> ---
>  .../drivers/platform/mikrotik/rb_softconfig.c   | 17 +++--------------
>  1 file changed, 3 insertions(+), 14 deletions(-)
> 
> diff --git
> a/target/linux/generic/files/drivers/platform/mikrotik/rb_softconfig.c
> b/target/linux/generic/files/drivers/platform/mikrotik/rb_softconfig.c
> index 070bd32d5a..31d06c423a 100644
> --- a/target/linux/generic/files/drivers/platform/mikrotik/rb_softconfig.c
> +++ b/target/linux/generic/files/drivers/platform/mikrotik/rb_softconfig.c
> @@ -59,20 +59,9 @@
>  #define RB_SOFTCONFIG_VER              "0.03"
>  #define RB_SC_PR_PFX                   "[rb_softconfig] "

Oskari,

maybe also good to bump version to 0.04 .

Sven







More information about the openwrt-devel mailing list