Re: [U-Boot] [PATCH v2] tools: env: support skip leading zero of env

2018-11-27 Thread zqb-all
Hi Wolfgang , Stefan I try to use uboot envtools in allwinner's platform, then found that the env in allwinner's SDK have some leading zero, that prevent envtools to parse it. Finally I add these code to fix it. Wolfgang Denk 于2018年11月27日周二 下午11:00写道: > Dear zqb-all, > > In

[U-Boot] [PATCH v2] tools: env: support skip leading zero of env

2018-11-27 Thread zqb-all
Signed-off-by: zqb-all --- v2: fix all "env = environment.data" and "env = default_environment" tools/env/fw_env.c | 46 -- 1 file changed, 40 insertions(+), 6 deletions(-) diff --git a/tools/env/fw_env.c b/tools/env/fw_env.c in

[U-Boot] [PATCH] tools: env: support skip leading zero of env

2018-11-18 Thread zqb-all
Signed-off-by: zqb-all --- tools/env/fw_env.c | 38 ++ 1 file changed, 34 insertions(+), 4 deletions(-) diff --git a/tools/env/fw_env.c b/tools/env/fw_env.c index a5d7595..4f4cd54 100644 --- a/tools/env/fw_env.c +++ b/tools/env/fw_env.c @@ -398,7 +398,14