Initial commit

This commit is contained in:
Your Name
2026-04-23 17:07:55 +08:00
commit b7e39e063b
16725 changed files with 1625565 additions and 0 deletions
@@ -0,0 +1,13 @@
SUMMARY = "Hostboot PEL python parsers"
DESCRIPTION = "Used by peltool to parse Hostboot UserData sections and SRC details"
PR = "r1"
PV = "1.0+git${SRCPV}"
LICENSE = "Apache-2.0"
LIC_FILES_CHKSUM = "file://${S}/LICENSE;md5=34400b68072d710fecd0a2940a0d1658"
S = "${WORKDIR}/git"
SRC_URI:p10bmc = "git://git@github.com/open-power/hostboot;branch="master-p10";protocol=ssh"
SRCREV:p10bmc = "d796168959bc338e8c8a990403c535ee5d8b31c4"
inherit setuptools3
@@ -0,0 +1,49 @@
SUMMARY = "Hardware Diagnostics for POWER Systems"
DESCRIPTION = \
"In the event of a system fatal error reported by the internal system \
hardware (processor chips, memory chips, I/O chips, system memory, etc.), \
POWER Systems have the ability to diagnose the root cause of the failure \
and perform any service action needed to avoid repeated system failures."
HOMEPAGE = "https://github.com/openbmc/openpower-hw-diags"
LICENSE = "Apache-2.0"
LIC_FILES_CHKSUM = "file://LICENSE;md5=86d3f3a95c324c9479bd8986968f4327"
PR = "r1"
PV = "0.1+git${SRCPV}"
SRC_URI = "git://github.com/openbmc/openpower-hw-diags;branch=master;protocol=https"
SRCREV = "7c80e52bdce3b96fd59c5a0e5d6de5119d5831a4"
S = "${WORKDIR}/git"
inherit pkgconfig meson systemd
SYSTEMD_SERVICE:${PN} = "attn_handler.service"
DEPENDS = "boost libgpiod pdbg phosphor-logging sdbusplus openpower-libhei \
nlohmann-json valijson fmt"
# This is required so that libhei is installed with the chip data files.
RDEPENDS:${PN} += "openpower-libhei"
# Conditionally pull in PHAL APIs, if available.
PACKAGECONFIG ??= "${@bb.utils.filter('MACHINE_FEATURES', 'phal', d)}"
PACKAGECONFIG[phal] = "-Dphal=enabled, -Dphal=disabled, ipl pdata"
# Don't build CI tests
EXTRA_OEMESON = "-Dtests=disabled"
pkg_postinst:${PN}() {
mkdir -p $D$systemd_system_unitdir/obmc-host-startmin@0.target.wants
LINK="$D$systemd_system_unitdir/obmc-host-startmin@0.target.wants/attn_handler.service"
TARGET="../attn_handler.service"
ln -s $TARGET $LINK
}
pkg_prerm:${PN}() {
LINK="$D$systemd_system_unitdir/obmc-host-startmin@0.target.wants/attn_handler.service"
rm $LINK
}
@@ -0,0 +1,6 @@
PR = "r1"
PV = "0.1+git${SRCPV}"
SRC_URI = "git://github.com/openbmc/openpower-libhei;branch=master;protocol=https"
SRCREV = "029fe6f1a2cd0967dc139cf3043df05cc97a0569"
@@ -0,0 +1,23 @@
SUMMARY = "Hardware Error Isolator for POWER Systems"
DESCRIPTION = \
"The library provides a set of tools to isolate hardware attentions driven \
by POWER Systems chip (processor chips, memory chips, etc.)."
HOMEPAGE = "https://github.com/openbmc/openpower-libhei"
LICENSE = "Apache-2.0"
LIC_FILES_CHKSUM = "file://LICENSE;md5=86d3f3a95c324c9479bd8986968f4327"
include openpower-libhei-rev.inc
S = "${WORKDIR}/git"
inherit pkgconfig meson
inherit perlnative
DEPENDS = "libxml2-native libxml-simple-perl-native libjson-perl-native"
# Don't build CI tests
EXTRA_OEMESON = "-Dtests=disabled"
@@ -0,0 +1,15 @@
SUMMARY = "SBE log python parsers"
DESCRIPTION = "Used by peltool to parse SBE UserData sections and SRC details"
HOMEPAGE = "https://github.ibm.com/open-power/sbe"
PR = "r1"
PV = "1.0+git${SRCPV}"
LICENSE = "Apache-2.0"
LIC_FILES_CHKSUM = "file://LICENSE_PROLOG;md5=d8e5f403c98fd80dcea90b9cc8cd083c"
S = "${WORKDIR}/git"
SRC_URI = "git://git@github.com/open-power/sbe;branch="master-p10";protocol=ssh;protocol=https"
SRCREV = "f8ee8cfad2cf2a53e78789633ddffc192f5a197e"
inherit setuptools3