summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Geissler <geissonator@yahoo.com>2023-10-25 22:50:02 +0300
committerAndrew Geissler <geissonator@yahoo.com>2023-10-27 18:02:09 +0300
commit8e1f8fcf5edb05dc95f961525f2a8731d6c53b52 (patch)
tree578a49d0b0e3bcca5262e57a968c3759a7920b51
parent7058bc7fb488dc110e580626242c2b6edd39b76d (diff)
downloadopenbmc-8e1f8fcf5edb05dc95f961525f2a8731d6c53b52.tar.xz
meta-ibm: system1: define blacklist for entity-manager
The only buses we should have EM look at are 0 and 6. I2C bus 6 has a mux so we also need to look at the virtual bus 36 too. The virtual bus is defined as an alias in the device tree, i.e. i2c36 = &i2c6mux0chn4; This will have EM look at the backplane and op-panel seeproms. Tested: - Confirmed a lot less "fru-device" busy errors in the journal and that the required eerpom's were still read. Change-Id: I0f0695173eed10f7bf40970c5cdf3732d34e7671 Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
-rw-r--r--meta-ibm/meta-system1/recipes-phosphor/configurations/entity-manager/blacklist.json3
-rw-r--r--meta-ibm/meta-system1/recipes-phosphor/configurations/entity-manager_%.bbappend9
2 files changed, 12 insertions, 0 deletions
diff --git a/meta-ibm/meta-system1/recipes-phosphor/configurations/entity-manager/blacklist.json b/meta-ibm/meta-system1/recipes-phosphor/configurations/entity-manager/blacklist.json
new file mode 100644
index 0000000000..29294ef56b
--- /dev/null
+++ b/meta-ibm/meta-system1/recipes-phosphor/configurations/entity-manager/blacklist.json
@@ -0,0 +1,3 @@
+{
+ "buses": [1, 2, 3, 4, 5, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79]
+}
diff --git a/meta-ibm/meta-system1/recipes-phosphor/configurations/entity-manager_%.bbappend b/meta-ibm/meta-system1/recipes-phosphor/configurations/entity-manager_%.bbappend
new file mode 100644
index 0000000000..025d7c0282
--- /dev/null
+++ b/meta-ibm/meta-system1/recipes-phosphor/configurations/entity-manager_%.bbappend
@@ -0,0 +1,9 @@
+FILESEXTRAPATHS:prepend := "${THISDIR}/${PN}:"
+
+SRC_URI:append = " \
+ file://blacklist.json \
+ "
+
+do_install:append () {
+ install -m 0644 -D ${WORKDIR}/blacklist.json ${D}${datadir}/${PN}/blacklist.json
+}