[xenomai-images][PATCH] machine: Add simatic-ipc227e as x86 example

Q. Gylstorff Quirin.Gylstorff at siemens.com
Wed Aug 21 14:01:02 CEST 2019


From: Quirin Gylstorff <quirin.gylstorff at siemens.com>

Use the simatic-ipc227e as example how to build a xenomai
x86 image.

Signed-off-by: Quirin Gylstorff <quirin.gylstorff at siemens.com>
---
 board-simatic-ipc227e.yml         | 15 +++++++++++++++
 conf/machine/simatic-ipc227e.conf | 15 +++++++++++++++
 wic/simatic-ipc227e.wks           | 16 ++++++++++++++++
 3 files changed, 46 insertions(+)
 create mode 100644 board-simatic-ipc227e.yml
 create mode 100644 conf/machine/simatic-ipc227e.conf
 create mode 100644 wic/simatic-ipc227e.wks

diff --git a/board-simatic-ipc227e.yml b/board-simatic-ipc227e.yml
new file mode 100644
index 0000000..22f963d
--- /dev/null
+++ b/board-simatic-ipc227e.yml
@@ -0,0 +1,15 @@
+#
+# Xenomai Real-Time System
+#
+# Copyright (c) Siemens AG, 2019
+#
+# Authors:
+#  Quirin Gylstorff <quirin.gylstorff at siemens.com>
+#
+# SPDX-License-Identifier: MIT
+#
+
+header:
+  version: 8
+
+machine: simatic-ipc227e
diff --git a/conf/machine/simatic-ipc227e.conf b/conf/machine/simatic-ipc227e.conf
new file mode 100644
index 0000000..0fd2ef1
--- /dev/null
+++ b/conf/machine/simatic-ipc227e.conf
@@ -0,0 +1,15 @@
+#
+# Xenomai Real-Time System
+#
+# Copyright (c) Siemens AG, 2019
+#
+# Authors:
+#  Quirin Gylstorff <quirin.gylstorff at siemens.com>
+#
+# SPDX-License-Identifier: MIT
+#
+
+DISTRO_ARCH = "amd64"
+
+IMAGE_TYPE = "wic-img"
+IMAGER_INSTALL += "${GRUB_BOOTLOADER_INSTALL}"
diff --git a/wic/simatic-ipc227e.wks b/wic/simatic-ipc227e.wks
new file mode 100644
index 0000000..107e119
--- /dev/null
+++ b/wic/simatic-ipc227e.wks
@@ -0,0 +1,16 @@
+#
+# Xenomai Real-Time System
+#
+# Copyright (c) Siemens AG, 2019
+#
+# Authors:
+#  Quirin Gylstorff <quirin.gylstorff at siemens.com>
+#
+# SPDX-License-Identifier: MIT
+#
+
+part /boot --source bootimg-efi-isar --sourceparams "loader=grub-efi" --ondisk sda --label efi --part-type EF00 --align 1024
+
+part / --source rootfs --ondisk sda --fstype ext4 --label platform --align 1024 --use-uuid
+
+bootloader --ptable gpt --timeout=2 --append "rw rootwait console=ttyS0,115200"
-- 
2.20.1




More information about the Xenomai mailing list