[PATCH 2/2] moveconfig: convert ps.stderr to string

2020-02-12 Thread Markus Klotzbuecher
Printing the error message in verbose mode fails, since python3 doesn't implicitely convert bytes to strings. Signed-off-by: Markus Klotzbuecher Cc: Simon Glass Cc: Tom Rini Cc: Masahiro Yamada --- tools/moveconfig.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/

[PATCH 1/2] moveconfig: replace unsafe eval with asteval

2020-02-12 Thread Markus Klotzbuecher
Commit b237d358b "moveconfig: expand simple expressions" added support for expanding expressions in configs, but used the unsafe python built-in "eval". This patch fixes this by replacing eval with the asteval module. Signed-off-by: Markus Klotzbuecher Cc: Heinrich Schuchardt

[PATCH 0/2] moveconfig fixes

2020-02-12 Thread Markus Klotzbuecher
a Python3 bugfix. Markus Klotzbuecher (2): moveconfig: replace unsafe eval with asteval moveconfig: convert ps.stderr to string tools/moveconfig.py | 6 -- 1 file changed, 4 insertions(+), 2 deletions(-) -- 2.25.0

Re: [U-Boot] [PATCH v2 1/9] moveconfig: expand simple expressions

2020-01-29 Thread Markus Klotzbuecher
Hi Heinrich On Sat, Jan 25, 2020 at 10:46:04PM +0100, Heinrich Schuchardt wrote: >On 5/15/19 3:15 PM, Markus Klotzbuecher wrote: >> From: Markus Klotzbuecher >> >> Add support for expanding simple expressions and sizes such as >> "(4 * 1024)", "(512 &l

Re: [U-Boot] [PATCH v2 0/9] miscellaneous ubispl and ubi improvements

2019-06-05 Thread Markus Klotzbuecher
Hello Heiko On Wed, May 15, 2019 at 03:15:51PM +0200, Markus Klotzbuecher wrote: >From: Markus Klotzbuecher > >This series contains a couple of UBI and UBI SPL improvements, notably >a ubispl extension to allow loading volumes by name. The motivation is >to use the UBI atomi

[U-Boot] [PATCH v2 8/9] ubispl: add support for loading volumes by name

2019-05-15 Thread Markus Klotzbuecher
ded, since these can only be resolved after attaching. This adds two vtbl related functions from Linux, which are taken from the same kernel version as the current main U-Boot UBI code (Linux 4.2 64291f7db5bd8). Signed-off-by: Hamish Guthrie Signed-off-by: Markus Klotzbuecher Reviewed-by

[U-Boot] [PATCH v2 9/9] ubispl: introduce separate CONFIG_UBI_SPL_SILENCE_MSG

2019-05-15 Thread Markus Klotzbuecher
From: Markus Klotzbuecher This allows to silence ubi and ubispl individually. Signed-off-by: Markus Klotzbuecher Reviewed-by: Heiko Schocher Cc: Kyungmin Park --- Changes for v2: None common/spl/Kconfig | 6 ++ drivers/mtd/ubispl/ubispl.h | 2 +- 2 files changed, 7 insertions

[U-Boot] [PATCH v2 7/9] configs: migrate ubispl boards to KConfig

2019-05-15 Thread Markus Klotzbuecher
From: Markus Klotzbuecher Migrate the ubispl configuration for the omap3_igep00x0 and am335x_igep003x boards to KConfig. Both boards were built with SOURCE_DATE_EPOCH=0 and found to be equal before and after. Signed-off-by: Markus Klotzbuecher Cc: Heiko Schocher Cc: Kyungmin Park Cc: Javier

[U-Boot] [PATCH v2 4/9] env: ubi: support configurable VID offset

2019-05-15 Thread Markus Klotzbuecher
From: Hamish Guthrie Introduce KConfig CONFIG_ENV_UBI_VID_OFFSET to allow providing custom VID header offsets for the environment on UBI. Signed-off-by: Hamish Guthrie Signed-off-by: Markus Klotzbuecher Reviewed-by: Heiko Schocher Cc: Kyungmin Park --- Changes for v2: - default to no custom

[U-Boot] [PATCH v2 6/9] ubispl: migrate configuration to Kconfig

2019-05-15 Thread Markus Klotzbuecher
From: Markus Klotzbuecher Move the ubispl configuration to KConfig and drop them from the whitelist. Signed-off-by: Markus Klotzbuecher Cc: Heiko Schocher Cc: Kyungmin Park Cc: Javier Martínez Canillas Cc: Enric Balletbo i Serra --- Changes for v2: None common/spl/Kconfig | 79

