[U-Boot] [PATCH 0/2] Board for QEMU's '-machine virt' on ARM

Tuomas Tynkkynen tuomas.tynkkynen at iki.fi
Wed Aug 30 08:31:33 UTC 2017


Hi,

Sending this out in a slightly unfinished state to gauge if there's
interest in having this included in U-Boot. Basically this allows
running U-Boot under QEMU's '-machine virt' emulation, thus making it
possible to boot Linux distros that use the extlinux.conf booting method
under '-machine virt'.

To some extent, this is currently possible by emulating and running
U-Boot on some of the Versatile boards, but (IIRC) they have some
limitations like limiting to 1GB of RAM or lacking support for PCI.

Tuomas Tynkkynen (2):
  PCI: Add driver for a 'pci-host-ecam-generic' host controller
  ARM: Add a new arch + board for QEMU's 'virt' machine

 arch/arm/Kconfig                |  10 +++
 arch/arm/mach-qemu/Kconfig      |   9 ++
 board/qemu-arm/Makefile         |   5 ++
 board/qemu-arm/qemu-arm.c       |  35 ++++++++
 configs/qemu_arm_defconfig      |  27 ++++++
 drivers/pci/Kconfig             |   8 ++
 drivers/pci/Makefile            |   1 +
 drivers/pci/pcie_ecam_generic.c | 193 ++++++++++++++++++++++++++++++++++++++++
 include/configs/qemu-arm.h      |  63 +++++++++++++
 9 files changed, 351 insertions(+)
 create mode 100644 arch/arm/mach-qemu/Kconfig
 create mode 100644 board/qemu-arm/Makefile
 create mode 100644 board/qemu-arm/qemu-arm.c
 create mode 100644 configs/qemu_arm_defconfig
 create mode 100644 drivers/pci/pcie_ecam_generic.c
 create mode 100644 include/configs/qemu-arm.h

-- 
2.13.0



More information about the U-Boot mailing list