vhost-device-sound recipe
[AGL/meta-agl-devel.git] / meta-agl-jailhouse / recipes-extended / jailhouse / files / helper-scripts / linux-non-root-cell.sh
1 #!/bin/sh
2
3 # For Networking
4 dhclient enp0s2
5
6 # For Enabling the Root-Cell
7 jailhouse enable /usr/share/jailhouse/cells/qemu-agl.cell
8
9 # For loading the Non-Root cell
10 jailhouse cell linux /usr/share/jailhouse/cells/agl-linux-x86-demo.cell bzImage -i rootfs.cpio -w out.file -c "console=ttyS2,115200 earlycon earlyprintk"
11
12 <<DEMO
13
14 qemux86-64:~# ./linux-non-root-cell.sh
15 Boot parameters written. Start Linux with the following commands (adjusting paths as needed):
16
17 jailhouse cell create /usr/share/jailhouse/cells/agl-linux-x86-demo.cell
18 jailhouse cell load linux-x86-demo linux-loader.bin -a 0x0 bzImage -a 0xffc600 rootfs.cpio -a 0x3d89000 out.file -a 0x1000
19 jailhouse cell start linux-x86-demo
20
21 DEMO