All of lore.kernel.org
 help / color / mirror / Atom feed
* [meta-zephyr][PATCH 1/6] zephyr-bsp: add support for qemu-cortex-a9
@ 2022-10-07 14:11 Jon Mason
  2022-10-07 14:11 ` [meta-zephyr][PATCH 2/6] zephyr-bsp: add support for mps2-an385 Jon Mason
                   ` (5 more replies)
  0 siblings, 6 replies; 8+ messages in thread
From: Jon Mason @ 2022-10-07 14:11 UTC (permalink / raw)
  To: yocto

Signed-off-by: Jon Mason <jon.mason@arm.com>
---
 .gitlab-ci.yml                                |  7 +++++++
 ci/qemu-cortex-a9.yml                         | 10 ++++++++++
 .../conf/machine/qemu-cortex-a9.conf          | 20 +++++++++++++++++++
 3 files changed, 37 insertions(+)
 create mode 100644 ci/qemu-cortex-a9.yml
 create mode 100644 meta-zephyr-bsp/conf/machine/qemu-cortex-a9.conf

diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 5752254..031b5c5 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -90,6 +90,13 @@ qemu-cortex-a53:
       - TOOLCHAIN: [default, zephyr-toolchain]
         TESTING: testimage
 
+qemu-cortex-a9:
+  extends: .build
+  parallel:
+    matrix:
+      - TOOLCHAIN: [default, zephyr-toolchain]
+        TESTING: testimage
+
 qemu-cortex-m0:
   extends: .build
   parallel:
diff --git a/ci/qemu-cortex-a9.yml b/ci/qemu-cortex-a9.yml
new file mode 100644
index 0000000..cc44730
--- /dev/null
+++ b/ci/qemu-cortex-a9.yml
@@ -0,0 +1,10 @@
+header:
+  version: 11
+  includes:
+    - ci/base.yml
+
+local_conf_header:
+  failing_tests: |
+    ZEPHYRTESTS:remove = "common queue"
+
+machine: qemu-cortex-a9
diff --git a/meta-zephyr-bsp/conf/machine/qemu-cortex-a9.conf b/meta-zephyr-bsp/conf/machine/qemu-cortex-a9.conf
new file mode 100644
index 0000000..9dfee42
--- /dev/null
+++ b/meta-zephyr-bsp/conf/machine/qemu-cortex-a9.conf
@@ -0,0 +1,20 @@
+#@TYPE: Machine
+#@NAME: qemu-cortex-a9
+#@DESCRIPTION: Machine for Zephyr BOARD qemu_cortex_a9
+
+DEFAULTTUNE ?= "cortexa9"
+require conf/machine/include/qemu.inc
+require conf/machine/include/arm/armv7a/tune-cortexa9.inc
+
+TCLIBC = "newlib"
+
+# For runqemu
+QB_SYSTEM_NAME = "qemu-system-arm"
+QB_MACHINE = "-machine xilinx-zynq-a9"
+QB_CPU = "-cpu cortex-a9"
+QB_GRAPHICS = "-nographic -vga none"
+QB_OPT_APPEND = "-icount shift=3,align=off,sleep=off -rtc clock=vm"
+
+# Zephyr RTOS settings
+ZEPHYR_INHERIT_CLASSES += "zephyr-qemuboot"
+ARCH:qemu-cortex-a9 = "arm"
-- 
2.17.1



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

* [meta-zephyr][PATCH 2/6] zephyr-bsp: add support for mps2-an385
  2022-10-07 14:11 [meta-zephyr][PATCH 1/6] zephyr-bsp: add support for qemu-cortex-a9 Jon Mason
