Kernel debug through BDM in M5484Lite EVB

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

Kernel debug through BDM in M5484Lite EVB

1,534 次查看
raulen
Contributor III
Hi everybody!
 
I need some help to be able to run my system.
 
I am using a MCF5484 Lite evaluation board and I am going to use Linux as the operating system. I had   luck and could use the LTIB tool for this processor, that enables me to obtain easily the linux kernel image (kernel 2.6.25). I launched the system from U-Boot and I checked that all was OK.
 
I took the toolchain for this processor from Codesourcery (Sourcery G++ Lite 4.2.-25). Through the gdbserver and using Eclipse I can debug applications. But I also need to debug the kernel to add new drivers and other features. Using the Codesourcery Toolchain and by means of a P&E BDM device it should  be posible to debug the Linux kernel. I have two of these BDM devices: ParallelPortCable and USBMultilink, but I am not sucessful.
 
Does anyone have experience debugging the Linux kernel with this P&E BDM?
 
Any help will be welcome
Thanks in advance.
标签 (1)
0 项奖励
回复
2 回复数

568 次查看
aeg
Contributor I
I've used P&E's USB BDM for some kernel debugging of the previous LTIB release (2.6.10) but it wasn't pretty. Basically, I used an older version of CodeWarrior to break the kernel where I wanted to and then step from there.

I think the latest CodeWarrior has module debug capabilities so that might work for you. Or wait until someone ports the kgdb for MCF547x/8x.

Best,
Andreas
0 项奖励
回复

568 次查看
raulen
Contributor III
I am using Eclipse instead Codewarrior. Anyway, it would be enough to be able to debug the kernel through the gdb command line using the P&E BDM.
 
Could you resume the procedure you did with the P&E USB BDM?  It must be similar with the new LTIB.
0 项奖励
回复