Build Linux Kernel for Debugging in Yocto

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

Build Linux Kernel for Debugging in Yocto

Jump to solution
5,317 Views
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 Kudos
1 Solution
3,231 Views
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”).

View solution in original post

0 Kudos
2 Replies
3,232 Views
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 Kudos
3,230 Views
chandiniindavar
Contributor IV

For more information . i am using imx7d-sabre board

0 Kudos