Error while loading SPI slave driver

Hi,

I am facing data abort error while loading spi slave driver in AGX Xavier industrial SoM(P2888-0008) with L4T 32.6.1.

our custom board supports both AGX Xavier(P2888-0004) and AGX Xavier industrial SoM(P2888-0008). This error is not seen with the AGX Xavier SoM(P2888-0004). One more observation is error is not seen if the driver is loaded sometime after board boot’s up in the industrial AGX Xavier.
Any inputs will be helpful for us.

sudo modprobe ksz9477_spi
[ 49.101746] ERROR: could not get clock /spi@c260000:osc(2)
[ 49.103109] ER��--------------------------------------------------------------------------------
Exception: Data abort
DFAR: 0x0c0f0008, DFSR: 0x00001008
PC: 0x0c480b10
LR: 0x0c480987, SP: 0x0c49cce0, PSR: 0x4000003f
R0: 0x00000001, R1: 0x0c49cd62, R2: 0x00000000
R3: 0x0c0f0000, R4: 0xfffffffe, R5: 0x00000000
R6: 0x00000002, R7: 0x0c494bd4, R8: 0x0c49cd62
R9: 0x0c49cd60, R10: 0xffffffff, R11: 0x00000000
R12: 0x00000000

@WayneWWW

Thanks,
Arun

Could you remove the osc clocks in spi@c260000{} to check if the ERROR still there.

@ShaneCCC

Thanks for the reply. As suggested, I have removed osc clocks. After that “ERROR: could not get clock /spi@c260000:osc(2)” is not seen but still data abort exceptions are observed with the module loading.

sudo modprobe ksz9477_spi
Exception: Data abort
DFAR: 0x0c0f0008, DFSR: 0x00001008
PC: 0x0c480b10
LR: 0x0c480987, SP: 0x0c49cce0, PSR: 0x4000003f
R0: 0x00000001, R1: 0xffffffff, R2: 0x00000000
R3: 0x0c0f0000, R4: 0xfffffffe, R5: 0x00000000
R6: 0x00000000, R7: 0x0c494bd4, R8: 0x0c49cd60
R9: 0x0c49cd60, R10: 0xffffffff, R11: 0x00000000
R12: 0x00000000

Thanks,
Arun

Could you dump the device tree to compare with P2888-0004

sudo dtc -I fs -O dts -o extracted_proc.dts /proc/device-tree

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.