[U-Boot] Using fw_setenv to set negative numbers

Ken Sloat KSloat at aampglobal.com
Mon Jun 10 16:06:55 UTC 2019


> -----Original Message-----
> From: Anatolij Gustschin <agust at denx.de>
> Sent: Wednesday, June 5, 2019 12:22 PM
> To: Ken Sloat <KSloat at aampglobal.com>
> Cc: u-boot at lists.denx.de
> Subject: Re: [U-Boot] Using fw_setenv to set negative numbers
> 
> [This is an EXTERNAL EMAIL]
> ________________________________
> 
> 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 

Thanks Anatolij! This worked!

Sincerely,
Ken Sloat


More information about the U-Boot mailing list