public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
* [U-Boot] Help command broken on AT91SAM9G10-EK
@ 2009-11-13 16:10 Justin Waters
  2009-11-13 16:49 ` Tom
  2009-11-13 16:50 ` Peter Tyser
  0 siblings, 2 replies; 9+ messages in thread
From: Justin Waters @ 2009-11-13 16:10 UTC (permalink / raw)
  To: u-boot

It looks like the "help" command is broken on the AT91SAM9G10-EK on
2009.11-rc1.  I get the following message any time I try to run it:

Unknown command 'help' - try 'help'

I've bisected the issue, and it looks like it started with the addition
of the "editenv" command (commit
246c69225c7b962d5c93e92282b78ca9fc5fefee).  

After some further digging, I found some weirdness with the help command
beginning with the lead-up work to the editenv commit. Strange
characters where being printed to the console whenever the help command
was run.  This issue started with commit
ecc5500ee487170d8af6ff893fd1e0082380a01a, readline(): Add ability to
modify a string buffer.

I've also tested the AT91SAM9263-EK, and everything looks great.  I
believe the difference is related to the fact that the 9G10 does not use
hush, while the 9263 does. Indeed, if you look at the main loop,
non-hush systems use "readline" (which is indirectly modified by the
aforementioned commits), while hush systems do not.

I'm not really sure what would be the best way to fix this.  Any ideas?

-Justin Waters

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

end of thread, other threads:[~2009-11-13 22:37 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-11-13 16:10 [U-Boot] Help command broken on AT91SAM9G10-EK Justin Waters
2009-11-13 16:49 ` Tom
2009-11-13 16:50 ` Peter Tyser
2009-11-13 17:01   ` Justin Waters
2009-11-13 17:50     ` Peter Tyser
2009-11-13 21:24       ` Justin Waters
2009-11-13 21:39         ` Peter Tyser
2009-11-13 22:10           ` Justin Waters
2009-11-13 22:37             ` Justin Waters

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