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 email@example.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.