I've had a similar problem in the past when I attempted to get Linux to boot on
a 386EX board that I designed. My problem was that I didn't have a 8042
keyboard controller and the bootup stuff (in Setup.S) attempted to enable A20
via the keyboard controller. I simply enabled the A20 before booting (in my
own bootup code) and commented out the whole keyboard controller section in A20.
I'm not sure about the Elan processor you have (you didn't say) but the SC400
data sheet says it support the standard A20 gate control of the PC/AT
architecture. I also says it has a standard keyboard interface. So, if your
problem relates to the A20/keyboard stuff then maybe Konstantin's A20 routine
will do the trick. If not, I'd suggest doing some really crude debug via the
serial port (this will take some time.) You can write some simple assembly
that sends a character out of the serial port (waiting for it to get out or the
previous one to be gone, whichever.) Then sprinkle these debug checkpoints all
over the Setup.S area to figure out where it seems to be hanging.
Sorry I couldn't be of more help. It's been ~2 years since I played with this
stuff.
Cheers!
-= [EMAIL PROTECTED] ==== Infrared Solutions, Inc. =-
-= (612) 551-0003 x29 ============= http://www.infraredsolutions.com/ =-
--
To unsubscribe from this list, send a message to [EMAIL PROTECTED]
with the command "unsubscribe linux-embedded" in the message body.
For more information, see <http://waste.org/mail/linux-embedded>.