IRQ masking register modification

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

IRQ masking register modification

550 Views
kazumasasaki
Contributor II

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.

Labels (2)
Tags (3)
0 Kudos
Reply
1 Reply

463 Views
Yuri
NXP Employee
NXP Employee

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.

http://www.nxp.com/webapp/Download?colCode=L4.1.15_2.0.0-LINUX-DOCS&Parent_nodeId=133769948107170617...  

Regards,

Yuri.

0 Kudos
Reply