I have the same question...Could you please introduce the solution in detail? Thank you
在2021年8月20日星期五 UTC+8 16:04:33<mustafa...@gmail.com> 写道: > Thanks for your advice. > It took me a lot of time, to make it work, I was only missing the > ARM-Trusted-Firmware. And now it is working like charm. > I needed to understand jaihouse better and every time I discover new and > interesting information. > Moustafa > On Thursday, 19 August 2021 at 15:56:23 UTC+2 j.kiszka...@gmail.com wrote: > >> On 19.08.21 13:59, Moustafa Nofal wrote: >> > I tried this configuration, but it did not work with me, I attached the >> > log file. I have Pi4(4GB version). Initially installed 5.10, it did not >> > compile so I back-patched to 5.3 and added CONFIG_HOTPLUG_CPU=y to the >> > build configuration, I was able to understand, why it was essential. >> > Then I tried different memory reservations using device tree: >> > reserved-memory { >> > #address-cells=<2>; >> > #size-cells=<1>; >> > ranges; >> > memmap:memmap@0x20000000{ >> > reg = <0x0 0x20000000 0x10000000>; >> > }; >> > }; >> > The memory is reserved and observable at proc/iomem but the result is >> > either crash as in the log file or this: >> > [ 1463.849868] jailhouse: request_mem_region failed for hypervisor >> memory. >> > [ 1463.849882] jailhouse: Did you reserve the memory with "memmap=" or >> > "mem="? >> > In rpi4.c >> > I edited memory regions to begin with 2: >> > >> > .hypervisor_memory = { >> > .phys_start = 0x2fc00000, >> > .size = 0x00400000, >> > }, >> > and the same for all memory regions. >> > >> > Something that I do not really understand, is the RAM address. In the >> > jailhouse Image, there was a RAM at 0x20000000 and the image works >> fine. >> > But in my case there is nothing at this address. >> > Any help would be appreciated and thanks in advance. >> > >> >> Integrating all the loose ends of these targets is a hairy process (I >> stopped counting hours I invested). Therefore, I strongly recommend >> starting from jailhouse-images where the RPi4 works fine, at least here, >> and then step-wise deviate from that towards whatever alternative >> configuration is desired. >> >> Jan >> >> -- >> Siemens AG, T RDA IOT >> Corporate Competence Center Embedded Linux >> > -- You received this message because you are subscribed to the Google Groups "Jailhouse" group. To unsubscribe from this group and stop receiving emails from it, send an email to jailhouse-dev+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/jailhouse-dev/73c81520-68a0-4d95-9686-221a8c953ec5n%40googlegroups.com.