Merge pull request #169 from jk-ozlabs/le
Switch to a little-endian kernel & userspace
diff --git a/README b/README
index d611f04..2e84fbb 100644
--- a/README
+++ b/README
@@ -11,6 +11,7 @@
1. Install Ubuntu 14.04 or Debian 7.5 64-bit.
2. Install the packages necessary for the build:
> sudo apt-get install cscope ctags libz-dev libexpat-dev \
+ python language-pack-en \
build-essential g++ git bison flex unzip \
libxml-simple-perl libxml-sax-perl libxml2-dev libxml2-utils xsltproc
3. Continue with the clone, environment setup, and build as noted above.
diff --git a/openpower/configs/firestone_defconfig b/openpower/configs/firestone_defconfig
index 966d8ed..45e6787 100644
--- a/openpower/configs/firestone_defconfig
+++ b/openpower/configs/firestone_defconfig
@@ -13,6 +13,7 @@
BR2_HOSTBOOT_BINARY_SBE_FILENAME="venice_sbe.img.ecc"
BR2_HOSTBOOT_BINARY_SBEC_FILENAME="centaur_sbec_pad.img.ecc"
+BR2_HOSTBOOT_BINARY_WINK_FILENAME="p8.ref_image.hdr.bin.ecc"
BR2_OCC_BIN_FILENAME="occ.bin"
diff --git a/openpower/configs/garrison_defconfig b/openpower/configs/garrison_defconfig
new file mode 100644
index 0000000..c5bde78
--- /dev/null
+++ b/openpower/configs/garrison_defconfig
@@ -0,0 +1,59 @@
+BR2_powerpc64=y
+BR2_powerpc_power8=y
+BR2_OPENPOWER_PLATFORM=y
+
+BR2_OPENPOWER_CONFIG_NAME="garrison"
+BR2_OPENPOWER_XML_PACKAGE="garrison-xml"
+BR2_HOSTBOOT_CONFIG_FILE="garrison.config"
+
+BR2_HOSTBOOT_BINARY_SBE_FILENAME="venice_sbe.img.ecc"
+BR2_HOSTBOOT_BINARY_SBEC_FILENAME="centaur_sbec_pad.img.ecc"
+BR2_HOSTBOOT_BINARY_WINK_FILENAME="n1.ref_image.hdr.bin.ecc"
+
+BR2_OCC_BIN_FILENAME="occ.bin"
+
+BR2_GARRISON_SYSTEM_XML_FILENAME="GARRISON_hb.system.xml"
+BR2_GARRISON_MRW_XML_FILENAME="GARRISON_hb.mrw.xml"
+BR2_GARRISON_BIOS_XML_FILENAME="GARRISON_bios.xml"
+
+BR2_OPENPOWER_TARGETING_BIN_FILENAME="GARRISON_HB.targeting.bin"
+BR2_OPENPOWER_TARGETING_ECC_FILENAME="GARRISON_HB.targeting.bin.ecc"
+BR2_CAPP_UCODE_BIN_FILENAME="cappucode.bin"
+
+BR2_OPENPOWER_PNOR_XML_LAYOUT_FILENAME="defaultPnorLayoutWithGoldenSide.xml"
+BR2_OPENPOWER_PNOR_FILENAME="garrison.pnor"
+BR2_OPENPOWER_PNOR_UPDATE_FILENAME="garrison_update.pnor"
+
+# skiboot requirements
+BR2_TARGET_SKIBOOT=y
+BR2_TARGET_SKIBOOT_EMBED_PAYLOAD=n
+
+# petitboot requirements
+BR2_ENABLE_LOCALE_PURGE=y
+BR2_ENABLE_LOCALE_WHITELIST="C en_US"
+BR2_GENERATE_LOCALE="en_US.UTF-8"
+BR2_ROOTFS_DEVICE_CREATION_DYNAMIC_EUDEV=y
+BR2_TARGET_GENERIC_GETTY_PORT="hvc0"
+BR2_ROOTFS_OVERLAY="overlay"
+BR2_LINUX_KERNEL=y
+BR2_LINUX_KERNEL_CUSTOM_GIT=y
+BR2_LINUX_KERNEL_CUSTOM_REPO_URL="git://github.com/open-power/linux.git"
+BR2_LINUX_KERNEL_CUSTOM_REPO_VERSION="d0ff068a9962ba96d4e6ddfba2a4e9fd8bc9a763"
+BR2_LINUX_KERNEL_USE_CUSTOM_CONFIG=y
+BR2_LINUX_KERNEL_CUSTOM_CONFIG_FILE="$(BR2_EXTERNAL)/configs/linux/skiroot_defconfig"
+BR2_LINUX_KERNEL_ZIMAGE_EPAPR=y
+BR2_PACKAGE_BUSYBOX_SHOW_OTHERS=y
+BR2_PACKAGE_LINUX_FIRMWARE=y
+BR2_PACKAGE_LINUX_FIRMWARE_BNX2X=y
+BR2_PACKAGE_LINUX_FIRMWARE_CXGB4=y
+BR2_PACKAGE_I2C_TOOLS=y
+BR2_PACKAGE_NCURSES_WCHAR=y
+BR2_PACKAGE_DROPBEAR=y
+# BR2_PACKAGE_DROPBEAR_SERVER is not set
+BR2_PACKAGE_ETHTOOL=y
+BR2_PACKAGE_NETCAT=y
+BR2_PACKAGE_RSYNC=y
+BR2_PACKAGE_PETITBOOT=y
+BR2_PACKAGE_IPMITOOL=y
+BR2_TARGET_ROOTFS_CPIO_XZ=y
+BR2_TARGET_ROOTFS_INITRAMFS=y
diff --git a/openpower/configs/habanero_defconfig b/openpower/configs/habanero_defconfig
index 756f60f..14c10ae 100644
--- a/openpower/configs/habanero_defconfig
+++ b/openpower/configs/habanero_defconfig
@@ -13,6 +13,7 @@
BR2_HOSTBOOT_BINARY_SBE_FILENAME="venice_sbe.img.ecc"
BR2_HOSTBOOT_BINARY_SBEC_FILENAME="centaur_sbec_pad.img.ecc"
+BR2_HOSTBOOT_BINARY_WINK_FILENAME="p8.ref_image.hdr.bin.ecc"
BR2_OCC_BIN_FILENAME="occ.bin"
diff --git a/openpower/configs/hostboot/firestone.config b/openpower/configs/hostboot/firestone.config
index cc59952..b7bc93c 100755
--- a/openpower/configs/hostboot/firestone.config
+++ b/openpower/configs/hostboot/firestone.config
@@ -18,6 +18,10 @@
set CVPD_WRITE_TO_HW
set CVPD_READ_FROM_PNOR
set CVPD_WRITE_TO_PNOR
+set PVPD_READ_FROM_HW
+set PVPD_WRITE_TO_HW
+set PVPD_READ_FROM_PNOR
+set PVPD_WRITE_TO_PNOR
set SKIP_RESTRICT_EX_UNITS
unset CDIMM_FORMAT_FOR_CVPD
@@ -38,10 +42,23 @@
set KINGSTON_1_35_VOLT
set NO_DMI_EREPAIR
-set DISABLE_HOSTBOOT_RUNTIME
-unset HTMGT
-unset START_OCC_DURING_BOOT
+unset DISABLE_HOSTBOOT_RUNTIME
+
+# Compile in hostboot runtime PRD
+set HBRT_PRD
+set HTMGT
+set START_OCC_DURING_BOOT
+
+#PNOR flags
+set PNOR_TWO_SIDE_SUPPORT
+
+set BMC_BT_LPC_IPMI
# Enable Checktop Analysis
set ENABLE_CHECKSTOP_ANALYSIS
+# Hostboot will detect hardware changes
+set HOST_HCDB_SUPPORT
+
+# set for trace debug to console
+unset CONSOLE_OUTPUT_TRACE
diff --git a/openpower/configs/hostboot/garrison.config b/openpower/configs/hostboot/garrison.config
new file mode 100755
index 0000000..c78bc7a
--- /dev/null
+++ b/openpower/configs/hostboot/garrison.config
@@ -0,0 +1,61 @@
+# The Serial Flash Controller is the AST2400 BMC.
+set SFC_IS_AST2400
+set BMC_DOES_SFC_INIT
+unset SFC_IS_IBM_DPSS
+set ALLOW_MICRON_PNOR
+set ALLOW_MACRONIX_PNOR
+
+# VPD options.
+set MVPD_READ_FROM_HW
+set MVPD_WRITE_TO_HW
+set MVPD_READ_FROM_PNOR
+set MVPD_WRITE_FROM_PNOR
+set DJVPD_READ_FROM_HW
+set DJVPD_WRITE_TO_HW
+set DJVPD_READ_FROM_PNOR
+set DJVPD_WRITE_TO_PNOR
+set CVPD_READ_FROM_HW
+set CVPD_WRITE_TO_HW
+set CVPD_READ_FROM_PNOR
+set CVPD_WRITE_TO_PNOR
+set PVPD_READ_FROM_HW
+set PVPD_WRITE_TO_HW
+set PVPD_READ_FROM_PNOR
+set PVPD_WRITE_TO_PNOR
+set SKIP_RESTRICT_EX_UNITS
+unset CDIMM_FORMAT_FOR_CVPD
+
+# gpio config
+set GPIODD
+set PALMETTO_VDDR
+
+# disable sbe updates
+set NO_SBE_UPDATES
+
+unset PCIE_HOTPLUG_CONTROLLER
+
+# turn on console output
+set CONSOLE
+set BMC_AST2400
+
+# Enable Kingston dimm voltage workaround
+set KINGSTON_1_35_VOLT
+
+set NO_DMI_EREPAIR
+set DISABLE_HOSTBOOT_RUNTIME
+unset HTMGT
+unset START_OCC_DURING_BOOT
+
+#PNOR flags
+set PNOR_TWO_SIDE_SUPPORT
+
+set BMC_BT_LPC_IPMI
+
+# Enable Checktop Analysis
+set ENABLE_CHECKSTOP_ANALYSIS
+
+# Hostboot will detect hardware changes
+set HOST_HCDB_SUPPORT
+
+# set for trace debug to console
+unset CONSOLE_OUTPUT_TRACE
diff --git a/openpower/configs/hostboot/habanero.config b/openpower/configs/hostboot/habanero.config
index ff2c449..b5d28b4a9 100755
--- a/openpower/configs/hostboot/habanero.config
+++ b/openpower/configs/hostboot/habanero.config
@@ -18,6 +18,10 @@
set CVPD_WRITE_TO_HW
set CVPD_READ_FROM_PNOR
set CVPD_WRITE_TO_PNOR
+set PVPD_READ_FROM_HW
+set PVPD_WRITE_TO_HW
+set PVPD_READ_FROM_PNOR
+set PVPD_WRITE_TO_PNOR
set SKIP_RESTRICT_EX_UNITS
unset CDIMM_FORMAT_FOR_CVPD
@@ -58,5 +62,8 @@
# Enable Checktop Analysis
set ENABLE_CHECKSTOP_ANALYSIS
+# Hostboot will detect hardware changes
+set HOST_HCDB_SUPPORT
+
# set for trace debug to console
unset CONSOLE_OUTPUT_TRACE
diff --git a/openpower/configs/hostboot/palmetto.config b/openpower/configs/hostboot/palmetto.config
index bcd2e59..4288585 100755
--- a/openpower/configs/hostboot/palmetto.config
+++ b/openpower/configs/hostboot/palmetto.config
@@ -18,6 +18,10 @@
set CVPD_WRITE_TO_HW
set CVPD_READ_FROM_PNOR
set CVPD_WRITE_TO_PNOR
+set PVPD_READ_FROM_HW
+set PVPD_WRITE_TO_HW
+set PVPD_READ_FROM_PNOR
+set PVPD_WRITE_TO_PNOR
set SKIP_RESTRICT_EX_UNITS
unset CDIMM_FORMAT_FOR_CVPD
@@ -54,5 +58,8 @@
# Enable Checktop Analysis
set ENABLE_CHECKSTOP_ANALYSIS
+# Hostboot will detect hardware changes
+set HOST_HCDB_SUPPORT
+
# set for trace debug to console
unset CONSOLE_OUTPUT_TRACE
diff --git a/openpower/configs/palmetto_defconfig b/openpower/configs/palmetto_defconfig
index ad36d6a..1468fe8 100644
--- a/openpower/configs/palmetto_defconfig
+++ b/openpower/configs/palmetto_defconfig
@@ -13,6 +13,7 @@
BR2_HOSTBOOT_BINARY_SBE_FILENAME="venice_sbe.img.ecc"
BR2_HOSTBOOT_BINARY_SBEC_FILENAME="centaur_sbec_pad.img.ecc"
+BR2_HOSTBOOT_BINARY_WINK_FILENAME="p8.ref_image.hdr.bin.ecc"
BR2_OCC_BIN_FILENAME="occ.bin"
diff --git a/openpower/package/Config.in b/openpower/package/Config.in
index 83823fb..92ab00f 100644
--- a/openpower/package/Config.in
+++ b/openpower/package/Config.in
@@ -4,6 +4,7 @@
source "$BR2_EXTERNAL/package/palmetto-xml/Config.in"
source "$BR2_EXTERNAL/package/habanero-xml/Config.in"
source "$BR2_EXTERNAL/package/firestone-xml/Config.in"
+source "$BR2_EXTERNAL/package/garrison-xml/Config.in"
source "$BR2_EXTERNAL/package/openpower-pnor/Config.in"
source "$BR2_EXTERNAL/package/p8-pore-binutils/Config.in"
source "$BR2_EXTERNAL/package/occ/Config.in"
diff --git a/openpower/package/firestone-xml/firestone.mk b/openpower/package/firestone-xml/firestone.mk
index 600c285..66622f7 100644
--- a/openpower/package/firestone-xml/firestone.mk
+++ b/openpower/package/firestone-xml/firestone.mk
@@ -4,7 +4,7 @@
#
################################################################################
-FIRESTONE_XML_VERSION ?= 3383b31643c225f7bcecc8ce08dcbb6803f3e058
+FIRESTONE_XML_VERSION ?= 44d46e5f009b51fd65594c0efe6bb4f2380d11b1
FIRESTONE_XML_SITE ?= $(call github,open-power,firestone-xml,$(FIRESTONE_XML_VERSION))
FIRESTONE_XML_LICENSE = Apache-2.0
@@ -32,7 +32,6 @@
bash -c 'mkdir -p $(MRW_SCRATCH) && cp -r $(@D)/* $(MRW_SCRATCH)'
# generate the system mrw xml
- # Not processing until actaul xml is here
perl -I $(MRW_HB_TOOLS) \
$(MRW_HB_TOOLS)/processMrw.pl -x $(MRW_SCRATCH)/firestone.xml
diff --git a/openpower/package/garrison-xml/Config.in b/openpower/package/garrison-xml/Config.in
new file mode 100755
index 0000000..a1626d0
--- /dev/null
+++ b/openpower/package/garrison-xml/Config.in
@@ -0,0 +1,23 @@
+config BR2_PACKAGE_GARRISON_XML
+ bool "garrison_xml"
+ default y if (BR2_OPENPOWER_CONFIG_NAME = "garrison")
+ help
+ Utilites for building xml and the targeting binary image
+
+config BR2_GARRISON_SYSTEM_XML_FILENAME
+ string "Garrison targeting system xml filename"
+ default ""
+ help
+ Defines the name of the system XML filename to be used when creating targeting binary image
+
+config BR2_GARRISON_MRW_XML_FILENAME
+ string "Garrison targeting mrw xml filename"
+ default ""
+ help
+ Defines the name of the mrw XML filename to be used when creating targeting binary image
+
+config BR2_GARRISON_BIOS_XML_FILENAME
+ string "Garrison BIOS metadata XML filename"
+ default ""
+ help
+ Defines the name of the BIOS XML filename to parse when generating BIOS metadata
diff --git a/openpower/package/garrison-xml/garrison.mk b/openpower/package/garrison-xml/garrison.mk
new file mode 100644
index 0000000..688bc6f
--- /dev/null
+++ b/openpower/package/garrison-xml/garrison.mk
@@ -0,0 +1,75 @@
+################################################################################
+#
+# garrison_xml
+#
+################################################################################
+
+GARRISON_XML_VERSION ?= 835c3467a37773205960d7b0150a3c360972e178
+GARRISON_XML_SITE ?= $(call github,open-power,garrison-xml,$(GARRISON_XML_VERSION))
+
+GARRISON_XML_LICENSE = Apache-2.0
+GARRISON_XML_DEPENDENCIES = hostboot-install-images openpower-mrw-install-images common-p8-xml-install-images
+
+GARRISON_XML_INSTALL_IMAGES = YES
+GARRISON_XML_INSTALL_TARGET = YES
+
+MRW_SCRATCH=$(STAGING_DIR)/openpower_mrw_scratch
+MRW_HB_TOOLS=$(STAGING_DIR)/hostboot_build_images
+
+# Defines for BIOS metadata creation
+BIOS_SCHEMA_FILE = $(MRW_HB_TOOLS)/bios.xsd
+GARRISON_BIOS_XML_CONFIG_FILE = $(MRW_SCRATCH)/$(BR2_GARRISON_BIOS_XML_FILENAME)
+BIOS_XML_METADATA_FILE = \
+ $(MRW_HB_TOOLS)/$(BR2_OPENPOWER_CONFIG_NAME)_bios_metadata.xml
+PETITBOOT_XSLT_FILE = $(MRW_HB_TOOLS)/bios_metadata_petitboot.xslt
+PETITBOOT_BIOS_XML_METADATA_FILE = \
+ $(MRW_HB_TOOLS)/$(BR2_OPENPOWER_CONFIG_NAME)_bios_metadata_petitboot.xml
+PETITBOOT_BIOS_XML_METADATA_INITRAMFS_FILE = \
+ $(TARGET_DIR)/usr/share/bios_metadata.xml
+
+define GARRISON_XML_BUILD_CMDS
+ # copy the garrison xml where the common lives
+ bash -c 'mkdir -p $(MRW_SCRATCH) && cp -r $(@D)/* $(MRW_SCRATCH)'
+
+ # generate the system mrw xml
+ perl -I $(MRW_HB_TOOLS) \
+ $(MRW_HB_TOOLS)/processMrw.pl -x $(MRW_SCRATCH)/garrison.xml
+
+ # merge in any system specific attributes, hostboot attributes
+ $(MRW_HB_TOOLS)/mergexml.sh $(MRW_SCRATCH)/$(BR2_GARRISON_SYSTEM_XML_FILENAME) \
+ $(MRW_HB_TOOLS)/attribute_types.xml \
+ $(MRW_HB_TOOLS)/attribute_types_hb.xml \
+ $(MRW_HB_TOOLS)/target_types_merged.xml \
+ $(MRW_HB_TOOLS)/target_types_hb.xml \
+ $(MRW_SCRATCH)/$(BR2_GARRISON_MRW_XML_FILENAME) > $(MRW_HB_TOOLS)/temporary_hb.hb.xml;
+
+ # creating the targeting binary
+ $(MRW_HB_TOOLS)/xmltohb.pl \
+ --hb-xml-file=$(MRW_HB_TOOLS)/temporary_hb.hb.xml \
+ --fapi-attributes-xml-file=$(MRW_HB_TOOLS)/fapiattrs.xml \
+ --src-output-dir=none \
+ --img-output-dir=$(MRW_HB_TOOLS)/ \
+ --vmm-consts-file=$(MRW_HB_TOOLS)/vmmconst.h --noshort-enums \
+ --bios-xml-file=$(GARRISON_BIOS_XML_CONFIG_FILE) \
+ --bios-schema-file=$(BIOS_SCHEMA_FILE) \
+ --bios-output-file=$(BIOS_XML_METADATA_FILE)
+
+ # Transform BIOS XML into Petitboot specific BIOS XML via the schema
+ xsltproc -o \
+ $(PETITBOOT_BIOS_XML_METADATA_FILE) \
+ $(PETITBOOT_XSLT_FILE) \
+ $(BIOS_XML_METADATA_FILE)
+endef
+
+define GARRISON_XML_INSTALL_IMAGES_CMDS
+ mv $(MRW_HB_TOOLS)/targeting.bin $(MRW_HB_TOOLS)/$(BR2_OPENPOWER_TARGETING_BIN_FILENAME)
+endef
+
+define GARRISON_XML_INSTALL_TARGET_CMDS
+ # Install Petitboot specific BIOS XML into initramfs's usr/share/ dir
+ $(INSTALL) -D -m 0644 \
+ $(PETITBOOT_BIOS_XML_METADATA_FILE) \
+ $(PETITBOOT_BIOS_XML_METADATA_INITRAMFS_FILE)
+endef
+
+$(eval $(generic-package))
diff --git a/openpower/package/habanero-xml/habanero-xml.mk b/openpower/package/habanero-xml/habanero-xml.mk
index 501bceb..38232b0 100644
--- a/openpower/package/habanero-xml/habanero-xml.mk
+++ b/openpower/package/habanero-xml/habanero-xml.mk
@@ -4,7 +4,7 @@
#
################################################################################
-HABANERO_XML_VERSION ?= 03d911f12311ba884ec9e08a6c114daabfce545a
+HABANERO_XML_VERSION ?= b86989fce1e543a07706206f12ef00b0b6a170c7
HABANERO_XML_SITE ?= $(call github,open-power,habanero-xml,$(HABANERO_XML_VERSION))
HABANERO_XML_LICENSE = Apache-2.0
diff --git a/openpower/package/hostboot-binaries/hostboot_binaries.mk b/openpower/package/hostboot-binaries/hostboot_binaries.mk
index 03523c3..d9a23df 100644
--- a/openpower/package/hostboot-binaries/hostboot_binaries.mk
+++ b/openpower/package/hostboot-binaries/hostboot_binaries.mk
@@ -4,7 +4,7 @@
#
################################################################################
-HOSTBOOT_BINARIES_VERSION ?= d41753f2b5e2510d6bc6ce58adf8e55207b8d317
+HOSTBOOT_BINARIES_VERSION ?= 22470e51b6342f9c307e28b3ea7cdb194ff954d4
HOSTBOOT_BINARIES_SITE ?= $(call github,open-power,hostboot-binaries,$(HOSTBOOT_BINARIES_VERSION))
HOSTBOOT_BINARIES_LICENSE = Apache-2.0
@@ -13,7 +13,7 @@
define HOSTBOOT_BINARIES_INSTALL_IMAGES_CMDS
$(INSTALL) -D $(@D)/cvpd.bin $(STAGING_DIR)/hostboot_binaries/cvpd.bin
- $(INSTALL) -D $(@D)/p8.ref_image.hdr.bin.ecc $(STAGING_DIR)/hostboot_binaries/p8.ref_image.hdr.bin.ecc
+ $(INSTALL) -D $(@D)/$(BR2_HOSTBOOT_BINARY_WINK_FILENAME) $(STAGING_DIR)/hostboot_binaries/
$(INSTALL) -D $(@D)/$(BR2_HOSTBOOT_BINARY_SBEC_FILENAME) $(STAGING_DIR)/hostboot_binaries/
$(INSTALL) -D $(@D)/$(BR2_HOSTBOOT_BINARY_SBE_FILENAME) $(STAGING_DIR)/hostboot_binaries/
endef
diff --git a/openpower/package/hostboot/hostboot-0001-Increase-uart-delay.patch b/openpower/package/hostboot/hostboot-0001-Increase-uart-delay.patch
index 74cb584..5c916d2 100644
--- a/openpower/package/hostboot/hostboot-0001-Increase-uart-delay.patch
+++ b/openpower/package/hostboot/hostboot-0001-Increase-uart-delay.patch
@@ -18,7 +18,7 @@
{
const uint64_t DELAY_NS = 100;
- const uint64_t DELAY_LOOPS = 10000;
-+ const uint64_t DELAY_LOOPS = 1000000;
++ const uint64_t DELAY_LOOPS = 100000000;
uint8_t data = 0;
uint64_t loops = 0;
diff --git a/openpower/package/hostboot/hostboot-0003-Remove-gard-actions-for-memory-plugging-errors.patch b/openpower/package/hostboot/hostboot-0003-Remove-gard-actions-for-memory-plugging-errors.patch
new file mode 100644
index 0000000..ef2a896
--- /dev/null
+++ b/openpower/package/hostboot/hostboot-0003-Remove-gard-actions-for-memory-plugging-errors.patch
@@ -0,0 +1,764 @@
+From c53b40e0dcc250d75a159389e099dd40b64e5468 Mon Sep 17 00:00:00 2001
+From: Dan Crowell <dcrowell@us.ibm.com>
+Date: Wed, 27 May 2015 16:39:23 -0500
+Subject: [PATCH] Remove gard actions for memory plugging errors
+
+Modified errors related to unsupported or invalid dimm
+configurations to no longer gard any hardware.
+
+Change-Id: I67459425e973ad1c6f4cf95ccd164b73bdd46a80
+---
+ .../mss_eff_config/memory_mss_eff_config.xml | 208 +++++----------------
+ .../memory_mss_eff_config_termination.xml | 69 +------
+ 2 files changed, 50 insertions(+), 227 deletions(-)
+
+diff --git a/src/usr/hwpf/hwp/mc_config/mss_eff_config/memory_mss_eff_config.xml b/src/usr/hwpf/hwp/mc_config/mss_eff_config/memory_mss_eff_config.xml
+index ed1de55..c6a2d37 100644
+--- a/src/usr/hwpf/hwp/mc_config/mss_eff_config/memory_mss_eff_config.xml
++++ b/src/usr/hwpf/hwp/mc_config/mss_eff_config/memory_mss_eff_config.xml
+@@ -5,7 +5,7 @@
+ <!-- -->
+ <!-- OpenPOWER HostBoot Project -->
+ <!-- -->
+-<!-- Contributors Listed Below - COPYRIGHT 2013,2014 -->
++<!-- Contributors Listed Below - COPYRIGHT 2013,2015 -->
+ <!-- [+] International Business Machines Corp. -->
+ <!-- -->
+ <!-- -->
+@@ -22,7 +22,7 @@
+ <!-- permissions and limitations under the License. -->
+ <!-- -->
+ <!-- IBM_PROLOG_END_TAG -->
+-<!-- $Id: memory_mss_eff_config.xml,v 1.3 2014/10/20 22:12:59 asaetow Exp $ -->
++<!-- $Id: memory_mss_eff_config.xml,v 1.4 2015-05-27 19:56:31 asaetow Exp $ -->
+ <!-- For file ../../ipl/fapi/mss_eff_config.C -->
+ <!-- // *! OWNER NAME : Anuwat Saetow Email: asaetow@us.ibm.com -->
+ <!-- // *! BACKUP NAME : Mark Bellows Email: bellows@us.ibm.com -->
+@@ -47,9 +47,6 @@
+ <target>TARGET_MBA</target>
+ </deconfigure>
+
+- <gard>
+- <target>TARGET_MBA</target>
+- </gard>
+ </hwpError>
+
+ <!-- *********************************************************************** -->
+@@ -71,9 +68,6 @@
+ <target>TARGET_MBA</target>
+ </deconfigure>
+
+- <gard>
+- <target>TARGET_MBA</target>
+- </gard>
+ </hwpError>
+
+ <!-- *********************************************************************** -->
+@@ -98,9 +92,6 @@
+ <target>TARGET_MBA</target>
+ </deconfigure>
+
+- <gard>
+- <target>TARGET_MBA</target>
+- </gard>
+ </hwpError>
+
+ <!-- *********************************************************************** -->
+@@ -125,9 +116,6 @@
+ <target>TARGET_MBA</target>
+ </deconfigure>
+
+- <gard>
+- <target>TARGET_MBA</target>
+- </gard>
+ </hwpError>
+
+ <!-- *********************************************************************** -->
+@@ -169,10 +157,10 @@
+ <description>Plug rule violation, one position is empty but other are present
+ </description>
+ <FFDC>TARGET_MBA</FFDC>
+- <ffdc>CUR_DIMM_SPD_VALID_U8ARRAY_0_0</ffdc>
+- <ffdc>CUR_DIMM_SPD_VALID_U8ARRAY_0_1</ffdc>
+- <ffdc>CUR_DIMM_SPD_VALID_U8ARRAY_1_0</ffdc>
+- <ffdc>CUR_DIMM_SPD_VALID_U8ARRAY_1_1</ffdc>
++ <ffdc>CUR_DIMM_SPD_VALID_U8ARRAY_0_0</ffdc>
++ <ffdc>CUR_DIMM_SPD_VALID_U8ARRAY_0_1</ffdc>
++ <ffdc>CUR_DIMM_SPD_VALID_U8ARRAY_1_0</ffdc>
++ <ffdc>CUR_DIMM_SPD_VALID_U8ARRAY_1_1</ffdc>
+ <callout>
+ <procedure>MEMORY_PLUGGING_ERROR</procedure>
+ <priority>HIGH</priority>
+@@ -186,10 +174,6 @@
+ <target>TARGET_MBA</target>
+ </deconfigure>
+
+- <gard>
+- <target>TARGET_MBA</target>
+- <priority>HIGH</priority>
+- </gard>
+ </hwpError>
+
+ <!-- *********************************************************************** -->
+@@ -198,10 +182,10 @@
+ <description>Plug rule violation, sides do not match
+ </description>
+ <FFDC>TARGET_MBA</FFDC>
+- <ffdc>CUR_DIMM_SPD_VALID_U8ARRAY_0_0</ffdc>
+- <ffdc>CUR_DIMM_SPD_VALID_U8ARRAY_0_1</ffdc>
+- <ffdc>CUR_DIMM_SPD_VALID_U8ARRAY_1_0</ffdc>
+- <ffdc>CUR_DIMM_SPD_VALID_U8ARRAY_1_1</ffdc>
++ <ffdc>CUR_DIMM_SPD_VALID_U8ARRAY_0_0</ffdc>
++ <ffdc>CUR_DIMM_SPD_VALID_U8ARRAY_0_1</ffdc>
++ <ffdc>CUR_DIMM_SPD_VALID_U8ARRAY_1_0</ffdc>
++ <ffdc>CUR_DIMM_SPD_VALID_U8ARRAY_1_1</ffdc>
+
+ <callout>
+ <procedure>MEMORY_PLUGGING_ERROR</procedure>
+@@ -216,10 +200,6 @@
+ <target>TARGET_MBA</target>
+ </deconfigure>
+
+- <gard>
+- <target>TARGET_MBA</target>
+- <priority>HIGH</priority>
+- </gard>
+ </hwpError>
+
+
+@@ -229,10 +209,10 @@
+ <description>Plug rule violation, top and bottom do not match
+ </description>
+ <FFDC>TARGET_MBA</FFDC>
+- <ffdc>CUR_DIMM_SPD_VALID_U8ARRAY_0_0</ffdc>
+- <ffdc>CUR_DIMM_SPD_VALID_U8ARRAY_0_1</ffdc>
+- <ffdc>CUR_DIMM_SPD_VALID_U8ARRAY_1_0</ffdc>
+- <ffdc>CUR_DIMM_SPD_VALID_U8ARRAY_1_1</ffdc>
++ <ffdc>CUR_DIMM_SPD_VALID_U8ARRAY_0_0</ffdc>
++ <ffdc>CUR_DIMM_SPD_VALID_U8ARRAY_0_1</ffdc>
++ <ffdc>CUR_DIMM_SPD_VALID_U8ARRAY_1_0</ffdc>
++ <ffdc>CUR_DIMM_SPD_VALID_U8ARRAY_1_1</ffdc>
+
+ <callout>
+ <procedure>MEMORY_PLUGGING_ERROR</procedure>
+@@ -247,10 +227,6 @@
+ <target>TARGET_MBA</target>
+ </deconfigure>
+
+- <gard>
+- <target>TARGET_MBA</target>
+- <priority>HIGH</priority>
+- </gard>
+ </hwpError>
+
+ <!-- *********************************************************************** -->
+@@ -259,10 +235,10 @@
+ <description>Incompatable DRAM generation
+ </description>
+ <FFDC>TARGET_MBA</FFDC>
+- <ffdc>DRAM_DEVICE_TYPE_0_0</ffdc>
+- <ffdc>DRAM_DEVICE_TYPE_0_1</ffdc>
+- <ffdc>DRAM_DEVICE_TYPE_1_0</ffdc>
+- <ffdc>DRAM_DEVICE_TYPE_1_1</ffdc>
++ <ffdc>DRAM_DEVICE_TYPE_0_0</ffdc>
++ <ffdc>DRAM_DEVICE_TYPE_0_1</ffdc>
++ <ffdc>DRAM_DEVICE_TYPE_1_0</ffdc>
++ <ffdc>DRAM_DEVICE_TYPE_1_1</ffdc>
+
+ <callout>
+ <procedure>MEMORY_PLUGGING_ERROR</procedure>
+@@ -277,10 +253,6 @@
+ <target>TARGET_MBA</target>
+ </deconfigure>
+
+- <gard>
+- <target>TARGET_MBA</target>
+- <priority>HIGH</priority>
+- </gard>
+ </hwpError>
+
+ <!-- *********************************************************************** -->
+@@ -289,10 +261,10 @@
+ <description>Incompatable DIMM type
+ </description>
+ <FFDC>TARGET_MBA</FFDC>
+- <ffdc>MODULE_TYPE_0_0</ffdc>
+- <ffdc>MODULE_TYPE_0_1</ffdc>
+- <ffdc>MODULE_TYPE_1_0</ffdc>
+- <ffdc>MODULE_TYPE_1_1</ffdc>
++ <ffdc>MODULE_TYPE_0_0</ffdc>
++ <ffdc>MODULE_TYPE_0_1</ffdc>
++ <ffdc>MODULE_TYPE_1_0</ffdc>
++ <ffdc>MODULE_TYPE_1_1</ffdc>
+
+ <callout>
+ <procedure>MEMORY_PLUGGING_ERROR</procedure>
+@@ -307,10 +279,6 @@
+ <target>TARGET_MBA</target>
+ </deconfigure>
+
+- <gard>
+- <target>TARGET_MBA</target>
+- <priority>HIGH</priority>
+- </gard>
+ </hwpError>
+
+ <!-- *********************************************************************** -->
+@@ -319,10 +287,10 @@
+ <description>Incompatable DIMM ranks
+ </description>
+ <FFDC>TARGET_MBA</FFDC>
+- <ffdc>NUM_RANKS_0_0</ffdc>
+- <ffdc>NUM_RANKS_0_1</ffdc>
+- <ffdc>NUM_RANKS_1_0</ffdc>
+- <ffdc>NUM_RANKS_1_1</ffdc>
++ <ffdc>NUM_RANKS_0_0</ffdc>
++ <ffdc>NUM_RANKS_0_1</ffdc>
++ <ffdc>NUM_RANKS_1_0</ffdc>
++ <ffdc>NUM_RANKS_1_1</ffdc>
+
+ <callout>
+ <procedure>MEMORY_PLUGGING_ERROR</procedure>
+@@ -337,10 +305,6 @@
+ <target>TARGET_MBA</target>
+ </deconfigure>
+
+- <gard>
+- <target>TARGET_MBA</target>
+- <priority>HIGH</priority>
+- </gard>
+ </hwpError>
+
+ <!-- *********************************************************************** -->
+@@ -349,10 +313,10 @@
+ <description>Incompatable DIMM banks
+ </description>
+ <FFDC>TARGET_MBA</FFDC>
+- <ffdc>SDRAM_BANKS_0_0</ffdc>
+- <ffdc>SDRAM_BANKS_0_1</ffdc>
+- <ffdc>SDRAM_BANKS_1_0</ffdc>
+- <ffdc>SDRAM_BANKS_1_1</ffdc>
++ <ffdc>SDRAM_BANKS_0_0</ffdc>
++ <ffdc>SDRAM_BANKS_0_1</ffdc>
++ <ffdc>SDRAM_BANKS_1_0</ffdc>
++ <ffdc>SDRAM_BANKS_1_1</ffdc>
+
+ <callout>
+ <procedure>MEMORY_PLUGGING_ERROR</procedure>
+@@ -367,10 +331,6 @@
+ <target>TARGET_MBA</target>
+ </deconfigure>
+
+- <gard>
+- <target>TARGET_MBA</target>
+- <priority>HIGH</priority>
+- </gard>
+ </hwpError>
+
+ <!-- *********************************************************************** -->
+@@ -379,10 +339,10 @@
+ <description>Incompatable DIMM rows
+ </description>
+ <FFDC>TARGET_MBA</FFDC>
+- <ffdc>SDRAM_ROWS_0_0</ffdc>
+- <ffdc>SDRAM_ROWS_0_1</ffdc>
+- <ffdc>SDRAM_ROWS_1_0</ffdc>
+- <ffdc>SDRAM_ROWS_1_1</ffdc>
++ <ffdc>SDRAM_ROWS_0_0</ffdc>
++ <ffdc>SDRAM_ROWS_0_1</ffdc>
++ <ffdc>SDRAM_ROWS_1_0</ffdc>
++ <ffdc>SDRAM_ROWS_1_1</ffdc>
+
+ <callout>
+ <procedure>MEMORY_PLUGGING_ERROR</procedure>
+@@ -397,10 +357,6 @@
+ <target>TARGET_MBA</target>
+ </deconfigure>
+
+- <gard>
+- <target>TARGET_MBA</target>
+- <priority>HIGH</priority>
+- </gard>
+ </hwpError>
+
+ <!-- *********************************************************************** -->
+@@ -409,10 +365,10 @@
+ <description>Incompatable DIMM columns
+ </description>
+ <FFDC>TARGET_MBA</FFDC>
+- <ffdc>SDRAM_COLS_0_0</ffdc>
+- <ffdc>SDRAM_COLS_0_1</ffdc>
+- <ffdc>SDRAM_COLS_1_0</ffdc>
+- <ffdc>SDRAM_COLS_1_1</ffdc>
++ <ffdc>SDRAM_COLS_0_0</ffdc>
++ <ffdc>SDRAM_COLS_0_1</ffdc>
++ <ffdc>SDRAM_COLS_1_0</ffdc>
++ <ffdc>SDRAM_COLS_1_1</ffdc>
+
+ <callout>
+ <procedure>MEMORY_PLUGGING_ERROR</procedure>
+@@ -427,10 +383,6 @@
+ <target>TARGET_MBA</target>
+ </deconfigure>
+
+- <gard>
+- <target>TARGET_MBA</target>
+- <priority>HIGH</priority>
+- </gard>
+ </hwpError>
+
+ <!-- *********************************************************************** -->
+@@ -439,10 +391,10 @@
+ <description>Incompatable DRAM primary bus width
+ </description>
+ <FFDC>TARGET_MBA</FFDC>
+- <ffdc>BUS_WIDTH_0_0</ffdc>
+- <ffdc>BUS_WIDTH_0_1</ffdc>
+- <ffdc>BUS_WIDTH_1_0</ffdc>
+- <ffdc>BUS_WIDTH_1_1</ffdc>
++ <ffdc>BUS_WIDTH_0_0</ffdc>
++ <ffdc>BUS_WIDTH_0_1</ffdc>
++ <ffdc>BUS_WIDTH_1_0</ffdc>
++ <ffdc>BUS_WIDTH_1_1</ffdc>
+
+ <callout>
+ <procedure>MEMORY_PLUGGING_ERROR</procedure>
+@@ -457,10 +409,6 @@
+ <target>TARGET_MBA</target>
+ </deconfigure>
+
+- <gard>
+- <target>TARGET_MBA</target>
+- <priority>HIGH</priority>
+- </gard>
+ </hwpError>
+
+
+@@ -483,10 +431,6 @@
+ <target>TARGET_MBA</target>
+ </deconfigure>
+
+- <gard>
+- <target>TARGET_MBA</target>
+- <priority>HIGH</priority>
+- </gard>
+ </hwpError>
+
+
+@@ -496,10 +440,10 @@
+ <description>Incompatable DRAM width
+ </description>
+ <FFDC>TARGET_MBA</FFDC>
+- <ffdc>DRAM_WIDTH_0_0</ffdc>
+- <ffdc>DRAM_WIDTH_0_1</ffdc>
+- <ffdc>DRAM_WIDTH_1_0</ffdc>
+- <ffdc>DRAM_WIDTH_1_1</ffdc>
++ <ffdc>DRAM_WIDTH_0_0</ffdc>
++ <ffdc>DRAM_WIDTH_0_1</ffdc>
++ <ffdc>DRAM_WIDTH_1_0</ffdc>
++ <ffdc>DRAM_WIDTH_1_1</ffdc>
+
+ <callout>
+ <procedure>MEMORY_PLUGGING_ERROR</procedure>
+@@ -514,10 +458,6 @@
+ <target>TARGET_MBA</target>
+ </deconfigure>
+
+- <gard>
+- <target>TARGET_MBA</target>
+- <priority>HIGH</priority>
+- </gard>
+ </hwpError>
+
+ <!-- *********************************************************************** -->
+@@ -540,10 +480,6 @@
+ <target>TARGET_MBA</target>
+ </deconfigure>
+
+- <gard>
+- <target>TARGET_MBA</target>
+- <priority>HIGH</priority>
+- </gard>
+ </hwpError>
+
+ <!-- *********************************************************************** -->
+@@ -566,10 +502,6 @@
+ <target>TARGET_MBA</target>
+ </deconfigure>
+
+- <gard>
+- <target>TARGET_MBA</target>
+- <priority>HIGH</priority>
+- </gard>
+ </hwpError>
+
+ <!-- *********************************************************************** -->
+@@ -591,10 +523,6 @@
+ <target>TARGET_MBA</target>
+ </deconfigure>
+
+- <gard>
+- <target>TARGET_MBA</target>
+- <priority>HIGH</priority>
+- </gard>
+ </hwpError>
+
+ <!-- *********************************************************************** -->
+@@ -616,10 +544,6 @@
+ <target>TARGET_MBA</target>
+ </deconfigure>
+
+- <gard>
+- <target>TARGET_MBA</target>
+- <priority>HIGH</priority>
+- </gard>
+ </hwpError>
+
+ <!-- *********************************************************************** -->
+@@ -641,10 +565,6 @@
+ <target>TARGET_MBA</target>
+ </deconfigure>
+
+- <gard>
+- <target>TARGET_MBA</target>
+- <priority>HIGH</priority>
+- </gard>
+ </hwpError>
+
+ <!-- *********************************************************************** -->
+@@ -666,10 +586,6 @@
+ <target>TARGET_MBA</target>
+ </deconfigure>
+
+- <gard>
+- <target>TARGET_MBA</target>
+- <priority>HIGH</priority>
+- </gard>
+ </hwpError>
+
+ <!-- *********************************************************************** -->
+@@ -691,10 +607,6 @@
+ <target>TARGET_MBA</target>
+ </deconfigure>
+
+- <gard>
+- <target>TARGET_MBA</target>
+- <priority>HIGH</priority>
+- </gard>
+ </hwpError>
+
+ <!-- *********************************************************************** -->
+@@ -716,10 +628,6 @@
+ <target>TARGET_MBA</target>
+ </deconfigure>
+
+- <gard>
+- <target>TARGET_MBA</target>
+- <priority>HIGH</priority>
+- </gard>
+ </hwpError>
+
+ <!-- *********************************************************************** -->
+@@ -741,10 +649,6 @@
+ <target>TARGET_MBA</target>
+ </deconfigure>
+
+- <gard>
+- <target>TARGET_MBA</target>
+- <priority>HIGH</priority>
+- </gard>
+ </hwpError>
+
+ <!-- *********************************************************************** -->
+@@ -766,10 +670,6 @@
+ <target>TARGET_MBA</target>
+ </deconfigure>
+
+- <gard>
+- <target>TARGET_MBA</target>
+- <priority>HIGH</priority>
+- </gard>
+ </hwpError>
+
+ <!-- *********************************************************************** -->
+@@ -791,10 +691,6 @@
+ <target>TARGET_MBA</target>
+ </deconfigure>
+
+- <gard>
+- <target>TARGET_MBA</target>
+- <priority>HIGH</priority>
+- </gard>
+ </hwpError>
+
+ <!-- *********************************************************************** -->
+@@ -816,10 +712,6 @@
+ <target>TARGET_MBA</target>
+ </deconfigure>
+
+- <gard>
+- <target>TARGET_MBA</target>
+- <priority>HIGH</priority>
+- </gard>
+ </hwpError>
+
+ <!-- *********************************************************************** -->
+@@ -841,10 +733,6 @@
+ <target>TARGET_MBA</target>
+ </deconfigure>
+
+- <gard>
+- <target>TARGET_MBA</target>
+- <priority>HIGH</priority>
+- </gard>
+ </hwpError>
+
+ <!-- *********************************************************************** -->
+@@ -866,10 +754,6 @@
+ <target>TARGET_MBA</target>
+ </deconfigure>
+
+- <gard>
+- <target>TARGET_MBA</target>
+- <priority>HIGH</priority>
+- </gard>
+ </hwpError>
+
+
+diff --git a/src/usr/hwpf/hwp/mc_config/mss_eff_config/memory_mss_eff_config_termination.xml b/src/usr/hwpf/hwp/mc_config/mss_eff_config/memory_mss_eff_config_termination.xml
+index 9f3c89c..f04b0a6 100644
+--- a/src/usr/hwpf/hwp/mc_config/mss_eff_config/memory_mss_eff_config_termination.xml
++++ b/src/usr/hwpf/hwp/mc_config/mss_eff_config/memory_mss_eff_config_termination.xml
+@@ -5,7 +5,9 @@
+ <!-- -->
+ <!-- OpenPOWER HostBoot Project -->
+ <!-- -->
+-<!-- COPYRIGHT International Business Machines Corp. 2013,2014 -->
++<!-- Contributors Listed Below - COPYRIGHT 2013,2015 -->
++<!-- [+] International Business Machines Corp. -->
++<!-- -->
+ <!-- -->
+ <!-- Licensed under the Apache License, Version 2.0 (the "License"); -->
+ <!-- you may not use this file except in compliance with the License. -->
+@@ -20,7 +22,7 @@
+ <!-- permissions and limitations under the License. -->
+ <!-- -->
+ <!-- IBM_PROLOG_END_TAG -->
+-<!-- $Id: memory_mss_eff_config_termination.xml,v 1.2 2014/04/07 23:02:10 lapietra Exp $ -->
++<!-- $Id: memory_mss_eff_config_termination.xml,v 1.3 2015-05-27 20:02:29 asaetow Exp $ -->
+ <!-- For file ../../ipl/fapi/mss_eff_config_termination.C -->
+ <!-- // *! OWNER NAME : Dave Cadigan Email: dcadiga@us.ibm.com -->
+ <!-- // *! BACKUP NAME : Anuwat Saetow Email: asaetow@us.ibm.com -->
+@@ -195,9 +197,6 @@
+ <target>TARGET_MBA</target>
+ </deconfigure>
+
+- <gard>
+- <target>TARGET_MBA</target>
+- </gard>
+ </hwpError>
+
+ <!-- *********************************************************************** -->
+@@ -220,9 +219,6 @@
+ <target>TARGET_MBA</target>
+ </deconfigure>
+
+- <gard>
+- <target>TARGET_MBA</target>
+- </gard>
+ </hwpError>
+ <!-- *********************************************************************** -->
+ <hwpError>
+@@ -245,9 +241,6 @@
+ <target>TARGET_MBA</target>
+ </deconfigure>
+
+- <gard>
+- <target>TARGET_MBA</target>
+- </gard>
+ </hwpError>
+
+ <!-- *********************************************************************** -->
+@@ -271,9 +264,6 @@
+ <target>TARGET_MBA</target>
+ </deconfigure>
+
+- <gard>
+- <target>TARGET_MBA</target>
+- </gard>
+ </hwpError>
+
+ <!-- *********************************************************************** -->
+@@ -297,9 +287,6 @@
+ <target>TARGET_MBA</target>
+ </deconfigure>
+
+- <gard>
+- <target>TARGET_MBA</target>
+- </gard>
+ </hwpError>
+
+ <!-- *********************************************************************** -->
+@@ -323,9 +310,6 @@
+ <target>TARGET_MBA</target>
+ </deconfigure>
+
+- <gard>
+- <target>TARGET_MBA</target>
+- </gard>
+ </hwpError>
+
+ <!-- *********************************************************************** -->
+@@ -349,9 +333,6 @@
+ <target>TARGET_MBA</target>
+ </deconfigure>
+
+- <gard>
+- <target>TARGET_MBA</target>
+- </gard>
+ </hwpError>
+
+ <!-- *********************************************************************** -->
+@@ -374,9 +355,6 @@
+ <target>TARGET_MBA</target>
+ </deconfigure>
+
+- <gard>
+- <target>TARGET_MBA</target>
+- </gard>
+ </hwpError>
+
+ <!-- *********************************************************************** -->
+@@ -400,9 +378,6 @@
+ <target>TARGET_MBA</target>
+ </deconfigure>
+
+- <gard>
+- <target>TARGET_MBA</target>
+- </gard>
+ </hwpError>
+
+ <!-- *********************************************************************** -->
+@@ -425,9 +400,6 @@
+ <target>TARGET_MBA</target>
+ </deconfigure>
+
+- <gard>
+- <target>TARGET_MBA</target>
+- </gard>
+ </hwpError>
+
+ <!-- *********************************************************************** -->
+@@ -450,9 +422,6 @@
+ <target>TARGET_MBA</target>
+ </deconfigure>
+
+- <gard>
+- <target>TARGET_MBA</target>
+- </gard>
+ </hwpError>
+
+ <!-- *********************************************************************** -->
+@@ -476,9 +445,6 @@
+ <target>TARGET_MBA</target>
+ </deconfigure>
+
+- <gard>
+- <target>TARGET_MBA</target>
+- </gard>
+ </hwpError>
+
+ <!-- *********************************************************************** -->
+@@ -497,9 +463,6 @@
+ <target>TARGET_MBA</target>
+ </deconfigure>
+
+- <gard>
+- <target>TARGET_MBA</target>
+- </gard>
+ </hwpError>
+
+ <!-- *********************************************************************** -->
+@@ -523,9 +486,6 @@
+ <target>TARGET_MBA</target>
+ </deconfigure>
+
+- <gard>
+- <target>TARGET_MBA</target>
+- </gard>
+ </hwpError>
+ <!-- *********************************************************************** -->
+ <hwpError>
+@@ -650,9 +610,6 @@
+ <target>TARGET_MBA</target>
+ </deconfigure>
+
+- <gard>
+- <target>TARGET_MBA</target>
+- </gard>
+ </hwpError>
+
+ <!-- *********************************************************************** -->
+@@ -675,9 +632,6 @@
+ <target>TARGET_MBA</target>
+ </deconfigure>
+
+- <gard>
+- <target>TARGET_MBA</target>
+- </gard>
+ </hwpError>
+
+ <!-- *********************************************************************** -->
+@@ -699,9 +653,6 @@
+ <target>TARGET_MBA</target>
+ </deconfigure>
+
+- <gard>
+- <target>TARGET_MBA</target>
+- </gard>
+ </hwpError>
+
+
+@@ -724,9 +675,6 @@
+ <target>TARGET_MBA</target>
+ </deconfigure>
+
+- <gard>
+- <target>TARGET_MBA</target>
+- </gard>
+ </hwpError>
+
+ <!-- *********************************************************************** -->
+@@ -750,9 +698,6 @@
+ <target>TARGET_MBA</target>
+ </deconfigure>
+
+- <gard>
+- <target>TARGET_MBA</target>
+- </gard>
+ </hwpError>
+
+ <!-- *********************************************************************** -->
+@@ -820,9 +765,6 @@
+ <target>TARGET_MBA</target>
+ </deconfigure>
+
+- <gard>
+- <target>TARGET_MBA</target>
+- </gard>
+ </hwpError>
+
+ <!-- *********************************************************************** -->
+@@ -845,9 +787,6 @@
+ <target>TARGET_MBA</target>
+ </deconfigure>
+
+- <gard>
+- <target>TARGET_MBA</target>
+- </gard>
+ </hwpError>
+
+ </hwpErrors>
+--
+2.3.0
+
diff --git a/openpower/package/hostboot/hostboot-0003-mss_thermal_undo.patch b/openpower/package/hostboot/hostboot-0003-mss_thermal_undo.patch
deleted file mode 100644
index 455b3c7..0000000
--- a/openpower/package/hostboot/hostboot-0003-mss_thermal_undo.patch
+++ /dev/null
@@ -1,43 +0,0 @@
-From d7b5b4a29107c17ad97b2c25cec11f51df485ea1 Mon Sep 17 00:00:00 2001
-From: Brian Horton <brianh@linux.ibm.com>
-Date: Tue, 31 Mar 2015 13:26:40 -0500
-Subject: [PATCH] undo 1.18 change
-
-Change-Id: I477dd4a478fc3c752a7f4f9dd1dff9f03ce39cc1
----
- .../mss_thermal_init/mss_thermal_init.C | 5 +++--
- 1 files changed, 3 insertions(+), 2 deletions(-)
-
-diff --git a/src/usr/hwpf/hwp/dram_initialization/mss_thermal_init/mss_thermal_init.C b/src/usr/hwpf/hwp/dram_initialization/mss_thermal_init/mss_thermal_init.C
-index a98b58d..b90d1d6 100644
---- a/src/usr/hwpf/hwp/dram_initialization/mss_thermal_init/mss_thermal_init.C
-+++ b/src/usr/hwpf/hwp/dram_initialization/mss_thermal_init/mss_thermal_init.C
-@@ -22,7 +22,7 @@
- /* permissions and limitations under the License. */
- /* */
- /* IBM_PROLOG_END_TAG */
--// $Id: mss_thermal_init.C,v 1.20 2015/03/02 20:43:37 pardeik Exp $
-+// $Id: mss_thermal_init.C,v 1.20a CHANGED IN OPENPOWER PATCH brianh Exp $
- // $Source: /afs/awd/projects/eclipz/KnowledgeBase/.cvsroot/eclipz/chips/centaur/working/procedures/ipl/fapi/mss_thermal_init.C,v $
- //------------------------------------------------------------------------------
- // *! (C) Copyright International Business Machines Corp. 2011
-@@ -49,6 +49,7 @@
- //------------------------------------------------------------------------------
- // Version:| Author: | Date: | Comment:
- //---------|----------|---------|-----------------------------------------------
-+// 1.20a | brianh |31-MAR-15| under 1.18
- // 1.20 | pardeik |02-MAR-15| initialize l_dimm_ranks_array to zero
- // | use const variables in for loops instead of numbers
- // 1.18 | pardeik |12-FEB-15| change ATTR_MRW_MEM_SENSOR_CACHE_ADDR_MAP to
-@@ -295,7 +296,7 @@ fapi::ReturnCode mss_thermal_init(const fapi::Target & i_target)
- else
- {
- // sensor cache address map for non custom dimm temperature sensors (which i2c bus and i2c address they are)
-- l_rc = FAPI_ATTR_GET(ATTR_MRW_MEM_SENSOR_CACHE_ADDR_MAP, &i_target, l_dimm_sensor_cache_addr_map);
-+ l_rc = FAPI_ATTR_GET(ATTR_MRW_MEM_SENSOR_CACHE_ADDR_MAP, NULL, l_dimm_sensor_cache_addr_map);
- if (l_rc) return l_rc;
- }
-
---
-1.7.4.1
-
diff --git a/openpower/package/hostboot/hostboot-0004-SW311560-HWP-error-prevent-IPL-on-habanero.patch b/openpower/package/hostboot/hostboot-0004-SW311560-HWP-error-prevent-IPL-on-habanero.patch
new file mode 100644
index 0000000..cb4e060
--- /dev/null
+++ b/openpower/package/hostboot/hostboot-0004-SW311560-HWP-error-prevent-IPL-on-habanero.patch
@@ -0,0 +1,60 @@
+From 58a3d0ad88b91c7c9cab1e2c4c9e3dbc7377303f Mon Sep 17 00:00:00 2001
+From: Prachi Gupta <pragupta@us.ibm.com>
+Date: Wed, 17 Jun 2015 09:22:10 -0500
+Subject: [PATCH] SW311560: HWP error prevent IPL on habanero
+
+Change-Id: Ibd19f1986c768e08a97acdbd8b39c174f51bb399
+CQ:SW311560
+---
+ .../hwp/mc_config/mss_eff_config/mss_eff_config_thermal.C | 14 +++++++++-----
+ 1 file changed, 9 insertions(+), 5 deletions(-)
+
+diff --git a/src/usr/hwpf/hwp/mc_config/mss_eff_config/mss_eff_config_thermal.C b/src/usr/hwpf/hwp/mc_config/mss_eff_config/mss_eff_config_thermal.C
+index 1f1bb7e..996a1e0 100644
+--- a/src/usr/hwpf/hwp/mc_config/mss_eff_config/mss_eff_config_thermal.C
++++ b/src/usr/hwpf/hwp/mc_config/mss_eff_config/mss_eff_config_thermal.C
+@@ -22,7 +22,7 @@
+ /* permissions and limitations under the License. */
+ /* */
+ /* IBM_PROLOG_END_TAG */
+-// $Id: mss_eff_config_thermal.C,v 1.31 2015/04/06 22:33:11 pardeik Exp $
++// $Id: mss_eff_config_thermal.C,v 1.32 2015/06/16 21:57:30 pardeik Exp $
+ // $Source: /afs/awd/projects/eclipz/KnowledgeBase/.cvsroot/eclipz/chips/
+ // centaur/working/procedures/ipl/fapi/mss_eff_config_thermal.C,v $
+ //------------------------------------------------------------------------------
+@@ -55,6 +55,9 @@
+ //------------------------------------------------------------------------------
+ // Version:| Author: | Date: | Comment:
+ //---------|----------|---------|-----------------------------------------------
++// 1.32 | pardeik | 06/16/15| fix for ISDIMM systems to prevent a zero
++// | | | ATTR_MSS_MEM_WATT_TARGET value
++// | | | Removed unneeded TODO commented section
+ // 1.31 | pardeik | 04/06/15 | attribute name changed for adjustment enable
+ // 1.30 | pardeik |12-FEB-15| CDIMM DDR4 throttle updates (set Nmba to Nchip)
+ // | | | Support for vmem regulator power adjustment
+@@ -131,10 +134,6 @@
+ // | | | case.
+ // 1.1 | pardeik |01-NOV-11| First Draft.
+
+-/*
+-TODO ITEMS:
+-1. Update ISDIMM power table after hardware measurements are done (GA3)
+-*/
+
+ //------------------------------------------------------------------------------
+ // My Includes
+@@ -583,6 +582,11 @@ extern "C" {
+ //------------------------------------------------------------------------------
+
+ // adjust the regulator power limit per dimm if enabled and use this if less than the thermal limit
++// If reg power limit is zero, then set to thermal limit - needed for ISDIMM systems since some of these MRW attributes are not defined
++ if (l_dimm_reg_power_limit_per_dimm == 0)
++ {
++ l_dimm_reg_power_limit_per_dimm = dimm_thermal_power_limit;
++ }
+ l_dimm_reg_power_limit_per_dimm_adj = l_dimm_reg_power_limit_per_dimm;
+ if (l_dimm_reg_power_limit_adj_enable == fapi::ENUM_ATTR_MRW_VMEM_REGULATOR_POWER_LIMIT_PER_DIMM_ADJ_ENABLE_TRUE)
+ {
+--
+1.8.2.2
+
diff --git a/openpower/package/hostboot/hostboot-0004-targeting-support-for-backplane-VPD.patch b/openpower/package/hostboot/hostboot-0004-targeting-support-for-backplane-VPD.patch
deleted file mode 100644
index edd4941..0000000
--- a/openpower/package/hostboot/hostboot-0004-targeting-support-for-backplane-VPD.patch
+++ /dev/null
@@ -1,29 +0,0 @@
-From bc07c585c41d4c6119d8608af27ab7ad1acdaab8 Mon Sep 17 00:00:00 2001
-From: Mike Baiocchi <baiocchi@us.ibm.com>
-Date: Wed, 22 Apr 2015 10:31:08 -0500
-Subject: [PATCH] Add targeting support for backplane VPD
-
-Only the targeting support required by "Updated VPD_REC_NUM numbering"
-
-Change-Id: I24cda4d713806330a9f61d588006d63966f92550
-RTC: 118373
----
- src/usr/targeting/common/xmltohb/target_types.xml | 2 ++
- 1 file changed, 2 insertions(+)
-
-diff --git a/src/usr/targeting/common/xmltohb/target_types.xml b/src/usr/targeting/common/xmltohb/target_types.xml
-index 82ec014..759b73e 100644
---- a/src/usr/targeting/common/xmltohb/target_types.xml
-+++ b/src/usr/targeting/common/xmltohb/target_types.xml
-@@ -913,6 +913,8 @@
- <attribute><id>FRU_ID</id></attribute>
- <attribute><id>TPM_PRIMARY_INFO</id></attribute>
- <attribute><id>TPM_BACKUP_INFO</id></attribute>
-+ <attribute><id>EEPROM_VPD_PRIMARY_INFO</id></attribute>
-+ <attribute><id>VPD_REC_NUM</id></attribute>
- </targetType>
-
- <targetType>
---
-1.8.2.2
-
diff --git a/openpower/package/hostboot/hostboot-0005-shutdown-deconfig-outside-reconfig-loop.patch b/openpower/package/hostboot/hostboot-0005-shutdown-deconfig-outside-reconfig-loop.patch
new file mode 100644
index 0000000..773a9db
--- /dev/null
+++ b/openpower/package/hostboot/hostboot-0005-shutdown-deconfig-outside-reconfig-loop.patch
@@ -0,0 +1,187 @@
+From 7c592db2c42b8dbef0f31a8daebb97ff0ed6a3ac Mon Sep 17 00:00:00 2001
+From: Stephen Cprek <smcprek@us.ibm.com>
+Date: Tue, 30 Jun 2015 16:49:22 -0500
+Subject: [PATCH] Shutdown when deconfig outside of reconfig loop on BMC
+ systems
+
+Change-Id: I1faf0ab0d831a41c332993f555231a8dbecf53ef
+CQ:SW312075
+---
+ src/include/usr/initservice/initsvcreasoncodes.H | 4 +-
+ .../initservice/istepdispatcher/istepdispatcher.C | 120 ++++++++++++++++-----
+ 2 files changed, 98 insertions(+), 26 deletions(-)
+
+diff --git a/src/include/usr/initservice/initsvcreasoncodes.H b/src/include/usr/initservice/initsvcreasoncodes.H
+index d11824e..e174564 100644
+--- a/src/include/usr/initservice/initsvcreasoncodes.H
++++ b/src/include/usr/initservice/initsvcreasoncodes.H
+@@ -5,7 +5,7 @@
+ /* */
+ /* OpenPOWER HostBoot Project */
+ /* */
+-/* Contributors Listed Below - COPYRIGHT 2011,2014 */
++/* Contributors Listed Below - COPYRIGHT 2011,2015 */
+ /* [+] International Business Machines Corp. */
+ /* */
+ /* */
+@@ -74,6 +74,8 @@ enum InitServiceReasonCode
+ //termination_rc
+ SBE_EXTRACT_RC_REQUEST_REIPL = INITSVC_COMP_ID | 0x0e,
+ RECONFIG_LOOP_TEST_RC = INITSVC_COMP_ID | 0x0f,
++ //termination_rc
++ SHUTDOWN_NOT_RECONFIG_LOOP = INITSVC_COMP_ID | 0x10,
+ };
+
+ enum InitServiceUserDetailDataSubSection
+diff --git a/src/usr/initservice/istepdispatcher/istepdispatcher.C b/src/usr/initservice/istepdispatcher/istepdispatcher.C
+index d3581e9..7f3c0b7 100644
+--- a/src/usr/initservice/istepdispatcher/istepdispatcher.C
++++ b/src/usr/initservice/istepdispatcher/istepdispatcher.C
+@@ -96,6 +96,10 @@ const uint8_t OUTER_STOP_STEP = 14;
+ const uint8_t OUTER_STOP_SUBSTEP = 5;
+ const uint8_t HB_START_ISTEP = 6;
+
++// @todo RTC 124679 - Remove Once BMC Monitors Shutdown Attention
++// Set Watchdog Timer To 15 seconds before calling doShutdown()
++const uint16_t SET_WD_TIMER_IN_SECS = 15;
++
+ /**
+ * _start() task entry procedure using the macro in taskargs.H
+ */
+@@ -506,14 +510,58 @@ errlHndl_t IStepDispatcher::executeAllISteps()
+ }
+ else
+ {
+- // Reconfig loop required, but the istep is either outside
+- // of the reconfig loop, too many reconfigs have been
+- // attempted, in manufacturing mode, or in MPIPL.
+- // Return an error to cause termination
++
+ if (!err)
+ {
+- err = failedDueToDeconfig(istep, substep,
+- newIstep, newSubstep);
++ // Reconfig loop required, but the istep is either outside
++ // of the reconfig loop, too many reconfigs have been
++ // attempted, in manufacturing mode, or in MPIPL.
++ // Return an error to cause termination on FSP systems
++ if (iv_spBaseServicesEnabled)
++ {
++ err = failedDueToDeconfig(istep, substep,
++ newIstep, newSubstep);
++ }
++ // Otherwise increment the reboot count and shutdown
++ #ifdef CONFIG_BMC_IPMI
++ else
++ {
++ uint16_t l_count = 0;
++ SENSOR::RebootCountSensor l_sensor;
++
++ // Read reboot count sensor
++ err = l_sensor.getRebootCount(l_count);
++ if (err)
++ {
++ TRACFCOMP(g_trac_initsvc, ERR_MRK"executeAllISteps: getRebootCount failed");
++ break;
++ }
++ // Increment reboot count
++ l_count++;
++ err = l_sensor.setRebootCount(l_count);
++ if (err)
++ {
++ TRACFCOMP(g_trac_initsvc, ERR_MRK"executeAllISteps: setRebootCount to %d failed", l_count);
++ break;
++ }
++
++ // @TODO RTC:124679 - Remove Once BMC Monitors
++ // Shutdown Attention
++ // Set Watchdog Timer before calling doShutdown()
++ TRACFCOMP( g_trac_initsvc,"executeAllISteps: "
++ "Set Watch Dog Timer To %d Seconds",
++ SET_WD_TIMER_IN_SECS);
++
++ err = IPMIWATCHDOG::setWatchDogTimer(
++ SET_WD_TIMER_IN_SECS, // new time
++ static_cast<uint8_t>
++ (IPMIWATCHDOG::DO_NOT_STOP |
++ IPMIWATCHDOG::BIOS_FRB2), // default
++ IPMIWATCHDOG::TIMEOUT_HARD_RESET);
++
++ shutdownDuringIpl();
++ }
++ #endif
+ }
+ // else return the error from doIstep
+ }
+@@ -1260,27 +1308,49 @@ void IStepDispatcher::shutdownDuringIpl()
+ {
+ TRACFCOMP(g_trac_initsvc, ENTER_MRK"IStepDispatcher::shutdownDuringIpl");
+
+- // Create and commit error log for FFDC
+-
+- /*@
+- * @errortype
+- * @reasoncode SHUTDOWN_REQUESTED_BY_FSP
+- * @severity ERRORLOG::ERRL_SEV_INFORMATIONAL
+- * @moduleid ISTEP_INITSVC_MOD_ID
+- * @userdata1 Current IStep
+- * @userdata2 Current SubStep
+- * @devdesc Received shutdown request from FSP
+- */
+- errlHndl_t err = new ERRORLOG::ErrlEntry(
+- ERRORLOG::ERRL_SEV_INFORMATIONAL,
+- ISTEP_INITSVC_MOD_ID,
+- SHUTDOWN_REQUESTED_BY_FSP,
+- this->iv_curIStep, this->iv_curSubStep);
++ // Create and commit error log for FFDC and call doShutdown with the RC
++ // to initiate a TI
++ if (iv_spBaseServicesEnabled)
++ {
++ /*@
++ * @errortype
++ * @reasoncode SHUTDOWN_REQUESTED_BY_FSP
++ * @severity ERRORLOG::ERRL_SEV_INFORMATIONAL
++ * @moduleid ISTEP_INITSVC_MOD_ID
++ * @userdata1 Current IStep
++ * @userdata2 Current SubStep
++ * @devdesc Received shutdown request from FSP
++ */
++ errlHndl_t err = new ERRORLOG::ErrlEntry(
++ ERRORLOG::ERRL_SEV_INFORMATIONAL,
++ ISTEP_INITSVC_MOD_ID,
++ SHUTDOWN_REQUESTED_BY_FSP,
++ this->iv_curIStep, this->iv_curSubStep);
+
+- errlCommit(err, INITSVC_COMP_ID);
++ errlCommit(err, INITSVC_COMP_ID);
++ INITSERVICE::doShutdown(SHUTDOWN_REQUESTED_BY_FSP);
++ }
++ else
++ {
++ /*@
++ * @errortype
++ * @reasoncode SHUTDOWN_NOT_RECONFIG_LOOP
++ * @severity ERRORLOG::ERRL_SEV_INFORMATIONAL
++ * @moduleid ISTEP_INITSVC_MOD_ID
++ * @userdata1 Current IStep
++ * @userdata2 Current SubStep
++ * @devdesc Received shutdown request due to deconfigure
++ * outside of reconfig loop
++ */
++ errlHndl_t err = new ERRORLOG::ErrlEntry(
++ ERRORLOG::ERRL_SEV_INFORMATIONAL,
++ ISTEP_INITSVC_MOD_ID,
++ SHUTDOWN_NOT_RECONFIG_LOOP,
++ this->iv_curIStep, this->iv_curSubStep);
+
+- // Call doShutdown with the RC to initiate a TI
+- INITSERVICE::doShutdown(SHUTDOWN_REQUESTED_BY_FSP);
++ errlCommit(err, INITSVC_COMP_ID);
++ INITSERVICE::doShutdown(SHUTDOWN_NOT_RECONFIG_LOOP);
++ }
+
+ }
+
+--
+1.8.2.2
+
diff --git a/openpower/package/hostboot/hostboot-0006-Change-the-way-we-handle-response-to-chassis-power-c.patch b/openpower/package/hostboot/hostboot-0006-Change-the-way-we-handle-response-to-chassis-power-c.patch
new file mode 100644
index 0000000..92b80d1
--- /dev/null
+++ b/openpower/package/hostboot/hostboot-0006-Change-the-way-we-handle-response-to-chassis-power-c.patch
@@ -0,0 +1,82 @@
+From 547e3794064bc372e8d10a371bb9e305c89b8f8f Mon Sep 17 00:00:00 2001
+From: Matt Ploetz <maploetz@us.ibm.com>
+Date: Fri, 17 Jul 2015 11:55:19 -0500
+Subject: [PATCH] Change the way we handle response to chassis power cycle
+
+Change-Id: I7cb62670fe4b1ce900d0bd2a03061248d5123cc0
+RTC:131615
+Reviewed-on: http://gfw160.aus.stglabs.ibm.com:8080/gerrit/19148
+Tested-by: Jenkins Server
+Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
+---
+ src/include/usr/ipmi/ipmiif.H | 1 +
+ src/usr/ipmi/ipmibt.C | 11 ++++++++++-
+ src/usr/ipmi/ipmirp.C | 8 ++++----
+ 3 files changed, 15 insertions(+), 5 deletions(-)
+
+diff --git a/src/include/usr/ipmi/ipmiif.H b/src/include/usr/ipmi/ipmiif.H
+index 26ffba3..fa13c32 100644
+--- a/src/include/usr/ipmi/ipmiif.H
++++ b/src/include/usr/ipmi/ipmiif.H
+@@ -62,6 +62,7 @@ namespace IPMI
+ CHASSIS_POWER_OFF = 0x00,
+ CHASSIS_POWER_SOFT_RESET = 0x01,
+ CHASSIS_POWER_CYCLE = 0x02,
++ CHASSIS_POWER_RESET = 0x03,
+ };
+
+ // Used in the factory for creating the proper subclass.
+diff --git a/src/usr/ipmi/ipmibt.C b/src/usr/ipmi/ipmibt.C
+index 7c68cdc..42a26e0 100644
+--- a/src/usr/ipmi/ipmibt.C
++++ b/src/usr/ipmi/ipmibt.C
+@@ -317,6 +317,15 @@ namespace IPMI
+ "completion code %x",
+ iv_netfun, iv_cmd, iv_seq, iv_cc);
+
++ if (iv_cc == IPMI::CC_CMDSPC1)
++ {
++ // We got a completion code with 0x80, which is no data
++ // Let's trace the event, but not log an error.
++ IPMI_TRAC(ERR_MRK "SEL returned with no data, not logging "
++ "an error");
++ break;
++ }
++
+ /* @errorlog tag
+ * @errortype ERRL_SEV_INFORMATIONAL
+ * @moduleid IPMI::MOD_IPMISRV_REPLY
+@@ -338,7 +347,7 @@ namespace IPMI
+ errlCommit(err, IPMI_COMP_ID);
+ break;
+ }
+-
++
+ // Before we self destruct, we need to turn the data collected in to
+ // a record we can pass to the waiting event handler.
+ Singleton<IpmiRP>::instance().postEvent(new IPMI::oemSEL(iv_data));
+diff --git a/src/usr/ipmi/ipmirp.C b/src/usr/ipmi/ipmirp.C
+index 9b69991..9a9b506 100644
+--- a/src/usr/ipmi/ipmirp.C
++++ b/src/usr/ipmi/ipmirp.C
+@@ -438,13 +438,13 @@ void IpmiRP::handlePowerMessage( IPMI::oemSEL* i_event )
+ #endif
+
+ }
+- // If the event type is a power soft reset aka power cycle
++ // If the event type is a power soft reset, send a chasis reset
+ // update the modifier to send to the BMC
+ else if( i_event->iv_cmd[1] == IPMI::CHASSIS_POWER_SOFT_RESET )
+ {
+- // handle the message as a power cycle request
+- IPMI_TRAC("IPMI power cycle request received");
+- iv_chassis_power_mod = IPMI::CHASSIS_POWER_CYCLE;
++ // handle the message as a power reset request
++ IPMI_TRAC("IPMI power reset request received");
++ iv_chassis_power_mod = IPMI::CHASSIS_POWER_RESET;
+ #ifdef CONFIG_CONSOLE
+ CONSOLE::displayf(NULL, "IPMI: power cycle requested");
+ CONSOLE::flush();
+--
+2.4.4
+
diff --git a/openpower/package/hostboot/hostboot-0007-Fix-handling-of-ECC-protected-partitions-at-runtime.patch b/openpower/package/hostboot/hostboot-0007-Fix-handling-of-ECC-protected-partitions-at-runtime.patch
deleted file mode 100644
index c9385d2..0000000
--- a/openpower/package/hostboot/hostboot-0007-Fix-handling-of-ECC-protected-partitions-at-runtime.patch
+++ /dev/null
@@ -1,34 +0,0 @@
-From 69e22b2f8c8425b4f2ec8f7adcf164afed7f2ff8 Mon Sep 17 00:00:00 2001
-From: Dan Crowell <dcrowell@us.ibm.com>
-Date: Mon, 27 Apr 2015 13:48:57 -0500
-Subject: [PATCH] Fix handling of ECC protected partitions at runtime
-
-Modify the code to only check ECC on the logical size of the data
-that is read, rather than on the full physical size.
-
-Change-Id: Ia45989e64ef70e63542274ef59df2cc755f8082e
----
- src/usr/pnor/runtime/rt_pnor.C | 4 +++-
- 1 file changed, 3 insertions(+), 1 deletion(-)
-
-diff --git a/src/usr/pnor/runtime/rt_pnor.C b/src/usr/pnor/runtime/rt_pnor.C
-index d434f26..6e52999 100644
---- a/src/usr/pnor/runtime/rt_pnor.C
-+++ b/src/usr/pnor/runtime/rt_pnor.C
-@@ -405,10 +405,12 @@ errlHndl_t RtPnor::readFromDevice (uint64_t i_procId,
- {
- TRACFCOMP(g_trac_pnor, "RtPnor::readFromDevice: removing ECC...");
- // remove the ECC and fix the original data if it is broken
-+ size_t l_eccSize = (l_rc/9)*8;
-+ l_eccSize = std::min( l_eccSize, i_size );
- PNOR::ECC::eccStatus ecc_stat =
- PNOR::ECC::removeECC(reinterpret_cast<uint8_t*>(l_dataToRead),
- reinterpret_cast<uint8_t*>(o_data),
-- l_rc); //actual size of read data
-+ l_eccSize); //logical size of read data
-
- // create an error if we couldn't correct things
- if( ecc_stat == PNOR::ECC::UNCORRECTABLE )
---
-1.8.2.2
-
diff --git a/openpower/package/hostboot/hostboot-0007-console-ast2400-Fix-SIO-address-for-SUART-configurat.patch b/openpower/package/hostboot/hostboot-0007-console-ast2400-Fix-SIO-address-for-SUART-configurat.patch
new file mode 100644
index 0000000..3e647b6
--- /dev/null
+++ b/openpower/package/hostboot/hostboot-0007-console-ast2400-Fix-SIO-address-for-SUART-configurat.patch
@@ -0,0 +1,38 @@
+From 5d1ff7656b2b1b8e50d9f30b180ff3e10b3adf3e Mon Sep 17 00:00:00 2001
+From: Jeremy Kerr <jk@ozlabs.org>
+Date: Mon, 6 Jul 2015 17:58:24 +0800
+Subject: [PATCH 1/3] console/ast2400: Fix SIO address for SUART configuration
+
+The SUART1 base address is at 60 hex, not 60 decimal.
+
+Luckily, we've been setting it (from g_uartBase) to the default value
+of 0xf8.
+
+Change-Id: If6e6a095871bee5b55355590a28087ccc2a6bf62
+Signed-off-by: Jeremy Kerr <jk@ozlabs.org>
+Reviewed-on: http://gfw160.aus.stglabs.ibm.com:8080/gerrit/18941
+Tested-by: Jenkins Server
+Tested-by: Jenkins OP Build CI
+Tested-by: Jenkins OP HW
+Reviewed-by: Richard J. Knight <rjknight@us.ibm.com>
+Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
+---
+ src/usr/console/ast2400.C | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/src/usr/console/ast2400.C b/src/usr/console/ast2400.C
+index b2b63c3..c463dcd 100644
+--- a/src/usr/console/ast2400.C
++++ b/src/usr/console/ast2400.C
+@@ -242,7 +242,7 @@ namespace CONSOLE
+ l_errl = writeSIOReg( 0x60, (g_uartBase >> 8) & 0xFF );
+ if (l_errl) { break; }
+
+- l_errl = writeSIOReg( 61, (g_uartBase & 0xFF) );
++ l_errl = writeSIOReg( 0x61, (g_uartBase & 0xFF) );
+ if (l_errl) { break; }
+
+ // Set the SerIRQ
+--
+2.4.4
+
diff --git a/openpower/package/hostboot/hostboot-0008-console-ast2400-Fix-swapped-address-value-writes-in-.patch b/openpower/package/hostboot/hostboot-0008-console-ast2400-Fix-swapped-address-value-writes-in-.patch
new file mode 100644
index 0000000..180f326
--- /dev/null
+++ b/openpower/package/hostboot/hostboot-0008-console-ast2400-Fix-swapped-address-value-writes-in-.patch
@@ -0,0 +1,38 @@
+From 8de824a15fe9d97fc169b262c884e09f6e59912a Mon Sep 17 00:00:00 2001
+From: Jeremy Kerr <jk@ozlabs.org>
+Date: Wed, 8 Jul 2015 15:59:40 +0800
+Subject: [PATCH 3/3] console/ast2400: Fix swapped address/value writes in
+ writeSIOReg
+
+We need to write the address to 0x2e, and the data to 0x2f.
+
+Change-Id: I1271a134c19d921fa1ee54b5f0d1c0e092df9e2b
+Signed-off-by: Jeremy Kerr <jk@ozlabs.org>
+Reviewed-on: http://gfw160.aus.stglabs.ibm.com:8080/gerrit/19146
+Tested-by: Jenkins Server
+Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
+---
+ src/usr/console/ast2400.C | 4 ++--
+ 1 file changed, 2 insertions(+), 2 deletions(-)
+
+diff --git a/src/usr/console/ast2400.C b/src/usr/console/ast2400.C
+index c463dcd..243c9be 100644
+--- a/src/usr/console/ast2400.C
++++ b/src/usr/console/ast2400.C
+@@ -83,11 +83,11 @@ namespace CONSOLE
+
+ do{
+
+- l_err = _writeReg( SIO_ADDR_REG_2E, i_data );
++ l_err = _writeReg( SIO_ADDR_REG_2E, i_reg );
+
+ if(l_err) { break; }
+
+- l_err = _writeReg( SIO_DATA_REG_2F, i_reg );
++ l_err = _writeReg( SIO_DATA_REG_2F, i_data );
+
+ }while(0);
+
+--
+2.4.4
+
diff --git a/openpower/package/hostboot/hostboot.mk b/openpower/package/hostboot/hostboot.mk
index 83aae71..b1c3805 100644
--- a/openpower/package/hostboot/hostboot.mk
+++ b/openpower/package/hostboot/hostboot.mk
@@ -4,7 +4,7 @@
#
################################################################################
-HOSTBOOT_VERSION ?= 70b5e31d74487d51e69a0e0a390adea6b4f32dc5
+HOSTBOOT_VERSION ?= 3f6449495b5922c13c9b977b252f9638ccb8cf4c
HOSTBOOT_SITE ?= $(call github,open-power,hostboot,$(HOSTBOOT_VERSION))
HOSTBOOT_LICENSE = Apache-2.0
diff --git a/openpower/package/occ/occ.mk b/openpower/package/occ/occ.mk
index 1a0b636..2dcc253 100644
--- a/openpower/package/occ/occ.mk
+++ b/openpower/package/occ/occ.mk
@@ -4,7 +4,7 @@
#
################################################################################
-OCC_VERSION ?= 19678d6a7dd078e3206bac6f1d5e3cf03008542b
+OCC_VERSION ?= 0726e692d4eea5465f0509bb9f12185745a77ca9
OCC_SITE ?= $(call github,open-power,occ,$(OCC_VERSION))
OCC_LICENSE = Apache-2.0
OCC_DEPENDENCIES = host-binutils host-p8-pore-binutils
diff --git a/openpower/package/openpower-pnor/Config.in b/openpower/package/openpower-pnor/Config.in
index 6a23e51..2234d4e 100644
--- a/openpower/package/openpower-pnor/Config.in
+++ b/openpower/package/openpower-pnor/Config.in
@@ -46,6 +46,11 @@
help
String used to define name of sbec hostboot binary file
+config BR2_HOSTBOOT_BINARY_WINK_FILENAME
+ string "Name of winkle hostboot binary"
+ help
+ String used to define name of winkle hostboot binary file
+
config BR2_OPENPOWER_TARGETING_BIN_FILENAME
string "Name of openpower binary targeting file"
help
diff --git a/openpower/package/openpower-pnor/openpower-pnor.mk b/openpower/package/openpower-pnor/openpower-pnor.mk
index fb7e230..658a949 100644
--- a/openpower/package/openpower-pnor/openpower-pnor.mk
+++ b/openpower/package/openpower-pnor/openpower-pnor.mk
@@ -8,7 +8,7 @@
# make doesn't care for quotes in the dependencies.
XML_PACKAGE=$(subst $\",,$(BR2_OPENPOWER_XML_PACKAGE))
-OPENPOWER_PNOR_VERSION ?= 3748ff041448a3909d5ffc5e62befcfcb597c0c1
+OPENPOWER_PNOR_VERSION ?= ed1682e10526ebd85825427fbf397361bb0e34aa
OPENPOWER_PNOR_SITE ?= $(call github,open-power,pnor,$(OPENPOWER_PNOR_VERSION))
OPENPOWER_PNOR_LICENSE = Apache-2.0
@@ -48,6 +48,7 @@
-targeting_binary_source $(BR2_OPENPOWER_TARGETING_BIN_FILENAME) \
-sbe_binary_filename $(BR2_HOSTBOOT_BINARY_SBE_FILENAME) \
-sbec_binary_filename $(BR2_HOSTBOOT_BINARY_SBEC_FILENAME) \
+ -wink_binary_filename $(BR2_HOSTBOOT_BINARY_WINK_FILENAME) \
-occ_binary_filename $(OCC_STAGING_DIR)/$(BR2_OCC_BIN_FILENAME) \
-capp_binary_filename $(BINARIES_DIR)/$(BR2_CAPP_UCODE_BIN_FILENAME) \
-openpower_version_filename $(OPENPOWER_PNOR_VERSION_FILE)
@@ -63,6 +64,7 @@
-bootkernel $(BINARIES_DIR)/$(LINUX_IMAGE_NAME) \
-sbe_binary_filename $(BR2_HOSTBOOT_BINARY_SBE_FILENAME) \
-sbec_binary_filename $(BR2_HOSTBOOT_BINARY_SBEC_FILENAME) \
+ -wink_binary_filename $(BR2_HOSTBOOT_BINARY_WINK_FILENAME) \
-occ_binary_filename $(OCC_STAGING_DIR)/$(BR2_OCC_BIN_FILENAME) \
-targeting_binary_filename $(BR2_OPENPOWER_TARGETING_ECC_FILENAME) \
-openpower_version_filename $(OPENPOWER_PNOR_VERSION_FILE)
diff --git a/openpower/package/palmetto-xml/palmetto-xml.mk b/openpower/package/palmetto-xml/palmetto-xml.mk
index 41c348e..2573450 100644
--- a/openpower/package/palmetto-xml/palmetto-xml.mk
+++ b/openpower/package/palmetto-xml/palmetto-xml.mk
@@ -4,7 +4,7 @@
#
################################################################################
-PALMETTO_XML_VERSION = 9206323e35e40ca8957049965ba8e2564467040e
+PALMETTO_XML_VERSION = a712d271730f1ea28438e8d1bc30793db072510a
PALMETTO_XML_SITE = $(call github,open-power,palmetto-xml,$(PALMETTO_XML_VERSION))
PALMETTO_XML_LICENSE = Apache-2.0
diff --git a/openpower/package/pkg-versions.mk b/openpower/package/pkg-versions.mk
index e3acbda..e2e3af0 100644
--- a/openpower/package/pkg-versions.mk
+++ b/openpower/package/pkg-versions.mk
@@ -70,16 +70,16 @@
echo -n "-" >> $$($(2)_VERSION_FILE); \
\
cd "$$($(2)_SITE)"; (git describe --tags || git log -n1 --pretty=format:'%h' || echo "unknown") \
- | sed 's/\(.*\)-g\([0-9a-f]\{7\}\).*/\2/' | xargs echo -n \
+ | sed 's/\(.*\)-g\([0-9a-f]\{7\}\).*/\2/;s/$(1)-//;' | xargs echo -n \
>> $$($(2)_VERSION_FILE); \
\
-cd "$$($(2)_SITE)"; git describe --all --dirty | grep -e "-dirty" | sed 's/.*\(-dirty\)/\1/' | \
+cd "$$($(2)_SITE)"; git describe --all --dirty | grep -e "-dirty" | sed 's/.*\(-dirty\)/\1/;' | \
xargs echo -n >> $$($(2)_VERSION_FILE); \
else \
\
[ `echo -n $$($(2)_VERSION) | wc -c` == "40" ] && (echo -n $$($(2)_VERSION) | \
- sed "s/^\([0-9a-f]\{7\}\).*/\1/" >> $$($(2)_VERSION_FILE)) \
- || echo -n $$($(2)_VERSION) >> $$($(2)_VERSION_FILE); \
+ sed "s/^\([0-9a-f]\{7\}\).*/\1/;s/$(1)-//;" >> $$($(2)_VERSION_FILE)) \
+ || echo -n $$($(2)_VERSION) | sed -e 's/$(1)-//' >> $$($(2)_VERSION_FILE); \
\
cd "$$(BR2_EXTERNAL)"; git describe --all --dirty | \
if grep -e "-dirty"; then \
diff --git a/openpower/package/skiboot/skiboot.mk b/openpower/package/skiboot/skiboot.mk
index ca508dc..c4e1c0b 100644
--- a/openpower/package/skiboot/skiboot.mk
+++ b/openpower/package/skiboot/skiboot.mk
@@ -4,7 +4,7 @@
#
################################################################################
-SKIBOOT_VERSION = skiboot-5.0.1
+SKIBOOT_VERSION = skiboot-5.0.5
SKIBOOT_SITE = $(call github,open-power,skiboot,$(SKIBOOT_VERSION))
SKIBOOT_INSTALL_IMAGES = YES
SKIBOOT_INSTALL_TARGET = NO