From patchwork Tue Aug 3 10:09:27 2010 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: Light at the other side of the null modem cable Date: Tue, 03 Aug 2010 10:09:27 -0000 From: xdrudis X-Patchwork-Id: 1712 Message-Id: <20100803100927.GB5330@ideafix.casa.ct> To: Rudolf Marek Cc: xdrudis , coreboot@coreboot.org On Tue, Aug 03, 2010 at 11:22:29AM +0200, xdrudis wrote: > > I could try to add code similar to that above to serialICE and see > what happens. > Done. It now boots serialICE once and starts the shell. I haven't downloaded qemu, patched it and tested with a coreboot image (or the propietary bios), but the commands I entered at the shell were answered ok as far as I can tell. Here's the patch against the file Rudolf Marek sent, but I'll attach the modified file too. --- asrock_939a785gmh.c 2010-08-03 12:08:04.000000000 +0200 +++ SerialICE/mainboard/asrock_939a785gmh.c 2010-08-03 12:02:34.000000000 +0200 @@ -42,6 +42,10 @@ static void chipset_init(void) { + u32 reg32 = pci_read_config32(PCI_ADDR(0, 0x14, 0, 0x4C)); + reg32 |= 1 << 31; + pci_write_config32(PCI_ADDR(0, 0x14, 0, 0x4C), reg32); + /* Enable LPC decoding */ pci_write_config8(PCI_ADDR(0, 0x14, 3, 0x44), (1<<6));