Almost everything went well, but when I started the fourth cell
(bare-metal), I got this error, and jailhouse hangs, so I am able to
1- create two linux non-root cells and inter-cell communication works fine,
and(including ethernet)
2- one bare-metal and linux non-root cell.(inter-cell communication works
fine (also ethernet)
I added one region for the newly created cell in all files with taking care
of correct flags, enlarged the state memory region and the all-cells R/W
memory region, and here is what I edited in the root cell:
Adding virtual PCI device 00:00.0 to cell "rpi4-linux-demo-2"
Shared memory connection established, peer cells:
/* IVSHMEM 0001:00:00.0 (demo) */
.type = JAILHOUSE_PCI_TYPE_IVSHMEM,
.domain = 1,
.bdf = 0 << 3,
.bar_mask = JAILHOUSE_IVSHMEM_BAR_MASK_INTX,
.shmem_regions_start = 0,
.shmem_dev_id = 0,
.shmem_peers = 4,
.shmem_protocol = JAILHOUSE_SHMEM_PROTO_UNDEFINED,
},
And in any other cell i change only the dev_id, so I have 0,1,2,3, the
second PCI is an VETH and is working fine for both linux cells together,
the problem only comes if I created the baremetal cell.
On Tuesday, 11 January 2022 at 13:54:17 UTC+1 Moustafa Nofal wrote:
> Hi,
> Everything is working smoothly now. I have now only question regarding
> these two memory regions:
>
> /* MMIO 1 (permissive) */ {
> .phys_start = 0xfd500000,
> .virt_start = 0xfd500000,
> .size = 0x1b00000,
> .flags = JAILHOUSE_MEM_READ | JAILHOUSE_MEM_WRITE |
> JAILHOUSE_MEM_IO,
> },
> /* MMIO 2 (permissive) */{
> .phys_start = 0x600000000,
> .virt_start = 0x600000000,
> .size = 0x4000000,
> .flags = JAILHOUSE_MEM_READ | JAILHOUSE_MEM_WRITE |
> JAILHOUSE_MEM_IO,
> },
>
>>
>>>
>>>
--
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/850100c3-90eb-4a87-82c7-9bd84a8fecd9n%40googlegroups.com.