[U-Boot] Store ENTER ('\r') character in bootstopkey variable

Giuseppe Modugno giuseppe.modugno at gmail.com
Fri Dec 2 08:55:05 CET 2011


2011/12/1 Wolfgang Denk <wd at denx.de>
> > I'd like to use the ENTER key to stop autoboot through the variables
> > "bootdelaykey" and "bootstopkey".  How could I do this?
>
> Try simply doint what you intent to do:
>
> => setenv bootdelaykey '
> '
>
> That should do the trick.

I tried, but when I press ENTER key after the first ', U-Boot shows me
a new prompt and delete the variable.


> Note that itis a bit tricky to check this with printenv.  You will see
> this:
>
> ...
> => printenv bootdelaykey
> bootdelaykey=
>
> =>
>
> or:
>
> => printenv
> ...
> bootdelaykey=\
>
> ...

This isn't a problem for me.


More information about the U-Boot mailing list