diff options
author | George Hung <george.hung@quantatw.com> | 2020-05-20 12:22:25 +0300 |
---|---|---|
committer | Andrew Geissler <geissonator@yahoo.com> | 2020-06-12 15:59:13 +0300 |
commit | f089ba1b6aff10fcd4e7a6e4b9809e866e0816ff (patch) | |
tree | f9cad88e0b2a7512c21446f2d599782aa585e30a /meta-quanta/meta-gbs/recipes-phosphor | |
parent | a7cfc8dc0605f16e068e2ae66ed6e81ff3369c71 (diff) | |
download | openbmc-f089ba1b6aff10fcd4e7a6e4b9809e866e0816ff.tar.xz |
meta-quanta: gbs: inband bmc/bios image update
gbs-bmc-update and gbs-bios-update packages do
inband bmc/bios image update via Nuvoton PCI mailbox
Tested:
Set PCI mailbox memory space as writable
~# sudo setpci -d 1050:0750 04.B=02
bmc update:
~# sudo burn_my_bmc --command update --interface ipmipci
--image image-bmc --sig image-bmc.sig --type image
bios update:
~# sudo burn_my_bmc --command update --interface ipmipci
--image image-bios --sig image-bios.sig --type bios
(From meta-quanta rev: 85d9f2a992421ca981ac11c6227ceb3531a3bb1a)
Signed-off-by: George Hung <george.hung@quantatw.com>
Change-Id: I1a73f724c4cf16636c460d20c6efd409eac4e80f
Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
Diffstat (limited to 'meta-quanta/meta-gbs/recipes-phosphor')
-rw-r--r-- | meta-quanta/meta-gbs/recipes-phosphor/ipmi/phosphor-ipmi-flash_%.bbappend | 5 | ||||
-rw-r--r-- | meta-quanta/meta-gbs/recipes-phosphor/packagegroups/packagegroup-gbs-apps.bb | 2 |
2 files changed, 7 insertions, 0 deletions
diff --git a/meta-quanta/meta-gbs/recipes-phosphor/ipmi/phosphor-ipmi-flash_%.bbappend b/meta-quanta/meta-gbs/recipes-phosphor/ipmi/phosphor-ipmi-flash_%.bbappend new file mode 100644 index 000000000..9f4c89026 --- /dev/null +++ b/meta-quanta/meta-gbs/recipes-phosphor/ipmi/phosphor-ipmi-flash_%.bbappend @@ -0,0 +1,5 @@ +NUVOTON_FLASH_PCIMBOX = "0xF0848000" + +EXTRA_OECONF_append_gbs = " --enable-nuvoton-p2a-mbox" + +IPMI_FLASH_BMC_ADDRESS_gbs = "${NUVOTON_FLASH_PCIMBOX}" diff --git a/meta-quanta/meta-gbs/recipes-phosphor/packagegroups/packagegroup-gbs-apps.bb b/meta-quanta/meta-gbs/recipes-phosphor/packagegroups/packagegroup-gbs-apps.bb index 2be8c5130..4c1bb123c 100644 --- a/meta-quanta/meta-gbs/recipes-phosphor/packagegroups/packagegroup-gbs-apps.bb +++ b/meta-quanta/meta-gbs/recipes-phosphor/packagegroups/packagegroup-gbs-apps.bb @@ -31,4 +31,6 @@ RDEPENDS_${PN}-fans = " \ SUMMARY_${PN}-flash = "GBS Flash" RDEPENDS_${PN}-flash = " \ phosphor-ipmi-flash \ + gbs-bmc-update \ + gbs-bios-update \ " |