[U-Boot] [BUG] cmd : 'env exists envvar' does not display the existence of environment variable

Adarsh Babu Kalepalli learn2kab at gmail.com
Mon Oct 14 08:52:20 UTC 2019


Hi,

u-boot Version: 2019.10
H/W Board : Beaglebone Black

'env exists env_varName' does not display the existance
status of 'env_varName' environment variable.

-----------------------------------------
=> help env
env - environment handling commands

Usage:
env ask name [message] [size] - ask for environment variable
env default [-f] -a - [forcibly] reset default environment
env default [-f] var [...] - [forcibly] reset variable(s) to their default
values
env delete [-f] var [...] - [forcibly] delete variable(s)
env edit name - edit environment variable
env exists name - tests for existence of variable
env export [-t | -b | -c] [-s size] addr [var ...] - export environment
env import [-d] [-t [-r] | -b | -c] addr [size] [var ...] - import
environment
env print [-a | name ...] - print environment
env print -e [name ...] - print UEFI environment
env run var [...] - run commands in an environment variable
env save - save environment
env set -e name [arg ...] - set UEFI variable; unset if 'arg' not specified
env set [-f] name [arg ...]

=> printenv ver
ver=U-Boot 2019.10 (Oct 14 2019 - 00:47:50 -0700)
=> env exists ver
=>
-----------------------------------------

What is the expected Output and where is the result updated??

-Adarsh

<https://www.avast.com/en-in/recommend?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail&utm_term=default3&tag=263e577d-8a0d-4805-aed0-c94705b9fd3a>
I’m
protected online with Avast Free Antivirus. Get it here — it’s free forever.
<https://www.avast.com/en-in/recommend?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail&utm_term=default3&tag=263e577d-8a0d-4805-aed0-c94705b9fd3a>
<#DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2>


More information about the U-Boot mailing list