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

* Re: [xenomai-images][PATCH] machine: Add simatic-ipc227e as x86 example
  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
  0 siblings, 1 reply; 4+ messages in thread
From: Jan Kiszka @ 2019-08-21 12:04 UTC (permalink / raw)
  To: Q. Gylstorff, xenomai

On 21.08.19 14:01, Q. Gylstorff wrote:
> 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}"

There isn't anything IPC227E-specific in this machine description. Maybe call is 
x86-64-efi or so?

> 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"
> 

Jan

-- 
Siemens AG, Corporate Technology, CT RDA IOT SES-DE
Corporate Competence Center Embedded Linux


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

* [PATCH v2] machine: Add x86-64-efi as x86 example
  2019-08-21 12:04 ` Jan Kiszka
@ 2019-08-21 15:09   ` Q. Gylstorff
  2019-08-22 15:04     ` Jan Kiszka
  0 siblings, 1 reply; 4+ messages in thread
From: Q. Gylstorff @ 2019-08-21 15:09 UTC (permalink / raw)
  To: xenomai

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

Use the x86-64-efi as example how to build a xenomai
x86 image.

Signed-off-by: Quirin Gylstorff <quirin.gylstorff@siemens.com>
---
Changes:
 V2:
  - rename from simatic-ipc227e to x86-64-efi.

board-x86-64-efi.yml         | 15 +++++++++++++++
 conf/machine/x86-64-efi.conf | 15 +++++++++++++++
 wic/x86-64-efi.wks           | 16 ++++++++++++++++
 3 files changed, 46 insertions(+)
 create mode 100644 board-x86-64-efi.yml
 create mode 100644 conf/machine/x86-64-efi.conf
 create mode 100644 wic/x86-64-efi.wks

diff --git a/board-x86-64-efi.yml b/board-x86-64-efi.yml
new file mode 100644
index 0000000..e926d95
--- /dev/null
+++ b/board-x86-64-efi.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: x86-64-efi
diff --git a/conf/machine/x86-64-efi.conf b/conf/machine/x86-64-efi.conf
new file mode 100644
index 0000000..0fd2ef1
--- /dev/null
+++ b/conf/machine/x86-64-efi.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/x86-64-efi.wks b/wic/x86-64-efi.wks
new file mode 100644
index 0000000..107e119
--- /dev/null
+++ b/wic/x86-64-efi.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

* Re: [PATCH v2] machine: Add x86-64-efi as x86 example
  2019-08-21 15:09   ` [PATCH v2] machine: Add x86-64-efi " Q. Gylstorff
@ 2019-08-22 15:04     ` Jan Kiszka
  0 siblings, 0 replies; 4+ messages in thread
From: Jan Kiszka @ 2019-08-22 15:04 UTC (permalink / raw)
  To: Q. Gylstorff, xenomai

On 21.08.19 17:09, Q. Gylstorff via Xenomai wrote:
> From: Quirin Gylstorff <quirin.gylstorff@siemens.com>
> 
> Use the x86-64-efi as example how to build a xenomai
> x86 image.
> 
> Signed-off-by: Quirin Gylstorff <quirin.gylstorff@siemens.com>
> ---
> Changes:
>   V2:
>    - rename from simatic-ipc227e to x86-64-efi.
> 
> board-x86-64-efi.yml         | 15 +++++++++++++++
>   conf/machine/x86-64-efi.conf | 15 +++++++++++++++
>   wic/x86-64-efi.wks           | 16 ++++++++++++++++
>   3 files changed, 46 insertions(+)
>   create mode 100644 board-x86-64-efi.yml
>   create mode 100644 conf/machine/x86-64-efi.conf
>   create mode 100644 wic/x86-64-efi.wks
> 
> diff --git a/board-x86-64-efi.yml b/board-x86-64-efi.yml
> new file mode 100644
> index 0000000..e926d95
> --- /dev/null
> +++ b/board-x86-64-efi.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: x86-64-efi
> diff --git a/conf/machine/x86-64-efi.conf b/conf/machine/x86-64-efi.conf
> new file mode 100644
> index 0000000..0fd2ef1
> --- /dev/null
> +++ b/conf/machine/x86-64-efi.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/x86-64-efi.wks b/wic/x86-64-efi.wks
> new file mode 100644
> index 0000000..107e119
> --- /dev/null
> +++ b/wic/x86-64-efi.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"
> 

Thanks, applied.

Jan

-- 
Siemens AG, Corporate Technology, CT RDA IOT SES-DE
Corporate Competence Center Embedded Linux


^ permalink raw reply	[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.