diff options
author | George Hung <george.hung@quantatw.com> | 2020-05-12 18:21:50 +0300 |
---|---|---|
committer | Andrew Geissler <geissonator@yahoo.com> | 2020-06-12 15:59:20 +0300 |
commit | 5d24c35d5f9508275ed046a6feae0f0df600c1c1 (patch) | |
tree | 5f1f14e7f53332e8e44f541a9f814e206ae87eb8 /meta-quanta/meta-gbs | |
parent | 710489e15735682bf0f6909417b3a7e815437b2d (diff) | |
download | openbmc-5d24c35d5f9508275ed046a6feae0f0df600c1c1.tar.xz |
meta-quanta: gbs: add kcs device and 7seg
1. The GBS's host communicates with BMC by KCS1
2. add 7seg for post code led
(From meta-quanta rev: 5f7b8501379a73b230d7982a219b33669a32cdd2)
Signed-off-by: George Hung <george.hung@quantatw.com>
Change-Id: I0f619c914022d32348447c29132098a1b046247b
Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
Diffstat (limited to 'meta-quanta/meta-gbs')
3 files changed, 12 insertions, 0 deletions
diff --git a/meta-quanta/meta-gbs/recipes-phosphor/host/phosphor-host-postd_%.bbappend b/meta-quanta/meta-gbs/recipes-phosphor/host/phosphor-host-postd_%.bbappend new file mode 100644 index 000000000..ef3ecb2e4 --- /dev/null +++ b/meta-quanta/meta-gbs/recipes-phosphor/host/phosphor-host-postd_%.bbappend @@ -0,0 +1,2 @@ +SNOOP_DEVICE_gbs = "npcm7xx-lpc-bpc0" +PACKAGECONFIG_append_gbs = " 7seg" diff --git a/meta-quanta/meta-gbs/recipes-phosphor/ipmi/phosphor-ipmi-kcs/99-ipmi-kcs.rules.rules b/meta-quanta/meta-gbs/recipes-phosphor/ipmi/phosphor-ipmi-kcs/99-ipmi-kcs.rules.rules new file mode 100644 index 000000000..1de5562c3 --- /dev/null +++ b/meta-quanta/meta-gbs/recipes-phosphor/ipmi/phosphor-ipmi-kcs/99-ipmi-kcs.rules.rules @@ -0,0 +1 @@ +KERNEL=="ipmi-kcs1", SYMLINK+="ipmi_kcs1" diff --git a/meta-quanta/meta-gbs/recipes-phosphor/ipmi/phosphor-ipmi-kcs_%.bbappend b/meta-quanta/meta-gbs/recipes-phosphor/ipmi/phosphor-ipmi-kcs_%.bbappend new file mode 100644 index 000000000..18e7dbac5 --- /dev/null +++ b/meta-quanta/meta-gbs/recipes-phosphor/ipmi/phosphor-ipmi-kcs_%.bbappend @@ -0,0 +1,9 @@ +KCS_DEVICE_gbs = "ipmi_kcs1" + +FILESEXTRAPATHS_prepend_gbs := "${THISDIR}/${PN}:" +SRC_URI_append_gbs = " file://99-ipmi-kcs.rules.rules" + +do_install_append_gbs() { + install -d ${D}/lib/udev/rules.d + install -m 0644 ${WORKDIR}/99-ipmi-kcs.rules.rules ${D}/lib/udev/rules.d +} |