我搭建的环境为:主板采用beagleboard,linux采用linux-3.2.0-psp04.06.00.08.sdk,JTAG采用xds100v2
在编译内核时,选中如下的选项
-
- Enable Kernel hacking --> Compile the kernel with debug info
- Also, if the kernel is in experimental mode, you should enable the option below:
- Kernel hacking ---> Enable stack unwinding support
- To check if the kernel is in this mode, check if the option below is enabled.
- General Setup ---> Prompt for development and/or incomplete code/drivers
Note: for kernel 3.1.0 and above, there is an additional option that must be set:
-
- Kernel Hacking ---> Enable JTAG clock for debugger connectivity
Note: for kernel 3.2.0, the option Enable stack unwinding support shown above is only available if the kernel is built with ARM EABI support. To enable it, go to:
-
- Kernel Features ---> Use the ARM EABI to compile the kernel
Note: for kernel 3.2.0, the option Compile the kernel with debug info shown above is only available if the option Kernel Debugging is enabled. To do it, go to:
-
- Kernel hacking ---> Kernel Debugging
以上的部份是从ti网站上抄着做的,我详细说一下我在ccs中构建*.ccmxl文件,构建内容如下:
-
在debug configurations中的配置如下:
-
然后连上XSD100,点击debug,CCS中出现如下画面
-
同时用超级终端监控,超级终端出现如下:
-
我的感觉它是停在了uboot的入口的这个地方,但是如果我点击resume ,则beagleboard将会很顺畅的执行下去,直到am335x-evm login:的出现
-
请各位高手们帮我诊断一下,看我的问题出在那儿了,谢谢
-
在这儿回复也行,或回到我邮箱jxl_heaven@163.com 也可以,谢谢


