summaryrefslogtreecommitdiffstats
path: root/src/tools
Commit message (Collapse)AuthorAgeFilesLines
* Updated tracehash.pl file to skip parsing of empty line from hash fileRaja Das2018-10-171-2/+7
| | | | | | | | | | | To get rid of these prints - Use of uninitialized value $l_str in concatenation Change-Id: I475c2471e9fde60c7413734412ada0243c1f570d Reviewed-on: http://rchgit01.rchland.ibm.com/gerrit1/67590 Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com> Reviewed-by: Sachin Gupta <sgupta2m@in.ibm.com>
* Added AXONE option for sbe-traceRaja Das2018-10-171-2/+2
| | | | | | | | Change-Id: Ie74e22f10f3d7706041d433ce805368bbf8d4b9f Reviewed-on: http://rchgit01.rchland.ibm.com/gerrit1/67602 Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com> Reviewed-by: Sachin Gupta <sgupta2m@in.ibm.com>
* Put temporary file in project config folderSachin Gupta2018-10-111-2/+2
| | | | | | | | | | Change-Id: Icf73b131ff497eea2102d469bc15dd24be0c10e6 Reviewed-on: http://rchgit01.rchland.ibm.com/gerrit1/67282 Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com> Reviewed-by: RAJA DAS <rajadas2@in.ibm.com> Reviewed-by: Shakeeb A. Pasha B K <shakeebbk@in.ibm.com> Reviewed-by: Sachin Gupta <sgupta2m@in.ibm.com>
* Added newline termination after putting in build info into HashRaja Das2018-10-031-2/+2
| | | | | | | | | | | | At the top of the hash generated file, the file/build info is getting appended with the first hash line. Terminated the build info with a newline termination. Change-Id: Id002f2591e166f73703cb5a7121da1a7ac33a365 Reviewed-on: http://rchgit01.rchland.ibm.com/gerrit1/66905 Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com> Reviewed-by: Sachin Gupta <sgupta2m@in.ibm.com>
* Fix forced-trace commandspashabk-in2018-09-101-2/+2
| | | | | | | | Change-Id: I2f86bca11accf6bd773c297eeb60b9b8d00a17d1 Reviewed-on: http://rchgit01.rchland.ibm.com/gerrit1/65887 Reviewed-by: RAJA DAS <rajadas2@in.ibm.com> Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Reviewed-by: Sachin Gupta <sgupta2m@in.ibm.com>
* Updated gerrit hostnameSumit Kumar2018-07-201-2/+2
| | | | | | | Change-Id: Ie55fd178758591fbed96187c94c2cc1b00eac024 Reviewed-on: http://rchgit01.rchland.ibm.com/gerrit1/62924 Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Reviewed-by: Sachin Gupta <sgupta2m@in.ibm.com>
* remove whitespace and newlines from target before processingMatt K. Light2018-06-261-1/+6
| | | | | | | | | | | | Change-Id: Ib376268c58360b4cb5684603486397a492fb7f94 Signed-off-by: Matt K. Light <mklight@us.ibm.com> Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/61344 Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com> Reviewed-by: Sachin Gupta <sgupta2m@in.ibm.com> (cherry picked from commit ffcc8708c85a0aa5348e9ef024f439d413ab739b) Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/61292 Tested-by: Sachin Gupta <sgupta2m@in.ibm.com>
* remove whitespace and newlines from target before processingMatt K. Light2018-06-231-1/+5
| | | | | | | | | | Change-Id: Id3b17da6b9a0adc26da72aa3e3779721d9f26085 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/61038 Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com> Reviewed-by: Sachin Gupta <sgupta2m@in.ibm.com> (cherry picked from commit f8a3bdd8f4ffcbfbb791111dad9e7415bba23ceb) Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/58570
* SBE Tool support for fleetwood systemsRaja Das2018-06-122-55/+109
| | | | | | | | | Change-Id: Ic395ca1d1bde3aeabdacfefc473600d58585ff2b RTC:158861 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/58691 Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Reviewed-by: Shakeeb A. Pasha B K <shakeebbk@in.ibm.com> Reviewed-by: Sachin Gupta <sgupta2m@in.ibm.com>
* gitRelease: Fix to include master branchSumit Kumar2018-06-051-24/+28
| | | | | | | | | | | The fix include to check for master branch if commit not found in release branch other than master Change-Id: I4330b1a8cf4dd33375c137069948fa24bf787784 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/59932 Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Reviewed-by: Sumit Kumar <sumit_kumar@in.ibm.com> Reviewed-by: Sachin Gupta <sgupta2m@in.ibm.com>
* Update sbe-debug tool to use ecc_enable optionSachin Gupta2018-04-041-1/+2
| | | | | | | | | | Change-Id: Icd016488fea012fddb692f32cb9ccfbcb62d9722 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/56240 Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com> Reviewed-by: Shakeeb A. Pasha B K <shakeebbk@in.ibm.com> Reviewed-by: RAJA DAS <rajadas2@in.ibm.com> Reviewed-by: Sachin Gupta <sgupta2m@in.ibm.com>
* conv_rel_branch.pl - Fix to pick up latest fips release for masterSumit Kumar2018-03-221-4/+29
| | | | | | | Change-Id: I03198865850a2738b66515d310216cea78173982 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/56156 Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Reviewed-by: Sachin Gupta <sgupta2m@in.ibm.com>
* Restructure sbe-debug.pyspashabk-in2018-03-202-272/+148
| | | | | | | | | | Modularize and reduce redundant code Change-Id: I23086dcf2c88c85762c71cc5461cc3f352ae5d50 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/55334 Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com> Reviewed-by: Sachin Gupta <sgupta2m@in.ibm.com>
* Extend sbe-debug.py to get ppe register ffdcspashabk-in2018-03-061-28/+96
| | | | | | | | | | Parse PPE register ffdc from PIBMEM dump Change-Id: Id9a3b6a598760c0d0b8648f627d09b2b238abbc7 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/54880 Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com> Reviewed-by: Sachin Gupta <sgupta2m@in.ibm.com>
* Adding output_path option for sbe-debug.pyAnusha Reddy Rangareddygari2018-02-231-57/+81
| | | | | | | | | | | | To put the outfiles to required directory Change-Id: If2888abb858eb1055c67fc7d9744fa4264e71af7 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/54349 Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Reviewed-by: Shakeeb A. Pasha B K <shakeebbk@in.ibm.com> Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com> Reviewed-by: SRINIVAS V. POLISETTY <srinivan@in.ibm.com> Reviewed-by: PARVATHI RACHAKONDA <prachako@in.ibm.com>
* Fix missing sbe traces in errorlogspashabk-in2018-02-152-2/+2
| | | | | | | | | | | | | | There is a size limitation for build field in sf_magic_cookie_t in fsp-trace. Max size is 128 characters. But with SBE release now moving to jenkins, the path of SBE directory is long(172 chars). This fails the sbeStringFIle parsing. Change-Id: I75cc3b4028bef592f45980773be03ea2e40e7b52 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/54098 Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Reviewed-by: RAJA DAS <rajadas2@in.ibm.com> Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com> Reviewed-by: Sachin Gupta <sgupta2m@in.ibm.com>
* Track integrate command fixspashabk-in2018-01-251-1/+1
| | | | | | | | | fix in the command for track integrate Change-Id: I8481f2c78b84a6d1cac9d7a8123f201958fe8c0c Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/52607 Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Reviewed-by: Sachin Gupta <sgupta2m@in.ibm.com>
* Moving DD specific ring coord from TOR to XIP (step 1)Sumit Kumar2018-01-232-4/+11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Step 1 - Ensuring backwards compatibility in TOR and XIP APIs to avoid co-req issue. - Updated TOR and XIP APIs, xip_tool and ipl_build to handle both types of DD coordination. Key_Cronus_Test=XIP_REGRESS HW-Image-Prereq=51511 - 51511 changes the .rings section DD level packaging. This commit (42751) prepares the TOR API and associated codes to handle the new .rings layout while also making the TOR API backwards compatible to the existing .rings section. Change-Id: I7d254340808ca9270fc1c96414102794fcffeabe Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/42751 Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com> Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Tested-by: HWSV CI <hwsv-ci+hostboot@us.ibm.com> Tested-by: Cronus HW CI <cronushw-ci+hostboot@us.ibm.com> Tested-by: Hostboot CI <hostboot-ci+hostboot@us.ibm.com> Tested-by: PPE CI <ppe-ci+hostboot@us.ibm.com> Reviewed-by: Sumit Kumar <sumit_kumar@in.ibm.com> Reviewed-by: Jennifer A. Stofer <stofer@us.ibm.com> Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/43258 Reviewed-by: Hostboot Team <hostboot@us.ibm.com> Reviewed-by: Sachin Gupta <sgupta2m@in.ibm.com>
* Release helper scriptspashabk-in2018-01-231-0/+146
| | | | | | | | | | | | 3 steps: step1: python cmvcRelease.py 1 <branch> step2: python cmvcRelease.py 2 <branch> <cmvc track> step3: after CI pass; python cmvcRelease.py 3 <branch> <cmvc track> Change-Id: I8859909d0f29d521d428d1d22077bd60ae7a759f Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/44405 Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Reviewed-by: Sachin Gupta <sgupta2m@in.ibm.com>
* Minor fixes to remove support for DD1Sachin Gupta2018-01-191-3/+3
| | | | | | | | | | Change-Id: Ieccb58c724769e5ae58f2117bb1ddd52fffdfe06 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/52083 Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com> Reviewed-by: Shakeeb A. Pasha B K <shakeebbk@in.ibm.com> Reviewed-by: RAJA DAS <rajadas2@in.ibm.com> Reviewed-by: Sachin Gupta <sgupta2m@in.ibm.com>
* Remove support for DD1Sachin Gupta2018-01-173-9/+9
| | | | | | | | | | Change-Id: I0213b7b59d482dd5182f0c4e7593a246a0f82e86 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/52059 Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Reviewed-by: RAJA DAS <rajadas2@in.ibm.com> Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com> Reviewed-by: Shakeeb A. Pasha B K <shakeebbk@in.ibm.com> Reviewed-by: Sachin Gupta <sgupta2m@in.ibm.com>
* gitRelease: Check master branch if query on rel branch failsSumit Kumar2017-12-201-0/+7
| | | | | | | | Change-Id: I1f39c95d11b9a2a0b03a7303d2024f63e295f43a Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/51174 Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com> Reviewed-by: Sachin Gupta <sgupta2m@in.ibm.com>
* Code restruct: TOR APIClaus Michael Olsen2017-12-041-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Key_Cronus_Test=XIP_REGRESS Code restructuring aiming at: - utilizing TOR magic header info - enforce a common approach for - extracting metadata for all image,chipType combinations - traversing images for all image,chipType combinations - shrinking code size by reusing common code segments - improve readability by - separating more clearly metadata extraction and image traversal - slight rearrange of certain code segments - remove leftover hardcoded assumptions about ring/TOR data and structs - variables appropriately renamed and now all using camel style Change-Id: I50ace8b2fdb340a97ce6d74ce545c5e1acd21c40 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/38863 Tested-by: HWSV CI <hwsv-ci+hostboot@us.ibm.com> Tested-by: PPE CI <ppe-ci+hostboot@us.ibm.com> Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Tested-by: Cronus HW CI <cronushw-ci+hostboot@us.ibm.com> Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com> Tested-by: Hostboot CI <hostboot-ci+hostboot@us.ibm.com> Reviewed-by: GIRISANKAR PAULRAJ <gpaulraj@in.ibm.com> Reviewed-by: Thi N. Tran <thi@us.ibm.com> Reviewed-by: Jennifer A. Stofer <stofer@us.ibm.com> Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/43250 Reviewed-by: Hostboot Team <hostboot@us.ibm.com> Reviewed-by: Sachin Gupta <sgupta2m@in.ibm.com>
* Add sbe commit id in PIBMEMspashabk-in2017-11-171-6/+43
| | | | | | | | | | | | Add commit id in global structure for debug ./sbe-debug.py -l sbecommit Change-Id: Ifd5b0f074efeda7d8c3dabeb82dd05cbce868579 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/49417 Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com> Reviewed-by: AMIT J. TENDOLKAR <amit.tendolkar@in.ibm.com> Reviewed-by: Sachin Gupta <sgupta2m@in.ibm.com>
* Centaur ring support - TOR APIClaus Michael Olsen2017-11-021-2/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Key_Cronus_Test=XIP_REGRESS - Updates to TOR API codes to allow user codes to call TOR API function on a Centaur image. Note that the API no longer needs the caller to supply and XIP section ID. - Updates to TOR API codes to take advantage of the improved data and meta-data representation in the ring Id codes and the more self-contained ring image which now has the TOR magic header. - Updates to xip_tool to allow dissection of Centaur image. - Additional updates to TOR API codes and ring Id codes to continue improving overall clarity of data, data structures and flow through TOR API, incl name changes to related data variables and structures. Change-Id: I42891b9662cc0c443d2b16ce866ac945dc2c58dc Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/38018 Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Tested-by: HWSV CI <hwsv-ci+hostboot@us.ibm.com> Tested-by: PPE CI <ppe-ci+hostboot@us.ibm.com> Tested-by: Cronus HW CI <cronushw-ci+hostboot@us.ibm.com> Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com> Reviewed-by: Thi N. Tran <thi@us.ibm.com> Tested-by: Hostboot CI <hostboot-ci+hostboot@us.ibm.com> Reviewed-by: Jennifer A. Stofer <stofer@us.ibm.com> Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/38562 Reviewed-by: Hostboot Team <hostboot@us.ibm.com> Reviewed-by: Sachin Gupta <sgupta2m@in.ibm.com>
* Centaur ring support - ring_apply and ring dataSumit Kumar2017-11-021-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - Introduces Centaur ring ID header files and ring_apply support to generate a separate Centaur ring image file. - Introduces common ring ID header file consumed by both P9 and Centaur and all user codes, e.g. putRing, ipl_build, xip_tool, etc. - Introduces a namespace approach for complete separation of P9 and Centaur ring data and to facilitate execution time selection of either P9 and Centaur ring data. - Added Centaur image .rings generation function to p9_ring_apply. - This commit does NOT support Centaur in the TOR API nor in xip_tool. See commit 38018 for that support. - Modified hw_image.mk file to support Centaur XIP image generation. - Updated ring_apply to also support .overrides ring gen for Centaur. Change-Id: I12a27b194dc14d906fea7bc273eb9f766f0fc5bf Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/35639 Tested-by: HWSV CI <hwsv-ci+hostboot@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> Reviewed-by: Sumit Kumar <sumit_kumar@in.ibm.com> Tested-by: PPE CI <ppe-ci+hostboot@us.ibm.com> Reviewed-by: Richard J. Knight <rjknight@us.ibm.com> Reviewed-by: Thi N. Tran <thi@us.ibm.com> Tested-by: Hostboot CI <hostboot-ci+hostboot@us.ibm.com> Reviewed-by: Jennifer A. Stofer <stofer@us.ibm.com> Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/36010 Reviewed-by: Hostboot Team <hostboot@us.ibm.com> Reviewed-by: Sachin Gupta <sgupta2m@in.ibm.com>
* [Whitelist/Blacklist] - Enable scom filter and testcase additionspashabk-in2017-10-041-2/+2
| | | | | | | | | | | | | Implemented whitelist/blacklist filtering on scom chip-ops Removed separate scom tetcases and included the same in security testcases Included security negative testcases for scom filtering Change-Id: I41e5aa1a059b7a60b83e8740c738de41dc30dd3f Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/41871 Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com> Reviewed-by: Sachin Gupta <sgupta2m@in.ibm.com>
* Make DD2 as default in debug toolsSachin Gupta2017-09-151-1/+1
| | | | | | | | | | Change-Id: I1c9fd39245f2acc822323b4b3dd63ba12d48f02f Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/46250 Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com> Reviewed-by: Shakeeb A. Pasha B K <shakeebbk@in.ibm.com> Reviewed-by: RAJA DAS <rajadas2@in.ibm.com> Reviewed-by: Sachin Gupta <sgupta2m@in.ibm.com>
* Update sbe local reg dump optionsspashabk-in2017-09-141-1/+1
| | | | | | | | | | | sbe local reg dump options updated as per procedure and by default enable halt sbe option Change-Id: I3c844a75c7a1ffb672e6a991771c3cfba5699e09 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/46174 Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com> Reviewed-by: Sachin Gupta <sgupta2m@in.ibm.com>
* SBE debug tool - stack usage from pibmem dumpspashabk-in2017-09-121-8/+11
| | | | | | | | | | Enable stack usage command for pibmem dump file Change-Id: Ie8d8e4cfbae4411e9d17ab7ebd5ab226eb603967 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/45230 Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com> Reviewed-by: Sachin Gupta <sgupta2m@in.ibm.com>
* change queryChipEcAndName to return fapi2 ReturnCodeJoe McGill2017-08-301-1/+1
| | | | | | | | | Change-Id: I1a7d1d4582cdae0a35fd7066b1da04092dd179ec Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/45235 Reviewed-by: Joachim Fenkes <fenkes@de.ibm.com> Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com> Reviewed-by: Sachin Gupta <sgupta2m@in.ibm.com>
* Removing sbe model build tool, as it is checked into ekbspashabk-in2017-08-079-3038/+0
| | | | | | | | Change-Id: I1880632bde76d54c1c64e894a8183956fae4a204 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/43741 Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com> Reviewed-by: Sachin Gupta <sgupta2m@in.ibm.com>
* parseAttributeInfo: Support inverted EC featuresJoachim Fenkes2017-07-261-3/+7
| | | | | | | | | | | | | | | | | | | | | | | There are several EC feature attributes where matching the chip specification actually indicates the _absence_ of a feature. So far we had to either match on every other chip, adding new chips as projects are added, or define the attribute as a negative attribute and invert its value in procedure code (sometimes without indicating in the attribute name that it's a negative attribute). Both approaches are prone to causing mistakes down the road. To fix this, introduce a new <falseIfMatch/> tag that indicates that an EC feature is absent if the chip spec is matched, so the procedure code will not have to remember to invert the attribute value. Change-Id: I33dcf127b8f81729c9638d6648faf2c5adbcb470 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/42608 Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com> Reviewed-by: Santosh S. Puranik <santosh.puranik@in.ibm.com> Reviewed-by: Richard J. Knight <rjknight@us.ibm.com> Reviewed-by: Prachi Gupta <pragupta@us.ibm.com>
* Fix for pibmem attribute dumpspashabk-in2017-07-252-1/+20
| | | | | | | | | | | | | | Alignement fix for attr dump Collect attrdump in simics Fix in sbe-debug.py to determine file not found Change-Id: Ia55ccdb21e19a2f43d1f6255dc5f5533689eb8e1 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/43204 Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com> Reviewed-by: Sachin Gupta <sgupta2m@in.ibm.com> Reviewed-by: RAJA DAS <rajadas2@in.ibm.com> Reviewed-by: AMIT J. TENDOLKAR <amit.tendolkar@in.ibm.com>
* Mapping register value to names in ppestate dumpspashabk-in2017-07-131-3/+80
| | | | | | | | | | | Implement the mapping of register values to their names for ppestate dump using sbe-debug.py Change-Id: Ie92cc09d7afb0c3f59120b5c5f1846e3890753b6 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/41675 Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com> Reviewed-by: Sachin Gupta <sgupta2m@in.ibm.com>
* sbe-debug.py bug fix in attrdumpspashabk-in2017-07-121-1/+1
| | | | | | | | Change-Id: Ieee5ee9f5cd1ebce34de15f4c86db5b02ea26829 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/42719 Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com> Reviewed-by: Sachin Gupta <sgupta2m@in.ibm.com>
* Install DD2 only changes and support DD2 attrdumpspashabk-in2017-06-301-3/+2
| | | | | | | | | | | | Get 'make install_DD2' working without making DD1 before hand cmvc-prereq:1027517 Change-Id: I5b64759bc3ffbe5ca16d677e28cb8f4433f4e700 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/42345 Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com> Reviewed-by: Sachin Gupta <sgupta2m@in.ibm.com> Reviewed-by: RAJA DAS <rajadas2@in.ibm.com>
* pre-commit: Improve error message if not in a workonJoachim Fenkes2017-06-211-2/+4
| | | | | | | | | Change-Id: Id9df3bfa7d5cafb3a096ea02c2984e155901a457 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/42027 Reviewed-by: Matt K. Light <mklight@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> Reviewed-by: Sachin Gupta <sgupta2m@in.ibm.com>
* Extend sbe-debug.py tool and fixesspashabk-in2017-06-191-67/+99
| | | | | | | | | | | | | | Added command '-l sym -s <SYMBOL>' to read a symbol value fromm pibmem All the file dependencies to be resolved in the following order - SBE_TOOLS_PATH > current directory > system PATH Fix in forced-trace command to correct the offset Change-Id: If5320c060a3580c53836c5387979d6ea8dc7518c Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/41882 Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com> Reviewed-by: Sachin Gupta <sgupta2m@in.ibm.com>
* Add support for MC and MI targetsSantosh Puranik2017-06-091-1/+2
| | | | | | | | Change-Id: Ife13683349bfe4f618ab2632d78e6ade70cc095c Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/39870 Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Reviewed-by: RAJA DAS <rajadas2@in.ibm.com> Reviewed-by: Sachin Gupta <sgupta2m@in.ibm.com>
* sbe-debug.py Indentation Error fixedRaja Das2017-06-091-1/+1
| | | | | | | Change-Id: I72f59cd997062d2220b580bdbbba19f4f32b1aa1 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/41594 Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Reviewed-by: Sachin Gupta <sgupta2m@in.ibm.com>
* Supported Stack Usage feature on HW via cronusRaja Das2017-06-062-7/+52
| | | | | | | | Change-Id: I7b5eaa1ee484e4fbd31f12146d3d47dd24344255 RTC: 175229 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/41360 Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Reviewed-by: Sachin Gupta <sgupta2m@in.ibm.com>
* Figure out DD level in simicsspashabk-in2017-06-021-10/+28
| | | | | | | | | | Command to get ddlevel of sbe - "sbe-ddlevel 0" Rename stack usage tool to "sbe-stack" Change-Id: I504a827b46957673335156dbc100e64709ef041a Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/41150 Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com> Reviewed-by: Sachin Gupta <sgupta2m@in.ibm.com>
* Remove dependency of sbe obj path for sbestate, ppestate etcSachin Gupta2017-05-311-23/+28
| | | | | | | | | | Change-Id: I5afe599e9f128ac0721d437cef0b5a2057dc346f Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/41156 Reviewed-by: RAJA DAS <rajadas2@in.ibm.com> Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Reviewed-by: Shakeeb A. Pasha B K <shakeebbk@in.ibm.com> Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com> Reviewed-by: Sachin Gupta <sgupta2m@in.ibm.com>
* Enable tools to take fsp-trace from system pathSachin Gupta2017-05-311-3/+10
| | | | | | | | | | | | | | fsp-trace is not created as part of sbe build output. So will use system path for fsp-trace. It can be overridden by manually putting fsp-trace in sbe build output. Change-Id: Ia27de410f3c705e7fc9f6d0604977e0074849a46 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/41154 Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Reviewed-by: RAJA DAS <rajadas2@in.ibm.com> Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com> Reviewed-by: Shakeeb A. Pasha B K <shakeebbk@in.ibm.com> Reviewed-by: Sachin Gupta <sgupta2m@in.ibm.com>
* Fix in forced trace command for DD2spashabk-in2017-05-161-2/+6
| | | | | | | | Change-Id: If8a92cb7a0ceaf19dc20f24b9fa58062ac176ddc Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/40199 Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com> Reviewed-by: Sachin Gupta <sgupta2m@in.ibm.com>
* Minor changes in debug scriptSachin Gupta2017-04-281-2/+2
| | | | | | | | | | Change-Id: Ib8d9531ce51a886639885e7198449e52d0f89c25 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/39770 Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com> Reviewed-by: Shakeeb A. Pasha B K <shakeebbk@in.ibm.com> Reviewed-by: RAJA DAS <rajadas2@in.ibm.com> Reviewed-by: Sachin Gupta <sgupta2m@in.ibm.com>
* Fixes and enhancements in sbe-debug.pyspashabk-in2017-04-191-6/+71
| | | | | | | | | | | | Added 'forced-trace' command to get SBE traces even if the proper SBE symbol files are not available Fixes in 'sbestatus' to properly get the status regsiter Change-Id: I2c2b4dccf9246219f23b61746f4c1dfd644d1d74 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/39198 Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com> Reviewed-by: Sachin Gupta <sgupta2m@in.ibm.com>
* Cumulus ATTR_NAME SupportSantosh Puranik2017-04-181-9/+22
| | | | | | | | | | Change-Id: I47946f25067c1d7cf6f56e1734406d1416269f5b Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/38212 Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Reviewed-by: Sachin Gupta <sgupta2m@in.ibm.com> Reviewed-by: Shakeeb A. Pasha B K <shakeebbk@in.ibm.com> Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com> Reviewed-by: Santosh S. Puranik <santosh.puranik@in.ibm.com>
* Support for TARGET_TYPE_PHBSantosh Puranik2017-04-061-1/+1
| | | | | | | | Change-Id: Id4c2407655c38325431eff256aa10f3b0b48fff2 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/38281 Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com> Reviewed-by: Sachin Gupta <sgupta2m@in.ibm.com>
OpenPOWER on IntegriCloud