All of lore.kernel.org
 help / color / mirror / Atom feed
* [xenomai-images][PATCH] machine: Add simatic-ipc227e as x86 example
@ 2019-08-21 12:01 Q. Gylstorff
  2019-08-21 12:04 ` Jan Kiszka
  0 siblings, 1 reply; 4+ messages in thread
From: Q. Gylstorff @ 2019-08-21 12:01 UTC (permalink / raw)
  To: xenomai

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

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

Signed-off-by: Quirin Gylstorff <quirin.gylstorff@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@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@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@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



^ permalink raw reply related	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2019-08-22 15:04 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-08-21 12:01 [xenomai-images][PATCH] machine: Add simatic-ipc227e as x86 example Q. Gylstorff
2019-08-21 12:04 ` Jan Kiszka
2019-08-21 15:09   ` [PATCH v2] machine: Add x86-64-efi " Q. Gylstorff
2019-08-22 15:04     ` Jan Kiszka

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.