* [U-Boot] question about repetition of some u-boot commands
@ 2011-08-09 19:03 Belisko Marek
2011-08-09 19:21 ` Scott Wood
0 siblings, 1 reply; 3+ messages in thread
From: Belisko Marek @ 2011-08-09 19:03 UTC (permalink / raw)
To: u-boot
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
--
as simple and primitive as possible
-------------------------------------------------
Marek Belisko - OPEN-NANDRA
Freelance Developer
Ruska Nova Ves 219 | Presov, 08005 Slovak Republic
Tel: +421 915 052 184
skype: marekwhite
icq: 290551086
web: http://open-nandra.com
^ permalink raw reply [flat|nested] 3+ messages in thread
* [U-Boot] question about repetition of some u-boot commands
2011-08-09 19:03 [U-Boot] question about repetition of some u-boot commands Belisko Marek
@ 2011-08-09 19:21 ` Scott Wood
2011-08-10 10:52 ` Detlev Zundel
0 siblings, 1 reply; 3+ messages in thread
From: Scott Wood @ 2011-08-09 19:21 UTC (permalink / raw)
To: u-boot
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
^ permalink raw reply [flat|nested] 3+ messages in thread
* [U-Boot] question about repetition of some u-boot commands
2011-08-09 19:21 ` Scott Wood
@ 2011-08-10 10:52 ` Detlev Zundel
0 siblings, 0 replies; 3+ messages in thread
From: Detlev Zundel @ 2011-08-10 10:52 UTC (permalink / raw)
To: u-boot
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
--
Q: What is a compact city?
A: It's a city that can be guarded by finitely many near-sighted
policemen.
--
DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-40 Fax: (+49)-8142-66989-80 Email: dzu at denx.de
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2011-08-10 10:52 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-08-09 19:03 [U-Boot] question about repetition of some u-boot commands Belisko Marek
2011-08-09 19:21 ` Scott Wood
2011-08-10 10:52 ` Detlev Zundel
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox