armv7: Add emulation/qemu-armv7 board.
commit7635a60ca848b50ff4a0ac85a667adc7151a5abf
authorHung-Te Lin <hungte@chromium.org>
Mon, 11 Feb 2013 16:07:38 +0000 (12 00:07 +0800)
committerRonald G. Minnich <rminnich@gmail.com>
Tue, 12 Feb 2013 02:02:45 +0000 (12 03:02 +0100)
tree42d7db8bd1c1bcacd5d1c4d2b70ca0b8ad3a6da5
parentbc64cae995ddab369289e19b41501df5dbc58751
armv7: Add emulation/qemu-armv7 board.

To simplify testing ARM implementation, we need a QEMU configuration for
ARM. The qemu-armv7 provides serial output, CBFS simulation, and full
boot path (bootblock, romstage, ramstage) to verify the boot loader
functionality.

To run with QEMU:
 export QEMU_AUDIO_DRV=none
 qemu-system-arm -M vexpress-a9 -m 1024M -nographic -kernel build/coreboot.rom

Verified to boot until ramstage loaded successfully by QEMU v1.0.50.

Change-Id: I1f23ffaf408199811a0756236821c7e0f2a85004
Signed-off-by: Hung-Te Lin <hungte@chromium.org>
Reviewed-on: http://review.coreboot.org/2354
Reviewed-by: David Hendricks <dhendrix@chromium.org>
Tested-by: build bot (Jenkins)
Reviewed-by: Ronald G. Minnich <rminnich@gmail.com>
19 files changed:
src/cpu/Kconfig
src/cpu/Makefile.inc
src/cpu/armltd/Kconfig [new file with mode: 0644]
src/cpu/armltd/Makefile.inc [new file with mode: 0644]
src/cpu/armltd/cortex-a9/Kconfig [new file with mode: 0644]
src/cpu/armltd/cortex-a9/Makefile.inc [new file with mode: 0644]
src/cpu/armltd/cortex-a9/bootblock.c [new file with mode: 0644]
src/cpu/armltd/cortex-a9/cache.c [new file with mode: 0644]
src/mainboard/emulation/Kconfig
src/mainboard/emulation/qemu-armv7/Kconfig [new file with mode: 0644]
src/mainboard/emulation/qemu-armv7/Makefile.inc [new file with mode: 0644]
src/mainboard/emulation/qemu-armv7/bootblock.c [new file with mode: 0644]
src/mainboard/emulation/qemu-armv7/devicetree.cb [new file with mode: 0644]
src/mainboard/emulation/qemu-armv7/mainboard.c [new file with mode: 0644]
src/mainboard/emulation/qemu-armv7/media.c [new file with mode: 0644]
src/mainboard/emulation/qemu-armv7/ramstage.c [new file with mode: 0644]
src/mainboard/emulation/qemu-armv7/romstage.c [new file with mode: 0644]
src/mainboard/emulation/qemu-armv7/timer.c [new file with mode: 0644]
src/mainboard/emulation/qemu-armv7/uart.c [new file with mode: 0644]