Skip to content

hw/core/gpio.c:108: qdev_get_gpio_in_named: Assertion n >= 0 && n < gpio_list->num_in failed

Host environment

  • Operating system: Linux
  • Architecture: x86
  • QEMU flavor: qemu-system-aarch64
  • QEMU version: commit ba49d760
  • QEMU command line:
    ./qemu-system-aarch64 -display none -machine qcom-dc-scm-v1-bmc -device max1111

Emulated/Virtualized environment

  • Operating system: n/a
  • Architecture: ARM

Description of problem

It's quite easy to trigger the assertion hw/core/gpio.c:108: qdev_get_gpio_in_named: Assertion n >= 0 && n < gpio_list->num_in failed

Steps to reproduce

Run one of the following command lines:

  1. ./qemu-system-aarch64 -display none -machine qcom-dc-scm-v1-bmc -device max1111
  2. ./qemu-system-aarch64 -display none -machine fby35-bmc -device max1110
  3. ./qemu-system-aarch64 -display none -machine yosemitev2-bmc -device corgi-ssp
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information