[coreboot] [PATCH] xcshell: serial shell for early debugging
mgold at ncf.ca
Tue Jul 14 19:31:56 CEST 2009
On Tue, Jul 14, 2009 at 18:20:56 +0200, Stefan Reinauer wrote:
> out of curiosity..
> Would it be possible to enhance the already existing "llshell" with your
> features? I would want to prevent more than one assembler written shell
> of this type floating around in the coreboot tree.
I considered extending it, but I didn't like how closely the command
implementations are tied to the protocol. xcshell could be easily
extended to execute opcodes from RAM (or CAR), for instance, which would
be difficult with llshell; or, someone may want to define a new protocol
that works with a USB debug device.
The llshell protocol is also designed for direct human use, which would
make it more difficult for a remote script to control it and ensure the
commands are being received/executed properly. Programmatic control of
xcshell is simple, and the sequence numbers and checksums allow errors
to be detected and recovered from.
I also noticed that xcshell implements all the commands needed for
SerialICE; I haven't tried using them together, but I probably will at
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 198 bytes
Desc: Digital signature
More information about the coreboot