Skip to main content

[MPC5xxx][Linux] Breakpoint are not working properly for e500 cores - Knowledgebase / OS-aware debugging - Lauterbach Support

[MPC5xxx][Linux] Breakpoint are not working properly for e500 cores

The Linux kernel for e500 cores (PQ3/MPC85XX/QorIQ P10XX/P2020) has to be patched to enable debugging via JTAG. The MSR_KERNEL macro defined in arch/powerpc/include/asm/reg_book.h needs to be changes to include the MSR_DE bit:

#define MSR_KERNEL (MSR_ME|MSR_RI|MSR_CE|MSR_DE)

Helpful Unhelpful