[PATCH openbmc v2 1/2] add screen, i2ctools, and fix tty issue

OpenBMC Patches patches at stwcx.xyz
Wed Oct 28 10:58:52 AEDT 2015


From: Norman James <njames at us.ibm.com>

---
 .../meta-openpower/meta-ibm/meta-palmetto/conf/machine/palmetto.conf  | 2 ++
 meta-phosphor/classes/obmc-phosphor-image.bbclass                     | 2 ++
 meta-phosphor/common/recipes-devtools/i2c-tools/i2c-tools_%.bbappend  | 4 ++++
 3 files changed, 8 insertions(+)
 create mode 100644 meta-phosphor/common/recipes-devtools/i2c-tools/i2c-tools_%.bbappend

diff --git a/meta-openbmc-machines/meta-openpower/meta-ibm/meta-palmetto/conf/machine/palmetto.conf b/meta-openbmc-machines/meta-openpower/meta-ibm/meta-palmetto/conf/machine/palmetto.conf
index f6256a7..569f8fd 100644
--- a/meta-openbmc-machines/meta-openpower/meta-ibm/meta-palmetto/conf/machine/palmetto.conf
+++ b/meta-openbmc-machines/meta-openpower/meta-ibm/meta-palmetto/conf/machine/palmetto.conf
@@ -10,3 +10,5 @@ UBOOT_ENTRYPOINT = "0x40008000"
 UBOOT_LOADADDRESS = "0x40008000"
 
 FLASH_SIZE = "32768"
+SERIAL_CONSOLE = "ttyS4"
+
diff --git a/meta-phosphor/classes/obmc-phosphor-image.bbclass b/meta-phosphor/classes/obmc-phosphor-image.bbclass
index c50c84a..9a13f7f 100644
--- a/meta-phosphor/classes/obmc-phosphor-image.bbclass
+++ b/meta-phosphor/classes/obmc-phosphor-image.bbclass
@@ -36,4 +36,6 @@ IMAGE_FEATURES += " \
 IMAGE_INSTALL += " \
        bash \
        packagegroup-obmc-phosphor-apps-extras \
+       i2c-tools \
+       screen \
        "
diff --git a/meta-phosphor/common/recipes-devtools/i2c-tools/i2c-tools_%.bbappend b/meta-phosphor/common/recipes-devtools/i2c-tools/i2c-tools_%.bbappend
new file mode 100644
index 0000000..d692bd0
--- /dev/null
+++ b/meta-phosphor/common/recipes-devtools/i2c-tools/i2c-tools_%.bbappend
@@ -0,0 +1,4 @@
+SRC_URI_remove = "http://dl.lm-sensors.org/i2c-tools/releases/${BP}.tar.bz2"
+SRC_URI_prepend = "http://downloads.yoctoproject.org/mirror/sources/i2c-tools-3.1.2.tar.bz2"
+
+RDEPENDS_${PN}_remove = "${PN}-misc"
-- 
2.6.0




More information about the openbmc mailing list