phosphor-ipmi-flash interfaces
I got a "ipmibt" interface transfer complete and want to move on to one of the faster interfaces to speed up debug since it takes so long to transfer the FW image.
For the "ipmilpc" and "ipmipci" interfaces, do those options require ASPEED_LPC_CTRL and ASPEED_P2A_CTRL respectively in the BMC's kernel config? Those two configs happen to be disabled in the BMC I'm building and I've been searching for examples on how to configure the memory regions correctly both on the BMC and the host side and am not entirely sure what I'm looking for.
Quoted 8 lines · Patrick Voelker
I got a "ipmibt" interface transfer complete and want to move on to one of the faster interfaces to speed up debug since it takes so long to transfer the FW image.
For the "ipmilpc" and "ipmipci" interfaces, do those options require
ASPEED_LPC_CTRLandASPEED_P2A_CTRLrespectively in the BMC's kernel config? Those two configs happen to be disabled in the BMC I'm building and I've been searching for examples on how to configure the memory regions correctly both on the BMC and the host side and am not entirely sure what I'm looking for.
Yes, you'll need the LPC or P2A drivers on the BMC to make these bridges work. You'll also need some extra configuration in the BIOS that reserves a memory region in order to use the LPC bridge.
I believe Quanta's Q71L machine uses P2A/ipmipci for updates, so take a look at the device tree for an example (arch/arm/boot/dts/aspeed-bmc-quanta-q71l.dts). I've CC'd Patrick Venture, since he worked on this machine and phosphor-ipmi-flash. Hopefully he can fill in details if I'm missing them.
Quoted 16 lines · Benjamin Fair
Quoted 8 lines · Patrick Voelker
I got a "ipmibt" interface transfer complete and want to move on to one of the faster interfaces to speed up debug since it takes so long to transfer the FW image.
For the "ipmilpc" and "ipmipci" interfaces, do those options require
ASPEED_LPC_CTRLandASPEED_P2A_CTRLrespectively in the BMC's kernel config? Those two configs happen to be disabled in the BMC I'm building and I've been searching for examples on how to configure the memory regions correctly both on the BMC and the host side and am not entirely sure what I'm looking for.Yes, you'll need the LPC or P2A drivers on the BMC to make these bridges work. You'll also need some extra configuration in the BIOS that reserves a memory region in order to use the LPC bridge.
Quoted 5 lines
I believe Quanta's Q71L machine uses P2A/ipmipci for updates, so take a look at the device tree for an example (
arch/arm/boot/dts/aspeed-bmc-quanta-q71l.dts). I've CC'd Patrick Venture, since he worked on this machine and phosphor-ipmi-flash. Hopefully he can fill in details if I'm missing them.
You've hit all the details for how to configure the system to use it. You'll need to provide a configuration on the BMC-side of things on
how to handle the image update as well - for examples and an
explanation: https://github.com/openbmc/phosphor-ipmi-flash/blob/master/bmc_json_config.md