Hi all,
I just followed the instruction of http://www.coreboot.org/SeaBIOS concern about #define CONFIG_OPTIONROMS_DEPLOYED 0 ,
But It can not show the video output correct. Maybe something wrong with it.
Jason Wang
BeiJing Technology Development Center
Advanced Micro Devices (AMD)
On Tue, Mar 17, 2009 at 09:23:32PM +0800, Wang, Qingpei wrote:
Hi all,
I just followed the instruction of http://www.coreboot.org/SeaBIOS
concern about #define CONFIG_OPTIONROMS_DEPLOYED 0 ,
But It can not show the video output correct. Maybe something wrong with it.
If you have a built-in VGA device that requires an option rom from flash, then you also need to set something like:
#define OPTIONROM_BDF_1 pci_to_bdf(0x01, 0x00, 0) #define OPTIONROM_MEM_1 0xfffc0000
in src/config.h. Adjust the BDA and memory location to correspond to the rom location and the Bus/Dev/Fn for the vga card as reported by lspci (eg, the above would correspond with "01:00.0" with the option rom at the start of a 256KiB flash).
-Kevin
On Tue, 17 Mar 2009 12:51:00 -0400, Kevin O'Connor kevin@koconnor.net wrote:
On Tue, Mar 17, 2009 at 09:23:32PM +0800, Wang, Qingpei wrote:
Hi all,
I just followed the instruction of http://www.coreboot.org/SeaBIOS
concern about #define CONFIG_OPTIONROMS_DEPLOYED 0 ,
But It can not show the video output correct. Maybe something wrong with it.
If you have a built-in VGA device that requires an option rom from flash, then you also need to set something like:
#define OPTIONROM_BDF_1 pci_to_bdf(0x01, 0x00, 0) #define OPTIONROM_MEM_1 0xfffc0000
in src/config.h. Adjust the BDA and memory location to correspond to the rom location and the Bus/Dev/Fn for the vga card as reported by lspci (eg, the above would correspond with "01:00.0" with the option rom at the start of a 256KiB flash).
Kevin, It appears you have been pelted with this question numerious times, it may be a good idea to add it to the SeaBIOS Wiki page???
On Tue, Mar 17, 2009 at 01:05:42PM -0400, Joseph Smith wrote:
On Tue, 17 Mar 2009 12:51:00 -0400, Kevin O'Connor kevin@koconnor.net wrote:
On Tue, Mar 17, 2009 at 09:23:32PM +0800, Wang, Qingpei wrote:
I just followed the instruction of http://www.coreboot.org/SeaBIOS
concern about #define CONFIG_OPTIONROMS_DEPLOYED 0 ,
But It can not show the video output correct. Maybe something wrong with it.
[...]
It appears you have been pelted with this question numerious times, it may be a good idea to add it to the SeaBIOS Wiki page???
Well, it took a while, but I finally updated the wiki:
http://www.coreboot.org/SeaBIOS
Now that CBFS is in coreboot-v2, the steps are a lot easier.
-Kevin
Kevin O'Connor wrote:
Well, it took a while, but I finally updated the wiki:
I just made the romfs->cbfs change there.
//Peter