Re: [U-Boot] Very confusing variable=name behaviour

2015-12-12 Thread Peter Barada
In u-boot there are two types of variables, local and persistent variables. Persistent variables are assigned via "setenv", can be saved (the whole environment) via "saveenv", restored (to default values) via "env default -f". Hush variables are assigned via "=" and can aren't saved. Both are

[U-Boot] Very confusing variable=name behaviour

2015-12-12 Thread Pavel Machek
Hi! I'm getting quite crazy behaviour of variables in recent u-boot: VERSION = 2016 PATCHLEVEL = 01 SUBLEVEL = EXTRAVERSION = -rc1 Bytes transferred = 104656 (198d0 hex) => bootm_boot_mode=nonsec => echo $bootm_boot_mode nonsec => prinetenv bootm_boot_mode Unknown command 'prinetenv' - try 'hel