how to enable prink message on EP9307(linux 2.6.8.1)

Feb 05, 2010 2 Replies

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.



--------------------------------------- Posted through

formatting link


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.

--------------------------------------- Posted through

formatting link

Do this:

echo 8 > /proc/sys/kernel/printk

Join the Discussion

Have something to add? Share your thoughts — no account required.

Didn't find your answer?

Ask the community — no account required