summaryrefslogtreecommitdiffstats
path: root/src/usr/errl/parser
Commit message (Collapse)AuthorAgeFilesLines
* cleanup hwas error module/reasoncodes to work with FSP better.Brian Horton2014-02-111-17/+1
| | | | | | | | | | | Change-Id: I1ae2fafab64811d6f68f57d437bd5fba16a5d532 CQ: SW239708 Co-req: 910348 Reviewed-on: http://gfw160.aus.stglabs.ibm.com:8080/gerrit/8284 Tested-by: Jenkins Server Reviewed-by: MIKE J. JONES <mjjones@us.ibm.com> Reviewed-by: Donald E. Dahle <dedahle@us.ibm.com> Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
* Add term flags to PNOR and INTR errorsDan Crowell2013-10-171-2/+4
| | | | | | | | | Change-Id: Ieb7a4d17e12610eb1dbd80875ddc287ca1f1ccae Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/6674 Tested-by: Jenkins Server Reviewed-by: Douglas R. Gilbert <dgilbert@us.ibm.com> Reviewed-by: STEPHEN M. CPREK <smcprek@us.ibm.com> Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
* Added common header file for reason codeStephen Cprek2013-10-101-1/+76
| | | | | | | | | | | Change-Id: Ifea8a00b9a36817e0b42054dfb9ce13dad8f15a6 RTC: 76269 Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/6478 Tested-by: Jenkins Server Reviewed-by: Brian H. Horton <brianh@linux.ibm.com> Reviewed-by: Andrew J. Geissler <andrewg@us.ibm.com> Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com> Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
* PRD: Enable PRD HB errl pluginsachin gupta2013-08-261-11/+9
| | | | | | | | Change-Id: Ic2919a609381e22b20e878f1babdb378b740246d Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/5912 Tested-by: Jenkins Server Reviewed-by: Zane Shelley <zshelle@us.ibm.com> Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
* PRD: Revert back changes for PRD error log plugin.sachin gupta2013-08-131-9/+11
| | | | | | | | Change-Id: Iae426478dffc8b553488a84dca962c03e681ef14 Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/5771 Tested-by: Jenkins Server Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com> Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
* PRD: To use PRD plugin for error log parsingsachin gupta2013-07-301-16/+41
| | | | | | | | Change-Id: I676ae1e016a96a153f6b7bf4f1e0469001e4471c Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/5400 Tested-by: Jenkins Server Reviewed-by: Brian H. Horton <brianh@linux.ibm.com> Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
* fix issues with errl in regards to fsp and plugins.Brian Horton2013-07-301-1/+1
| | | | | | | | | | | | | | | - add ERRL_CID_HOSTBOOT parameter to errl SrcPlugin and DataPlugin functions to handle modules being in multiple components; - add hbotcompid.H file to fsp.tar so that errl parser has hostboot's id-to-name mapping; Change-Id: Ied332ed0890721116b4e5cf1220f52ff8243dc3b RTC: 78942 Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/5598 Tested-by: Jenkins Server Reviewed-by: Richard J. Knight <rjknight@us.ibm.com> Reviewed-by: Thi N. Tran <thi@us.ibm.com> Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
* Support for new and custom fakeroots.Patrick Williams2013-04-181-1/+1
| | | | | | | Change-Id: I94de98109b28434050030af824dd6ca50f7a18dc Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/4042 Tested-by: Jenkins Server Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
* Fixes for GCC 4.7Patrick Williams2013-04-171-8/+9
| | | | | | | Change-Id: Ief0b9202e13bd70cf0de84ca3cb20f5c6df4d3d8 Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/4035 Tested-by: Jenkins Server Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
* Misc build fixes.Patrick Williams2013-03-141-3/+4
| | | | | | | | | | | | | | - xmltohb was running too often, causing most of the code to be rebuilt on any 'make' call. - hbotStringFile was not being rebuilt. - 'make' sometimes failed if obj/genfiles/errl did not exist. Change-Id: I509cd4dafe9cb4b8d22482c9058f7e84e508d968 Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/3534 Reviewed-by: Brian H. Horton <brianh@linux.ibm.com> Tested-by: Jenkins Server Reviewed-by: Michael Baiocchi <baiocchi@us.ibm.com> Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
* update user-detail errog log parsersBrian Horton2013-03-131-1/+1
| | | | | | | | | | | | | | update errolog parsers to format the data for the following: . errludtarget . errludattribute . errludlogregister . errludcallout Change-Id: I8fddb3eefd76413e70f4e894ef19649b74682859 RTC: 41707 Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/3350 Tested-by: Jenkins Server Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
* Refactoring of the build system.Patrick Williams2013-03-011-6/+17
| | | | | | | | | | | | | | | | | | | | | | - Remove unused files for generating LIDs. - Reduce the overall verbosity of the build. - Separate 'config.mk' into a number of smaller, topic-centric files and comment better. - Generalize the 'passes' concept and added an IMAGES pass. - Deprecate most "magic" make variables like EXTRAFOO. - Overall performance improvements. I've tried to reduce the impact of these changes on component-level makefiles. There will be follow-up commit(s) to improve those and decrease the verbosity of some component-owned commands. Change-Id: I6d319f5338eb3946f56b281c3cdd5f341a016fcc Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/3368 Reviewed-by: Brian H. Horton <brianh@linux.ibm.com> Tested-by: Jenkins Server Reviewed-by: ADAM R. MUHLE <armuhle@us.ibm.com> Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com> Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
* Support ERRL UD and SRC parsing in hostboot standaloneRichard J. Knight2013-02-284-275/+30
| | | | | | | | | | | Change-Id: I16ec13f87d9a71c3e0248bf4776e9f3402be6285 RTC:49967 Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/3138 Tested-by: Jenkins Server Reviewed-by: Brian H. Horton <brianh@linux.ibm.com> Reviewed-by: MIKE J. JONES <mjjones@us.ibm.com> Reviewed-by: Mark W. Wenning <wenning@us.ibm.com> Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
* ERRL: Create Hostboot error log SRC/UD parser and deliver to FSP bldMike Jones2013-02-083-809/+926
| | | | | | | | | | | | | | A new script called genErrlParsers will scan the Hostboot code for error log tags and create a SRC parser for each component. The script will also scan the Hostboot code for plugin directories containing User Detail Data parsers and will create a makefile that is used by the FSP to build each component's SRC/UD parser. Change-Id: I7113f6cd8069447a1caaa199aff199b663d59072 RTC: 47518 Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/2975 Tested-by: Jenkins Server Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
* Triggering Hostboot Shutdown when PNOR is badAdam Muhle2013-02-041-6/+6
| | | | | | | | | | | | | Updating the doShutdown path to support receiving a reason code as input. Then changing PNOR RP to issue a shutdown when problems are detected with the PNOR Partition table. RTC: 44146 Change-Id: Ib4111d0a91f53d90fa100422a1463539897598e6 Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/3024 Tested-by: Jenkins Server Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com> Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
* Return error when procedures fail during istepRichard J. Knight2012-11-031-26/+26
| | | | | | | | | | | Change-Id: I65686d261583ea84c7908f819071bd751fdb0e06 RTC: 39876 Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/1627 Tested-by: Jenkins Server Reviewed-by: Brian H. Horton <brianh@linux.ibm.com> Reviewed-by: Paul Nguyen <nguyenp@us.ibm.com> Reviewed-by: Mark W. Wenning <wenning@us.ibm.com> Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
* correct 'duplicate checking' in scanforsrcs.pl scriptBrian Horton2012-04-201-2/+2
| | | | | | | | | | | | | | The hash was being set and checked incorrectly in the script, looking for duplicate module id / reason code tags. Previous code would only find duplicates if they were consecutive in the code. Fixed code correctly finds duplicates even if they are in different files. Change-Id: I80de8a7071c298533c3f6cb1777aa074020afa62 Depends-on: Ib0717d6ea916fbc330cadd5dce420cc80694eaf0 RTC: 38731 Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/918 Tested-by: Jenkins Server Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
* Cause build to fail if duplicate reason code / module id is foundBrian Horton2012-04-162-8/+15
| | | | | | | | | | | | | | | Change the scanforsrcs.pl script to die w/ an error if a duplicate reason code is found within a module. In addition, correct makefile so that the script is run all the time, so that errors are caught before jenkins. And more script to code_pass instead of gen_pass so that all files it needs are created before it's run. Change-Id: Idd5fe546207920e9561091bbed1817efc04f2ebc RTC: 38731 Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/869 Tested-by: Jenkins Server Reviewed-by: Terry J. Opie <opiet@us.ibm.com> Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
* Hostboot-aware errl tool part 1.Monte Copeland2012-02-023-85/+63
| | | | | | | Change-Id: Ibe49dc935206775de032d397b2800a7b83208283 Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/630 Tested-by: Jenkins Server Reviewed-by: Monte K. Copeland <copelanm@us.ibm.com>
* Fix new makefiles to pass beamMark Wenning2011-12-141-0/+3
| | | | | | | | | | - branch beamfix Change-Id: I61e44958ec081f29fb6669fab0d12fcf5f206868 Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/576 Tested-by: Jenkins Server Reviewed-by: Monte K. Copeland <copelanm@us.ibm.com> Reviewed-by: CAMVAN T. NGUYEN <ctnguyen@us.ibm.com>
* I2C Bad Machine Path and Cxx Testcases as well as the EEPROM device driver.Terry J. Opie2011-12-011-24/+5
| | | | | | | Change-Id: Ia89d3aecb3192a2f99ef9fbb5abe0ce1d528a481 Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/506 Tested-by: Jenkins Server Reviewed-by: Terry J. Opie <opiet@us.ibm.com>
* HWPF: Improve HWPF Error LogsMike Jones2011-11-021-0/+4
| | | | | | | | | Change-Id: Id35ad1cec7904c63f3d4f073c0014de58240c31c Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/474 Tested-by: Jenkins Server Reviewed-by: Monte K. Copeland <copelanm@us.ibm.com> Reviewed-by: Mark W. Wenning <wenning@us.ibm.com> Reviewed-by: MIKE J. JONES <mjjones@us.ibm.com>
* RTC3964: x86 Support for UserDetailsMark Wenning2011-11-024-17/+288
| | | | | | | | | | | | - first commit - errlparserbase and errluserparser - need linker step for userdetails libs - final merge Change-Id: I32daae8de483616f20e66581f4e8f3de0dc98257 Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/467 Tested-by: Jenkins Server Reviewed-by: Monte K. Copeland <copelanm@us.ibm.com>
* Error log changes for Sprint 6Monte Copeland2011-10-312-225/+446
| | | | | | | | Change-Id: I44ad678cfae8cd84e5370391dc7e20d74f59c9ca Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/449 Tested-by: Jenkins Server Reviewed-by: Mark W. Wenning <wenning@us.ibm.com> Reviewed-by: Monte K. Copeland <copelanm@us.ibm.com>
* Fix error log tag and fix bug in tag perserMike Jones2011-10-281-11/+3
| | | | | | | | Change-Id: Ic72e58d69769bbe3bf39dc3d8db16fdb2409711a Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/466 Tested-by: Jenkins Server Reviewed-by: Mark W. Wenning <wenning@us.ibm.com> Reviewed-by: Andrew J. Geissler <andrewg@us.ibm.com>
* RTC3872: Hardware Availability Service: Add HWAS as first ISTEPMark Wenning2011-10-201-2/+2
| | | | | | | | | | | | | | | | | | - first commit - change isteplist to call hwas - comment out test isteps - modify xml to add HWAS_STATE attribute - add macros to taskargs - remove debug trace from taskargs - add call to init_fsi - post-review - merge xml files - forgot one printkd Change-Id: Iab3b1f85c401f9a176ed84ddb91263caf25a3d56 Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/430 Tested-by: Jenkins Server Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
* Pull FSI data from real attributes (Task 3909).Dan Crowell2011-10-141-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | There are a group of attributes defined for FSI now. -ATTR_FSI_MASTER_CHIP -ATTR_FSI_MASTER_TYPE -ATTR_FSI_MASTER_PORT -ATTR_FSI_SLAVE_CASCADE -ATTR_FSI_OPTION_FLAGS Also includes work for Story 3996. The attributes are now broken into 3 distinct pieces: - attribute_types.xml : defines hostboot attributes - target_types.xml : defines different types of targets - XXX.system.xml : system-specific information, equivalent to what we'll get from system workbook These are then used to generic system-specific binaries, currently for 3 platforms: - simics_SALERNO_targeting.bin - simics_VENICE_targeting.bin - vbu_targeting.bin Change-Id: I2bf920cc62cceb761ab44a07df433da44249d0e0 Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/426 Tested-by: Jenkins Server Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com>
* Error Log Tag Parser CodeTerry J. Opie2011-10-063-3/+827
| | | | | | | | Change-Id: Ic051d8b9a347d7bde6d9910d9a6f499cf662f884 Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/390 Tested-by: Jenkins Server Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com> Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
* Added function to dump and parse error logs to hostboot dump and parse tools.CamVan Nguyen2011-09-141-8/+17
| | | | | | | | | | Added new tools hb-trace, hb-errl, hb-printk, hb-dump for vbu/vpo debug. Added support for ecmd options, more error checking and misc enhancements. Change-Id: I8f5ed666a1d99ff894015e07a20595fcac8727b5 Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/343 Tested-by: Jenkins Server Reviewed-by: CAMVAN T. NGUYEN <ctnguyen@us.ibm.com>
* Error log parser to print a sensible message when there are zero error logs.Monte Copeland2011-08-241-0/+11
| | | | | | | Change-Id: Ia69f8da88aa1993ff4da69e4049cfa27814d397f Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/276 Reviewed-by: Monte K. Copeland <copelanm@us.ibm.com> Tested-by: Jenkins Server
* Add copyright headers to all source files.Patrick Williams2011-08-242-0/+44
| | | | | | | Change-Id: I205f2409e56032cfc0aaf01d7e26d357f0b86373 Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/277 Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com> Tested-by: Jenkins Server
* Errl parser update to accept pre-extracted storage buffer.Monte Copeland2011-08-182-13/+81
| | | | | | | | Change-Id: I86f0a887845399f639a11bb39bb160b33af5d156 Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/262 Tested-by: Jenkins Server Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com> Reviewed-by: CAMVAN T. NGUYEN <ctnguyen@us.ibm.com>
* Errl parser fixes.Patrick Williams2011-08-174-72/+17
| | | | | | | | | | | - Rexx script fails on newer Linux. - Compiler warnings on newer GCC due to const char vs char. - Add .gitignore file for usr/errl/parser/bin directory. Change-Id: I4c86fef91d68e2dd909b72b8802173c76ecd9da4 Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/261 Tested-by: Jenkins Server Reviewed-by: Monte K. Copeland <copelanm@us.ibm.com>
* Changes to errl to commit error logs to L3 RAM 7Monte Copeland2011-08-163-0/+794
Change-Id: Ic058a5b9ea6f8f1d79fc0ff30097cc32f18423bd Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/221 Reviewed-by: Monte K. Copeland <copelanm@us.ibm.com> Tested-by: Jenkins Server
OpenPOWER on IntegriCloud