[U-Boot] Using fw_setenv to set negative numbers

Anatolij Gustschin agust at denx.de
Wed Jun 5 16:21:46 UTC 2019


On Wed, 5 Jun 2019 15:57:55 +0000
Ken Sloat KSloat at aampglobal.com wrote:
...
> How can I set a negative number using the standard command call to fw_setenv?
> For example, if want to set bootdelay to a value of -2 (boot without delay), I currently
> cannot just say:
> fw_setenv bootdelay -2

Try using "fw_setenv bootdelay -- -2" command, it should work.

--
Anatolij


More information about the U-Boot mailing list