When running devmem2 0x01806000 w to check GPMI registers, the system seemed hang, there is no response when I input something on serial console.
I tried other register, devmem2 works and I could read 0x01806000 in u-boot using md command:
root@imx6ul-var-dart:~# devmem2 0x020c4068 w
/dev/mem opened.
Memory mapped at address 0x76f5e000.
Read at address 0x020C4068 (0x76f5e068): 0xC0C00F0F
root@imx6ul-var-dart:~# devmem2 0x01806000 w
/dev/mem opened.
I suspect if the clock for GPMI is disabled, but before reading the GPMI register, I run nandtest command, no crash or hang was seen.
Any suggestion is appreciated.
Thanks.