@ 2022-10-07 14:11 ` Jon Mason
  2022-10-07 14:12 ` [meta-zephyr][PATCH 3/6] zephyr-bsp: add support for mps2-an521 Jon Mason
                   ` (4 subsequent siblings)
  5 siblings, 0 replies; 8+ messages in thread
From: Jon Mason @ 2022-10-07 14:11 UTC (permalink / raw)
  To: yocto

Signed-off-by: Jon Mason <jon.mason@arm.com>
---
 .gitlab-ci.yml                               |  7 +++++++
 ci/mps2-an385.yml                            |  6 ++++++
 meta-zephyr-bsp/conf/machine/mps2-an385.conf | 19 +++++++++++++++++++
 3 files changed, 32 insertions(+)
 create mode 100644 ci/mps2-an385.yml
 create mode 100644 meta-zephyr-bsp/conf/machine/mps2-an385.conf

diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 031b5c5..b7de43a 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -77,6 +77,13 @@ frdm-kw41z:
 intel-x86-64:
   extends: .build
 
+mps2-an385:
+  extends: .build
+  parallel:
+    matrix:
+      - TOOLCHAIN: [default, zephyr-toolchain]
+        TESTING: testimage
+
 nrf52840-mdk-usb-dongle:
   extends: .build
 
diff --git a/ci/mps2-an385.yml b/ci/mps2-an385.yml
new file mode 100644
index 0000000..e536118
--- /dev/null
+++ b/ci/mps2-an385.yml
@@ -0,0 +1,6 @@
+header:
+  version: 11
+  includes:
+    - ci/base.yml
+
+machine: mps2-an385
diff --git a/meta-zephyr-bsp/conf/machine/mps2-an385.conf b/meta-zephyr-bsp/conf/machine/mps2-an385.conf
new file mode 100644
index 0000000..159e1bd
--- /dev/null
+++ b/meta-zephyr-bsp/conf/machine/mps2-an385.conf
@@ -0,0 +1,19 @@
+#@TYPE: Machine
+#@NAME: mps2-an385
+#@DESCRIPTION: Machine for Zephyr BOARD mps2-an385
+
+require conf/machine/include/qemu.inc
+require conf/machine/include/arm/armv7m/tune-cortexm3.inc
+
+TCLIBC = "newlib"
+
+# For runqemu
+QB_SYSTEM_NAME = "qemu-system-arm"
+QB_MACHINE = "-machine mps2-an385"
+QB_CPU = "-cpu cortex-m3"
+QB_GRAPHICS = "-nographic -vga none"
+QB_OPT_APPEND = "-icount shift=7,align=off,sleep=off -rtc clock=vm"
+
+# Zephyr RTOS settings
+ZEPHYR_INHERIT_CLASSES += "zephyr-qemuboot"
+ARCH:mps2-an385 = "arm"
-- 
2.17.1



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

* [meta-zephyr][PATCH 3/6] zephyr-bsp: add support for mps2-an521
  2022-10-07 14:11 [meta-zephyr][PATCH 1/6] zephyr-bsp: add support for qemu-cortex-a9 Jon Mason
  2022-10-07 14:11 ` [meta-zephyr][PATCH 2/6] zephyr-bsp: add support for mps2-an385 Jon Mason
