Hello,
I'd like to debug linux kernel of AM3874 by CCS stop mode debug. I confirmed that the processing stops at __init ti8148_evm_init function in board-ti8148evm.c by Hardware breakpoint.
/ti-ezsdk_dm814x-evm_5_04_00_11/board-support/linux-2.6.37-psp04.04.00.01/arch/arm/mach-omap2/board-ti8148evm.c
But, I can't execute Step Into and Step Over using CCS operation. It seems that program counter is changing, but CCS can not trace C source code. Then if I execute resume, Kernel boots up correctly.
I've ever been successful for stop mode debug of AM335x EZSDKv6. I made uImage by following steps.
# cd /home/user/ti-ezsdk_dm814x-evm_5_04_00_11/board-support/linux-2.6.37-psp04.04.00.01
# make ARCH=arm CROSS_COMPILE=arm-linux-gnueabihf- mrproper
# make CROSS_COMPILE=arm-none-linux-gnueabi- ARCH=arm ti8148_evm_defconfig
# make CROSS_COMPILE=arm-none-linux-gnueabi- ARCH=arm menuconfig
check: Kernel hacking -> Kernel debugging
check: Kernel hacking -> Compile the kernel with debug info
Exit -> Exit -> (Save)Yes
# make CROSS_COMPILE=arm-none-linux-gnueabi- ARCH=arm uImage
Best regards