summaryrefslogtreecommitdiff
path: root/targets/emulation/qemu-x86/Config-car.lb
blob: 1d2032e0b9fb76874f839e01341c4c1529f3c284 (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_GENERATE_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"