I'm using Lauterbach Trace32 debugger to debug iMX6Q, linux 3.0.35;
The linux sytsem startup with uboot&uImag, then load vmlinux with /nocde option;
System may cause prefetch abort at many normal breakpoints, anyone can help me?
Errors before kernel crash:Unhandled prefetch abort: breakpoint debug exception (0x002) at 0x2ab05354
T32 scripts:
SYStem.down
SYStem.CPU
IMX6QUAD CORE.ASSIGN 1
SYStem.Option ResBreak OFF
SYStem.Option WaitReset 1.3s
SYStem.Option DACR ON ; give Debugger global write permissions
TrOnchip.Set DABORT OFF ; used by Linux for page miss!
TrOnchip.Set PABORT OFF ; used by Linux for page miss!
TrOnchip.Set UNDEF OFF ; my be used by Linux for FPU detection ;
SYStem.Option MMUSPACES ON ; enable space ids to virtual addresses
system.JtagClock 1MHz
Trace.METHOD Onchip
SYStem.attach
SETUP.IMASKASM ON ; lock interrupts while single stepping
You have paid a lot of money for your debug interface and also for support, so you are free to make use of it.
--> TRACE32® Technical Support Contacts
--> TRACE32® Support Request / Bug Report Form
I have always got really good help from them (mostly more than I expected).
We can suggest you common Lauterbach documentation:
http://www2.lauterbach.com/pdf/app_t32start.pdf