LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware > Linux - Embedded & Single-board computer
User Name
Password
Linux - Embedded & Single-board computer This forum is for the discussion of Linux on both embedded devices and single-board computers (such as the Raspberry Pi, BeagleBoard and PandaBoard). Discussions involving Arduino, plug computers and other micro-controller like devices are also welcome.

Notices


Reply
  Search this Thread
Old 02-04-2010, 09:28 PM   #1
tamamontu
LQ Newbie
 
Registered: Dec 2009
Posts: 9

Rep: Reputation: 0
How to enable printk message on EP9307 (kernel 2.6.8.1)


Hi Guys,

Can some one please show how to enable printk KERNEL_INFO messages to appear on serial terminal. I am trying to change the lcd device driver ep93xxfb.c So i have add some printk messages in the exsisting driver to see the current configuration of the lcd.

The existing ep93xxfb.c has printk command but nothing is displayed on com port.

I just get this on the terminal
----------------------------------------------------------------------------------------------------------------------------------
+
Ethernet eth0: MAC address 00:00:00:00:68:34
IP: 192.168.254.10
0/255.255.255.0, Gateway: 192.168.254.254
Default server: 192.168.254.254, DNS server IP: 192.168.254.254

RedBoot(tm) bootstrap and debug environment [ROMRAM]
Non-certified release, version v2_0 - built 10:15:31, Feb 5 2010

Platform: Cirrus Logic EDB9307 Board (ARM920T) Rev A
Copyright (C) 2000, 2001, 2002, Red Hat, Inc.

RAM: 0x00000000-0x04000000, 0x00041f68-0x03fbd000 available
FLASH: 0x60000000 - 0x62000000, 128 blocks of 0x00040000 bytes each.
== Executing boot script in 1.000 seconds - enter ^C to abort

RedBoot> fis load ramdisk.gz

RedBoot> fis load zImage

RedBoot> exec -r 0x800000 -s 0xC00000
Using base address 0x0008
0000 and length 0x0012f580

Uncompressing Linux.........................................
............................................ done, booting the kern
el.



Please press Enter to activate this console.

----------------------------------------------------------------------------------------------------------------------------------

Thanks in advance.
 
Old 02-05-2010, 01:36 AM   #2
tamamontu
LQ Newbie
 
Registered: Dec 2009
Posts: 9

Original Poster
Rep: Reputation: 0
when I do cat /proc/sys/kernel/printk

~# cat /proc/sys/kernel/printk
1 8 1 7

if I am not wrong I need to change the console_loglevel.

I am new to this and I am not sure how to change it.

can some one please share some info.
 
  


Reply



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
get rid of "printk: # messages suppressed" message android6011 Linux - General 4 10-04-2010 06:37 AM
Adding debugging printk to kernel fanoliv Linux - Software 0 11-12-2008 06:52 PM
linux kernel: printk: 39476 messages suppressed. seanfitz Mandriva 4 04-19-2005 04:36 PM
printk: message ernobe Debian 4 11-20-2004 11:50 AM
redirecting kernel's printk of an error message mwalker_web Linux - Newbie 0 11-14-2003 04:54 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware > Linux - Embedded & Single-board computer

All times are GMT -5. The time now is 06:41 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
Open Source Consulting | Domain Registration