Target support for qemu -M mips
Subsystems (2)
PATCH 1/1 Target support for qemu -M mips
With serial, NE2000, IDE support. Tested in big-endian mode. Memory size hard-coded to 128M for now, so don't play with the -m option.
Signed-off-by Vlad Lungu <[email protected]>
--- MAKEALL | 1 + Makefile | 6 ++ board/qemu-mips/Makefile | 45 ++++++++++ board/qemu-mips/README | 11 +++ board/qemu-mips/config.mk | 11 +++ board/qemu-mips/flash.c | 43 ++++++++++ board/qemu-mips/lowlevel_init.S | 41 +++++++++ board/qemu-mips/qemu-mips.c | 83 +++++++++++++++++++ board/qemu-mips/u-boot.lds | 69 ++++++++++++++++ include/configs/qemu-mips.h | 172 +++++++++++++++++++++++++++++++++++++++ 10 files changed, 482 insertions(+), 0 deletions(-) create mode 100644 board/qemu-mips/Makefile create mode 100644 board/qemu-mips/README create mode 100644 board/qemu-mips/config.mk create mode 100644 board/qemu-mips/flash.c create mode 100644 board/qemu-mips/lowlevel_init.S create mode 100644 board/qemu-mips/qemu-mips.c create mode 100644 board/qemu-mips/u-boot.lds create mode 100644 include/configs/qemu-mips.h
MAKEALL +1 -0
@@ -521,6 +521,7 @@ LIST_arm=" \ LIST_mips4kc=" \ incaip \ + qemu_mips \ " LIST_mips5kc=" \
Makefile +6 -0
@@ -2444,6 +2444,12 @@ pb1000_config : unconfig @echo "#define CONFIG_PB1000 1" >>$(obj)include/config.h @$(MKCONFIG) -a pb1x00 mips mips pb1x00 +qemu_mips_config : unconfig + @mkdir -p $(obj)include + @ >$(obj)include/config.h + @echo "#define CONFIG_QEMU_MIPS 1" >>$(obj)include/config.h + @$(MKCONFIG) -a qemu-mips mips mips qemu-mips + ######################################################################### ## MIPS64 5Kc #########################################################################
board/qemu-mips/Makefile new file +45 -0
45 lines not on this page · raw message
board/qemu-mips/README new file +11 -0
@@ -0,0 +1,11 @@ +By Vlad Lungu vlad at comsys.ro 2007-Oct-01 +---------------------------------------- +Qemu is a full system emulator. See + +http://fabrice.bellard.free.fr/qemu + +Limitations & comments +---------------------- +Supports the "-m mips" configuration of qemu: serial,NE2000,IDE. +Support is big endian only for now (or at least this is what I tested). +Derived from au1x00 with a lot of things cut out.
board/qemu-mips/config.mk new file +11 -0
@@ -0,0 +1,11 @@ + +# +# Qemu -M mips system emulator +# See http://fabrice.bellard.free.fr/qemu +# + +# ROM version +TEXT_BASE = 0xbfc00000 + +# RAM version +#TEXT_BASE = 0x80001000
board/qemu-mips/flash.c new file +43 -0
43 lines not on this page · raw message
board/qemu-mips/lowlevel_init.S new file +41 -0
41 lines not on this page · raw message
board/qemu-mips/qemu-mips.c new file +83 -0
83 lines not on this page · raw message
board/qemu-mips/u-boot.lds new file +69 -0
69 lines not on this page · raw message
include/configs/qemu-mips.h new file +172 -0
172 lines not on this page · raw message
Signature · 1 line
1.5.2.2