LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software > Linux - Kernel
User Name
Password
Linux - Kernel This forum is for all discussion relating to the Linux kernel.

Notices



Reply
 
Search this Thread
Old 04-16-2013, 11:31 AM   #1
lakshmi122333
LQ Newbie
 
Registered: Apr 2013
Posts: 2

Rep: Reputation: Disabled
Compiling a default kmap into kernel image


Hi,

I am using 2.6.35 version of linux kernel for an embedded device (using ported BSP provided by chip manufacturer) and need to modify the keymap for the same. I tried editing defkmap.map file in linux*/drivers/char folder and uncommented GENERATE_KEYMAP macro in order to compile it into the image built. But whatever i do, no change is getting reflected on the target board when i boot with modified kernel. I tried deleting existing keys and adding new also. Could someone help me out?

Thank you
lakshmi
 
Old 04-17-2013, 06:27 AM   #2
smallpond
Senior Member
 
Registered: Feb 2011
Location: Massachusetts, USA
Distribution: CentOS 6 (pre-systemd)
Posts: 1,773

Rep: Reputation: 454Reputation: 454Reputation: 454Reputation: 454Reputation: 454
You should not have to recompile your kernel. Most likely there is a call to loadkeys during init that sets up the keyboard. Just make a new file to load.
 
Old 04-17-2013, 06:30 AM   #3
lakshmi122333
LQ Newbie
 
Registered: Apr 2013
Posts: 2

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by smallpond View Post
You should not have to recompile your kernel. Most likely there is a call to loadkeys during init that sets up the keyboard. Just make a new file to load.
--- I dont have loadkeys utility in the current rfs, it will have to be cross compiled and added. Also since it is an embedded device boot times have
a priority, so i have to minimize the init scripts. Since it is a custom keypad that we have developed for our product with its own driver layout will
never change and i can safely compile it into static image. (if it works !!!)
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Compiling the kernel with default configurations TheIndependentAquarius Linux - Kernel 7 01-19-2012 08:24 AM
KMAP Physical Page to Kernel Virtual Address: unable to handle kernel paging request kickuindajunk Linux - Kernel 6 08-21-2010 01:17 PM
Compiling Kernel - No module image PaulyWally Debian 13 05-02-2007 06:07 PM
compiling default kernel suse 9.3 fireedo Suse/Novell 6 08-11-2005 08:12 AM
can I change the default penguin logo, while compiling a new kernel? dyte100 Arch 3 10-29-2004 05:24 AM


All times are GMT -5. The time now is 10:18 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration