[coreboot] Light at the other side of the null modem cable

xdrudis xdrudis at tinet.cat
Tue Aug 3 12:09:27 CEST 2010


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));

-------------- next part --------------
A non-text attachment was scrubbed...
Name: asrock_939a785gmh.c
Type: text/x-csrc
Size: 1789 bytes
Desc: not available
URL: <http://www.coreboot.org/pipermail/coreboot/attachments/20100803/26c36dd9/attachment.c>


More information about the coreboot mailing list