2010/8/3 Myles Watson mylesgw@gmail.com
On Tue, Aug 3, 2010 at 10:59 AM, Idwer Vollering vidwer@gmail.com wrote:
My problem is two-fold:
- Running the patched qemu segfaults.
$ sudo ./i386-softmmu/qemu -serialice /dev/ttyUSB0 -hda /dev/zero -L
bios/
[sudo] password for idwer: SerialICE: Open connection to target hardware... SerialICE: Waiting for handshake with target... target alife!
try the latest qemu in the SerialICE tree
svn://serialice.com/serialice/trunk/qemu-0.11.0
It's already patched, and it has been updated more recently than the patch.
- Right now, the serialice shell appears only once: after flashing
serialice.rom and performing a soft reset from vendor bios to serialice.
SerialICE v1.5 (Aug 3 2010)
Sounds like SerialICE is depending on some initialization from the vendor BIOS. I guess an ugly way to test it would be to copy the working configuration bits from lspci and hard code them into SerialICE until you find what's wrong.
Like this ? E.g. this is what I found for ICH5's LPC_EN, offset address 0xe6:
00:1f.0 ISA bridge [0601]: Intel Corporation 82801EB/ER (ICH5/ICH5R) LPC Interface Bridge [8086:24d0] (rev 02): // snip e0: 00 00 00 80 00 00 08 14 33 22 11 00 00 00 67 45
pci_write_config16(PCI_ADDR(0, 0x1f, 0, 0xe6), 0x1408);
Attached the mainboard code as well.
Thanks, Myles