Early print logs are not coming even after enabling DEBUG_LL and EARLY_PRINTK

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Early print logs are not coming even after enabling DEBUG_LL and EARLY_PRINTK

Jump to solution
1,676 Views
dilshad_alam
Senior Contributor II

Trying to Bring up Kernel

http://git.freescale.com/git/cgit.cgi/imx/linux-2.6-imx.git/log/?h=imx_3.14.28_1.0.0_ga.

After Uboot logs I dint find any Kernel Logs then I implemented my own putc inside misc.c function to check whether uncompression linux is happening or not.

Uncompressing Linux... done, booting the kernel

I got the logs. But after that I am not able to get any early print logs.

Note:- I have enabled CONFIG_DEBUG_LL and EARLY_PRINTK.

CONFIG_DEBUG_LL=y

CONFIG_DEBUG_IMX_UART_PORT=2

CONFIG_DEBUG_LL_INCLUDE="mach/debug-macro.S"

CONFIG_UNCOMPRESS_INCLUDE="debug/uncompress.h"

CONFIG_EARLY_PRINTK=y

With the current definitions, I am able to see early print logs in 3.10 Kernel which i am running now on my board.

Kindly Suggest if i am missing out anything.

Labels (2)
1 Solution
970 Views
dilshad_alam
Senior Contributor II

The link you shared is also same link which is shared by me.

This problem is solved now.

Found CONFIG_DEBUG_IMX_UART_PORT is configured to wrong Port no 1 i.e ttymxc0. After configuring it to 2 (ttymxc1) which we passed from Uboot. I could see early print logs after that.

View solution in original post

2 Replies
970 Views
gusarambula
NXP TechSupport
NXP TechSupport

Just for reference I'm adding a link to a very similar thread with more information on this:

Kernel Bring up from 3.14.28

The configuration looks fine. Are you still having this issue?

0 Kudos
971 Views
dilshad_alam
Senior Contributor II

The link you shared is also same link which is shared by me.

This problem is solved now.

Found CONFIG_DEBUG_IMX_UART_PORT is configured to wrong Port no 1 i.e ttymxc0. After configuring it to 2 (ttymxc1) which we passed from Uboot. I could see early print logs after that.