Build Linux Kernel for Debugging in Yocto

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

Build Linux Kernel for Debugging in Yocto

跳至解决方案
8,088 次查看
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

0 项奖励
回复
1 解答
6,002 次查看
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 回复数
6,003 次查看
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 项奖励
回复
6,001 次查看
chandiniindavar
Contributor IV

For more information . i am using imx7d-sabre board

0 项奖励
回复