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