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
CPU : i.MX6DL
OS : Linux version 4.1.15-2.0.1
Best Regards,
Kazuma Sasaki.
Hello,
basically interrupts are controlled by the kernel; please look at section 3.2 [Interrupts (Operation)]
of "i.MX_Linux_Reference_Manual.pdf" in linux docs.
Regards,
Yuri.