summaryrefslogtreecommitdiffstats
path: root/import/chips/p9/xip
Commit message (Collapse)AuthorAgeFilesLines
* Resolve compile warnings in Cronus for signed/unsigned comparison.Kahn Evans2016-06-281-2/+2
| | | | | | | | | | | | | Change-Id: If2639b3ef670b997141bcb4f6205499d4ef3e6bf Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/26270 Tested-by: Jenkins Server Reviewed-by: Matt K. Light <mklight@us.ibm.com> Tested-by: PPE CI Reviewed-by: Martin Peschke <mpeschke@de.ibm.com> Tested-by: Hostboot CI Reviewed-by: Jennifer A. Stofer <stofer@us.ibm.com> Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/26271 Reviewed-by: Sachin Gupta <sgupta2m@in.ibm.com>
* HW Image Build Flow: Remove obsolete image sectionsMartin Peschke2016-06-271-29/+9
| | | | | | | | | | | | | | | | These sections have never been used but were integrated into the respective code sections of the CME, SGPE and Restore images. Change-Id: I474206c2f7047cc4beacc33e44e17d0fb9a0a59d Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/25336 Tested-by: Jenkins Server Tested-by: PPE CI Tested-by: Hostboot CI Reviewed-by: Prachi Gupta <pragupta@us.ibm.com> Reviewed-by: Richard J. Knight <rjknight@us.ibm.com> Reviewed-by: Martin Peschke <mpeschke@de.ibm.com> Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/25921 Reviewed-by: Sachin Gupta <sgupta2m@in.ibm.com>
* p9_xip_tool: Attribute dump parser commandShakeeb2016-06-233-54/+296
| | | | | | | | | | | | | | | Implementation of 'attrdump' command in xip tool to parse SBE dump for attributes Change-Id: I64049b24d4548af494450065bb6d7ab5e9ea2d8e RTC:134294 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/25540 Tested-by: Jenkins Server Tested-by: PPE CI Tested-by: Hostboot CI Reviewed-by: Sachin Gupta <sgupta2m@in.ibm.com> Reviewed-by: Martin Peschke <mpeschke@de.ibm.com> Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/25566
* p9_image_help_base.H: removal of unused and obsolete fileMartin Peschke2016-06-211-118/+0
| | | | | | | | Change-Id: I60a998919c4aa1e4fe2d10cdbdca6aa7f7c5d9ac Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/26034 Tested-by: Jenkins Server Reviewed-by: Sachin Gupta <sgupta2m@in.ibm.com> Reviewed-by: Martin Peschke <mpeschke@de.ibm.com>
* Add P9_TOR namespace to avoid naming collisionsBill Hoffa2016-06-171-0/+1
| | | | | | | | | | | | | | Change-Id: I5494b98fdc439c7bf08c3f5ddd47c5285563ee99 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/25509 Tested-by: Jenkins Server Tested-by: PPE CI Tested-by: Hostboot CI Reviewed-by: Martin Peschke <mpeschke@de.ibm.com> Reviewed-by: Claus M. Olsen <cmolsen@us.ibm.com> Reviewed-by: Prachi Gupta <pragupta@us.ibm.com> Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/25512 Reviewed-by: William G. Hoffa <wghoffa@us.ibm.com> Reviewed-by: Sachin Gupta <sgupta2m@in.ibm.com>
* p9_xip_tool: cleaning up endianess conversionMartin Peschke2016-06-131-10/+10
| | | | | | | | | | | | | | Use system header endian.h routines to do endianess conversion instead of own routines. Change-Id: I82649143a47cb76ca2a631107165f6128d06d10c Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/24898 Tested-by: PPE CI Tested-by: Jenkins Server Reviewed-by: Claus M. Olsen <cmolsen@us.ibm.com> Reviewed-by: Prachi Gupta <pragupta@us.ibm.com> Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/25564 Reviewed-by: Sachin Gupta <sgupta2m@in.ibm.com>
* P9-XIP: cleaning up endianess conversionMartin Peschke2016-06-092-149/+54
| | | | | | | | | | | | | | Use system header endian.h routines to do endianess conversion instead of own routines. Change-Id: I6dd657b77b61a9a56797a254af6464f8526cc60f Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/24893 Tested-by: Jenkins Server Tested-by: Hostboot CI Tested-by: PPE CI Reviewed-by: Prachi Gupta <pragupta@us.ibm.com> Reviewed-by: Claus M. Olsen <cmolsen@us.ibm.com> Reviewed-by: Martin Peschke <mpeschke@de.ibm.com>
* HW Image: no .overrides sectionMartin Peschke2016-06-092-12/+2
| | | | | | | | | | | | | | Removing .overrides from HW image since that is going to be a separate PNOR section. Change-Id: Id5fd18390e757be20ae35e484f47a953368f288b Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/24832 Tested-by: PPE CI Reviewed-by: Richard J. Knight <rjknight@us.ibm.com> Tested-by: Jenkins Server Tested-by: Hostboot CI Reviewed-by: Claus M. Olsen <cmolsen@us.ibm.com> Reviewed-by: Prachi Gupta <pragupta@us.ibm.com>
* Initial check in of p9_xip_tool.C which supports dissecting ringClaus Michael Olsen2016-06-091-0/+2439
| | | | | | | | | | | | | sections. - Updated xip_tool.C to split dissectRingSection() into an XIP part and an TOR part. Change-Id: I19e5656cea9b7fd02e4972880b3ffff947705047 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/24268 Tested-by: PPE CI Tested-by: Jenkins Server Reviewed-by: Richard J. Knight <rjknight@us.ibm.com> Reviewed-by: Prachi Gupta <pragupta@us.ibm.com>
* Initial check in of xip_tool changes needed to support anotherClaus Michael Olsen2016-06-082-2643/+3
| | | | | | | | | | | | initial check in p9_xip_tool.C Change-Id: I5c2be359f18424b3de90643d1d8ff544573b857f Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/23801 Tested-by: Jenkins Server Tested-by: PPE CI Reviewed-by: Prachi Gupta <pragupta@us.ibm.com> Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/23803 Reviewed-by: Martin Peschke <mpeschke@de.ibm.com>
* Relocation of header files to ./tools/imageProcs directory and associatedClaus Michael Olsen2016-04-197-302/+32
| | | | | | | | | | | | | | | | | | | | | changes to various *.mk files to point to new location as well as minor changes to xip_tool. Removed p9_ring_apply.mk because it isn't needed at this point anyway and causes Jenkins to fail. Giri is checking this file plus associated corrections to the other p9_ring_apply.* files. Added and updated p9_xip_image.h, and updated p9_scan_compression.H, according to commit 22997. Change-Id: I888dc2fccf92d3173ae45870b7cdefeb29757058 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/22682 Tested-by: Hostboot CI Tested-by: Jenkins Server Tested-by: PPE CI Reviewed-by: Claus M. Olsen <cmolsen@us.ibm.com> Reviewed-by: Prachi Gupta <pragupta@us.ibm.com> Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com> Reviewed-by: Martin Peschke <mpeschke@de.ibm.com> Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/22687
* P9-XIP: improved image reportsMartin Peschke2016-04-062-20/+33
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - enlarged build host string to avoid truncation - provide both section start and end offset in section table - provide section aligment in section table - fix "(null)" section name - aligning some fields Magic Number : 0x5849502053475045 "XIP SGPE" Header Version : 0x09 Link Address : 0x0000000080000000 L1 Loader Address : 0x00000000 L2 Loader Address : 0x00000000 Kernel Address : 0x00000000 Image Size : 0x000074f0 (29936) Normalized : Yes TOC Sorted : Yes <removed a line to silence Jenkins mistaking this for something else> Build Time : 14:22 Build User : mpeschke Build Host : hdrhapcc.boeblingen.de.ibm.com Section Table : Name Alignment Start End Size .header 1 0x00000000 0x0000015b 0x0000015c (348) .fixed 1 0x00000000 0x00000000 (0) .fixedtoc 1 0x00000000 0x00000000 (0) .toc 4 0x0000015c 0x000001f7 0x0000009c (156) .strings 1 0x000001f8 0x00000291 0x0000009a (154) .qpmr 8 0x00000298 0x00000697 0x00000400 (1024) .lvl1_bl 8 0x00000698 0x00000a97 0x00000400 (1024) .lvl2_bl 8 0x00000a98 0x00000e97 0x00000400 (1024) .hcode 8 0x00000e98 0x000074ef 0x00006658 (26200) 1 0x00000000 0x00000000 (0) 1 0x00000000 0x00000000 (0) 1 0x00000000 0x00000000 (0) 1 0x00000000 0x00000000 (0) 1 0x00000000 0x00000000 (0) 1 0x00000000 0x00000000 (0) Change-Id: I729a482504d5b3d310f93b982ad782fd4d254073 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/22659 Tested-by: Jenkins Server Tested-by: Hostboot CI Tested-by: PPE CI Reviewed-by: Claus M. Olsen <cmolsen@us.ibm.com> Reviewed-by: Prachi Gupta <pragupta@us.ibm.com> Reviewed-by: Martin Peschke <mpeschke@de.ibm.com> Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/22661
* P9-XIP: remove dead macro .xip_cvs_revisionMartin Peschke2016-04-011-65/+1
| | | | | | | | | | | | | That macro was unused and didn't make any sense in a git world. Change-Id: Ide7856d953820f20c6a581563c1cde28ccfde93e Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/22671 Tested-by: Jenkins Server Tested-by: Hostboot CI Tested-by: PPE CI Reviewed-by: Richard J. Knight <rjknight@us.ibm.com> Reviewed-by: Martin Peschke <mpeschke@de.ibm.com> Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/22673
* P9-XIP: enhanced section table layout and HW ImageMartin Peschke2016-03-224-300/+531
| | | | | | | | | | | | | This enhances the section table layout in order to allow nesting of images, as needed for the Hardware Image. Change-Id: I259aabe1b292d0de92a61635583e2cc3b535df8d Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/21430 Tested-by: Jenkins Server Reviewed-by: Claus M. Olsen <cmolsen@us.ibm.com> Reviewed-by: Gregory S. Still <stillgs@us.ibm.com> Reviewed-by: Sachin Gupta <sgupta2m@in.ibm.com> Reviewed-by: Martin Peschke <mpeschke@de.ibm.com>
* P9-XIP: remove duplicate fileMartin Peschke2016-02-121-365/+0
| | | | | | | | | | | | | File is should not be maintained or used here. It's available in another dir. Change-Id: I48014dfc5f87f4257cb9ed10eb1e8bea9e3c29e3 Reviewed-on: http://gfw160.aus.stglabs.ibm.com:8080/gerrit/23999 Tested-by: Jenkins Server Reviewed-by: GIRISANKAR PAULRAJ <gpaulraj@in.ibm.com> Reviewed-by: Claus Michael Olsen <cmolsen@us.ibm.com> Reviewed-by: Martin Peschke <mpeschke@de.ibm.com> Reviewed-on: http://gfw160.aus.stglabs.ibm.com:8080/gerrit/24259
* P9-XIP: fix compile warningsMartin Peschke2016-02-122-30/+18
| | | | | | | | | | | | | The ekb build flow won't succeed without fixing these compile warnings, which hinted at some valid potential problems. Change-Id: I2824da4b59d8ffa3c5ae46d02bb1231a8ac10604 Reviewed-on: http://gfw160.aus.stglabs.ibm.com:8080/gerrit/23681 Tested-by: Jenkins Server Reviewed-by: PRACHI GUPTA <pragupta@us.ibm.com> Reviewed-by: Claus Michael Olsen <cmolsen@us.ibm.com> Reviewed-by: Martin Peschke <mpeschke@de.ibm.com> Reviewed-on: http://gfw160.aus.stglabs.ibm.com:8080/gerrit/24258
* Header field update for loaderSachin Gupta2016-02-033-18/+24
| | | | | | | | | | | | | | Most of ppe loader need support for slow loader(L1), fast loader(L2) and pk kernel entry points. Add this information in XIP header. Change-Id: I0fd9b58b01431692b1281a3270bb82db814faebe Reviewed-on: http://gfw160.aus.stglabs.ibm.com:8080/gerrit/23525 Tested-by: Jenkins Server Reviewed-by: Martin Peschke <mpeschke@de.ibm.com> Reviewed-by: Gregory S. Still <stillgs@us.ibm.com> Reviewed-on: http://gfw160.aus.stglabs.ibm.com:8080/gerrit/23724 Reviewed-by: Amit J. Tendolkar <amit.tendolkar@in.ibm.com>
* P9-XIP image build: initial implementationMartin Peschke2016-01-219-0/+8254
This code is supposed to be used for all P9-XIP image build flows, including the ones for the Hardware Image (former Reference Image) and for the SBE IPL Image (located in the ppe repository). It has been derived from SBE-XIP code within the ppe repo (tools/image, sbe/image). This code has been succesfully used to build the SBE IPL image in the ppe repository. This code should is capable of building images, while it does not come with support for putting default values into attributes yet. Changes include: - cut down on number of included header files (eliminating lots of dependencies related to ppe and ekb repos) - a lot of renaming (SBE to P9-XIP) - Makefile cleanup - cleanup of white space damage Todos: - Some files might need to be revisited later, i.e. anything that doesn't come with a p9_xip_ prefix. - We may want to integrate this into ekb build. - The Makefile contains a check for the required compiler version. If the checks fails, manual actions must be taken. For a fully automated build this needs improvement. - The P9-XIP image build code needs to be mirrored to the ppe repo, and the SBE IPL Image build flow should be adapted to used it. - The sbe_default_tool is not included in this port. Change-Id: I6017602fc61787fbb58673bfc2bf046f19526ff4 Reviewed-on: http://gfw160.aus.stglabs.ibm.com:8080/gerrit/23004 Tested-by: Jenkins Server Reviewed-by: Martin Peschke <mpeschke@de.ibm.com> Reviewed-on: http://gfw160.aus.stglabs.ibm.com:8080/gerrit/23472
OpenPOWER on IntegriCloud