[U-Boot] [PATCH] arm: imx7d: cl-som-imx7: migration to CONFIG_BLK

2018-11-20 Thread Yaniv Levinsky
Enable driver model for USB, MMC and REGULATOR drivers. Set run-time configuration via Device Tree. Signed-off-by: Yaniv Levinsky --- configs/cl-som-imx7_defconfig | 6 +- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/configs/cl-som-imx7_defconfig b/configs/cl-som

Re: [U-Boot] [PATCH] env: common: load read-only variables after reset

2018-08-27 Thread Yaniv Levinsky
On 07/27/2018 06:34 PM, Yaniv Levinsky wrote: > U-Boot fails to load read-only variables from storage after a reset. It > happens because the environment hash table prevents creating read-only > variables unless the H_FORCE flag is passed. > > In the following example, the variabl

Re: [U-Boot] [PATCH] env: common: load read-only variables after reset

2018-07-29 Thread Yaniv Levinsky
Hello Wolfgang, On 07/28/2018 03:56 PM, Wolfgang Denk wrote: > Dear Yaniv, > > In message <20180727153444.5602-1-yaniv.levin...@compulab.co.il> you wrote: >> U-Boot fails to load read-only variables from storage after a reset. It >> happens because the environment hash table prevents creating

[U-Boot] [PATCH] env: common: load read-only variables after reset

2018-07-27 Thread Yaniv Levinsky
OK U-Boot> reset ... Loading Environment from SPI Flash... ## Error: Can't create "test" himport_r: can't insert "test=1" into hash table ... U-Boot> printenv test ## Error: "test" not defined Pass the H_FORCE fla

Re: [U-Boot] [PATCH v2 0/2] env: Make environment loading log more clear

2018-07-25 Thread Yaniv Levinsky
On 07/20/2018 06:18 PM, Sam Protsenko wrote: > This patch series intended to make boot log better. Basically here we > just remove unwanted error messages, relying on the message from most > deep API to be printed (like mmc subsystem). At the moment this looks > like most clean solution to

Re: [U-Boot] [PATCH 0/4] fix propagation of flags from do_env_default()

2018-07-11 Thread Yaniv Levinsky
Gentle ping. On 06/24/2018 07:16 PM, Yaniv Levinsky wrote: > The function do_env_default() doesn't propagate flags to himport_r(). It > causes > the "-f" option to have no effect on the execution of "env default" commands. > > Fix the call paths from do_e

[U-Boot] [PATCH 3/4] cmd: nvedit: set H_INTERACTIVE in do_env_default

2018-06-24 Thread Yaniv Levinsky
is certainty user directed. Move the H_INTERACTIVE flag from set_default_vars() to do_env_default(). Signed-off-by: Yaniv Levinsky Acked-by: Igor Grinberg --- cmd/nvedit.c | 2 +- env/common.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/cmd/nvedit.c b/cmd/nvedit.c index

[U-Boot] [PATCH 4/4] env: common: accept flags on reset to default env

2018-06-24 Thread Yaniv Levinsky
of H_FORCE from do_env_default() does not introduce any functional changes, because currently himport_r() is set to destroy the old environment regardless if H_FORCE flag is set or not. More changes are needed to utilize the propagation of H_FORCE. Signed-off-by: Yaniv Levinsky Acked-by: Igo

[U-Boot] [PATCH 2/4] cmd: nvedit: propagate envflag to set_default_vars

2018-06-24 Thread Yaniv Levinsky
env .flags kernel:so # env default -f kernel ## Error: Can't overwrite "kernel" himport_r: can't insert "kernel=zImage" into hash table Change the call path so it will pass the flag correctly. Signed-off-by: Yaniv Levinsky Acked-by: Igor Grinberg --- cmd

[U-Boot] [PATCH 1/4] cmd: nvedit: rename flags in do_env_default

2018-06-24 Thread Yaniv Levinsky
ot in do_env_default(). Rename the hashtable flag in do_env_default() from "flag" to "env_flag". Rename the command flag in do_env_default() from "__flag" to "flag". No functional change. Signed-off-by: Yaniv Levinsky Reviewed-by: Igor Grinberg ---

[U-Boot] [PATCH 0/4] fix propagation of flags from do_env_default()

2018-06-24 Thread Yaniv Levinsky
The function do_env_default() doesn't propagate flags to himport_r(). It causes the "-f" option to have no effect on the execution of "env default" commands. Fix the call paths from do_env_default() to himport_r() to pass flags correctly. Yaniv Levinsky (4): cmd:

[U-Boot] [PATCH] arm: imx7d: cl-som-imx7: sf: support all SF types

2018-06-24 Thread Yaniv Levinsky
From: Uri Mashiach Enable the support for all SPI flash types. Signed-off-by: Uri Mashiach Signed-off-by: Yaniv Levinsky --- configs/cl-som-imx7_defconfig | 7 +++ 1 file changed, 7 insertions(+) diff --git a/configs/cl-som-imx7_defconfig b/configs/cl-som-imx7_defconfig index 6d403eed7a