[PATCH 0/3] QEMU: Add ASPEED AST2400 machine model

Andrew Jeffery andrew at aj.id.au
Wed Feb 3 16:46:30 AEDT 2016


Hi all,

This patchset for QEMU implements enough of the AST2400 machine model to boot a
aspeed_defconfig kernel. This mostly boils down to wiring together the ASPEED
timer and AVIC, and hooking up a UART. The device model patches in turn only
partially implement the hardware features of the timer and AVIC, again just
enough to boot the kernel.

This is the first time I've implemented QEMU device models so no doubt the
patches contain misunderstandings and/or oversights - happy to hear any
feedback! 

Cheers,

Andrew

Andrew Jeffery (3):
  timers: Add ASPEED AST2400 timer device model
  intc: Add (new) ASPEED AST2400 AVIC device model
  ast2400: Add ASPEED AST2400 machine type

 default-configs/arm-softmmu.mak |   2 +
 hw/arm/Makefile.objs            |   1 +
 hw/arm/ast2400.c                | 126 +++++++++++++++++
 hw/intc/Makefile.objs           |   1 +
 hw/intc/aspeed_vic.c            | 288 ++++++++++++++++++++++++++++++++++++++
 hw/timer/Makefile.objs          |   2 +
 hw/timer/aspeed_timer.c         | 301 ++++++++++++++++++++++++++++++++++++++++
 include/hw/intc/aspeed_vic.h    |  42 ++++++
 include/hw/timer/aspeed_timer.h |  52 +++++++
 9 files changed, 815 insertions(+)
 create mode 100644 hw/arm/ast2400.c
 create mode 100644 hw/intc/aspeed_vic.c
 create mode 100644 hw/timer/aspeed_timer.c
 create mode 100644 include/hw/intc/aspeed_vic.h
 create mode 100644 include/hw/timer/aspeed_timer.h

-- 
2.5.0



More information about the openbmc mailing list