[coreboot] !! Resource didn't fit !! / Porting coreboot to the Supermicro X9SPU-F mainboard

Renze Nicolai renze at rnplus.nl
Sat Jan 14 21:31:19 CET 2017


Hello everyone,

I am trying to port coreboot to the Supermicro X9SPU-F mainboard,
starting with the code for the ga-b75m-d3v mainboard (which is also
based on the Intel C216 chipset).

I've put the code here:
https://github.com/rnplus/coreboot-dev-supermicro-x9spu-f/tree/master/c
oreboot-x9spu-f/src/mainboard/supermicro/x9spu-f

And I've put all the information that might be needed here:
https://github.com/rnplus/coreboot-dev-supermicro-x9spu-f/tree/master/i
nfo

Including a bootlog extracted using the PC speaker:
https://github.com/rnplus/coreboot-dev-supermicro-x9spu-f/blob/master/i
nfo/bootlog

I did not get the serial ports to work yet. The mainboard has both a
WPCM450 and a NCT6776F superio chip. I think the serial port on the
back of the machine is connected to the NCT6776F chip, which is driven
by the WPCM450.

If anyone knows what I did wrong with the superio chips please do tell
me!

But the main problem is with the PCI express config: The board stops
booting when it tries to enable the resources for PCI 00:1c.6

Earlier in the bootlog this message appears:

----

Setting resources...
DOMAIN: 0000 io: base:65 size:203a align:12 gran:0 limit:2f7
!! Resource didn't fit !!
aligned base 1000 size 1000 limit 2f7      
1fff needs to be <= 2f7 (limit)
PCI: 00:1c.6 1c *  [0x0 - 0xfff] io      
PCI: 00:1c.6 1c *  [0x0 - 0xfff] io
!! Resource didn't fit !!
aligned base 1000 size 1000 limit 2f7
1fff needs to be <= 2f7 (limit)
PCI: 00:1c.7 1c *  [0x1000 - 0x1fff] io
...
!! Resource didn't fit !!
aligned base 1000 size 20 limit 2f7
101f needs to be <= 2f7 (limit)
PCI: 05:00.0 18 *  [0x0 - 0x1f] io

----

Where could these errors be coming from and how can I solve them?
Did I make some kind of mistake in the devicetree.cb?

Also: where do the values used in the "subsystemid" lines in the
devicetree come from?


Thank you!

Greetings,
Renze Nicolai



More information about the coreboot mailing list