CIP-dev Archive on lore.kernel.org
 help / color / Atom feed
From: "Nobuhiro Iwamatsu" <nobuhiro1.iwamatsu@toshiba.co.jp>
To: Jan Kiszka <jan.kiszka@siemens.com>
Cc: cip-dev@lists.cip-project.org,
	Nobuhiro Iwamatsu <nobuhiro1.iwamatsu@toshiba.co.jp>
Subject: [cip-dev] [PATCH 1/2] [isar-cip-core] Add support qemu-arm64
Date: Thu,  8 Apr 2021 11:32:29 +0900
Message-ID: <20210408023230.388313-1-nobuhiro1.iwamatsu@toshiba.co.jp> (raw)


[-- Attachment #1: Type: text/plain, Size: 2116 bytes --]

This adds configuration files to support QEMU/arm64.
This is intended to be used for a test image of LAVA of CIP.

Signed-off-by: Nobuhiro Iwamatsu <nobuhiro1.iwamatsu@toshiba.co.jp>
---
 .gitlab-ci.yml               | 19 +++++++++++++++++++
 conf/machine/qemu-arm64.conf | 13 +++++++++++++
 kas/board/qemu-arm64.yml     | 16 ++++++++++++++++
 3 files changed, 48 insertions(+)
 create mode 100644 conf/machine/qemu-arm64.conf
 create mode 100644 kas/board/qemu-arm64.yml

diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 8802af1..01d9609 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -74,6 +74,16 @@ build:qemu-amd64-base:
     targz: enable
     deploy: disable
 
+build:qemu-arm64-base:
+  extends:
+    - .build_base
+  variables:
+    target: qemu-arm64
+    extention: security
+    use_rt: disable
+    wic_targz: disable
+    targz: enable
+
 # test
 build:simatic-ipc227e-test:
   extends:
@@ -105,3 +115,12 @@ build:hihope-rzg2m-test:
     target: hihope-rzg2m
     extention: test
     dtb: renesas/r8a774a1-hihope-rzg2m-ex.dtb
+
+build:qemu-arm64-test:
+  extends:
+    - .build_base
+  variables:
+    target:  qemu-arm64
+    extention: test
+    wic_targz: disable
+    targz: enable
diff --git a/conf/machine/qemu-arm64.conf b/conf/machine/qemu-arm64.conf
new file mode 100644
index 0000000..eb34703
--- /dev/null
+++ b/conf/machine/qemu-arm64.conf
@@ -0,0 +1,13 @@
+#
+# CIP Core, generic profile
+#
+# Copyright (c) Siemens AG, 2019
+#
+# SPDX-License-Identifier: MIT
+#
+
+DISTRO_ARCH = "arm64"
+
+IMAGE_TYPE ?= "ext4-img"
+USE_CIP_KERNEL_CONFIG = "1"
+KERNEL_DEFCONFIG ?= "cip-kernel-config/4.19.y-cip/arm64/qemu_arm64_defconfig"
diff --git a/kas/board/qemu-arm64.yml b/kas/board/qemu-arm64.yml
new file mode 100644
index 0000000..823964d
--- /dev/null
+++ b/kas/board/qemu-arm64.yml
@@ -0,0 +1,16 @@
+#
+# CIP Core, generic profile
+#
+# Copyright (c) Siemens AG, 2019
+# Copyright (c) TOSHIBA CORPORATION, 2021
+#
+# Authors:
+#  Nobuhiro Iwamatsu <nobuhiro1.iwamatsu@toshiba.co.jp>
+#
+# SPDX-License-Identifier: MIT
+#
+
+header:
+  version: 10
+
+machine: qemu-arm64
-- 
2.30.0.rc2


[-- Attachment #2: Type: text/plain, Size: 428 bytes --]


-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#6350): https://lists.cip-project.org/g/cip-dev/message/6350
Mute This Topic: https://lists.cip-project.org/mt/81933307/4520388
Group Owner: cip-dev+owner@lists.cip-project.org
Unsubscribe: https://lists.cip-project.org/g/cip-dev/leave/8129055/4520388/727948398/xyzzy [cip-dev@archiver.kernel.org]
-=-=-=-=-=-=-=-=-=-=-=-


             reply index

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-04-08  2:32 Nobuhiro Iwamatsu [this message]
2021-04-08  2:32 ` [cip-dev] [PATCH 2/2] [isar-cip-core] Add support qemu-arm Nobuhiro Iwamatsu
2021-04-08  6:04   ` Jan Kiszka
2021-04-29  7:24   ` Jan Kiszka
2021-05-10  0:16     ` Nobuhiro Iwamatsu

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=20210408023230.388313-1-nobuhiro1.iwamatsu@toshiba.co.jp \
    --to=nobuhiro1.iwamatsu@toshiba.co.jp \
    --cc=cip-dev@lists.cip-project.org \
    --cc=jan.kiszka@siemens.com \
    /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

CIP-dev Archive on lore.kernel.org

Archives are clonable:
	git clone --mirror https://lore.kernel.org/cip-dev/0 cip-dev/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 cip-dev cip-dev/ https://lore.kernel.org/cip-dev \
		cip-dev@lists.cip-project.org
	public-inbox-index cip-dev

Example config snippet for mirrors

Newsgroup available over NNTP:
	nntp://nntp.lore.kernel.org/org.cip-project.lists.cip-dev


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git