But it doesn't help for the insert of region for loading elf objects.
It all boils down to this:
***** Kernel: map size: 65536
Kernel: map pyhys: 4267704320
Kernel: map virt: 18446743937075974144
Kernel: map size: 1048576
Kernel: map pyhys: 4268228608
Kernel: map virt: 18446743937076043776
Kernel: map size: 716800
Kernel: map pyhys: 67293184
Kernel: map virt: 67108864 *****
The last map() gives something to insrert_translation that I think is wrong/bad the previous inserts adds to phys address each time and virt addresses looks consistent. insert_translation doesn't return. So elf loading fails.
And then the switch to el1.. still trying to find out the difference in cpu
core that maskes that to fail, if it isn't ram related.
Michael