Genode on RK3588 and Emulation

Michael Grunditz michael.grunditz at gmail.com
Tue Oct 25 16:10:58 CEST 2022


On Tue, 25 Oct 2022 at 15:43, Michael Grunditz <michael.grunditz at gmail.com>
wrote:

>
>
>
>> 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.
>
> OK so I got it all wrong

this is the modules offset:

000000000402d000 <.data.boot_modules_binaries>:
 402d000:       464c457f        .inst   0x464c457f ; undefined
 402d004:       00010102        .inst   0x00010102 ; undefined
        ...
 402d010:       00b70002        .inst   0x00b70002 ; undefined
 402d014:       00000001        .inst   0x00000001 ; undefined
 402d018:       04000860        add     z0.b, p2/m, z0.b, z3.b

and it reflects the pys in the above output.
Boot image is inside my ram region.

Sorry! No more e-mails from me today!

MIchael
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.genode.org/pipermail/users/attachments/20221025/bdbca987/attachment-0001.htm>


More information about the users mailing list