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

ソリューションへジャンプ
1,867件の閲覧回数
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,161件の閲覧回数
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,161件の閲覧回数
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,162件の閲覧回数
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.