On 09.04.21 10:46, Smith li wrote: > These file are my configurations to run two linux inmates on raspberry 4b. > Hardware memory is 2G. > > How to use? > put three files into configs/arm64 folder, make , .c will be compiled to > .cell > The OS and jailhouse I used is compiled from jailhouse-image repository. > > after run "jailhouse enable rpi4-two-ivshmem-net-inmates.cell" there > will produce two network device in root cell. one is set ip as > 192.168.19.1 , the other should set by yourself to 192.168.20.1 > > jailhouse cell linux rpi4-linux-demo1.cell \ > /boot/vmlinuz* \ > -d /etc/jailhouse/dts/inmate-rpi4.dtb \ > -i /usr/libexec/jailhouse/demos/rootfs.cpio \ > -c "console=ttyS0,115200 ip=192.168.19.2" > > jailhouse cell linux rpi4-linux-demo2.cell \ > /boot/vmlinuz* \ > -d /etc/jailhouse/dts/inmate-rpi4.dtb \ > -i /usr/libexec/jailhouse/demos/rootfs.cpio \ > -c "console=ttyS0,115200 ip=192.168.20.2" > > then the two inmate runs. > > I take some content > from > https://github.com/ekut-es/autojail/blob/master/configs/arm64/rpi4-two-ivshmem-net-inmates.c > But modified some content. > > Wish this will help someone need it. > > lake of doc make me headche. >
We have not much written docs, yes, but executable one, including for the RPi4: https://github.com/siemens/jailhouse-images 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]. To view this discussion on the web visit https://groups.google.com/d/msgid/jailhouse-dev/5293b37f-e62a-30a4-eb6c-633775c22337%40web.de.
