cip-dev.lists.cip-project.org archive mirror
 help / color / mirror / Atom feed
* [cip-dev] [PATCH 1/2] [isar-cip-core] Add support qemu-arm64
@ 2021-04-08  2:32 Nobuhiro Iwamatsu
  2021-04-08  2:32 ` [cip-dev] [PATCH 2/2] [isar-cip-core] Add support qemu-arm Nobuhiro Iwamatsu
  0 siblings, 1 reply; 5+ messages in thread
From: Nobuhiro Iwamatsu @ 2021-04-08  2:32 UTC (permalink / raw)
  To: Jan Kiszka; +Cc: cip-dev, Nobuhiro Iwamatsu

[-- 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]
-=-=-=-=-=-=-=-=-=-=-=-


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

* [cip-dev] [PATCH 2/2] [isar-cip-core] Add support qemu-arm
  2021-04-08  2:32 [cip-dev] [PATCH 1/2] [isar-cip-core] Add support qemu-arm64 Nobuhiro Iwamatsu
@ 2021-04-08  2:32 ` Nobuhiro Iwamatsu
  2021-04-08  6:04   ` Jan Kiszka
  2021-04-29  7:24   ` Jan Kiszka
  0 siblings, 2 replies; 5+ messages in thread
From: Nobuhiro Iwamatsu @ 2021-04-08  2:32 UTC (permalink / raw)
  To: Jan Kiszka; +Cc: cip-dev, Nobuhiro Iwamatsu

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

This adds configuration files to support QEMU/arm.
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-arm.conf | 14 ++++++++++++++
 kas/board/qemu-arm.yml     | 16 ++++++++++++++++
 3 files changed, 49 insertions(+)
 create mode 100644 conf/machine/qemu-arm.conf
 create mode 100644 kas/board/qemu-arm.yml

diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 01d9609..b53d9cc 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -84,6 +84,16 @@ build:qemu-arm64-base:
     wic_targz: disable
     targz: enable
 
+build:qemu-arm-base:
+  extends:
+    - .build_base
+  variables:
+    target: qemu-arm
+    extention: security
+    use_rt: disable
+    wic_targz: disable
+    targz: enable
+
 # test
 build:simatic-ipc227e-test:
   extends:
@@ -124,3 +134,12 @@ build:qemu-arm64-test:
     extention: test
     wic_targz: disable
     targz: enable
+
+build:qemu-arm-test:
+  extends:
+    - .build_base
+  variables:
+    target:  qemu-arm
+    extention: test
+    wic_targz: disable
+    targz: enable
diff --git a/conf/machine/qemu-arm.conf b/conf/machine/qemu-arm.conf
new file mode 100644
index 0000000..81a22c1
--- /dev/null
+++ b/conf/machine/qemu-arm.conf
@@ -0,0 +1,14 @@
+#
+# CIP Core, generic profile
+#
+# Copyright (c) Siemens AG, 2019
+# Copyright (c) TOSHIBA CORPORATION, 2021
+#
+# SPDX-License-Identifier: MIT
+#
+
+DISTRO_ARCH = "armhf"
+
+IMAGE_TYPE ?= "ext4-img"
+USE_CIP_KERNEL_CONFIG = "1"
+KERNEL_DEFCONFIG ?= "cip-kernel-config/4.19.y-cip/arm/qemu_arm_defconfig"
diff --git a/kas/board/qemu-arm.yml b/kas/board/qemu-arm.yml
new file mode 100644
index 0000000..9bf9728
--- /dev/null
+++ b/kas/board/qemu-arm.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-arm
-- 
2.30.0.rc2


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


-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#6351): https://lists.cip-project.org/g/cip-dev/message/6351
Mute This Topic: https://lists.cip-project.org/mt/81933310/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]
-=-=-=-=-=-=-=-=-=-=-=-


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

* Re: [cip-dev] [PATCH 2/2] [isar-cip-core] Add support qemu-arm
  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
  1 sibling, 0 replies; 5+ messages in thread
From: Jan Kiszka @ 2021-04-08  6:04 UTC (permalink / raw)
  To: Nobuhiro Iwamatsu; +Cc: cip-dev

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

