Hi Kevin,

Thanks for taking a look and thanks for your suggestions.

So, SeaBIOS is not designed to detect and run a VGA option rom from a PCIe video card? I was hoping that I could get SeaBIOS to act similar to the vendor BIOS and not have to use a serial based console.

Any ideas on SeaBIOS not booting from hard disks or USB storage devices?

Thanks!

Nick

On Thu, May 7, 2015 at 12:17 PM, Kevin O'Connor <kevin@koconnor.net> wrote:
On Thu, May 07, 2015 at 08:52:17AM -0700, Nick wrote:
> Hi guys,
>
> I just got coreboot with SeaBIOS payload up and running on a previously
> unsupported system. The system is a Sun Ultra 40 M2 which is very similar
> to the NVIDIA l1_2pvv development board (which already has a coreboot port.)
>
> Coreboot detects the VGA card and outputs the text "found VGA at PCI:
> 43:00.0", however, SeaBIOS does not seem to be able to detect the VGA card
> and doesn't seem to enumerate that bus. It would appear that the option rom
> is not being ran.

It looks like your board has multiple "root" PCI busses (either that
or coreboot is doing something peculiar with pci).  To support this,
seabios needs the CBFS file 'etc/extra-pci-roots' to be set - see:
http://www.coreboot.org/SeaBIOS#Other_Configuration_items

Ideally, one would set this to the number of extra PCI roots (eg, 1 or
2), but it can also be set to 255 to force a scan of every PCI bus
(which takes a little longer on each boot).

> Here's a simple diagram showing roughly how devices are connected on the
> board: http://ibin.co/20n6DtSrgZSv
>
> Here's the console output (SeaBIOS log level 8):
> http://pastebin.com/jKu21dTV
>
> SeaBIOS also detects USB mass storage and hard disk drives, but can not
> boot from them. There's a HALT statement and a bunch of errors (also seen
> in the log file.) The boot device was a USB mass storage device with linux
> installed and boots successfully with the vendor bios.

I don't see anything wrong in the log - those messages all appear
normal.  It's not uncommon for bootloaders to get confused when a
vgabios isn't present, so I'd track that down first.  If you can't get
VGA working, consider installing sgabios as described at:

http://www.coreboot.org/SeaBIOS#Adding_sgabios_support

-Kevin