From: Jan Kiszka <[email protected]>

This x86 target is fairly similar to the nuc6cay. It differs in the
apic-demo that allows to specify a register to make a LED blink.
Furthermore, its Ethernet interface name is different as well.

Signed-off-by: Jan Kiszka <[email protected]>
---
 recipes-core/customizations/files/.bash_history-ipc127e | 13 +++++++++++++
 recipes-core/customizations/files/ethernet              |  4 ++++
 recipes-core/customizations/files/postinst-ipc127e      |  1 +
 3 files changed, 18 insertions(+)
 create mode 100644 recipes-core/customizations/files/.bash_history-ipc127e
 create mode 100644 recipes-core/customizations/files/postinst-ipc127e

diff --git a/recipes-core/customizations/files/.bash_history-ipc127e 
b/recipes-core/customizations/files/.bash_history-ipc127e
new file mode 100644
index 0000000..0868c98
--- /dev/null
+++ b/recipes-core/customizations/files/.bash_history-ipc127e
@@ -0,0 +1,13 @@
+jailhouse enable /etc/jailhouse/ipc127e.cell
+jailhouse console
+jailhouse cell create /etc/jailhouse/apic-ipc127e-demo.cell
+jailhouse cell load apic-demo /usr/libexec/jailhouse/demos/apic-demo.bin \
+                    -s "con-virtual led-reg=0xd0c506a8" -a 0x1000
+jailhouse cell start apic-demo
+jailhouse cell stats apic-demo
+jailhouse cell destroy apic-demo
+jailhouse cell linux /etc/jailhouse/linux-ipc127e-demo.cell /boot/vmlinuz* \
+                     -i /usr/libexec/jailhouse/demos/rootfs.cpio \
+                     -c "console=jailhouse console=tty0 8250.nr_uarts=0 
ip=192.168.19.2"
+ssh 192.168.19.2
+jailhouse disable
diff --git a/recipes-core/customizations/files/ethernet 
b/recipes-core/customizations/files/ethernet
index ccc7ea6..8531662 100644
--- a/recipes-core/customizations/files/ethernet
+++ b/recipes-core/customizations/files/ethernet
@@ -13,6 +13,7 @@ allow-hotplug eth0
 allow-hotplug eth2
 allow-hotplug enp0s2
 allow-hotplug enp3s0
+allow-hotplug eno1

 # used on qemu-arm64, orangepi-zero and espressobin
 iface eth0 inet dhcp
@@ -25,3 +26,6 @@ iface enp0s2 inet dhcp

 # used on nuc6cay
 iface enp3s0 inet dhcp
+
+# used on ipc127e
+iface eno1 inet dhcp
diff --git a/recipes-core/customizations/files/postinst-ipc127e 
b/recipes-core/customizations/files/postinst-ipc127e
new file mode 100644
index 0000000..2dde661
--- /dev/null
+++ b/recipes-core/customizations/files/postinst-ipc127e
@@ -0,0 +1 @@
+# Nothing to do
--
2.16.4

-- 
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/fe59a5edd510451c7979b07ac3d79bb19cbc69a9.1586760835.git.jan.kiszka%40web.de.

Reply via email to