[U-Boot] [PATCH v2 3/9] at91, omap2plus: configs: migrate CONFIG_ENV_ to defconfigs

2019-05-15 Thread Markus Klotzbuecher
From: Markus Klotzbuecher Enable the extended ENV options for AT91 and OMAP2PLUS in order to be able to use CONFIG_ENV_UBI_* on these architectures. As this change also makes the configs ENV_SIZE, ENV_SECT_SIZE, ENV_OFFSET visible to AT91 and OMAP2PLUS, migrate users of these to KConfig. This

[U-Boot] [PATCH v2 5/9] ubi: fix UBI_SILENCE_MSG

2019-05-15 Thread Markus Klotzbuecher
From: Markus Klotzbuecher - drop CONFIG_ prefix from kconfig entry - fix small compilation issue with CONFIG_UBI_SILENCE_MSG Signed-off-by: Markus Klotzbuecher Reviewed-by: Heiko Schocher Cc: Kyungmin Park --- Changes for v2: None drivers/mtd/ubi/Kconfig | 2 +- drivers/mtd/ubi/io.c

[U-Boot] [PATCH v2 2/9] env: ubi: KConfig: add CONFIG_ENV_UBI_VOLUME_REDUND

2019-05-15 Thread Markus Klotzbuecher
From: Markus Klotzbuecher Introduce the KConfig option CONFIG_ENV_UBI_VOLUME_REDUND for defining the name of the UBI volume used to store the redundant environment. Signed-off-by: Markus Klotzbuecher Reviewed-by: Heiko Schocher Cc: Kyungmin Park --- Changes for v2: - Extend commit message

[U-Boot] [PATCH v2 1/9] moveconfig: expand simple expressions

2019-05-15 Thread Markus Klotzbuecher
From: Markus Klotzbuecher Add support for expanding simple expressions and sizes such as "(4 * 1024)", "(512 << 10)" or "(SZ_256K)". This can help to significantly reduce the number of "suspicious" moves, such as 'CONFIG_ENV_SIZE="(64

[U-Boot] [PATCH v2 0/9] miscellaneous ubispl and ubi improvements

2019-05-15 Thread Markus Klotzbuecher
From: Markus Klotzbuecher This series contains a couple of UBI and UBI SPL improvements, notably a ubispl extension to allow loading volumes by name. The motivation is to use the UBI atomic volume rename functionality to allow double copy software updates of U-Boot on UBI. To do that we

Re: [U-Boot] [PATCH 1/6] env: ubi: KConfig: add CONFIG_ENV_UBI_VOLUME_REDUND

2019-05-09 Thread Markus Klotzbuecher
Hello Heiko On Thu, May 09, 2019 at 01:17:06PM +0200, Heiko Schocher wrote: > >Am 09.05.2019 um 10:59 schrieb Markus Klotzbuecher: >> Hello Heiko >> >> On Tue, Apr 30, 2019 at 06:54:01AM +0200, Heiko Schocher wrote: >> >> > Am 15.04.2019 um 17:32 schrieb M

Re: [U-Boot] [PATCH 1/6] env: ubi: KConfig: add CONFIG_ENV_UBI_VOLUME_REDUND

2019-05-09 Thread Markus Klotzbuecher
Hello Heiko On Tue, Apr 30, 2019 at 06:54:01AM +0200, Heiko Schocher wrote: >Am 15.04.2019 um 17:32 schrieb Markus Klotzbuecher: >> From: Markus Klotzbuecher > >please add a commit message. > >> Signed-off-by: Markus Klotzbuecher >> Cc: Heiko Schocher >>

Re: [U-Boot] [PATCH 1/6] env: ubi: KConfig: add CONFIG_ENV_UBI_VOLUME_REDUND

2019-05-02 Thread Markus Klotzbuecher
Hello Heiko On Tue, Apr 30, 2019 at 06:54:01AM +0200, Heiko Schocher wrote: >Am 15.04.2019 um 17:32 schrieb Markus Klotzbuecher: >> From: Markus Klotzbuecher > >please add a commit message. > >> Signed-off-by: Markus Klotzbuecher >> Cc: Heiko Schocher >>

[U-Boot] [PATCH 6/6] ubispl: introduce separate CONFIG_UBI_SPL_SILENCE_MSG

