From c938513efee90b856b135e6be55e94ac45b07733 Mon Sep 17 00:00:00 2001 From: Jayanth Othayoth Date: Mon, 21 Jun 2021 07:21:14 -0500 Subject: meta-openpower: Add libekb support MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This library contains a copy of hardware procedures provided by the hardware team and OpenBMC specific platform code. The platform code is essentially required for the hardware procedure execution. Library from this repository will provide interfaces for executing the HWP from the OpenBMC. libekb library is based on Hardware Procedure Framework. Framework: This is the set of code providing an environment in which the Hardware (HW) Procedure runs. It consists of: - A standard set of interfaces which the HW Procedure is designed and coded to use - A platform/environment-specific implementation of the standard interfaces which allows the common HW Procedure to run in the target environment. Hardware Procedure (HWP): This is the common code which runs inside a Framework and provides the hardware-specific logic for controlling some portion of the system hardware. Invocation Environment: This is the platform/environment-specific path(s) in which a HWP may be executed. This commits enables the HWP execution environment with help of OpenPOWER pdbg and pub-ekb repository provided back-ends. Repository: https://github.com/open-power/libekb_p10 Signed-off-by: Jayanth Othayoth Change-Id: I11e2fb6b9f94f87dad17173d20f7ca2e0e96af41 --- meta-openpower/recipes-bsp/libekb/libekb_git.bb | 27 +++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 meta-openpower/recipes-bsp/libekb/libekb_git.bb (limited to 'meta-openpower/recipes-bsp') diff --git a/meta-openpower/recipes-bsp/libekb/libekb_git.bb b/meta-openpower/recipes-bsp/libekb/libekb_git.bb new file mode 100644 index 000000000..ac650a4a8 --- /dev/null +++ b/meta-openpower/recipes-bsp/libekb/libekb_git.bb @@ -0,0 +1,27 @@ +HOMEPAGE = "https://github.com/open-power/libekb_p10" + +SUMMARY = "Hardware Procedure Framework" +DESCRIPTION = "Provides infrastructure to run hardware procedures" +PR = "r1" +PV = "1.0+git${SRCPV}" +LICENSE = "Apache-2.0" +LIC_FILES_CHKSUM = "file://${S}/LICENSE;md5=3b83ef96387f14655fc854ddc3c6bd57" + +S = "${WORKDIR}/git" + +require recipes-bsp/ekb/ekb.inc + +inherit autotools \ + python3native \ + perlnative + +SRCREV_FORMAT = "libekb_ekb" + +SRCREV_libekb = "a68c2f610243d3f128f561c4451135241aedbf6b" +SRCREV_ekb = "${EKB_REV}" + +SRC_URI = "git://git@github.com/open-power/libekb_p10;branch="main";name=libekb \ + ${EKB_URI};name=ekb;destsuffix=git/ekb \ + " + +DEPENDS = "pdbg libxml-simple-perl-native" -- cgit v1.2.3