On 08.04.21 04:32, Nobuhiro Iwamatsu wrote:
> This adds configuration files to support QEMU/arm.
> 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-arm.conf | 14 ++++++++++++++
>  kas/board/qemu-arm.yml     | 16 ++++++++++++++++
>  3 files changed, 49 insertions(+)
>  create mode 100644 conf/machine/qemu-arm.conf
>  create mode 100644 kas/board/qemu-arm.yml
> 
> diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
> index 01d9609..b53d9cc 100644
> --- a/.gitlab-ci.yml
> +++ b/.gitlab-ci.yml
> @@ -84,6 +84,16 @@ build:qemu-arm64-base:
>      wic_targz: disable
>      targz: enable
>  
> +build:qemu-arm-base:
> +  extends:
> +    - .build_base
> +  variables:
> +    target: qemu-arm
> +    extention: security
> +    use_rt: disable
> +    wic_targz: disable
> +    targz: enable
> +
>  # test
>  build:simatic-ipc227e-test:
>    extends:
> @@ -124,3 +134,12 @@ build:qemu-arm64-test:
>      extention: test
>      wic_targz: disable
>      targz: enable
> +
> +build:qemu-arm-test:
> +  extends:
> +    - .build_base
> +  variables:
> +    target:  qemu-arm
> +    extention: test
> +    wic_targz: disable
> +    targz: enable
> diff --git a/conf/machine/qemu-arm.conf b/conf/machine/qemu-arm.conf
> new file mode 100644
> index 0000000..81a22c1
> --- /dev/null
> +++ b/conf/machine/qemu-arm.conf
> @@ -0,0 +1,14 @@
> +#
> +# CIP Core, generic profile
> +#
> +# Copyright (c) Siemens AG, 2019
> +# Copyright (c) TOSHIBA CORPORATION, 2021
> +#
> +# SPDX-License-Identifier: MIT
> +#
> +
> +DISTRO_ARCH = "armhf"
> +
> +IMAGE_TYPE ?= "ext4-img"
> +USE_CIP_KERNEL_CONFIG = "1"
> +KERNEL_DEFCONFIG ?= "cip-kernel-config/4.19.y-cip/arm/qemu_arm_defconfig"
> diff --git a/kas/board/qemu-arm.yml b/kas/board/qemu-arm.yml
> new file mode 100644
> index 0000000..9bf9728
> --- /dev/null
> +++ b/kas/board/qemu-arm.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-arm
> 

Thanks, both applied.

Jan

-- 
Siemens AG, T RDA IOT
Corporate Competence Center Embedded Linux

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


-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#6353): https://lists.cip-project.org/g/cip-dev/message/6353
Mute This Topic: https://lists.cip-project.org/mt/81933310/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]
-=-=-=-=-=-=-=-=-=-=-=-


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

* Re: [cip-dev] [PATCH 2/2] [isar-cip-core] Add support qemu-arm
  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
  1 sibling, 1 reply; 5+ messages in thread
From: Jan Kiszka @ 2021-04-29  7:24 UTC (permalink / raw)
  To: Nobuhiro Iwamatsu; +Cc: cip-dev

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

On 08.04.21 04:32, Nobuhiro Iwamatsu wrote:
> This adds configuration files to support QEMU/arm.
> 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-arm.conf | 14 ++++++++++++++
>  kas/board/qemu-arm.yml     | 16 ++++++++++++++++
>  3 files changed, 49 insertions(+)
>  create mode 100644 conf/machine/qemu-arm.conf
>  create mode 100644 kas/board/qemu-arm.yml
> 
> diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
> index 01d9609..b53d9cc 100644
> --- a/.gitlab-ci.yml
> +++ b/.gitlab-ci.yml
> @@ -84,6 +84,16 @@ build:qemu-arm64-base:
>      wic_targz: disable
>      targz: enable
>  
> +build:qemu-arm-base:
> +  extends:
> +    - .build_base
> +  variables:
> +    target: qemu-arm
> +    extention: security
> +    use_rt: disable
> +    wic_targz: disable
> +    targz: enable
> +
>  # test
>  build:simatic-ipc227e-test:
>    extends:
> @@ -124,3 +134,12 @@ build:qemu-arm64-test:
>      extention: test
>      wic_targz: disable
>      targz: enable
> +
> +build:qemu-arm-test:
> +  extends:
> +    - .build_base
> +  variables:
> +    target:  qemu-arm
> +    extention: test
> +    wic_targz: disable
> +    targz: enable
> diff --git a/conf/machine/qemu-arm.conf b/conf/machine/qemu-arm.conf
> new file mode 100644
> index 0000000..81a22c1
> --- /dev/null
> +++ b/conf/machine/qemu-arm.conf
> @@ -0,0 +1,14 @@
> +#
> +# CIP Core, generic profile
> +#
> +# Copyright (c) Siemens AG, 2019
> +# Copyright (c) TOSHIBA CORPORATION, 2021
> +#
> +# SPDX-License-Identifier: MIT
> +#
> +
> +DISTRO_ARCH = "armhf"
> +
> +IMAGE_TYPE ?= "ext4-img"
> +USE_CIP_KERNEL_CONFIG = "1"
> +KERNEL_DEFCONFIG ?= "cip-kernel-config/4.19.y-cip/arm/qemu_arm_defconfig"
> diff --git a/kas/board/qemu-arm.yml b/kas/board/qemu-arm.yml
> new file mode 100644
> index 0000000..9bf9728
> --- /dev/null
> +++ b/kas/board/qemu-arm.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-arm
> 

It looks to me we have some regressions in master (which does
deployment), caused by these commits. Could you have a look at

https://gitlab.com/cip-project/cip-core/isar-cip-core/-/pipelines/294203272

TIA,
Jan

-- 
Siemens AG, T RDA IOT
Corporate Competence Center Embedded Linux

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


-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#6401): https://lists.cip-project.org/g/cip-dev/message/6401
Mute This Topic: https://lists.cip-project.org/mt/81933310/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]
-=-=-=-=-=-=-=-=-=-=-=-


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

* Re: [cip-dev] [PATCH 2/2] [isar-cip-core] Add support qemu-arm
  2021-04-29  7:24   ` Jan Kiszka
@ 2021-05-10  0:16     ` Nobuhiro Iwamatsu
  0 siblings, 0 replies; 5+ messages in thread
From: Nobuhiro Iwamatsu @ 2021-05-10  0:16 UTC (permalink / raw)
  To: jan.kiszka; +Cc: cip-dev

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

Hi Jan,

> -----Original Message-----
> From: Jan Kiszka [mailto:jan.kiszka@siemens.com]
> Sent: Thursday, April 29, 2021 4:25 PM
> To: iwamatsu nobuhiro(岩松 信洋 □SWC◯ACT) <nobuhiro1.iwamatsu@toshiba.co.jp>
> Cc: cip-dev@lists.cip-project.org
> Subject: Re: [PATCH 2/2] [isar-cip-core] Add support qemu-arm
> 
> On 08.04.21 04:32, Nobuhiro Iwamatsu wrote:
> > This adds configuration files to support QEMU/arm.
> > 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-arm.conf | 14 ++++++++++++++
> >  kas/board/qemu-arm.yml     | 16 ++++++++++++++++
> >  3 files changed, 49 insertions(+)
> >  create mode 100644 conf/machine/qemu-arm.conf
> >  create mode 100644 kas/board/qemu-arm.yml
> >
> > diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
> > index 01d9609..b53d9cc 100644
> > --- a/.gitlab-ci.yml
> > +++ b/.gitlab-ci.yml
> > @@ -84,6 +84,16 @@ build:qemu-arm64-base:
> >      wic_targz: disable
> >      targz: enable
> >
> > +build:qemu-arm-base:
> > +  extends:
> > +    - .build_base
> > +  variables:
> > +    target: qemu-arm
> > +    extention: security
> > +    use_rt: disable
> > +    wic_targz: disable
> > +    targz: enable
> > +
> >  # test
> >  build:simatic-ipc227e-test:
> >    extends:
> > @@ -124,3 +134,12 @@ build:qemu-arm64-test:
> >      extention: test
> >      wic_targz: disable
> >      targz: enable
> > +
> > +build:qemu-arm-test:
> > +  extends:
> > +    - .build_base
> > +  variables:
> > +    target:  qemu-arm
> > +    extention: test
> > +    wic_targz: disable
> > +    targz: enable
> > diff --git a/conf/machine/qemu-arm.conf b/conf/machine/qemu-arm.conf
> > new file mode 100644
> > index 0000000..81a22c1
> > --- /dev/null
> > +++ b/conf/machine/qemu-arm.conf
> > @@ -0,0 +1,14 @@
> > +#
> > +# CIP Core, generic profile
> > +#
> > +# Copyright (c) Siemens AG, 2019
> > +# Copyright (c) TOSHIBA CORPORATION, 2021
> > +#
> > +# SPDX-License-Identifier: MIT
> > +#
> > +
> > +DISTRO_ARCH = "armhf"
> > +
> > +IMAGE_TYPE ?= "ext4-img"
> > +USE_CIP_KERNEL_CONFIG = "1"
> > +KERNEL_DEFCONFIG ?= "cip-kernel-config/4.19.y-cip/arm/qemu_arm_defconfig"
> > diff --git a/kas/board/qemu-arm.yml b/kas/board/qemu-arm.yml
> > new file mode 100644
> > index 0000000..9bf9728
> > --- /dev/null
> > +++ b/kas/board/qemu-arm.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-arm
> >
> 
> It looks to me we have some regressions in master (which does
> deployment), caused by these commits. Could you have a look at
> 
> https://gitlab.com/cip-project/cip-core/isar-cip-core/-/pipelines/294203272
> 

OK, this is a issue when uploading a built image. I have not looked into 
The featute in detail. I will fix this.

> TIA,
> Jan
> 

Best regards,
  Nobuhiro

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


-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#6438): https://lists.cip-project.org/g/cip-dev/message/6438
Mute This Topic: https://lists.cip-project.org/mt/81933310/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]
-=-=-=-=-=-=-=-=-=-=-=-


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

end of thread, other threads:[~2021-05-10  0:17 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-04-08  2:32 [cip-dev] [PATCH 1/2] [isar-cip-core] Add support qemu-arm64 Nobuhiro Iwamatsu
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

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 NNTP newsgroup(s).