2019-04-17 Thread Markus Klotzbuecher
From: Markus Klotzbuecher This allows to silence ubi and ubispl individually. Signed-off-by: Markus Klotzbuecher Cc: Heiko Schocher Cc: Kyungmin Park --- common/spl/Kconfig | 6 ++ drivers/mtd/ubispl/ubispl.h | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a

Re: [U-Boot] [PATCH 0/6] miscellaneous ubispl and ubi improvements

2019-04-16 Thread Markus Klotzbuecher
Hello Heiko On Tue, Apr 16, 2019 at 06:03:31AM +0200, Heiko Schocher wrote: >may I am to dummy, but I cannot find your patches in patchwork :-( > >any ideas? As this was a first post from this address, I think they are still in the list moderation queue... Best regards Markus -

Re: [U-Boot] [PATCH 0/6] miscellaneous ubispl and ubi improvements

2019-04-16 Thread Markus Klotzbuecher
Hello Heiko On Tue, Apr 16, 2019 at 05:52:15AM +0200, Heiko Schocher wrote: > >Am 15.04.2019 um 17:32 schrieb Markus Klotzbuecher: >> From: Markus Klotzbuecher >> >> Hello Heiko and Kyungmin >> >> This series contains a couple of UBI and UBI SPL improvemen

[U-Boot] [PATCH 3/6] ubi: fix UBI_SILENCE_MSG

2019-04-16 Thread Markus Klotzbuecher
From: Markus Klotzbuecher - drop CONFIG_ prefix from kconfig entry - fix small compilation issue with CONFIG_UBI_SILENCE_MSG Signed-off-by: Markus Klotzbuecher Cc: Heiko Schocher Cc: Kyungmin Park --- drivers/mtd/ubi/Kconfig | 2 +- drivers/mtd/ubi/io.c| 2 ++ 2 files changed, 3

[U-Boot] [PATCH 4/6] ubispl: migrate configuration to Kconfig

2019-04-16 Thread Markus Klotzbuecher
From: Markus Klotzbuecher Signed-off-by: Markus Klotzbuecher Cc: Heiko Schocher Cc: Kyungmin Park Cc: Javier Martinez Canillas Cc: Enric Balletbo i Serra --- common/spl/Kconfig | 79 scripts/config_whitelist.txt | 12 -- 2 files changed

[U-Boot] [PATCH 5/6] ubispl: add support for loading volumes by name

2019-04-16 Thread Markus Klotzbuecher
ded, since these can only be resolved after attaching. Signed-off-by: Hamish Guthrie Signed-off-by: Markus Klotzbuecher Cc: Heiko Schocher Cc: Kyungmin Park --- common/spl/Kconfig | 13 +++ common/spl/spl_ubi.c| 7 ++ drivers/mtd/u

[U-Boot] [PATCH 2/6] env: ubi: support configurable VID offset

2019-04-16 Thread Markus Klotzbuecher
From: Hamish Guthrie Signed-off-by: Hamish Guthrie Signed-off-by: Markus Klotzbuecher Cc: Heiko Schocher Cc: Kyungmin Park --- env/Kconfig | 6 ++ env/ubi.c | 17 + 2 files changed, 19 insertions(+), 4 deletions(-) diff --git a/env/Kconfig b/env/Kconfig index

[U-Boot] [PATCH 0/6] miscellaneous ubispl and ubi improvements

2019-04-16 Thread Markus Klotzbuecher
From: Markus Klotzbuecher Hello Heiko and Kyungmin This series contains a couple of UBI and UBI SPL improvements, notably a ubispl extension to allow loading volumes by name. The motivation is to use the UBI atomic volume rename functionality to allow double copy software updates of U-Boot on

[U-Boot] [PATCH 1/6] env: ubi: KConfig: add CONFIG_ENV_UBI_VOLUME_REDUND

2019-04-16 Thread Markus Klotzbuecher
From: Markus Klotzbuecher Signed-off-by: Markus Klotzbuecher Cc: Heiko Schocher Cc: Kyungmin Park --- env/Kconfig | 6 ++ scripts/config_whitelist.txt | 1 - 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/env/Kconfig b/env/Kconfig index 78300660c7

[U-Boot] ubispl: how to configure number of PEBs on the fly?

2019-04-08 Thread Markus Klotzbuecher
! Markus Markus Klotzbuecher Embedded System Architect -- Kistler Instrumente AG Eulachstrasse 22, 8408 Winterthur, Switzerland Direct +41 52 224 17 54, Main Office +41 52 224 11 11 markus.klotzbuec