Hi
I like to get the source for the devmem2 please. I found the following at the below site
https://www.lorixone.io/yocto/licenses/2.1.2/devmem2/devmem2.c
I compiled it using the SDK compiler.
i did the below command
devmem2 $((0x686000 + 0x0010)) w 0x0
got the below error
Error at line 81, file devmem2.c (22) [Invalid argument]
but if i do the same with the devmem2 that comes with the SDK it works fine i get the below
root@am65xx-evm:~# devmem2 $((0x686000 + 0x0010)) w 0x0
/dev/mem opened.
Memory mapped at address 0xffff94090000.
Read at address 0x00686010 (0xffff94096010): 0x68EF3491
Write at address 0x00686010 (0xffff94096010): 0x00000000, readback 0x00000000
Any ideas would be great.
It sounds like it does not calculate the correct address from the MMU
Thanks