You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi everyone,
my usecase is, that I'd like to access the part of the memory, where the Kernel Code is and read/hash that.
The Board is an iMX6.
I believe the Kernel is at 0x100000. I assume the number is correct because the symbol table System.map states:
grep -e "\_[s|e]text$" System.map
80100000 T _stext
80900000 D _etext
PAGE_OFFSET being 0x80000000 for the board.
I am at the point where registering memory using register_phys_mem(MEM_AREA_IO_NSEC) works (MEM_AREA_NSEC_SHM keeps board from booting):
D/TC:0 add_phys_mem:586 0x100000 type IO_NSEC 0x00100000 size 0x00004000
Putting everything together, I am now wondering, wether I am using OP-Tee incorrectly, or if my assumption regarding the memory placement of the kernel is incorrect.
In both cases every help would be greatly appreciated.
Thank you all in advance for taking the time to read this issue.
Helge
The text was updated successfully, but these errors were encountered:
This issue has been marked as a stale issue because it has been open (more than) 30 days with no activity. Remove the stale label or add a comment, otherwise this issue will automatically be closed in 5 days. Note, that you can always re-open a closed issue at any time.
Hi everyone,
my usecase is, that I'd like to access the part of the memory, where the Kernel Code is and read/hash that.
The Board is an iMX6.
I believe the Kernel is at 0x100000. I assume the number is correct because the symbol table System.map states:
PAGE_OFFSET being 0x80000000 for the board.
I am at the point where registering memory using
register_phys_mem(MEM_AREA_IO_NSEC)
works (MEM_AREA_NSEC_SHM keeps board from booting):where mapping the memory works:
yields:
but accessing 0x83FFC000 yields (similar to #3236):
Putting everything together, I am now wondering, wether I am using OP-Tee incorrectly, or if my assumption regarding the memory placement of the kernel is incorrect.
In both cases every help would be greatly appreciated.
Thank you all in advance for taking the time to read this issue.
Helge
The text was updated successfully, but these errors were encountered: