Google
  Web www.spinics.net

get printks from start_kernel on console (serial)

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


Dear All,

I have Freescale's iMX21ADS board with linux 2.4.20 based BSP running on 
it. Freescale does not provide a 2.6 kernel based BSP for the hardware. So 
I am (trying) porting the 2.6.10 vanilla kernel on the board. I have 
reached upto start_kernel() and it goes to console_init(). 
This in 2.4 used to initialize board's UART driver (mx2uart.c). When I try 
to put the 2.4 BSP's UART into the 2.6.10 kernel and try to compile I run 
into so many compilation errors. Basically it uses task queue and this is 
changed to work queue in 2.6. Now I have done necessary changes to the 
board's UART driver for 2.6.10 kernel and it compiles and I am able to get 
the zImage.

Now the problem is, still I do not see any printks appearing on the 
console. I also tried putting printk in start_kernel() of my working 
2.4.20 BSP and to my surprise, they also did not show up to the console, 
but they did come to dmesg.

Can anyone tell me what some quick pointers that I need to check to see 
those printks on the console? I also found that mx2uart.c had 
mx2uart_console_write() and tried to use that to print some messages, but 
even that does not show anything on the console.

Thanks
Ashish  

______________________________________________________________________
-------------------------------------------------------------------
List admin: http://lists.arm.linux.org.uk/mailman/listinfo/linux-arm
FAQ:        http://www.arm.linux.org.uk/mailinglists/faq.php
Etiquette:  http://www.arm.linux.org.uk/mailinglists/etiquette.php

[Site Home]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux ARM Kernel]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Tools]     [DDR & Rambus]     [Monitors]

Powered by Linux

Google PageRank Checking tool