public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
* [U-Boot-Users] Activating hush shell
@ 2005-07-14 12:30 Andreas Engel
  2005-07-14 12:59 ` Wolfgang Denk
  0 siblings, 1 reply; 3+ messages in thread
From: Andreas Engel @ 2005-07-14 12:30 UTC (permalink / raw)
  To: u-boot

Hi,

I'm trying to switch from the old shell to hush on a custom ARM board
with u-boot 1.1.2 by just defining CFG_HUSH_PARSER and
CFG_PROMPT_HUSH_PS2 in the config file. However, u-boot now doesn't
really wait for user input, but endlessly prints its console prompt.
Before digging deeper into the problem with a debugger: do I need to do
anything else beyond just enabling hush?

Andreas

^ permalink raw reply	[flat|nested] 3+ messages in thread

* [U-Boot-Users] Activating hush shell
  2005-07-14 12:30 [U-Boot-Users] Activating hush shell Andreas Engel
@ 2005-07-14 12:59 ` Wolfgang Denk
  2005-07-14 15:05   ` Andreas Engel
  0 siblings, 1 reply; 3+ messages in thread
From: Wolfgang Denk @ 2005-07-14 12:59 UTC (permalink / raw)
  To: u-boot

In message <20050714143005.00001044@idefix> you wrote:
> 
> I'm trying to switch from the old shell to hush on a custom ARM board
> with u-boot 1.1.2 by just defining CFG_HUSH_PARSER and
> CFG_PROMPT_HUSH_PS2 in the config file. However, u-boot now doesn't
> really wait for user input, but endlessly prints its console prompt.
> Before digging deeper into the problem with a debugger: do I need to do
> anything else beyond just enabling hush?

No, this is basicly  all.  But  don't  forget  that  the  syntax  for
variable  substitution  changes.  If  you  have any "preboot" command
definitions that refer to variables this might cause trouble.

Best regards,

Wolfgang Denk

-- 
Software Engineering:  Embedded and Realtime Systems,  Embedded Linux
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
"Nobody will ever need more than 640k RAM!"       -- Bill Gates, 1981
"Windows 95 needs at least 8 MB RAM."             -- Bill Gates, 1996
"Nobody will ever need Windows 95."             -- logical conclusion

^ permalink raw reply	[flat|nested] 3+ messages in thread

* [U-Boot-Users] Activating hush shell
  2005-07-14 12:59 ` Wolfgang Denk
@ 2005-07-14 15:05   ` Andreas Engel
  0 siblings, 0 replies; 3+ messages in thread
From: Andreas Engel @ 2005-07-14 15:05 UTC (permalink / raw)
  To: u-boot

On Thu, 14 Jul 2005 14:59:15 +0200 Wolfgang Denk wrote:

>No, this is basicly  all.  But  don't  forget  that  the  syntax  for
>variable  substitution  changes.  If  you  have any "preboot" command
>definitions that refer to variables this might cause trouble.

I didn't forget it, thanks. Meanwhile, I found out that the hush shell
doesn't like the bootretry feature (at least on my board). Disabling it
made the shell work, but that's not a solution in the long term.

Regards,
  Andreas

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2005-07-14 15:05 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-07-14 12:30 [U-Boot-Users] Activating hush shell Andreas Engel
2005-07-14 12:59 ` Wolfgang Denk
2005-07-14 15:05   ` Andreas Engel

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox