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.

CCSv4: Debugging Linux on OMAP3430 (ARM Cortex A8)

Hi, I was trying to debug Linux using CCSv4 on the Zoom2. I was able to use CCS v3.3 to load the x-loader and the u-boot and step through the code. Unfortunately, when the u-boot passes control to the kernel, CCS doesn't know what's going on.

From what I understand after reading this article: http://tiexpressdsp.com/index.php?title=Linux_Aware_Debug is that CCS v4 is Linux aware.

Has anyone been able to successfully use CCS v4 to load the boatloader and the kernel using CCS and debug?

 

~Christina.

  • Hi Christina,

    You can use CCS v4 to debug the kernel start up.

    First, you have to build your kernel with debug info (set CONFIG_DEBUG_INFO=y in .config).

    This ensures that the generated vmlinux file contains the kernel symbol information

    Before the u-boot passes control to the kernel, you have to load the vmlinux symbol file on cortex A8.

    Set a breakpoint at start_kernel or the kernel entry routine.

    Resume the target and the target should stop at start_kernel.

    Regards,
    Raymond