Skip to content

Commit

Permalink
Improve error output on console
Browse files Browse the repository at this point in the history
   -Reformat the basic output to be more condensed
   -Fixed parsing of entity path
   -Added CONSOLE_OUTPUT_FFDCDISPLAY to emit all HWP FFDC

Change-Id: I62f5c9f208be8d6f23428baa21d52866588d117c
Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/35733
Reviewed-by: Martin Gloff <mgloff@us.ibm.com>
Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com>
Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com>
Tested-by: Jenkins OP Build CI <op-jenkins+hostboot@us.ibm.com>
Reviewed-by: William G. Hoffa <wghoffa@us.ibm.com>
Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com>
  • Loading branch information
sannerd authored and dcrowell77 committed Feb 3, 2017
1 parent 735a843 commit b8da450
Show file tree
Hide file tree
Showing 5 changed files with 450 additions and 110 deletions.
7 changes: 6 additions & 1 deletion src/include/usr/errldisplay/errldisplay.H
Expand Up @@ -5,7 +5,7 @@
/* */
/* OpenPOWER HostBoot Project */
/* */
/* Contributors Listed Below - COPYRIGHT 2013,2015 */
/* Contributors Listed Below - COPYRIGHT 2013,2017 */
/* [+] Google Inc. */
/* [+] International Business Machines Corp. */
/* */
Expand Down Expand Up @@ -164,6 +164,11 @@ private:
* @brief Displays a "target" type error log component
*/
static void displayTarget (void *data, size_t size);

/**
* @brief Displays a HWPF error log user details
*/
static void displayHwpf (void *data, size_t size, uint8_t i_type);
};

} // End namespace
Expand Down
8 changes: 8 additions & 0 deletions src/usr/errldisplay/HBconfig
Expand Up @@ -4,3 +4,11 @@ config CONSOLE_OUTPUT_ERRORDISPLAY
help
This is used to display errlogs in a human readable form
Error Display will only work when the Console is configured

config CONSOLE_OUTPUT_FFDCDISPLAY
default n
depends on CONSOLE_OUTPUT_ERRORDISPLAY
help
This is used to display verbose HWP error information to the
console in a a human readable form. Note it adds ~0.25 MB
to the extended image size

0 comments on commit b8da450

Please sign in to comment.