Build Linux Kernel for Debugging in Yocto

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

Build Linux Kernel for Debugging in Yocto

ソリューションへジャンプ
5,367件の閲覧回数
chandiniindavar
Contributor IV

Hi guys

I am using yocto setup to build freescale kernel 4.15 version. so that i can debug using tarce32

As i know very step is we need to Build Linux Kernel for Debugging.

Could any one please tell me , what configuration i have to change ?

Thanks in advance

Chandini

ラベル(5)
0 件の賞賛
1 解決策
3,281件の閲覧回数
chandiniindavar
Contributor IV

vmlinux file must be compiled with debug info enabled. Thus,
you need to ensure that CONFIG_DEBUG_INFO is enabled in the kernel configuration. You can find this
option under “Kernel hacking -> Compile the kernel with debug info” (in newer kernel versions under
“Kernel hacking -> Compile-time checks and compiler options -> Compile the kernel with debug
info”).

元の投稿で解決策を見る

0 件の賞賛
2 返答(返信)
3,282件の閲覧回数
chandiniindavar
Contributor IV

vmlinux file must be compiled with debug info enabled. Thus,
you need to ensure that CONFIG_DEBUG_INFO is enabled in the kernel configuration. You can find this
option under “Kernel hacking -> Compile the kernel with debug info” (in newer kernel versions under
“Kernel hacking -> Compile-time checks and compiler options -> Compile the kernel with debug
info”).

0 件の賞賛
3,280件の閲覧回数
chandiniindavar
Contributor IV

For more information . i am using imx7d-sabre board

0 件の賞賛