[U-Boot] question about repetition of some u-boot commands

Hi,
just curious. Why some commands entered to u-boot are repeated after processing by pressing Enter key? Like tftp, print ....
Thanks for clarification,
marek

On 08/09/2011 02:03 PM, Belisko Marek wrote:
Hi,
just curious. Why some commands entered to u-boot are repeated after processing by pressing Enter key? Like tftp, print ....
Thanks for clarification,
It's useful for some commands like "md" that auto-advance. It's not useful (and often annoying) for most others. There's a field in the command descriptor that indicates whether autorepeat should be enabled for that command, but a lot of commands set it that shouldn't.
-Scott

Hi Scott,
On 08/09/2011 02:03 PM, Belisko Marek wrote:
Hi,
just curious. Why some commands entered to u-boot are repeated after processing by pressing Enter key? Like tftp, print ....
Thanks for clarification,
It's useful for some commands like "md" that auto-advance. It's not useful (and often annoying) for most others. There's a field in the command descriptor that indicates whether autorepeat should be enabled for that command, but a lot of commands set it that shouldn't.
... patches welcome.
Cheers Detlev
participants (3)
-
Belisko Marek
-
Detlev Zundel
-
Scott Wood