NetBSD-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: Soekris 5501 Console Delay (WAS: Re: Tuning a soekris 4501)

Haha, yeah, I used to get this long delay too until I sat down for an hour and 
printf debugged the loaders and found out it had to do with enabling the a20 
line.  To get it working, just change the gateA20 function in 
/usr/src/sys/arch/i386/stand/lib/gatea20.c to read (a lame hack, but it works!):

        __asm("pushfl ; cli");
         * Not all systems enable A20 via the keyboard controller.
         *      * IBM PS/2 L40
         *      * AMD Elan SC520-based systems
                (1)  /* make it true all the time for the Soekris 4501/5501 so 
we don't wait forever */
#ifdef SUPPORT_PS2
            (biosmca_ps2model == 0xf82) ||
            (inb(K_STATUS) == 0xff && inb(K_RDWR) == 0xff)
                int data;

                data = inb(0x92);
                outb(0x92, data | 0x2);
        } else {
                while (inb(K_STATUS) & K_IBUF_FUL);

                while (inb(K_STATUS) & K_OBUF_FUL)

                outb(K_CMD, KC_CMD_WOUT);

                while (inb(K_STATUS) & K_IBUF_FUL);

                outb(K_RDWR, x_20);

                while (inb(K_STATUS) & K_IBUF_FUL);

                while (inb(K_STATUS) & K_OBUF_FUL)


----- Original Message ----
From: Brian A. Seklecki <>
To: Lubomir Sedlacik <>
Cc: Jared D. McNeill <>; Adrian Portelli 
<>; Louis Guillaume 
Sent: Friday, October 10, 2008 2:27:00 PM
Subject: Soekris 5501 Console Delay (WAS: Re: Tuning a soekris 4501)

> The only issue I see is approx. 2 minute delay in the bootloader before
> it loads the kernel.  I know that Jared has seen this, too.

Two Minutes?! Yikes!  What's it doing?  Some kind of hardware probe that 
times out?

Are you doing installboot -o console=com0,speed=0?



Home | Main Index | Thread Index | Old Index