add an OLPC target for qemu
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@2422 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
This commit is contained in:
parent
4d6810c60c
commit
830a79eeab
|
@ -6,6 +6,9 @@ uses HAVE_HARD_RESET
|
|||
uses HAVE_OPTION_TABLE
|
||||
uses USE_OPTION_TABLE
|
||||
uses CONFIG_COMPRESS
|
||||
uses CONFIG_COMPRESSED_ROM_STREAM_NRV2B
|
||||
uses CONFIG_COMPRESSED_ROM_STREAM_LZMA
|
||||
uses CONFIG_PRECOMPRESSED_ROM_STREAM
|
||||
uses CONFIG_ROM_STREAM
|
||||
uses IRQ_SLOT_COUNT
|
||||
uses MAINBOARD
|
||||
|
|
|
@ -0,0 +1,22 @@
|
|||
# This will make a target directory of ./emulation_qemu-i386
|
||||
|
||||
target qemu-i386-OLPC
|
||||
mainboard emulation/qemu-i386
|
||||
|
||||
option ROM_SIZE=1024*1024
|
||||
option CONFIG_COMPRESSED_ROM_STREAM_LZMA=1
|
||||
option CONFIG_PRECOMPRESSED_ROM_STREAM=0
|
||||
|
||||
option CC="gcc -m32"
|
||||
|
||||
option HAVE_PIRQ_TABLE=1
|
||||
option IRQ_SLOT_COUNT=6
|
||||
|
||||
romimage "image"
|
||||
option ROM_IMAGE_SIZE=0x10000
|
||||
option LINUXBIOS_EXTRA_VERSION="-OpenBIOS"
|
||||
payload /tmp/olpcpayload.elf
|
||||
end
|
||||
|
||||
buildrom ./qemu-bios-OLPC.rom ROM_SIZE "image"
|
||||
|
Loading…
Reference in New Issue