[SerialICE] Various patches that I found useful

Myles Watson mylesgw at gmail.com
Fri Jul 9 17:55:40 CEST 2010


I put a copy of serialice.lua in the qemu directory and ran it from
there.  These patches refer to that file.

size8.diff: The factory BIOS wanted to do 8-byte writes, so I split it
into two 4-byte writes to minimize the changes necessary in SerialICE.

serial.diff: When using a Coreboot image, serial output gets to be too
verbose.  Send it to Qemu's serial port, and make it much less verbose
in the log.

pci.diff: Add some helper functions so that PCI is easier to use in
serialice.lua

Signed-off-by: Myles Watson <mylesgw at gmail.com>

Some of the other patches I had for serialice.lua were specific to my
boards.  I wonder what the best way of keeping track of board-specific
changes is.  For example, the PCIe bar code conflicted with my
chipset's initialization.

Maybe we should have the SerialICE script query the board and then
check which board it is?

Another option would be to keep useful pieces that users should cobble together.

Yet another option would be to keep multiple scripts for boards.

Thanks,
Myles
-------------- next part --------------
A non-text attachment was scrubbed...
Name: size8.diff
Type: text/x-diff
Size: 3600 bytes
Desc: not available
URL: <http://serialice.com/pipermail/serialice/attachments/20100709/64303c1d/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: serial.diff
Type: text/x-diff
Size: 2737 bytes
Desc: not available
URL: <http://serialice.com/pipermail/serialice/attachments/20100709/64303c1d/attachment-0001.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: pci.diff
Type: text/x-diff
Size: 4697 bytes
Desc: not available
URL: <http://serialice.com/pipermail/serialice/attachments/20100709/64303c1d/attachment-0002.bin>


More information about the SerialICE mailing list