On 28.05.21 14:10, Prashant Kalikotay wrote: > Dear all, > > I am trying to write configuration files for the root and > the non-root cells for an arm64 based system. I have checked the video > https://youtu.be/7fiJbwmhnRw and also the pdf. I could just infer from > these that I have to write the config files using the already existing > ones eg: amd-seatle.c and other files. But what I am not able to > understand is how do I come up with the different values in the config > files as in other files. > > For Example: > > This is small portion of amd-seattle.c how do we come up with the values > in the mem_regions[] as 20, irqchips[] as 3, hypervisor_memory.
These a C-structures - the array sizes derive from the number of elements we fill in below. > phys_start = 0x83e0000000, and all othe r values in the config files. > Which document has been used. Any pointer to any of the documents of the > various config files listed in the configs would be a lot helpful. > Concepts should have been explained in the tutorial you cited, details are unfortunately not specified. Therefore, you need to study existing configs and translate that knowledge to your specific target. If you understand that partitioning concepts and mechanisms in Jailhouse, doing so should be possible (you can always ask for concrete details here). If not, even a detailed specification of the config format would likely not help because you always have to apply that to your concrete case, and the abstraction level of Jailhouse is fairly low. 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 [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/jailhouse-dev/ce3b4401-63c8-bd97-64f0-8a14682f70ec%40siemens.com.
