AnsweredAssumed Answered

debug iMX.6 with trace32

Question asked by changwu xie on Jul 11, 2019
Latest reply on Jul 12, 2019 by mahi

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

Outcomes