[coreboot] [Fwd: Re: [Fwd: Re: arima hdama problem]]

Myles Watson mylesgw at gmail.com
Wed Oct 21 00:22:13 CEST 2009


On Tue, Oct 20, 2009 at 3:58 PM, Hugh Greenberg <hng at lanl.gov> wrote:

> Seems to have gotten farther:
>

OK.  So for some reason you can't read the LAPIC.  I have no idea why that
could be.

Anyone else wnat to chime in?  His board hangs in udelay(), which just does
lapi_read in a loop.

 start = lapic_read(LAPIC_TMCCT);
    do {
        value = lapic_read(LAPIC_TMCCT);
    } while((start - value) < ticks);

If I make it time out after 1000000 reads, it continues, otherwise it hangs.

The only thing I can think is that the timer didn't get initialized.  But I
don't know why it would hang later.  Maybe we should try no_smp with the
workaround.

Patch attached to initialize the timer.

Thanks,
Myles
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.coreboot.org/pipermail/coreboot/attachments/20091020/692f55e1/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ram3.diff
Type: text/x-patch
Size: 4708 bytes
Desc: not available
URL: <http://www.coreboot.org/pipermail/coreboot/attachments/20091020/692f55e1/attachment.diff>


More information about the coreboot mailing list