public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
* [U-Boot] [PATCH v2 0/6] Board for QEMU's '-machine virt' on ARM
@ 2017-09-19 20:18 Tuomas Tynkkynen
  2017-09-19 20:18 ` [U-Boot] [PATCH v2 1/6] pci: Add helper for implementing memory-mapped config space accesses Tuomas Tynkkynen
                   ` (5 more replies)
  0 siblings, 6 replies; 23+ messages in thread
From: Tuomas Tynkkynen @ 2017-09-19 20:18 UTC (permalink / raw)
  To: u-boot

These patches add a board for 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.

Changes in v2:
 - Introduce helper functions for implementing memory-mapped PCI config
   space accesses + refactor two existing drivers to use them.
 - Addresses Bin Meng's review comments (in patches 4 & 5)
 - Hook up test.py to run on Travis CI (patch 6). This requires
   https://github.com/swarren/uboot-test-hooks/pull/14 to go in first.

Travis run with the uboot-test-hooks hacked to point to my local
repository: https://travis-ci.org/dezgeg/u-boot/builds/276392558

Tuomas Tynkkynen (6):
  pci: Add helper for implementing memory-mapped config space accesses
  pci: xilinx: Use pci_generic_mmap_{read,write}_config()
  pci: layerscape: Use pci_generic_mmap_{read,write}_config
  PCI: Add driver for a 'pci-host-ecam-generic' host controller
  ARM: Add a new arch + board for QEMU's 'virt' machine
  travis.yml: Add job for running test.py in qemu_arm

 .travis.yml                          |   5 ++
 arch/arm/Kconfig                     |  10 +++
 arch/arm/mach-qemu/Kconfig           |  12 +++
 board/emulation/qemu-arm/MAINTAINERS |   6 ++
 board/emulation/qemu-arm/Makefile    |   5 ++
 board/emulation/qemu-arm/qemu-arm.c  |  33 ++++++++
 configs/qemu_arm_defconfig           |  28 +++++++
 drivers/pci/Kconfig                  |   8 ++
 drivers/pci/Makefile                 |   1 +
 drivers/pci/pci-uclass.c             |  58 ++++++++++++++
 drivers/pci/pcie_ecam_generic.c      | 143 +++++++++++++++++++++++++++++++++++
 drivers/pci/pcie_layerscape.c        |  68 +++++------------
 drivers/pci/pcie_xilinx.c            |  53 ++-----------
 include/configs/qemu-arm.h           |  58 ++++++++++++++
 include/pci.h                        |  51 +++++++++++++
 15 files changed, 442 insertions(+), 97 deletions(-)
 create mode 100644 arch/arm/mach-qemu/Kconfig
 create mode 100644 board/emulation/qemu-arm/MAINTAINERS
 create mode 100644 board/emulation/qemu-arm/Makefile
 create mode 100644 board/emulation/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

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

end of thread, other threads:[~2017-10-07 14:05 UTC | newest]

Thread overview: 23+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-09-19 20:18 [U-Boot] [PATCH v2 0/6] Board for QEMU's '-machine virt' on ARM Tuomas Tynkkynen
2017-09-19 20:18 ` [U-Boot] [PATCH v2 1/6] pci: Add helper for implementing memory-mapped config space accesses Tuomas Tynkkynen
2017-09-20  5:01   ` Bin Meng
2017-10-07 13:07   ` [U-Boot] [U-Boot, v2, " Tom Rini
2017-09-19 20:18 ` [U-Boot] [PATCH v2 2/6] pci: xilinx: Use pci_generic_mmap_{read, write}_config() Tuomas Tynkkynen
2017-09-20  5:01   ` Bin Meng
2017-10-07 13:07   ` [U-Boot] [U-Boot, v2, " Tom Rini
2017-09-19 20:18 ` [U-Boot] [PATCH v2 3/6] pci: layerscape: Use pci_generic_mmap_{read, write}_config Tuomas Tynkkynen
2017-09-20  5:01   ` Bin Meng
2017-10-07 13:07   ` [U-Boot] [U-Boot, v2, " Tom Rini
2017-09-19 20:18 ` [U-Boot] [PATCH v2 4/6] PCI: Add driver for a 'pci-host-ecam-generic' host controller Tuomas Tynkkynen
2017-09-20  5:01   ` Bin Meng
2017-10-07 13:07   ` [U-Boot] [U-Boot, v2, " Tom Rini
2017-09-19 20:18 ` [U-Boot] [PATCH v2 5/6] ARM: Add a new arch + board for QEMU's 'virt' machine Tuomas Tynkkynen
2017-09-20  5:02   ` Bin Meng
2017-09-23 10:32     ` Tuomas Tynkkynen
2017-09-27 20:38       ` Peter Robinson
2017-10-07 13:08   ` [U-Boot] [U-Boot, v2, " Tom Rini
2017-10-07 13:27     ` Bin Meng
2017-10-07 14:05       ` Tom Rini
2017-09-19 20:18 ` [U-Boot] [PATCH v2 6/6] travis.yml: Add job for running test.py in qemu_arm Tuomas Tynkkynen
2017-09-20  5:02   ` Bin Meng
2017-10-07 13:08   ` [U-Boot] [U-Boot, v2, " Tom Rini

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox