[LinuxBIOS] [Patch] Fix CONFIG_CONSOLE_VGA handling in default pci_dev_init.

Corey Osgood corey.osgood at gmail.com
Thu Jan 3 04:41:21 CET 2008


ron minnich wrote:
> On Jan 2, 2008 5:03 PM, Luc Verhaegen <libv at skynet.be> wrote:
>   
>> If you still do not believe logic, then please set CONFIG_CONSOLE_VGA
>> without setting CONFIG_PCI_ROM_RUN and then build your rom. The build
>> will fail due to missing symbols.
>>     
>
> That's a prolem. Which symbols? Which mainboards? This is an error but
> it has been a long enough time since I did this that I can easily
> believe it will happen.
>   

On any board. Just an example:

gcc -m32 -nostdlib -nostartfiles -static -o linuxbios_ram -T
/home/corey/linuxbios/msi_945g/LinuxBIOSv2/src/config/linuxbios_ram.ld
linuxbios_ram.o
linuxbios_ram.o: In function `pci_dev_init':
(.text+0x33f2): undefined reference to `pci_rom_probe'
linuxbios_ram.o: In function `pci_dev_init':
(.text+0x3402): undefined reference to `pci_rom_load'
linuxbios_ram.o: In function `pci_dev_init':
(.text+0x3412): undefined reference to `run_bios'
collect2: ld returned 1 exit status
make[1]: *** [linuxbios_ram] Error 1
make[1]: Leaving directory
`/home/corey/linuxbios/msi_945g/LinuxBIOSv2/targets/gigabyte/m57sli/m57sli/normal'
make: *** [normal/linuxbios.rom] Error 1




More information about the coreboot mailing list