Hi,
So with this patch, it should be /easy/ to select vm86 instead of emu86 to boot my vga board on my gigabyte m57sli, like it is in v3.
What I did:
add the line
+uses CONFIG_PCI_OPTION_ROM_RUN_VM86
to src/mainboard/gigabyte/m57sli/Options.lb and add the line
+option CONFIG_PCI_OPTION_ROM_RUN_VM86=1
to targets/gigabyte/m57sli/Config.lb do a './buildtarget gigabyte/m57sli/Config.lb' and 'make' in targets/gigabyte/m57sli/m57sli.
But:
gcc -m32 -nostdlib -nostartfiles -static -o coreboot_ram -T /home/ronald/coreboot/src/config/coreboot_ram.ld coreboot_ram.o coreboot_ram.o: In function `__vga_ec_16bit': vm86.c:(.text+0x9eb1): relocation truncated to fit: R_386_16 against `.text' coreboot_ram.o: In function `__vga_ec_real': vm86.c:(.text+0x9ece): relocation truncated to fit: R_386_16 against symbol `__myidt' defined in .text section in coreboot_ram.o coreboot_ram.o: In function `idthandle': vm86.c:(.text+0x9f2d): relocation truncated to fit: R_386_16 against `.text' coreboot_ram.o: In function `__rms_16bit2': vm86.c:(.text+0x9f9c): relocation truncated to fit: R_386_16 against `.text' coreboot_ram.o: In function `__rms_real2': vm86.c:(.text+0x9fb0): relocation truncated to fit: R_386_16 against symbol `__myidt' defined in .text section in coreboot_ram.o coreboot_ram.o: In function `__rms_16bit': vm86.c:(.text+0xa31f): relocation truncated to fit: R_386_16 against `.text' coreboot_ram.o: In function `__rms_real': vm86.c:(.text+0xa338): relocation truncated to fit: R_386_16 against symbol `__myidt' defined in .text section in coreboot_ram.o collect2: ld returned 1 exit status make[1]: *** [coreboot_ram] Error 1
What is still missing here??
Ronald.