@ 2022-10-07 14:12 ` Jon Mason
  2022-10-07 14:12 ` [meta-zephyr][PATCH 4/6] zephyr-bsp: add support for mps3-an547 Jon Mason
                   ` (3 subsequent siblings)
  5 siblings, 0 replies; 8+ messages in thread
From: Jon Mason @ 2022-10-07 14:12 UTC (permalink / raw)
  To: yocto

Signed-off-by: Jon Mason <jon.mason@arm.com>
---
 .gitlab-ci.yml                               |  7 +++++++
 ci/mps2-an521.yml                            |  6 ++++++
 meta-zephyr-bsp/conf/machine/mps2-an521.conf | 21 ++++++++++++++++++++
 3 files changed, 34 insertions(+)
 create mode 100644 ci/mps2-an521.yml
 create mode 100644 meta-zephyr-bsp/conf/machine/mps2-an521.conf

diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index b7de43a..9c6ac3b 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -84,6 +84,13 @@ mps2-an385:
       - TOOLCHAIN: [default, zephyr-toolchain]
         TESTING: testimage
 
+mps2-an521:
+  extends: .build
+  parallel:
+    matrix:
+      - TOOLCHAIN: [default, zephyr-toolchain]
+        TESTING: testimage
+
 nrf52840-mdk-usb-dongle:
   extends: .build
 
diff --git a/ci/mps2-an521.yml b/ci/mps2-an521.yml
new file mode 100644
index 0000000..13259cf
--- /dev/null
+++ b/ci/mps2-an521.yml
@@ -0,0 +1,6 @@
+header:
+  version: 11
+  includes:
+    - ci/base.yml
+
+machine: mps2-an521
diff --git a/meta-zephyr-bsp/conf/machine/mps2-an521.conf b/meta-zephyr-bsp/conf/machine/mps2-an521.conf
new file mode 100644
index 0000000..acd02be
--- /dev/null
+++ b/meta-zephyr-bsp/conf/machine/mps2-an521.conf
@@ -0,0 +1,21 @@
+#@TYPE: Machine
+#@NAME: mps2-an521
+#@DESCRIPTION: Machine for Zephyr BOARD mps2-an521
+
+DEFAULTTUNE ?= "armv8m-main"
+require conf/machine/include/qemu.inc
+require conf/machine/include/arm/armv8-m/tune-cortexm33.inc
+
+TCLIBC = "newlib"
+
+# For runqemu
+QB_SYSTEM_NAME = "qemu-system-arm"
+QB_MACHINE = "-machine mps2-an521"
+QB_CPU = "-cpu cortex-m33"
+QB_MEM = "-m 16"
+QB_GRAPHICS = "-nographic -vga none"
+QB_OPT_APPEND = "-icount shift=7,align=off,sleep=off -rtc clock=vm"
+
+# Zephyr RTOS settings
+ZEPHYR_INHERIT_CLASSES += "zephyr-qemuboot"
+ARCH:mps2-an521 = "arm"
-- 
2.17.1



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

* [meta-zephyr][PATCH 4/6] zephyr-bsp: add support for mps3-an547
  2022-10-07 14:11 [meta-zephyr][PATCH 1/6] zephyr-bsp: add support for qemu-cortex-a9 Jon Mason
  2022-10-07 14:11 ` [meta-zephyr][PATCH 2/6] zephyr-bsp: add support for mps2-an385 Jon Mason
  2022-10-07 14:12 ` [meta-zephyr][PATCH 3/6] zephyr-bsp: add support for mps2-an521 Jon Mason
@ 2022-10-07 14:12 ` Jon Mason
  2022-10-07 14:12 ` [meta-zephyr][PATCH 5/6] zephyr-bsp: add support for v2m-musca-b1 Jon Mason
                   ` (2 subsequent siblings)
  5 siblings, 0 replies; 8+ messages in thread
From: Jon Mason @ 2022-10-07 14:12 UTC (permalink / raw)
  To: yocto

Signed-off-by: Jon Mason <jon.mason@arm.com>
---
 .gitlab-ci.yml                               |  7 +++++++
 ci/mps3-an547.yml                            |  6 ++++++
 meta-zephyr-bsp/conf/machine/mps3-an547.conf | 20 ++++++++++++++++++++
 3 files changed, 33 insertions(+)
 create mode 100644 ci/mps3-an547.yml
 create mode 100644 meta-zephyr-bsp/conf/machine/mps3-an547.conf

diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 9c6ac3b..538f4ff 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -91,6 +91,13 @@ mps2-an521:
       - TOOLCHAIN: [default, zephyr-toolchain]
         TESTING: testimage
 
+mps3-an547:
+  extends: .build
+  parallel:
+    matrix:
+      - TOOLCHAIN: [default, zephyr-toolchain]
+        TESTING: testimage
+
 nrf52840-mdk-usb-dongle:
   extends: .build
 
diff --git a/ci/mps3-an547.yml b/ci/mps3-an547.yml
new file mode 100644
index 0000000..372ec04
--- /dev/null
+++ b/ci/mps3-an547.yml
@@ -0,0 +1,6 @@
+header:
+  version: 11
+  includes:
+    - ci/base.yml
+
+machine: mps3-an547
diff --git a/meta-zephyr-bsp/conf/machine/mps3-an547.conf b/meta-zephyr-bsp/conf/machine/mps3-an547.conf
new file mode 100644
index 0000000..185c425
--- /dev/null
+++ b/meta-zephyr-bsp/conf/machine/mps3-an547.conf
@@ -0,0 +1,20 @@
+#@TYPE: Machine
+#@NAME: mps3-an547
+#@DESCRIPTION: Machine for Zephyr BOARD mps3-an547
+
+DEFAULTTUNE ?= "armv8-1m-main"
+require conf/machine/include/qemu.inc
+require conf/machine/include/arm/armv8-1m/tune-cortexm55.inc
+
+TCLIBC = "newlib"
+
+# For runqemu
+QB_SYSTEM_NAME = "qemu-system-arm"
+QB_MACHINE = "-machine mps3-an547"
+QB_CPU = "-cpu cortex-m55"
+QB_GRAPHICS = "-nographic -vga none"
+QB_OPT_APPEND = "-icount shift=7,align=off,sleep=off -rtc clock=vm"
+
+# Zephyr RTOS settings
+ZEPHYR_INHERIT_CLASSES += "zephyr-qemuboot"
+ARCH:mps3-an547 = "arm"
-- 
2.17.1



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

