This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

CCS/AM5728: Retrieving Linux Debug Symbols (vmlinux)

Part Number: AM5728
Other Parts Discussed in Thread: BEAGLEBOARD-X15

Tool/software: Code Composer Studio

I am using TI CCSv7 on Windows host, and have a BeagleBoard-X15 which has a Linux OS. To properly debug this device in CCS, I need to access the vmlinux file to have access to the Linux debugging symbols. Is there a way for me to retrieve this on my Windows PC?

  • Hi,

    The way I do is to map the Linux "board-support" directory to a drive on my Windows host.

    This way I not only have access to the vmlinux file but also to the entire source tree of both the kernel and the u-boot.

    If you haven't done so, keep in mind that you need to configure the kernel so it actually put debug symbols on the ELF executable - the "defconfig" is built without them. From the main menu of the "menuconfig", I found the following options to be useful:

    Kernel hacking → Compile-time checks and compiler options → Compile the kernel w/ debug info

    Kernel hacking → Enable Stack unwinding support (experimental)

    If you also are interested in the u-boot debug, from the main menu of the "menuconfig" you need to go to:

    General Setup → Configure Standard U-boot Features (advanced users) → Enable Debug information for tools

    Details about how to use "menuconfig" to build the kernel and the u-boot can be found at: 

    http://processors.wiki.ti.com/index.php/Linux_Kernel_Users_Guide 

    http://processors.wiki.ti.com/index.php/Linux_Core_U-Boot_User%27s_Guide 

    Hope this helps,

    Rafael