Activating hush shell
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
Quoted 7 lines · 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_PARSERandCFG_PROMPT_HUSH_PS2in 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
Signature · 5 lines
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
Quoted 3 lines · 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