Linux Kernel Multicore Debug

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

Linux Kernel Multicore Debug

1,689 次查看
deans
Contributor I

I'm using CW for PA 10.3.3 to attach to a running Linux kernel, but only get Core 0. The target has 4 cores.

The target is a custom design & CW files have been added to support it, e.g., I have successfully brought up bareboard debug sessions that attach to all 4 cores. All 4 cores are selected in the debug session (Main / Target settings).

Apparently I had this problem years ago on a P5020, see:Linux Kernel Debugging 

A comment was made to select SMP vs. AMP, but I don't see that as a choice anywhere (and it isn't mentioned in CWPADBGUG). I even verified the ...smp attribute is set to "true" in the .launch file.

What am I missing? Is there something else I can check/set in launch or xml files?

0 项奖励
回复
2 回复数

1,421 次查看
yipingwang
NXP TechSupport
NXP TechSupport

Hello Dean Saridakis,

Please refer to the step by step Linux Kernel debugging document Debugging Linux Kernel with CodeWarrior for PA, especially refer to the section "3.3 Debugging the Kernel after the MMU is Enabled".


Have a great day,
TIC

-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

0 项奖励
回复

1,421 次查看
deans
Contributor I

That's what I'm doing -- I only get 1 core when the debug session starts.

0 项奖励
回复