I'm using a BeagleBone board and I was trying to compile it's kernel to try the debug feature in CCSv5 but I'm stuck in making it run properly. I've downloaded the SDK ti-sdk-am335x-evm-05.05.00.00-Linux-x86-Install and the kernel in it is the linux-3.2.0-psp04.06.00.08.sdk. I used the following commands:
make tisdk_am335x-evm_defconfig
make menuconfig (to set the options for the debug - http://processors.wiki.ti.com/index.php/Linux_Debug_in_CCSv5)
The uImage generated didn't boot. Then I tryed am335x_evm_defconfig in the first step, but I got the same results.
On the console I got the following:
--------------------------------------------------------------------
## Booting kernel from Legacy Image at 80007fc0 ...
Image Name: Linux-3.2.0
Image Type: ARM Linux Kernel Image (uncompressed)
Data Size: 3200968 Bytes = 3.1 MiB
Load Address: 80008000
Entry Point: 80008000
Verifying Checksum ... OK
XIP Kernel Image ... OK
OK
Starting kernel ...
Uncompressing Linux... done, booting the kernel.
[ 0.135986] tps65910 1-002d: could not be detected
[ 0.185882] Could not set LED4 to fully on
[ 0.309295] mtdoops: mtd device (mtddev=name/number) must be supplied
[ 0.399200] smartreflex smartreflex: am33xx_sr_probe: Zero NValue read from EFUSE
[ 0.407897] sr_init: platform driver register failed
[ 0.549774] Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(179,2)
[ 0.558715] [<c0019094>] (unwind_backtrace+0x0/0x138) from [<c03f287c>] (panic+0x64/0x198)
[ 0.567504] [<c03f287c>] (panic+0x64/0x198) from [<c0592bc4>] (mount_block_root+0x17c/0x220)
[ 0.576416] [<c0592bc4>] (mount_block_root+0x17c/0x220) from [<c0592e24>] (mount_root+0xd0/0xd8)
[ 0.585662] [<c0592e24>] (mount_root+0xd0/0xd8) from [<c0592fbc>] (prepare_namespace+0x190/0x1cc)
[ 0.595031] [<c0592fbc>] (prepare_namespace+0x190/0x1cc) from [<c0592880>] (kernel_init+0x11c/0x128)
[ 0.604675] [<c0592880>] (kernel_init+0x11c/0x128) from [<c0014a00>] (kernel_thread_exit+0x0/0x8)
--------------------------------------------------------------------
So, my question is: what is the difference between SDK config and PSP config? Which one I should use/modify in order to make my kernel work and be debuglable?
Thanks for helping =)