public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
* [U-Boot] [PATCH v2 0/6] PPC 85xx: Add support for QEMU's ppce500 PV machine
@ 2014-01-31 11:16 Alexander Graf
  2014-01-31 11:16 ` [U-Boot] [PATCH v2 1/6] PPC 85xx: Detect e500v2 / e500mc during runtime Alexander Graf
                   ` (5 more replies)
  0 siblings, 6 replies; 35+ messages in thread
From: Alexander Graf @ 2014-01-31 11:16 UTC (permalink / raw)
  To: u-boot

In QEMU we implement a PV machine type called "ppce500". That board is able
to run any e500+ FSL cores (e500v2, e500mc, e5500, e6500).

It is heavily inspired by the MPC8544DS SoC and board combination, but
implements only the bare minimum to make Linux happy enough to drive a
virtual machine.

This patch set implements support for this PV machine type in U-Boot, enabling
users to run their virtual machines with netboot, u-boot payload binaries or
other fun things they come up with.

---

v1 -> v2:

  - Write device tree offset directly into global variable
  - use r4 rather than r2 for that
  - access fdt directly from in-memory copy
  - remove unneeded header includes
  - clean up pci enumeration
  - coding style fixes
  - populate and only use fdt_addr_r
  - remove unused exported functions
  - remove unused TLB0 entries
  - make TLB1 I/O maps non-executable
  - remove unused defines in board header
  - make -kernel boot variables more clear
  - remove TLB0 invalidation
  - use tlb1.14 for temporary as=1 map
  - use CONFIG_SYS_MPC85XX_NO_RESETVEC
  - store fdt pointer in gd through cpu_init_early_f()
  - replace fixup_tlb1() with dynamic TLB creation hook
  - find CCSRBAR from device tree
  - find PCI controllers from device tree
  - find CPU speed from device tree

Alexander Graf (6):
  PPC 85xx: Detect e500v2 / e500mc during runtime
  PPC 85xx: Add ELF entry point
  PPC 85xx: Add qemu-ppce500 machine
  PPC 85xx: Find CCSRBAR on ppce500 from device tree
  PPC 85xx: Find PCI host controllers on ppce500 from device tree
  PPC 85xx: Find CPU speed on ppce500 from device tree

 arch/powerpc/cpu/mpc85xx/Makefile           |    2 +
 arch/powerpc/cpu/mpc85xx/cpu_init_early.c   |   10 +-
 arch/powerpc/cpu/mpc85xx/fixed_ivor.S       |   21 +-
 arch/powerpc/cpu/mpc85xx/start.S            |   13 +
 arch/powerpc/cpu/mpc85xx/tlb.c              |    4 +
 arch/powerpc/cpu/mpc85xx/u-boot.lds         |    1 +
 arch/powerpc/include/asm/config_mpc85xx.h   |    4 +
 board/freescale/qemu-ppce500/Makefile       |   10 +
 board/freescale/qemu-ppce500/qemu-ppce500.c |  452 +++++++++++++++++++++++++++
 board/freescale/qemu-ppce500/tlb.c          |   16 +
 boards.cfg                                  |    1 +
 include/configs/qemu-ppce500.h              |  207 ++++++++++++
 12 files changed, 735 insertions(+), 6 deletions(-)
 create mode 100644 board/freescale/qemu-ppce500/Makefile
 create mode 100644 board/freescale/qemu-ppce500/qemu-ppce500.c
 create mode 100644 board/freescale/qemu-ppce500/tlb.c
 create mode 100644 include/configs/qemu-ppce500.h

-- 
1.7.10.4

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

end of thread, other threads:[~2014-02-07 18:46 UTC | newest]

Thread overview: 35+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-01-31 11:16 [U-Boot] [PATCH v2 0/6] PPC 85xx: Add support for QEMU's ppce500 PV machine Alexander Graf
2014-01-31 11:16 ` [U-Boot] [PATCH v2 1/6] PPC 85xx: Detect e500v2 / e500mc during runtime Alexander Graf
2014-01-31 18:05   ` York Sun
2014-02-04  1:59   ` Scott Wood
2014-02-06 11:40     ` Alexander Graf
2014-02-07  0:51       ` Scott Wood
2014-02-07 11:52         ` Alexander Graf
2014-02-07 16:54           ` Scott Wood
2014-01-31 11:16 ` [U-Boot] [PATCH v2 2/6] PPC 85xx: Add ELF entry point Alexander Graf
2014-01-31 11:16 ` [U-Boot] [PATCH v2 3/6] PPC 85xx: Add qemu-ppce500 machine Alexander Graf
2014-01-31 18:05   ` York Sun
2014-02-03 23:24     ` Scott Wood
2014-02-04  2:19   ` Scott Wood
2014-02-06 12:48     ` Alexander Graf
2014-02-06 22:55       ` Scott Wood
2014-02-06 23:28         ` Alexander Graf
2014-02-06 23:33           ` Scott Wood
2014-01-31 11:16 ` [U-Boot] [PATCH v2 4/6] PPC 85xx: Find CCSRBAR on ppce500 from device tree Alexander Graf
2014-02-04  2:24   ` Scott Wood
2014-02-06 13:02     ` Alexander Graf
2014-01-31 11:16 ` [U-Boot] [PATCH v2 5/6] PPC 85xx: Find PCI host controllers " Alexander Graf
2014-02-04  2:47   ` Scott Wood
2014-02-06 13:26     ` Alexander Graf
2014-02-06 22:52       ` Scott Wood
2014-02-07 12:25         ` Alexander Graf
2014-02-07 18:43           ` Scott Wood
2014-02-07 14:54         ` Alexander Graf
2014-02-07 15:00           ` [U-Boot] [Qemu-ppc] " Alexander Graf
2014-02-07 18:46             ` Scott Wood
2014-01-31 11:16 ` [U-Boot] [PATCH v2 6/6] PPC 85xx: Find CPU speed " Alexander Graf
2014-02-04  2:52   ` Scott Wood
2014-02-06 11:11     ` Alexander Graf
2014-02-07  1:33       ` Scott Wood
2014-02-07 11:50         ` Alexander Graf
2014-02-07 16:51           ` Scott Wood

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