* [meta-zephyr][PATCH 5/6] zephyr-bsp: add support for v2m-musca-b1
  2022-10-07 14:11 [meta-zephyr][PATCH 1/6] zephyr-bsp: add support for qemu-cortex-a9 Jon Mason
                   ` (2 preceding siblings ...)
  2022-10-07 14:12 ` [meta-zephyr][PATCH 4/6] zephyr-bsp: add support for mps3-an547 Jon Mason
@ 2022-10-07 14:12 ` Jon Mason
  2022-10-07 14:12 ` [meta-zephyr][PATCH 6/6] zephyr-bsp: add support for v2m-musca-s1 Jon Mason
  2022-10-07 14:19 ` [meta-zephyr][PATCH 1/6] zephyr-bsp: add support for qemu-cortex-a9 Jon Mason
  5 siblings, 0 replies; 8+ messages in thread
From: Jon Mason @ 2022-10-07 14:12 UTC (permalink / raw)
  To: yocto

Signed-off-by: Jon Mason <jon.mason@arm.com>
---
 .gitlab-ci.yml                                |  3 +++
 ci/v2m-musca-b1.yml                           | 10 ++++++++
 .../conf/machine/v2m-musca-b1.conf            | 25 +++++++++++++++++++
 3 files changed, 38 insertions(+)
 create mode 100644 ci/v2m-musca-b1.yml
 create mode 100644 meta-zephyr-bsp/conf/machine/v2m-musca-b1.conf

diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 538f4ff..e3b15ad 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -147,3 +147,6 @@ qemu-x86:
 
 stm32mp157c-dk2:
   extends: .build
+
+v2m-musca-b1:
+  extends: .build
diff --git a/ci/v2m-musca-b1.yml b/ci/v2m-musca-b1.yml
new file mode 100644
index 0000000..a867c4c
--- /dev/null
+++ b/ci/v2m-musca-b1.yml
@@ -0,0 +1,10 @@
+header:
+  version: 11
+  includes:
+    - ci/base.yml
+
+local_conf_header:
+  nonbuilding_tests: |
+    ZEPHYRTESTS:remove = "common sleep poll device queue"
+
+machine: v2m-musca-b1
diff --git a/meta-zephyr-bsp/conf/machine/v2m-musca-b1.conf b/meta-zephyr-bsp/conf/machine/v2m-musca-b1.conf
new file mode 100644
index 0000000..171e899
--- /dev/null
+++ b/meta-zephyr-bsp/conf/machine/v2m-musca-b1.conf
@@ -0,0 +1,25 @@
+# Configuration for Musca-B1 development board
+
+#@TYPE: Machine
+#@NAME: Musca-B1 machine
+#@DESCRIPTION: Machine configuration for Musca-B1
+
+DEFAULTTUNE ?= "armv8m-main"
+require conf/machine/include/arm/armv8-m/tune-cortexm33.inc
+
+# GLIBC will not work with Cortex-M.
+TCLIBC = "newlib"
+
+# For runqemu
+IMAGE_FSTYPES += "ext4"
+IMAGE_CLASSES += "qemuboot"
+QB_SYSTEM_NAME = "qemu-system-arm"
+QB_MACHINE = "-machine musca-b1"
+QB_CPU = "-cpu cortex-m33"
+QB_GRAPHICS = "-nographic -vga none"
+QB_MEM = "512k"
+
+# Zephyr RTOS settings
+ZEPHYR_BOARD = "v2m_musca_b1"
+ZEPHYR_INHERIT_CLASSES += "zephyr-qemuboot"
+ARCH:musca-b1 = "arm"
-- 
2.17.1



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

* [meta-zephyr][PATCH 6/6] zephyr-bsp: add support for v2m-musca-s1
  2022-10-07 14:11 [meta-zephyr][PATCH 1/6] zephyr-bsp: add support for qemu-cortex-a9 Jon Mason
                   ` (3 preceding siblings ...)
  2022-10-07 14:12 ` [meta-zephyr][PATCH 5/6] zephyr-bsp: add support for v2m-musca-b1 Jon Mason
@ 2022-10-07 14:12 ` Jon Mason
  2022-10-07 14:19 ` [meta-zephyr][PATCH 1/6] zephyr-bsp: add support for qemu-cortex-a9 Jon Mason
  5 siblings, 0 replies; 8+ messages in thread
From: Jon Mason @ 2022-10-07 14:12 UTC (permalink / raw)
  To: yocto

Signed-off-by: Jon Mason <jon.mason@arm.com>
---
 .gitlab-ci.yml                                |  3 +++
 ci/v2m-musca-s1.yml                           | 10 ++++++++
 .../conf/machine/v2m-musca-s1.conf            | 23 +++++++++++++++++++
 3 files changed, 36 insertions(+)
 create mode 100644 ci/v2m-musca-s1.yml
 create mode 100644 meta-zephyr-bsp/conf/machine/v2m-musca-s1.conf

diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index e3b15ad..3f0e319 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -150,3 +150,6 @@ stm32mp157c-dk2:
 
 v2m-musca-b1:
   extends: .build
+
+v2m-musca-s1:
+  extends: .build
diff --git a/ci/v2m-musca-s1.yml b/ci/v2m-musca-s1.yml
new file mode 100644
index 0000000..01480e2
--- /dev/null
+++ b/ci/v2m-musca-s1.yml
@@ -0,0 +1,10 @@
+header:
+  version: 11
+  includes:
+    - ci/base.yml
+
+local_conf_header:
+  nonbuilding_tests: |
+    ZEPHYRTESTS:remove = "common sleep poll device queue"
+
+machine: v2m-musca-s1
diff --git a/meta-zephyr-bsp/conf/machine/v2m-musca-s1.conf b/meta-zephyr-bsp/conf/machine/v2m-musca-s1.conf
new file mode 100644
index 0000000..c43d560
--- /dev/null
+++ b/meta-zephyr-bsp/conf/machine/v2m-musca-s1.conf
@@ -0,0 +1,23 @@
+# Configuration for Musca-S1 development board
+
+#@TYPE: Machine
+#@NAME: Musca-S1 machine
+#@DESCRIPTION: Machine configuration for Musca-S1
+
+require conf/machine/include/arm/armv8-m/tune-cortexm33.inc
+
+# GLIBC will not work with Cortex-M.
+TCLIBC = "newlib"
+
+# For runqemu
+IMAGE_FSTYPES += "ext4"
+IMAGE_CLASSES += "qemuboot"
+QB_SYSTEM_NAME = "qemu-system-arm"
+QB_MACHINE = "-machine musca-s1"
+QB_CPU = "-cpu cortex-m33"
+QB_GRAPHICS = "-nographic -vga none"
+QB_MEM = "512k"
+
+# Zephyr RTOS settings
+ZEPHYR_INHERIT_CLASSES += "zephyr-qemuboot"
+ARCH:musca-s1 = "arm"
-- 
2.17.1



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

* Re: [meta-zephyr][PATCH 1/6] zephyr-bsp: add support for qemu-cortex-a9
  2022-10-07 14:11 [meta-zephyr][PATCH 1/6] zephyr-bsp: add support for qemu-cortex-a9 Jon Mason
                   ` (4 preceding siblings ...)
  2022-10-07 14:12 ` [meta-zephyr][PATCH 6/6] zephyr-bsp: add support for v2m-musca-s1 Jon Mason
@ 2022-10-07 14:19 ` Jon Mason
  2022-10-11  3:59   ` [yocto] " Saini, Naveen Kumar
  5 siblings, 1 reply; 8+ messages in thread
From: Jon Mason @ 2022-10-07 14:19 UTC (permalink / raw)
  To: Jon Mason; +Cc: yocto

FYI, the CI for this series can be seen at
https://gitlab.com/jonmason00/meta-zephyr/-/pipelines/660400016

On Fri, Oct 07, 2022 at 10:11:58AM -0400, Jon Mason wrote:
> Signed-off-by: Jon Mason <jon.mason@arm.com>
> ---
>  .gitlab-ci.yml                                |  7 +++++++
>  ci/qemu-cortex-a9.yml                         | 10 ++++++++++
>  .../conf/machine/qemu-cortex-a9.conf          | 20 +++++++++++++++++++
>  3 files changed, 37 insertions(+)
>  create mode 100644 ci/qemu-cortex-a9.yml
>  create mode 100644 meta-zephyr-bsp/conf/machine/qemu-cortex-a9.conf
> 
> diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
> index 5752254..031b5c5 100644
> --- a/.gitlab-ci.yml
> +++ b/.gitlab-ci.yml
> @@ -90,6 +90,13 @@ qemu-cortex-a53:
>        - TOOLCHAIN: [default, zephyr-toolchain]
>          TESTING: testimage
>  
> +qemu-cortex-a9:
> +  extends: .build
> +  parallel:
> +    matrix:
> +      - TOOLCHAIN: [default, zephyr-toolchain]
> +        TESTING: testimage
> +
>  qemu-cortex-m0:
>    extends: .build
>    parallel:
> diff --git a/ci/qemu-cortex-a9.yml b/ci/qemu-cortex-a9.yml
> new file mode 100644
> index 0000000..cc44730
> --- /dev/null
> +++ b/ci/qemu-cortex-a9.yml
> @@ -0,0 +1,10 @@
> +header:
> +  version: 11
> +  includes:
> +    - ci/base.yml
> +
> +local_conf_header:
> +  failing_tests: |
> +    ZEPHYRTESTS:remove = "common queue"
> +
> +machine: qemu-cortex-a9
> diff --git a/meta-zephyr-bsp/conf/machine/qemu-cortex-a9.conf b/meta-zephyr-bsp/conf/machine/qemu-cortex-a9.conf
> new file mode 100644
> index 0000000..9dfee42
> --- /dev/null
> +++ b/meta-zephyr-bsp/conf/machine/qemu-cortex-a9.conf
> @@ -0,0 +1,20 @@
> +#@TYPE: Machine
> +#@NAME: qemu-cortex-a9
> +#@DESCRIPTION: Machine for Zephyr BOARD qemu_cortex_a9
> +
> +DEFAULTTUNE ?= "cortexa9"
> +require conf/machine/include/qemu.inc
> +require conf/machine/include/arm/armv7a/tune-cortexa9.inc
> +
> +TCLIBC = "newlib"
> +
> +# For runqemu
> +QB_SYSTEM_NAME = "qemu-system-arm"
> +QB_MACHINE = "-machine xilinx-zynq-a9"
> +QB_CPU = "-cpu cortex-a9"
> +QB_GRAPHICS = "-nographic -vga none"
> +QB_OPT_APPEND = "-icount shift=3,align=off,sleep=off -rtc clock=vm"
> +
> +# Zephyr RTOS settings
> +ZEPHYR_INHERIT_CLASSES += "zephyr-qemuboot"
> +ARCH:qemu-cortex-a9 = "arm"
> -- 
> 2.17.1
> 
> 


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

* RE: [yocto] [meta-zephyr][PATCH 1/6] zephyr-bsp: add support for qemu-cortex-a9
  2022-10-07 14:19 ` [meta-zephyr][PATCH 1/6] zephyr-bsp: add support for qemu-cortex-a9 Jon Mason
