Hi,
I'm trying to step through the Linux kernel using CCS 4.2.3. Here's what I do:
1. Boot into U-Boot environment to stop kernel from booting.
2. Launch configuration and then load symbols in CCS by selecting the vmlinux file (yes, I did compile it with "CONFIG_DEBUG_INFO" and "CONFIG_DEBUG_KERNEL" enabled).
3. Connect to the ARM Cortex A8 in CCS and press F8 to "Run".
4. Load the kernel into memory using the U-Boot command line and boot the kernel.
5. Once the kernel has started booting halt the ARM in CCS.
6. Fail
At step 6 I expect to see a reference to a source code ".c" file in the "Debug" pane in CCS but it says nothing particularly useful.
I've set the source path to include the "linux-2.6.7" directory and its subfolders. Here's a screenshot of what I see:
After that I thought I would try running "Enable OS Debugging". This didn't seem to help as I ended up with the following situation:
Not shown in the screenshot above is some text in the console pane:
CortexA8: Can't initialize TLD Device Driver: A supported Linux image is not detected on the target: No kernel symbols are detected. Please load the vmlinux symbol file and try again.
Just for sanity, I ran "file" on vmlinux:
build/linux-2.6.37/vmlinux: ELF 32-bit LSB executable, ARM, version 1 (SYSV), statically linked, not stripped
Any ideas?
Thanks,
Ralph