[IMX8MP] RealTime Edge Yocto - mv88e6xxx drivers and system instability

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

[IMX8MP] RealTime Edge Yocto - mv88e6xxx drivers and system instability

101 次查看
Airbus_A320
Contributor II

Hi, for our system we are evaluating if we can achieve better performances using a preempt-rt kernel.

I'm using Real-time Edge Yocto as explained in RTEDGEYOCTOUG rev 2.8

On the imx8mp-evk target, there are no stability issues. On our custom board, there is a Marvell mv88e6390 dsa switch and, if I enable its DT node, the system becomes unstable. At random times we get kernel panic, sometimes in the first ten minutes, sometimes after one and a half hours. 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 after an interrupt "low-level" service.

I can't tell if the problem originates in the Marvell driver code, but in the current state of the device tree the marvel node is the main difference between the evk and the custom board

 

0 项奖励
回复
1 回复

60 次查看
Zhiming_Liu
NXP TechSupport
NXP TechSupport

Hi @Airbus_A320 

As you said if you enable the mv88e6xxx  device, the system would become unstable. There is a high probability that it is because of this device driver. You can test common Linux kernel in RT YOCTO project,  maybe relate to preempt-rt function? or this driver is only unstable under preempt-rt kernel.

Best Regards

Zhiming

0 项奖励
回复