[coreboot] [PATCH] watchdog mcp55's codec initialization loops

Myles Watson mylesgw at gmail.com
Wed May 12 18:19:52 CEST 2010



> -----Original Message-----
> From: coreboot-bounces at coreboot.org [mailto:coreboot-bounces at coreboot.org]
> On Behalf Of Joe Korty
> Sent: Wednesday, May 12, 2010 9:59 AM
> To: Myles Watson
> Cc: coreboot at coreboot.org
> Subject: Re: [coreboot] [PATCH] watchdog mcp55's codec initialization
> loops
> 
> On Wed, May 12, 2010 at 11:54:23AM -0400, Myles Watson wrote:
> >
> >
> > > Put a 1 msec watchdog on the mcp55's codec status-wait
> > > loops.
> > > For some reason the codec is being found but the
> > > subsequent initialization sequence is not able to
> > > initialize the device.
> >
> > I wonder if the address is somehow wrong, or not routed correctly.
> >
> > > +	if (!i) {
> > > +		printk(BIOS_WARNING, "2: codec(%08x,%d) timed out.  Not set
> > > up.\n", base, addr);
> > > +		return;
> > > +	}
> >
> > What's the output when it fails?
> 
> 
> It's .....
> 
> 	PCI: 00:06.1 init
> 	base = 0xfc140000
> 	codec_mask = 01
> 	2: codec(fc140000,0) timed out.  Not set up.
> 	PCI: 00:08.0 init

I'd try to figure out if the read is failing.  If you print out dword (the
read value), is it 0xffffffff (probably not responding to the read)?
Earlier in the boot log does it look like fc14 is the correct address for
one of the resources for PCI 6.1?  Does it get enabled before this in the
log?

Thanks,
Myles






More information about the coreboot mailing list