Quoting Stefan Reinauer <stefan.reinauer@coresystems.de>:<br />
<br />
>  On 8/1/10 7:13 AM, austinro@msu.edu wrote:<br />
>> Hi.<br />
>> The wiki page for seabios recommends configuring coreboot with<br />
>> CONFIG_VGA_BRIDGE_SETUP enabled and CONFIG_VGA_ROM_RUN disabled.<br />
>><br />
>> When building for the jetway j7f24 target, setting those two options<br />
>> in menuconfig results in the following error (after "make"):<br />
>><br />
>><br />
>>     CC         cpu/intel/microcode/microcode.o<br />
>>     AR         coreboot.a<br />
>>     CC         coreboot_ram.o<br />
>>     CC         coreboot_ram<br />
>> build/coreboot_ram.o: In function `vga_init':<br />
>> vga.c:(.text+0x1968): undefined reference to<br />
>> `mainboard_interrupt_handlers'<br />
>> collect2: ld returned 1 exit status<br />
>> make: *** [build/coreboot_ram] Error 1<br />
>><br />
>> With both options enabled make finishes.  I don't know much about<br />
>> kconfig, so I haven't been able to figure out where the problem is.<br />
>><br />
>> Here is my .config<br />
><br />
> You also need to disable CONFIG_PCI_ROM_RUN.<br />
><br />
> The behavior here was slightly changed over time, so we probably should<br />
> fix the documentation. We should also fix the code. Compilation errors<br />
> are not so nice.<br />
><br />
> Stefan<br />
<br />
Yes, the documentation does say to disable CONFIG_PCI_ROM_RUN, which I did, but I didn't mention that because it seemed irrelevant.  After trying different combinations, I see make fails when CONFIG_VGA_BRIDGE_SETUP is enabled and both CONFIG_PCI_ROM_RUN and CONFIG_VGA_ROM_RUN are disabled (the recommended combination), but works if either _ROM_RUN option is enable.  <br />
<br />
Should be fairly simple to fix, so I guess it's time for me to learn how kconfig works.<br />
<br />
Rob Austin<br />
<br />