summaryrefslogtreecommitdiff
path: root/targets/emulation/qemu-x86/Config-car.lb
blob: 00b2200b2e03cd2ad734dbf43d67eb80d85934bc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
# This will make a target directory of ./emulation_qemu-x86

target qemu-x86-car
mainboard emulation/qemu-x86

option CONFIG_USE_DCACHE_RAM=1
option CONFIG_USE_INIT=1
option CONFIG_ROM_SIZE=512*1024
option CONFIG_USE_INIT=1
option CONFIG_USE_PRINTK_IN_CAR=1

option CC="gcc -m32"

option CONFIG_HAVE_PIRQ_TABLE=1
option CONFIG_IRQ_SLOT_COUNT=6

romimage "fallback" 
	option CONFIG_USE_FALLBACK_IMAGE=1
	option CONFIG_ROM_IMAGE_SIZE=0x10000
	option COREBOOT_EXTRA_VERSION="-GRUB2"
#	payload /home/stepan/core.img
	payload ../payload.elf
end

buildrom ./coreboot.rom CONFIG_ROM_SIZE "fallback"