Package created at branch lp:~rsalveti/+junk/devmem2. Could anyone help
reviewing it?

For Beagle devmem2 can be used to find the SGX core revision, like:
r...@beagle-maverick:~# ./devmem2 0x48004B48 w 0x2
/dev/mem opened.
Memory mapped at address 0x4015c000.
Value at address 0x48004B48 (0x4015cb48): 0x3
Written 0x2; readback 0x2
r...@beagle-maverick:~# ./devmem2 0x48004B10 w 0x1
/dev/mem opened.
Memory mapped at address 0x40183000.
Value at address 0x48004B10 (0x40183b10): 0x0
Written 0x1; readback 0x1
r...@beagle-maverick:~# ./devmem2 0x48004B00 w 0x2
/dev/mem opened.
Memory mapped at address 0x40160000.
Value at address 0x48004B00 (0x40160b00): 0x0
Written 0x2; readback 0x2
r...@beagle-maverick:~# ./devmem2 0x50000014 > sgxrevision.txt
r...@beagle-maverick:~# cat sgxrevision.txt 
/dev/mem opened.
Memory mapped at address 0x4002a000.
Value at address 0x50000014 (0x4002a014): 0x10201

Depending on the value read out in the last step, OMAPES is determined
for the build.

If value == 0x10205, SGX OMAPES=5.x
If value == 0x10201, SGX OMAPES=3.x
If value == 0x10003, SGX OMAPES=2.x 


** Tags added: arm

-- 
[needs-packaging] devmem2 needs packaging
https://bugs.launchpad.net/bugs/607752
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to