@ 2022-10-11  3:59   ` Saini, Naveen Kumar
  0 siblings, 0 replies; 8+ messages in thread
From: Saini, Naveen Kumar @ 2022-10-11  3:59 UTC (permalink / raw)
  To: Jon Mason, Jon Mason; +Cc: yocto@lists.yoctoproject.org

While running qemu, it throws following error:

runqemu - ERROR - Failed to run qemu: qemu-system-arm: -device virtio-rng-pci,rng=rng0: No 'PCI' bus found for device 'virtio-rng-pci'

> -----Original Message-----
> From: yocto@lists.yoctoproject.org <yocto@lists.yoctoproject.org> On
> Behalf Of Jon Mason
> Sent: Friday, October 7, 2022 10:20 PM
> To: Jon Mason <jon.mason@arm.com>
> Cc: yocto@lists.yoctoproject.org
> Subject: Re: [yocto] [meta-zephyr][PATCH 1/6] zephyr-bsp: add support for
> qemu-cortex-a9
> 
> FYI, the CI for this series can be seen at
> https://gitlab.com/jonmason00/meta-zephyr/-/pipelines/660400016
> 
> On Fri, Oct 07, 2022 at 10:11:58AM -0400, Jon Mason wrote:
> > Signed-off-by: Jon Mason <jon.mason@arm.com>
> > ---
> >  .gitlab-ci.yml                                |  7 +++++++
> >  ci/qemu-cortex-a9.yml                         | 10 ++++++++++
> >  .../conf/machine/qemu-cortex-a9.conf          | 20 +++++++++++++++++++
> >  3 files changed, 37 insertions(+)
> >  create mode 100644 ci/qemu-cortex-a9.yml  create mode 100644
> > meta-zephyr-bsp/conf/machine/qemu-cortex-a9.conf
> >
> > diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 5752254..031b5c5
> > 100644
> > --- a/.gitlab-ci.yml
> > +++ b/.gitlab-ci.yml
> > @@ -90,6 +90,13 @@ qemu-cortex-a53:
> >        - TOOLCHAIN: [default, zephyr-toolchain]
> >          TESTING: testimage
> >
> > +qemu-cortex-a9:
> > +  extends: .build
> > +  parallel:
> > +    matrix:
> > +      - TOOLCHAIN: [default, zephyr-toolchain]
> > +        TESTING: testimage
> > +
> >  qemu-cortex-m0:
> >    extends: .build
> >    parallel:
> > diff --git a/ci/qemu-cortex-a9.yml b/ci/qemu-cortex-a9.yml new file
> > mode 100644 index 0000000..cc44730
> > --- /dev/null
> > +++ b/ci/qemu-cortex-a9.yml
> > @@ -0,0 +1,10 @@
> > +header:
> > +  version: 11
> > +  includes:
> > +    - ci/base.yml
> > +
> > +local_conf_header:
> > +  failing_tests: |
> > +    ZEPHYRTESTS:remove = "common queue"
> > +
> > +machine: qemu-cortex-a9
> > diff --git a/meta-zephyr-bsp/conf/machine/qemu-cortex-a9.conf
> > b/meta-zephyr-bsp/conf/machine/qemu-cortex-a9.conf
> > new file mode 100644
> > index 0000000..9dfee42
> > --- /dev/null
> > +++ b/meta-zephyr-bsp/conf/machine/qemu-cortex-a9.conf
> > @@ -0,0 +1,20 @@
> > +#@TYPE: Machine
> > +#@NAME: qemu-cortex-a9
> > +#@DESCRIPTION: Machine for Zephyr BOARD qemu_cortex_a9
> > +
> > +DEFAULTTUNE ?= "cortexa9"
> > +require conf/machine/include/qemu.inc require
> > +conf/machine/include/arm/armv7a/tune-cortexa9.inc
> > +
> > +TCLIBC = "newlib"
> > +
> > +# For runqemu
> > +QB_SYSTEM_NAME = "qemu-system-arm"
> > +QB_MACHINE = "-machine xilinx-zynq-a9"
> > +QB_CPU = "-cpu cortex-a9"
> > +QB_GRAPHICS = "-nographic -vga none"
> > +QB_OPT_APPEND = "-icount shift=3,align=off,sleep=off -rtc clock=vm"
> > +
> > +# Zephyr RTOS settings
> > +ZEPHYR_INHERIT_CLASSES += "zephyr-qemuboot"
> > +ARCH:qemu-cortex-a9 = "arm"
> > --
> > 2.17.1
> >
> >


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

end of thread, other threads:[~2022-10-11  4:00 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-10-07 14:11 [meta-zephyr][PATCH 1/6] zephyr-bsp: add support for qemu-cortex-a9 Jon Mason
2022-10-07 14:11 ` [meta-zephyr][PATCH 2/6] zephyr-bsp: add support for mps2-an385 Jon Mason
2022-10-07 14:12 ` [meta-zephyr][PATCH 3/6] zephyr-bsp: add support for mps2-an521 Jon Mason
2022-10-07 14:12 ` [meta-zephyr][PATCH 4/6] zephyr-bsp: add support for mps3-an547 Jon Mason
2022-10-07 14:12 ` [meta-zephyr][PATCH 5/6] zephyr-bsp: add support for v2m-musca-b1 Jon Mason
2022-10-07 14:12 ` [meta-zephyr][PATCH 6/6] zephyr-bsp: add support for v2m-musca-s1 Jon Mason
2022-10-07 14:19 ` [meta-zephyr][PATCH 1/6] zephyr-bsp: add support for qemu-cortex-a9 Jon Mason
2022-10-11  3:59   ` [yocto] " Saini, Naveen Kumar

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.