diff options
Diffstat (limited to 'meta-openbmc-machines')
3 files changed, 25 insertions, 1 deletions
diff --git a/meta-openbmc-machines/meta-openpower/common/recipes-phosphor/host/aspeed-lpc-ctrl.bb b/meta-openbmc-machines/meta-openpower/common/recipes-phosphor/host/aspeed-lpc-ctrl.bb new file mode 100644 index 000000000..f37f2bec6 --- /dev/null +++ b/meta-openbmc-machines/meta-openpower/common/recipes-phosphor/host/aspeed-lpc-ctrl.bb @@ -0,0 +1,15 @@ +SUMMARY = "ASPEED LPC Host Interface Control tool" +DESCRIPTION = "Configures the BMC to expose memory regions to the host" +PR = "r1" + +inherit obmc-phosphor-license +inherit obmc-phosphor-systemd + +inherit autotools + +S = "${WORKDIR}/git" + +SYSTEMD_SERVICE_${PN} += "pnorboot.service" + +SRC_URI += "git://github.com/shenki/aspeed-lpc-control" +SRCREV = "ab2012e749daf567049bf157c3bf037adc62c0e8" diff --git a/meta-openbmc-machines/meta-openpower/common/recipes-phosphor/host/aspeed-lpc-ctrl/pnorboot.service b/meta-openbmc-machines/meta-openpower/common/recipes-phosphor/host/aspeed-lpc-ctrl/pnorboot.service new file mode 100644 index 000000000..fffe13c48 --- /dev/null +++ b/meta-openbmc-machines/meta-openpower/common/recipes-phosphor/host/aspeed-lpc-ctrl/pnorboot.service @@ -0,0 +1,9 @@ +[Unit] +Description=ASPEED LPC boot from PNOR + +[Service] +Type=oneshot +ExecStart=/usr/sbin/pnorboot --size 32 + +[Install] +WantedBy=obmc-standby.target diff --git a/meta-openbmc-machines/meta-openpower/meta-ibm/meta-palmetto/recipes-phosphor/images/obmc-phosphor-image.bbappend b/meta-openbmc-machines/meta-openpower/meta-ibm/meta-palmetto/recipes-phosphor/images/obmc-phosphor-image.bbappend index aa57bbfe6..a25b65a0e 100644 --- a/meta-openbmc-machines/meta-openpower/meta-ibm/meta-palmetto/recipes-phosphor/images/obmc-phosphor-image.bbappend +++ b/meta-openbmc-machines/meta-openpower/meta-ibm/meta-palmetto/recipes-phosphor/images/obmc-phosphor-image.bbappend @@ -1 +1 @@ -OBMC_IMAGE_EXTRA_INSTALL_append = " mboxd" +OBMC_IMAGE_EXTRA_INSTALL_append = " aspeed-lpc-ctrl" |