I used "jailhouse cell linux" as you said. However, when I use it, I get an error of "No space found to load all images". Why do I get this error even if I allocate 256M for the inmate ram? I use the Image provided by NVIDIA. I have attached my configuration files (linux-demo.c and .dts).
Thanks Kiszka -- 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]. For more options, visit https://groups.google.com/d/optout.
/* * Jailhouse, a Linux-based partitioning hypervisor * * Configuration for gic-demo or uart-demo inmate on Jetson TK1 and TX1: * 1 CPU, 64K RAM, serial port 0 * * Copyright (c) Siemens AG, 2015 * * Authors: * Jan Kiszka <[email protected]> * * This work is licensed under the terms of the GNU GPL, version 2. See * the COPYING file in the top-level directory. */ #include <jailhouse/types.h> #include <jailhouse/cell-config.h> #define ARRAY_SIZE(a) sizeof(a) / sizeof(a[0]) struct { struct jailhouse_cell_desc cell; __u64 cpus[1]; struct jailhouse_memory mem_regions[3]; struct jailhouse_irqchip irqchips[2]; } __attribute__((packed)) config = { .cell = { .signature = JAILHOUSE_CELL_DESC_SIGNATURE, .revision = JAILHOUSE_CONFIG_REVISION, .name = "jetson-tx1-linux-demo", .flags = JAILHOUSE_CELL_PASSIVE_COMMREG, .cpu_set_size = sizeof(config.cpus), .num_memory_regions = ARRAY_SIZE(config.mem_regions), .num_irqchips = ARRAY_SIZE(config.irqchips), }, .cpus = { 0xc, }, .mem_regions = { /* UART */ { .phys_start = 0x70006000, .virt_start = 0x70006000, .size = 0x1000, .flags = JAILHOUSE_MEM_READ | JAILHOUSE_MEM_WRITE | JAILHOUSE_MEM_IO, }, /* RAM */ { .phys_start = 0x177ff0000, .virt_start = 0, .size = 0x00010000, .flags = JAILHOUSE_MEM_READ | JAILHOUSE_MEM_WRITE | JAILHOUSE_MEM_EXECUTE | JAILHOUSE_MEM_LOADABLE, }, /* Inmate_RAM */ { .phys_start = 0x168000000, .virt_start = 0x168000000, .size = 0x10000000, //256MB for non-root cell .flags = JAILHOUSE_MEM_READ | JAILHOUSE_MEM_WRITE | JAILHOUSE_MEM_EXECUTE | JAILHOUSE_MEM_LOADABLE, }, }, .irqchips = { /* GIC */ { .address = 0x50041000, .pin_base = 32, .pin_bitmap = { 0, 1 << (36%32), 1 << (90+32 - 96) }, }, /* GIC */ { .address = 0x50041000, .pin_base = 160, .pin_bitmap = { 1 << (152+32 - 160), }, }, }, };
inmate-jetson-tx1 (1).dts
Description: Binary data
