When I try to read i2c controller register from u-boot shell using md command on imx8mmevk board it causes exception and resets the board, no variant of md command like md.b, md.w etc is working
u-boot=> md 0x30a20000
"Synchronous Abort" handler, esr 0x96000210
elr: 000000004029aea0 lr : 000000004029adf0 (reloc)
elr: 00000000bed8aea0 lr : 00000000bed8adf0
x0 : 0000000000000009 x1 : 00000000bcce5818
x2 : 00000000fffffffe x3 : 0000000000000020
x4 : 0000000000000000 x5 : 00000000bcce5810
x6 : 0000000000000030 x7 : 00000000bcce5760
x8 : 0000000000000010 x9 : 0000000000000008
x10: 00000000ffffffd8 x11: 0000000000000010
x12: 000000000001869f x13: 00000000bcce5a88
x14: 00000000bcce5b90 x15: 0000000000000021
x16: 00000000bed08a90 x17: 00000000000041a0
x18: 00000000bccefdb0 x19: 0000000000000004
x20: 0000000000000004 x21: 0000000000000004
x22: 0000000030a20000 x23: 00000000bcce5819
x24: 0000000000000000 x25: 00000000bcce57c8
x26: 00000000bedabbf0 x27: 0000000000000008
x28: 0000000000000004 x29: 00000000bcce5760
Code: 2a0403f3 17ffffcb 7100129f 54000181 (b94002c3)
Resetting CPU ..
Similarly when I try to access the I2C registers from linux user space using NXP's memtool, it causes board freeze,
root@imx8mm-lpddr4-evk:~# memtool I2C1.I2CR
Above command results into board hang.
What could be the possible reasons for above behavior?
iMX8MMINI iMX8M