System hang when using devmem2 to read GPMI registers

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

System hang when using devmem2 to read GPMI registers

1,909件の閲覧回数
abutter
Contributor I

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.

ラベル(2)
0 件の賞賛
返信
2 返答(返信)

1,681件の閲覧回数
igorpadykov
NXP Employee
NXP Employee

Hi abutter

one can look at similar problem on below link, check register with memtool

Unable to access I.MX6ULL memory map registers using devmem2 - fsl-yocto-L4.9.11_1.0.0.tar 

Best regards
igor
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

0 件の賞賛
返信

1,681件の閲覧回数
abutter
Contributor I

memtool also cause hang. I would try on other board to check if it is caused by the NAND and its driver.

I also thought it would be because of disabled clocked, I would try to the registers later.

0 件の賞賛
返信