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

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 
已解决

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

跳至解决方案
2,660 次查看
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.

标签 (2)
1 解答
1,954 次查看
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.

在原帖中查看解决方案

2 回复数
1,954 次查看
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 项奖励
回复
1,955 次查看
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.