Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Import QEMU v1.3.1-metag3
Import QEMU v1.3.1-metag3-public-03b32b4 release from
http://imgtec.com/meta_insider/metaflow-sdk.asp.

This includes support for:
- Meta system level (softmmu) emulation
- Meta linux-user emulation
- Meta TCG backend.

Architectural features supported
- Meta 1 ATP and Meta 2 HTP cores
- DSP instruction set
- FPU instruction set
- MiniM compressed instruction set

It also includes partial hardware emulation for:
- Various Frontier Silicon Chorus 2 SoC peripherals
  - DMAC
  - IMG SPI
  - IMG PDP (Pixel Display Pipeline)
- Various Toumaz Xenif TZ1090 SoC peripherals
  - IMG MDC (DMA controller)
  - IMG SPI
  - IMG SCB (I2C)
  - IMG PDC (PowerDown Controller)
  - IMG PDP (Pixel Display Pipeline)
  - Synopsys DesignWare MMC
- METAmorph development board (01DG)
- Comet (TZ1090) METAmorph development board (01SP)
- MiniMorph development board (01TT - compatible with 01SP)
- Various external peripherals
  - Atmel Dataflash on SPI
  - SII9022A I2C HDMI encoder
  - QT5480 I2C touchscreen controller

Other features
- Direct loading of IMG LDR binaries, allowing a special version of
  meta-bootloader to be used to bypass the boot ROM and secondary loader
  so that a Kernel and command line can be loaded directly.
- Meta DA (JTAG Debug Adapter) BIOS calls
  - DA data channels (used for TTY and kernel log)
  - DA file server
  - DA LogF messages
- Trace output, including some compatibility with Meta Hardware Trace
  features.
- SAP (simulator access protocol) stub for debugging with Codescape
  Debugger.

A big thanks goes to Paul Burton for adding MiniM, FPU, and DSP support
(with associated refactoring) and various peripherals, and Paul Clothier
for implementing the Meta TCG backend.

Signed-off-by: James Hogan <james.hogan@imgtec.com>
  • Loading branch information
James Hogan committed Nov 4, 2013
1 parent 04024de commit 9355e4b
Show file tree
Hide file tree
Showing 158 changed files with 44,558 additions and 436 deletions.
5 changes: 5 additions & 0 deletions Makefile.objs
Expand Up @@ -208,6 +208,11 @@ trace-obj-y += trace/control.o

$(trace-obj-y): $(GENERATED_HEADERS)

######################################################################
# metatrace

metatrace-obj-y += metatrace.o

######################################################################
# smartcard

Expand Down
2 changes: 2 additions & 0 deletions Makefile.target
Expand Up @@ -151,6 +151,8 @@ nested-vars += obj-y
# This resolves all nested paths, so it must come last
include $(SRC_PATH)/Makefile.objs

obj-y += $(metatrace-obj-y)

all-obj-y = $(obj-y)
all-obj-y += $(addprefix ../, $(universal-obj-y))

Expand Down
2 changes: 2 additions & 0 deletions arch_init.c
Expand Up @@ -98,6 +98,8 @@ int graphic_depth = 15;
#define QEMU_ARCH QEMU_ARCH_XTENSA
#elif defined(TARGET_UNICORE32)
#define QEMU_ARCH QEMU_ARCH_UNICORE32
#elif defined(TARGET_META)
#define QEMU_ARCH QEMU_ARCH_META
#endif

const uint32_t arch_type = QEMU_ARCH;
Expand Down
1 change: 1 addition & 0 deletions arch_init.h
Expand Up @@ -20,6 +20,7 @@ enum {
QEMU_ARCH_XTENSA = 4096,
QEMU_ARCH_OPENRISC = 8192,
QEMU_ARCH_UNICORE32 = 0x4000,
QEMU_ARCH_META = 0x8000,
};

extern const uint32_t arch_type;
Expand Down

0 comments on commit 9355e4b

Please sign in to comment.