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

[microblaze-uclinux] Problem in using the PS/2 Keyboard



 
 
Dear All,
 
We have compiled the kernel image for ps/2 keyboard in kernel 2.4.
The keyboard is not getting initialised and we get the following debug messages related to controller jammed and keyboard not properly initialised as shown in the attached document.

Can anyone suggest if some additional patch is required to initialise ps/2 keyboard properly in 2.4 kernel.
The console errors are copied below for the reference....
 
 
 
 

Linux version 2.4.32-uc0 (root@localhost) (gcc version 3.4.1 ( PetaLinux 0.20 Bu                                                                               

ild -rc1 050607 )) #8 Fri Sep 5 19:29:21 EDT 2008                                                

On node 0 totalpages: 16384                          

zone(0): 16384 pages.                    

zone(1): 0 pages.                

zone(2): 0 pages.                 

CPU: MICROBLAZE              

Kernel command line:                   

Console: xmbserial on UARTLite                             

Calibrating delay loop... 49.86 BogoMIPS                                       

Memory: 64MB = 64MB total                         

Memory: 62328KB available (1150K code, 1344K data, 52K init)                                                           

Dentry cache hash table entries: 8192 (order: 4, 65536 bytes)                                                             

Inode cache hash table entries: 4096 (order:                                         

Mount cache hash table entries: 512 (order: 0, 4096 bytes)                                                         

Buffer cache hash table entries: 4096 (order: 2, 16384 bytes)                                                            

Page-cache hash table entries: 16384 (order: 4, 65536 bytes)                                                           

POSIX conformance testing by UNIFIX                                   

Linux NET4.0 for Linux 2.4                         

Based upon Swansea University Computer Society NET3.039                                                      

Initializing RT netlink socket                             

Microblaze UARTlite serial driver version 1.00                                             

ttyS0 at 0x40600000 (irq = 5) is a Microblaze UARTlite                                                     

Starting kswapd              

Xilinx PS/2 #1 at 0x241104D0 mapped to 0x241104D0                                                

Xilinx PS/2 #0 at 0x2410F4D0 mapped to 0x2410F4D0                                                

pc_keyb: controller jammed (0xC1).                                 

initialize_kbd: Keyboard failed self test                                        

pc_keyb: controller jammed (0xCD).                                 

pc_keyb: controller jammed (0xCD).                                 

Detected PS/2 Mouse Port.                        

pc_keyb: controller jammed (0xCD).                                 

pc_keyb: controller jammed (0xCD).                                 

RAMDISK driver initialized: 16 RAM disks of 4096K size 1024 blocksize                                                                     

eth0: using fifo mode.                     

eth0: Xilinx EMAC #0 at 0x40C00000 mapped to 0x40C00000, irq=2                                                             

eth0: id 2.0l; block id 11, type 1                                  

physmap_auto flash device: 800000                                 

physmap_auto probing buswidth 4                              

cfi_cmdset_0001: Erase suspend on write enabled                                              

0: offset=0x0,size=0x40000,blocks=32                                   

Using buffer write method                        

physmap_auto: no partition info available, registering whole flash at once                                                                         

uclinux[mtd]: RAM probe address=0x24165d70 size=0x10a000                                                       

uclinux[mtd]: root filesystem index=2                                    

ML40X flash probe(0x22000000,8388608,4): 800000 at 22000000                                                           

cfi_cmdset_0001: Erase suspend on write enabled                                              

0: offset=0x0,size=0x40000,blocks=32                                   

Using buffer write method                         

Creating 10 MTD partitions on "Fla                               

0x00000000-0x00100000 : "fpga0"                              

0x00100000-0x00200000 : "fpga1"                              

0x00200000-0x00240000 : "Bootloader"                                    

0x00240000-0x00280000 : "Bootargs"                                 

0x00280000-0x002c0000 : "MAC"                            

0x002c0000-0x00340000 : "Config"                               

0x00340000-0x00400000 : "Spare"                               

0x00400000-0x00700000 : "Image"                              

0x00700000-0x00800000 : "JFFS2"                              

0x00000000-0x00800000 : "Flash"                              

ML40X ram probe(0x24165d70,50397184,4): 3010000 at 24165d70                                                          

Creating 1 MTD partitions on "RAM":                                  

0x00000000-0x03010000 : "Romfs"                              

MicroBlaze auto-config flash probe(0x22000000,8388608,4): 800000                                                             

cfi_cmdset_0001: Erase suspend on write enabled                                              

0: offset=0x0,size=0x40000,blocks=32                                    

Using buffer write method                        

Creating 8 MTD partitions on "Flash":                                    

0x00000000-0x00004000 : "Bootloader"                                   

mtd: partition "Bootloader" doesn't end on an erase block -- force read-only                                                                           

0x00004000-0x00008000 : "Bootargs"                                 

mtd: partition "Bootargs" doesn't start on an erase block boundary -- force read                                                                               

-only    

0x00008000-0x0000c000 : "MAC"                            

mtd: partition "MAC" doesn't start on an erase block boundary -- force read-only                                                                               

 

0x00010000-0x00020000                   

mtd: partition "Config" doesn't start on an erase block boundary -- force read-o                                                                                

nly  

0x0000c000-0x00010000 : "Spare"                              

mtd: partition "Spare" doesn't start on an erase block boundary -- force read-on                                                                                

ly 

0x00100000-0x00400000 : "Image"                              

0x00400000-0x00800000 : "JFFS2"                              

0x00000000-0x00800000 : "Flash"                              

MicroBlaze auto-config ram probe(0x24165d70,1089536,4): 10a000 at 24165d70                                                                         

Creating 1 MTD partitions on "RAM":                                  

0x00000000-0x0010a000 : "Romfs"                               

NET4: Linux TCP/IP 1.0 for NET4.0                                

IP Protocols: ICMP, UDP, TCP                           

IP: routing cache hash table of 512 buckets, 4Kbytes                                                   

TCP: Hash tables configured (established 4096 bind 8192)                                                       

NET4: Unix domain sockets 1.0/SMP for Linux NET4.0.                                                  

VFS: Mounted root (cramfs filesystem) readonly.                                              

Freeing init memory: 52K                       

Mounting proc:             

Mounting var:            

Populating /var:               

Running local start scripts.                           

Mounting /etc/config:                    

Populating /etc/config:                      

flatfsd: invalid header magic                            

flatfsd: Nonexistent or bad flatfs (-183), creating new one...                                                              

flatfsd: Failed to write flatfs (-85): Read-only file system                                                           

flatfsd: Created 6 configuration files (192 bytes)                                                 

Setting hostname:                 

Setting up interface lo:                       

Setting up interface eth0:                         

eth0: Promiscuous mode disabled.                               

Starting thttpd:               

eth0: Link carrier lost.                        

 

petalinux login: eth0: Link carrier restored.                                            

root   

Password:        

# ls   

bin   dev   etc   home  lib   mnt   proc  tmp   usr   var                                                        

 
 
 
 
Thanx
Regards
Chhavi