[LinuxBIOS] No keyboard.

Feng, Libo Libo.Feng at amd.com
Fri Aug 3 12:34:23 CEST 2007


I built LinuxBIOS on Linux version 2.6.11-1.1369_FC4smp and gcc version 4.0.0 20050525, then tested LinuxBIOS on Linux version 2.6.9-22 Elsmp and gcc version 3.4.4 20050721. There were always many kind of machine check panics.

Now I build and test on Linux version 2.6.9-22 Elsmp and gcc version 3.4.4 20050721.

I have tried both USB and PS/2 keyboard, neither can work. I changed some code, it still doesn't work. Maybe I miss something.
In Linux, kudzu can do some hardware detect, but don't work in this case.
The attached is a log, maybe you can help me find some clue. Thank you. We just want to gain some BIOS experience, so the LinuxBIOS version is very old.

Best Regards

??? Feng Libo @ AMD  Ext: 20906
Mobile Phone: 13683249071
Office Phone: 0086-010-62801406

-----Original Message-----
From: linuxbios-bounces at linuxbios.org [mailto:linuxbios-bounces at linuxbios.org] On Behalf Of Peter Stuge
Sent: Friday, August 03, 2007 4:43 AM
To: linuxbios at linuxbios.org
Subject: Re: [LinuxBIOS] No keyboard.


On Thu, Aug 02, 2007 at 05:21:05PM +0800, Feng, Libo wrote:
> Today, I almost finish LinuxBIOS on Tyan s3992. A text-mode RedHat is 
> booted, and a "Hello, World" is written and run.

Excellent! :)

> Thank a lot of people here. The mistake I made is building LinuxBIOS 
> on a FC machine and testing it on another RH machine, many machine 
> check panics arose.

The GNU toolchain (gcc and binutils) in the FC system may be unable to build LB correctly. Can you tell us what version of gcc and binutils you were using in the FC system that produced bad results, and what version you have used to produce a working result?

> The one thing left is that keyboard is not enabled in Linux. It seems 
> it is not correctly configured in LinuxBIOS. I have to use a serial 
> port and terminal to access the machine. Where the keyboard is enabled 
> in LinuxBIOS?

That depends on what the keyboard connects to. Is it a USB keyboard or a PS/2 keyboard? Whatever it is, could you also try the other?
Also see Ron's question about which chip the keyboard is connected to.

> And maybe easier, Linux has some kind of application like Windows to 
> configure keyboard or not?

Not always an application, but there are configuration files in most if not all Linux distributions for setting up the keymap. That doesn't help if the kernel can't see the keyboard however. Feel free to send a serial port capture from a full boot with LB to the mailing list, we'll look at it and see if we can find something pointing to the error.


linuxbios mailing list
linuxbios at linuxbios.org

-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: boot.txt
URL: <http://www.coreboot.org/pipermail/coreboot/attachments/20070803/4c5538c3/attachment.txt>

More information about the coreboot mailing list