AnsweredAssumed Answered

IRQ masking register modification

Question asked by Kazuma Sasaki on Mar 13, 2017
Latest reply on Mar 15, 2017 by Yuri Muhin

Hi, I would like to change all IRQ masking register (GPC_IMR) via MEMTOOL to investigate interrupt behavior.

However, I could not change these register value.


here is my test logs from my console.


=== TEST LOG ===

root@imx6dlsabreauto:# /unit_tests/memtool -32 20dc008=ffffffff
Writing 32-bit value 0xFFFFFFFF to address 0x020DC008


root@imx6dlsabreauto:# /unit_tests/memtool -32 20dc008 1
Reading 0x1 count starting at address 0x020DC008

0x020DC008:  CEA3EF93



If I tried GPC_CNTR modification via MEMTOOL same as above procedure,

I can change register's value successfully.

also, I have successfully modified registers value of GPC_IMR via "mw" command from U-BOOT prompt.


How do I change registers value of GPC_IMR via MEMTOOL from Linux BSP?


<target environment>

Board : SABRE Auto


OS : Linux version 4.1.15-2.0.1



Best Regards,

Kazuma Sasaki.