[LinuxBIOS] #87: flashrom issues on m57sli-s4

Carl-Daniel Hailfinger c-d.hailfinger.devel.2006 at gmx.net
Sat Nov 10 17:04:32 CET 2007


Hi Andi,

On 10.11.2007 14:33, Andreas B. Mundt wrote:
> I tried as you suggested and checked it, but still no difference in 
> superiotool output compared to standard LB! 
>   

Can you try this patch on top of the existing patch? It will give you
better debug output for superio config.

Index: src/devices/pnp_device.c
===================================================================
--- src/devices/pnp_device.c	(Revision 2953)
+++ src/devices/pnp_device.c	(Arbeitskopie)
@@ -96,6 +96,8 @@
 	}
 
 	/* Now store the resource */
+	printk_err("TRACE: %s, index %02x: writing %04x\n",
+			dev_path(dev), resource->index, resource->base);
 	if (resource->flags & IORESOURCE_IO) {
 		pnp_set_iobase(dev, resource->index, resource->base);
 	}
@@ -119,6 +121,8 @@
 {
 	int i;
 
+	printk_err("TRACE: %s, selecting logical device %02x\n",
+			dev_path(dev), dev->path.u.pnp.device);
 	/* Select the device */
 	pnp_set_logical_device(dev);
 


Can you then post the serial boot log (minicom capture)? It should have
a few lines with "TRACE:" in it. Then we can check whether the values
are set or not.

Thanks,
Carl-Daniel




More information about the coreboot mailing list