machine: mps2/mps3: add missing QEMU and Zephyr board settings

Update MPS2 and MPS3 machine configurations:

- Add ZEPHYR_BOARD with the current Zephyr board identifiers
  (mps2/an385, mps2/an521/cpu0, mps3/corstone300/an547).
- Add QB_RNG = "" to disable virtio-rng, which is unsupported on
  these machines.
- Add QB_MEM to explicitly set memory (16 MB for mps2-an385,
  2048 MB for mps3-an547; mps2-an521 already had it).

Signed-off-by: Charles Dias <charlesdias.cd@outlook.com>
Signed-off-by: Lee Chee Yang <chee.yang.lee@intel.com>
This commit is contained in:
Charles Dias
2026-02-08 18:44:28 -03:00
committed by Lee Chee Yang
parent 77805d1faf
commit d53435096b
3 changed files with 8 additions and 0 deletions

View File

@@ -11,8 +11,11 @@ TCLIBC = "newlib"
QB_SYSTEM_NAME = "qemu-system-arm"
QB_MACHINE = "-machine mps2-an385"
QB_CPU = "-cpu cortex-m3"
QB_MEM = "-m 16"
QB_GRAPHICS = "-vga none"
QB_OPT_APPEND = "-icount shift=7,align=off,sleep=off -rtc clock=vm"
QB_RNG = ""
# Zephyr RTOS settings
ZEPHYR_BOARD = "mps2/an385"
ZEPHYR_INHERIT_CLASSES += "zephyr-qemuboot"

View File

@@ -15,6 +15,8 @@ QB_CPU = "-cpu cortex-m33"
QB_MEM = "-m 16"
QB_GRAPHICS = "-vga none"
QB_OPT_APPEND = "-icount shift=7,align=off,sleep=off -rtc clock=vm"
QB_RNG = ""
# Zephyr RTOS settings
ZEPHYR_BOARD = "mps2/an521/cpu0"
ZEPHYR_INHERIT_CLASSES += "zephyr-qemuboot"

View File

@@ -12,8 +12,11 @@ TCLIBC = "newlib"
QB_SYSTEM_NAME = "qemu-system-arm"
QB_MACHINE = "-machine mps3-an547"
QB_CPU = "-cpu cortex-m55"
QB_MEM = "-m 2048"
QB_GRAPHICS = "-vga none"
QB_OPT_APPEND = "-icount shift=7,align=off,sleep=off -rtc clock=vm"
QB_RNG = ""
# Zephyr RTOS settings
ZEPHYR_BOARD = "mps3/corstone300/an547"
ZEPHYR_INHERIT_CLASSES += "zephyr-qemuboot"