CIP-dev archive mirror
 help / color / mirror / Atom feed
From: Nobuhiro Iwamatsu <nobuhiro1.iwamatsu@toshiba.co.jp>
To: jan.kiszka@siemens.com
Cc: cip-dev@lists.cip-project.org,
	Nobuhiro Iwamatsu <iwamatsu@nigauri.org>,
	Masato Minda <minmin@plathome.co.jp>,
	Nobuhiro Iwamatsu <nobuhiro1.iwamatsu@toshiba.co.jp>
Subject: [isar-cip-core][PATCH] Add support Plat'Home OpenBlocks IoT VX2
Date: Wed, 23 Aug 2023 11:17:13 +0900	[thread overview]
Message-ID: <20230823021713.87089-1-nobuhiro1.iwamatsu@toshiba.co.jp> (raw)

From: Nobuhiro Iwamatsu <iwamatsu@nigauri.org>

This adds configuration files to support Plat'Home OpenBlocks IoT VX2.

CC: Masato Minda <minmin@plathome.co.jp>
Signed-off-by: Nobuhiro Iwamatsu <nobuhiro1.iwamatsu@toshiba.co.jp>
---
 Kconfig                              |  4 ++++
 conf/machine/openblocks-iot-vx2.conf | 15 +++++++++++++++
 kas/board/openblocks-iot-vx2.yml     | 15 +++++++++++++++
 wic/openblocks-iot-vx2.wks           | 15 +++++++++++++++
 4 files changed, 49 insertions(+)
 create mode 100644 conf/machine/openblocks-iot-vx2.conf
 create mode 100644 kas/board/openblocks-iot-vx2.yml
 create mode 100644 wic/openblocks-iot-vx2.wks

diff --git a/Kconfig b/Kconfig
index ec49631..778acf6 100644
--- a/Kconfig
+++ b/Kconfig
@@ -67,6 +67,9 @@ config TARGET_QEMU_RISCV64
 	bool "QEMU RISC-V 64-bit (riscv64)"
 	select ARCH_RISCV64
 
+config TARGET_OBS_IOT_VX2
+	bool "Plat'Home OpenBlocks IoT VX2"
+	select ARCH_AMD64
 endchoice
 
 config KAS_INCLUDE_BOARD
@@ -79,6 +82,7 @@ config KAS_INCLUDE_BOARD
 	default "kas/board/bbb.yml" if TARGET_BBB
 	default "kas/board/iwg20m.yml" if TARGET_IWG20D
 	default "kas/board/qemu-riscv64.yml" if TARGET_QEMU_RISCV64
+	default "kas/board/openblocks-iot-vx2.yml" if TARGET_OBS_IOT_VX2
 
 comment "Kernel options"
 
diff --git a/conf/machine/openblocks-iot-vx2.conf b/conf/machine/openblocks-iot-vx2.conf
new file mode 100644
index 0000000..a9bf65d
--- /dev/null
+++ b/conf/machine/openblocks-iot-vx2.conf
@@ -0,0 +1,15 @@
+#
+# CIP Core, generic profile
+#
+# Copyright (c) Siemens AG, 2019
+# Copyright (c) TOSHIBA CORPORATION, 2023
+#
+# SPDX-License-Identifier: MIT
+#
+
+DISTRO_ARCH = "amd64"
+
+IMAGE_FSTYPES ?= "wic"
+IMAGER_INSTALL += "${GRUB_BOOTLOADER_INSTALL}"
+USE_CIP_KERNEL_CONFIG = "1"
+KERNEL_DEFCONFIG = "cip-kernel-config/${KERNEL_DEFCONFIG_VERSION}/x86/plathome_obsvx2_defconfig"
diff --git a/kas/board/openblocks-iot-vx2.yml b/kas/board/openblocks-iot-vx2.yml
new file mode 100644
index 0000000..6951e2e
--- /dev/null
+++ b/kas/board/openblocks-iot-vx2.yml
@@ -0,0 +1,15 @@
+#
+# CIP Core, generic profile
+#
+# TOSHIBA CORPORATION, 2023
+#
+# Authors:
+#  Nobuhiro Iwamatsu <nobuhiro1.iwamatsu@toshiba.co.jp>
+#
+# SPDX-License-Identifier: MIT
+#
+
+header:
+  version: 12
+
+machine: openblocks-iot-vx2
diff --git a/wic/openblocks-iot-vx2.wks b/wic/openblocks-iot-vx2.wks
new file mode 100644
index 0000000..3050684
--- /dev/null
+++ b/wic/openblocks-iot-vx2.wks
@@ -0,0 +1,15 @@
+#
+# CIP Core, generic profile
+#
+# Copyright (c) Siemens AG, 2019
+#
+# SPDX-License-Identifier: MIT
+#
+# Based wic/simatic-ipc227e.wks
+#
+
+part /boot --source bootimg-efi-isar --sourceparams "loader=grub-efi" --label efi --part-type EF00 --align 1024
+
+part / --source rootfs --fstype ext4 --mkfs-extraopts "-T default" --label platform --align 1024 --use-uuid
+
+bootloader --ptable gpt --timeout 2 --append "console=ttyS0,115200"
-- 
2.40.1




             reply	other threads:[~2023-08-23  2:17 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-08-23  2:17 Nobuhiro Iwamatsu [this message]
2023-08-28  6:43 ` [isar-cip-core][PATCH] Add support Plat'Home OpenBlocks IoT VX2 Jan Kiszka
2023-08-28  8:26   ` nobuhiro1.iwamatsu
2023-09-12 13:11     ` nobuhiro1.iwamatsu
2023-09-14  5:44       ` Jan Kiszka
2023-09-26 13:12         ` [cip-dev] " kazuhiro3.hayashi
2023-10-01 23:47         ` nobuhiro1.iwamatsu
2023-10-02 10:23           ` Jan Kiszka
2023-10-02 21:34             ` nobuhiro1.iwamatsu
2024-03-22 11:39               ` Benjamin Schilling
2024-03-26  6:52                 ` Jan Kiszka
2024-04-05  7:39                   ` Generic x86 kernel configration (RE: [isar-cip-core][PATCH] Add support Plat'Home OpenBlocks IoT VX2) nobuhiro1.iwamatsu
2024-04-11 16:51                     ` Jan Kiszka
2024-04-23 13:18                       ` nobuhiro1.iwamatsu
2024-04-26 13:21                         ` [cip-dev] " Gylstorff Quirin

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20230823021713.87089-1-nobuhiro1.iwamatsu@toshiba.co.jp \
    --to=nobuhiro1.iwamatsu@toshiba.co.jp \
    --cc=cip-dev@lists.cip-project.org \
    --cc=iwamatsu@nigauri.org \
    --cc=jan.kiszka@siemens.com \
    --cc=minmin@plathome.co.jp \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).