[U-Boot] Read line from console

Eric Nelson eric.nelson at boundarydevices.com
Thu Feb 13 05:26:00 CET 2014


Thanks Wolfgang,

On 02/11/2014 12:19 PM, Wolfgang Denk wrote:
> Dear Eric,
>
> In message <52FA7158.8030703 at boundarydevices.com> you wrote:
>>
>> Is there any facility for reading a line of text from the console,
>> so we can prompt a user?
>
> Do you mean in C code, or as CLI command?
>

CLI command.

>> I feel certain there must be a way to read a string into a
>> variable, but can't seem to find one...
>
> The first would be readline(), the second "env ask" (or "askenv").
>

Perfect.

And now that I know what I'm looking for, well documented!

Regards,


Eric


More information about the U-Boot mailing list