On 03.02.20 19:53, Saroj Sapkota wrote:
Thank you heartily for providing and guiding. As per your suggestion,
I changed the configuration file according to /proc/iomemĀ  (edittx2.c) and tried to enable jailhouse with it hypervisor still continue to crash. Please have a look at this file serial console output, edittx2.c

Actually, it looks like it's still Linux that crashes, no hypervisor output visible anywhere (you can see the normal output pattern when trying the qemu-arm64 target of jailhouse-images).

and iomemtx2.txt
what are the mistakes? what will be the easiest way to enable jailhouse in tx2?

Is there regular RAM at 0x271000000 when you start Linux without mem=...?

Jan

Thank you


On Saturday, February 1, 2020 at 3:34:55 AM UTC-6, Jan Kiszka wrote:

    On 30.01.20 22:00, Saroj Sapkota wrote:
     > Thank you for the prompt reply Jan.
     >
     > ##>This means I have to compare jetson-tx2.c with /proc/iomem
    addresses
     > and change if there is any deviation?

    Yep.

     >
     > ##>How the address for inmate is allocated, its the spaces of
    system RAM?

    That's what mem= or device tree reservations are for: Keep root Linux
    away from some memory that can then be used for non-root inmates and
    the
    hypervisor itself.

     >
     > ##>where and how can i find the .gicd_base = 0x03881000,(.gicc_base,
     > .gich_base, .gicv_base) addresses of the board?
     >

    Check the device tree of your target.

     > ##> last thing how to define .irqchip; pin_base and pin_bitmap?
     >

    pin_base for the first gicd is always 32 (first SPI). The pin_bitmap of
    the root cell should cover all possible SPIs. If those do not fit into
    one irqchip, add another one with an appropriate pin_base.

    For non-root cells, you only specify the SPIs that those should "steal"
    from the root cell.

    Jan

--
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] <mailto:[email protected]>. To view this discussion on the web visit https://groups.google.com/d/msgid/jailhouse-dev/262dbcd3-986b-4e42-9427-00b6fcd0e567%40googlegroups.com <https://groups.google.com/d/msgid/jailhouse-dev/262dbcd3-986b-4e42-9427-00b6fcd0e567%40googlegroups.com?utm_medium=email&utm_source=footer>.


--
Siemens AG, Corporate Technology, CT RDA IOT SES-DE
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/593714bf-cfbc-4a41-05b5-ef06f6d1d8ae%40siemens.com.

Reply via email to