Hi all,
I'm working on a custom board with an NXP iMX8MP cpu (linux 6.1.55-rt16
from NXP's yocto repository).
The hardware is similar to the NXP evk. The main difference is the dsa
switch (marvell MV88E6390).
If I enable the marvell's DT node the system becomes unstable. I have
random kernel panics.
The error trace is not helpful, it looks like a stack overflow or a
stack corruption. Sometimes it's a NULL (or random unallocated address)
pointer dereference, but sometimes the error is different, I've seen an
error about killing the idle task a couple of times. What seems constant
is that the error occurs during the scheduler context switch after an
hard interrupt.
How can I troubleshoot this kind of issues?