diff mbox series

[1/2,isar-cip-core] Add support qemu-arm64

Message ID 20210408023230.388313-1-nobuhiro1.iwamatsu@toshiba.co.jp (mailing list archive)
State Accepted
Headers show
Series [1/2,isar-cip-core] Add support qemu-arm64 | expand

Commit Message

Nobuhiro Iwamatsu April 8, 2021, 2:32 a.m. UTC
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 mbox series

Patch

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