On Jan 12, 2008 1:11 PM, Rolf Sommerhalder
<[EMAIL PROTECTED]> wrote:
> I do not yet understand if the problem comes from the timer / watchdog
> / GPIO which glxpcib activates, or if I should try to do a BIOS
> upgrade of the ALIX board to the latest revision.

The problem seems to occurs while the function glxpcib_attach() in
src/sys/arch/i386/pci/glxpcib.c attaches the watchdog timer.  If I
comment out the lines

                /* count in seconds (as upper level desires) */
 //             bus_space_write_2(sc->sc_iot, sc->sc_ioh, AMD5536_MFGPT0_SETUP,
 //                 AMD5536_MFGPT_CNT_EN | AMD5536_MFGPT_CMP2EV |
 //                 AMD5536_MFGPT_CMP2 | AMD5536_MFGPT_DIV_MASK);
 //             wdog_register(sc, glxpcib_wdogctl_cb);
                printf(", watchdog");

then all is well, except that the watchdog does not get its hardware
time, of course. The GPIO part attaches fine and I can toggle LEDs
using gpioctl.

Only commenting out the wdog_register() call, but leaving the call to
bus_space_write_2() active makes boot still stop. So the problems
appears to be with the call to bus_space_write_2().

Who is familiar with this function and the AMD5536?

Thanks,
Rolf

Reply via email to