From mboxrd@z Thu Jan 1 00:00:00 1970 From: Anatolij Gustschin Date: Wed, 5 Jun 2019 18:21:46 +0200 Subject: [U-Boot] Using fw_setenv to set negative numbers In-Reply-To: References: Message-ID: <20190605182146.36645a63@crub> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de 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