Now that I can actually boot the machine, I could test and send my patch upstream for Blackbird support in skiboot. One thing I noticed with the current firmware from Raptor is that the PCIe slot names were wrong. While a pretty minor point, it’s a bit funny that there’s only two slots and the names were wrong.
The PCIe slot names are used to call out the physical location of PCIe cards in the system, so if you, say, hit a bunch of errors, OS/firmware can say “It’s this card in the slot labeled BLAH on the board”.
With my patch, the slot table from skiboot is spat out looking like this:
[ 64.296743001,5] PHB#0000:00:00.0 [ROOT] 1014 04c1 R:00 C:060400 B:01..ff SLOT=SLOT1 PCIE 4.0 X16 [ 64.296875483,5] PHB#0001:00:00.0 [ROOT] 1014 04c1 R:00 C:060400 B:01..01 SLOT=SLOT2 PCIE 4.0 X8 [ 64.297054197,5] PHB#0001:01:00.0 [EP ] 8086 f1a8 R:03 C:010802 ( mass-storage) LOC_CODE=SLOT2 PCIE 4.0 X8 [ 64.297285067,5] PHB#0002:00:00.0 [ROOT] 1014 04c1 R:00 C:060400 B:01..01 SLOT=Builtin SATA [ 64.297411565,5] PHB#0002:01:00.0 [LGCY] 1b4b 9235 R:11 C:010601 ( sata) LOC_CODE=Builtin SATA [ 64.297554540,5] PHB#0003:00:00.0 [ROOT] 1014 04c1 R:00 C:060400 B:01..01 SLOT=Builtin USB [ 64.297732049,5] PHB#0003:01:00.0 [EP ] 104c 8241 R:02 C:0c0330 ( usb-xhci) LOC_CODE=Builtin USB [ 64.297848624,5] PHB#0004:00:00.0 [ROOT] 1014 04c1 R:00 C:060400 B:01..01 SLOT=Builtin Ethernet [ 64.298026870,5] PHB#0004:01:00.0 [EP ] 14e4 1657 R:01 C:020000 ( ethernet) LOC_CODE=Builtin Ethernet [ 64.298212291,5] PHB#0004:01:00.1 [EP ] 14e4 1657 R:01 C:020000 ( ethernet) LOC_CODE=Builtin Ethernet [ 64.298424962,5] PHB#0004:01:00.2 [EP ] 14e4 1657 R:01 C:020000 ( ethernet) LOC_CODE=Builtin Ethernet [ 64.298587848,5] PHB#0005:00:00.0 [ROOT] 1014 04c1 R:00 C:060400 B:01..02 SLOT=BMC [ 64.298722540,5] PHB#0005:01:00.0 [ETOX] 1a03 1150 R:04 C:060400 B:02..02 LOC_CODE=BMC [ 64.298850009,5] PHB#0005:02:00.0 [PCID] 1a03 2000 R:41 C:030000 ( vga) LOC_CODE=BMC
If you want to give it a go, grab the patch, build skiboot, and flash it on. Alternatively, you can download a built skiboot here. To flash it, do this:
# Copy to your BMC for the Blackbird scp skiboot-v6.5-146-g376bed3f.lid.xz.stb root@blackbird:/tmp/ # then, ssh to the BMC $ ssh root@blackbird # ensure the machine is off obmcutil poweroff --wait # Now, make a backup copy (remember to copy it off /tmp on the bmc) pflash -P PAYLOAD -r /tmp/skiboot-backup # and flash the new skiboot: pflash -e -P PAYLOAD -p /tmp/skiboot.lid.xz.stb # now, power on the box obmcutil poweron