summaryrefslogtreecommitdiffstats
path: root/src/build/buildpnor
Commit message (Collapse)AuthorAgeFilesLines
* Initial Support for Updating SBE SEEPROMMike Baiocchi2013-10-281-0/+348
| | | | | | | | | | | | | | | This initial commit will be used to create the new SBE directories and files. It also supports the usr functions to find and copy SBE PNOR images. NOTE: It will not enable Updating SBE SEEPROMs in the IPL. Change-Id: I3f545a134493c7595ce50fd885478bbe606de472 RTC: 47032 Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/6311 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>
* Add version header to extended imageStephen Cprek2013-10-252-6/+24
| | | | | | | | | Change-Id: Iac1cbae0d9c7ecf74cc1d5f4b28cf5a56f24b5f2 RTC: 80985 Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/6858 Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com> Tested-by: Jenkins Server Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
* change trace to non-error trace levelBrian Horton2013-10-141-1/+1
| | | | | | | | Change-Id: If4a0239b92fe880987562e7b9355e82fb0ff2794 RTC: 88448 Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/6664 Tested-by: Jenkins Server Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
* PNOR ECC SupportDan Crowell2013-10-112-0/+30
| | | | | | | | | | | | | | Adding ECC support to the PNOR Resource Provider as well as the makefiles that create the images. Also fixed a bug in the PNOR DD for writes across erase blocks. Change-Id: I31ff6817cd35728badcd23a48fa73e51727142b9 RTC: 66213 Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/6203 Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com> Reviewed-by: Michael Baiocchi <baiocchi@us.ibm.com> Tested-by: Jenkins Server Reviewed-by: ADAM R. MUHLE <armuhle@us.ibm.com>
* Initial Hostboot Runtime image support.Patrick Williams2013-09-171-0/+7
| | | | | | | | RTC: 76675 Change-Id: Ibd21cf5b555e6dcee182a2f1a292b47d4f384ba0 Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/6127 Tested-by: Jenkins Server Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
* Update PNOR Layout XML to indicate HBB has ECC ProtectionAdam Muhle2013-08-141-0/+1
| | | | | | | | | | | | | Just cleaning up the PNOR layout to indicate the HBB partition has ECC protection. HWSV is starting to work on support for injecting ECC in all partitions and will be able to reference the XML data in all cases to know what to do. (We're not ready for ECC In the rest of the partitions yet). Change-Id: I7b9dd365fc4d3feb4c52e1edbd752b3ab4b134ad Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/5794 Tested-by: Jenkins Server Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
* Disable VPO PNOR image buildAdam Muhle2013-07-301-12/+20
| | | | | | | | | | | | | | I disabled building the VBU/VPO PNOR images as our code is getting too big to fit in fake PNOR. I also disabled the option to distribute a vpo target since it is pointless without the corresponding PNOR images. Change-Id: I20acd7955f9e5ed11038b7e1d677fde15b1885db Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/5574 Tested-by: Jenkins Server Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com> Reviewed-by: Douglas R. Gilbert <dgilbert@us.ibm.com> Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
* Replace ffs tool with fcp and fpartDean Sanner2013-07-171-61/+49
| | | | | | | | Change-Id: I06da562001e54c8e4d4b632b6d5b8815f520daef Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/5344 Tested-by: Jenkins Server Reviewed-by: ADAM R. MUHLE <armuhle@us.ibm.com> Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
* Define User Data bits in PNOR TOCAdam Muhle2013-06-031-0/+8
| | | | | | | | Change-Id: Ie2bc561c2cfdbea32ba08d9e74bf1f36cf1f43cd RTC: 66209 Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/4687 Tested-by: Jenkins Server Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
* Changes to run Awan standalone VPO to pass successfully memx_testvanlee2013-06-031-0/+10
| | | | | | | | | Change-Id: Ied9e1706c92030faa13279a849c20f24f876e959 Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/4655 Tested-by: Jenkins Server Reviewed-by: Brian H. Horton <brianh@linux.ibm.com> Reviewed-by: ADAM R. MUHLE <armuhle@us.ibm.com> Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
* Support VBU with Venice processorsvanlee2013-03-141-1/+1
| | | | | | | | Change-Id: Ibdf0eff87211e258e01b33f203a99b41dd192717 RTC: 51074 Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/3358 Tested-by: Jenkins Server Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
* Refactoring of the build system.Patrick Williams2013-03-011-15/+15
| | | | | | | | | | | | | | | | | | | | | | - 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>
* Updating PNOR Layout to better match current directionAdam Muhle2013-02-142-267/+113
| | | | | | | | | | | | | The needs placed on the PNOR layout have morphed over time. I've cleaned it up to better match current requirements. Later commits will add support for features like SecureBoot, CRC, etc. Change-Id: Ie2479c362423a3034167512480631d1aa3a16bec RTC: 63897 Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/3136 Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com> Tested-by: Jenkins Server Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
* Update build PNOR tool to detect FFS versionAdam Muhle2013-02-081-38/+20
| | | | | | | | | | | | Making the build PNOR tool look at ffs tool version to determine which set of input parms to use. Change-Id: I0aa2a19b8596c8c83533b81943de11149527c2a7 RTC: 63498 Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/3124 Tested-by: Jenkins Server Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com> Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
* Update build PNOR tool to handle new FFS ParmsAdam Muhle2013-02-061-25/+107
| | | | | | | | | | | | | | | | The Building Block team is releasing a new version off ffs which requires new input parms. To avoid a co-req situation, I've changed buildpnor.pl to detect the new ffs binary by checking the SHA hash. This triggers using the new parms. In a few weeks this check will be removed. (Tracked in RTC) Change-Id: Ie9b14eb7cb95e7988b4afa216eaa4b75cef85cd8 RTC: 63498 Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/3088 Tested-by: Jenkins Server Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com> Reviewed-by: Douglas R. Gilbert <dgilbert@us.ibm.com> Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
* Update fake-pnor to utilize 4MB of L3 CacheAdam Muhle2013-01-241-32/+54
| | | | | | | | | | | | | | | | Updating the fake-pnor to utilize 4MB of L3 Cache since the SLW work has been moved to real memory. In the process I added the Centaur VPD partition, and added more space to the HBI partition. Since we have a little breathing room, I also devoted 16K to a GUARD partition. There is still 100k unallocated to allow for yet another emergency one-time fix the next time HBI partition gets filled up. Change-Id: If6d8783a34724971700f324d277c3fc7c1379d88 RTC: 44009 Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/2999 Tested-by: Jenkins Server Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
* Update PNOR layout for VBUAdam Muhle2012-12-151-8/+8
| | | | | | | | | | Robbing some space from the Attribute Data Partition (HBD) to make more room in the Extended Image Partition (HBI) Change-Id: Ic5335c475af52b2a865420fff36a60be58d9550f Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/2718 Tested-by: Jenkins Server Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
* Load Hostboot Base from PNORDean Sanner2012-12-121-2/+3
| | | | | | | | | | | | | Add the SBE and secureboot header to the hostboot base image and enable simics to actually pull the image from PNOR instead of directly stuffing cache from file. Also enables Hostboot to execute from HRMOR of 128MB and updates cit script to handle HRMOR Change-Id: Ie414a5f8e43dadf03538d7435f742b2d79db431b Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/2473 Tested-by: Jenkins Server Reviewed-by: Dean Sanner <dsanner@us.ibm.com>
* Skip vbu.pnor build when profiling is enabled.Adam Muhle2012-11-131-0/+5
| | | | | | | | | | | | | | Enabling profiling causes the hostboot extended image to be to big to fit in the VBU pnor layout. Since there's little need to profile in VBU, I'm just disabling building of the image in that environment. Change-Id: If173715b42862230443187c05766826c1a02e919 Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/2266 Tested-by: Jenkins Server Reviewed-by: Van H. Lee <vanlee@us.ibm.com> Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com> Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
* Update VBU PNOR layout to include Winkle and Error Log partitionsAdam Muhle2012-11-031-14/+38
| | | | | | | | | | | | | | | | -Reduced the size of VPD partitions to squeeze in Winkle and Error log paritions. -Winkle and Error log partitions are smaller than production size to fit within fake-PNOR, but big enough to be functional -Deliviring more tools as part of VPO release to enable automation of figuring out VPD offsets, generating VPD, etc. Change-Id: I901cc895fbdb04837bd662329dc0c02d26e4b63f RTC: 49033 Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/2181 Tested-by: Jenkins Server Reviewed-by: Terry J. Opie <opiet@us.ibm.com> Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
* Update Default PNOR layout to include all partitionsAdam Muhle2012-10-242-42/+95
| | | | | | | | | | | | | | | | | -Updated the default PNOR layout to include all partitions -PNOR Layout now matches PNOR Spec layout, but only single side -Updated PNORRP to support all partitions -Updated PNORDD to more efficiently track erases -Added 4-byte addressing workaround to combined.simics to workaround SW170513 for FSP PNOR access. -Disabled test image in VBU to save space since it is not used anyway Change-Id: Ifadd21829b78868a1f2d8b762420a24f256f7a7e RTC: 49033 Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/2091 Tested-by: Jenkins Server Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
* Deliver new PNOR tooling to ODE sandboxAdam Muhle2012-08-164-239/+973
| | | | | | | | | | | | | | | | | | | | | | Updating pnor build process in the following ways: -Murano/Venice/Tuleta pnor images now build in ODE sandbox -They are built using the ffs tool -hbDistribute delivers necessary files to ODE to enable building in ODE sandbox. -Delivering ffs_hb.H to CMVC to enable commonality of FFS user data with Hardware Server -Disabled failing Scom test case assoicated with new bbuild. Opened Issue to track resolution. Note, VBU image is still built the old way. That will be updated next sprint. Change-Id: Ie4cdca053c3f4221e5ca051a68157159970dfce2 RTC: 35045 Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/1436 Tested-by: Jenkins Server Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com> Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
* Rearrange VBU PNOR layoutAdam Muhle2012-07-281-11/+11
| | | | | | | | | | | | | | We ran out of space in the extended image partition of PNOR so I'm moving things around to squeeze out a little more space. I also stole some space from the Attribute partition since the Attribute data is very small for the VBU config. Change-Id: Ied81c02f6670593b1049ddd91c580b6a1a4d9b9c Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/1403 Tested-by: Jenkins Server Reviewed-by: Terry J. Opie <opiet@us.ibm.com> Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com> Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
* Change PNORDD test cases to use test section of PNORAdam Muhle2012-07-113-21/+47
| | | | | | | | | | | | | | | Updated the PNOR Device Driver test cases to use a specially created test section of PNOR. The test cases will only run if the TEST section exists. Disabled the fake-pnor related test cases as the test section offset does not exist in the fake-pnor address space. Opened a story to fix this later. Change-Id: I1b5fd4989ee775c14034430226d9ffe844995f96 Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/1335 Tested-by: Jenkins Server Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
* Unique PNOR Layout for VPO imagesAdam Muhle2012-07-093-18/+134
| | | | | | | | | | | | | -Unique PNOR layout for VPO to fit within fake-pnor -Larger image for simics configs which includes the base img. Change-Id: I884a99da51845c2f17fcb48be4afa7d272d0ffd5 RTC: 44290 Depends-on: I7294999d3619692aaab424dca1ae608a0a84fa81 Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/1281 Tested-by: Jenkins Server Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com> Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
* Update PNOR RP to parse FFS Partition TableAdam Muhle2012-07-092-14/+29
| | | | | | | | | | | | This function allows us to support varied PNOR layouts in Hostboot. Change-Id: I7294999d3619692aaab424dca1ae608a0a84fa81 RTC: 35057 Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/1274 Tested-by: Jenkins Server Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com> Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
* Update buildpnor.pl to build FFS data when creating PNOR image.Adam Muhle2012-06-263-97/+252
| | | | | | | | | | | | Updated the buildpnor.pl tool to create partition information which matchies the FFS data structure instead of the previously defined TOC implementation. Change-Id: I37f55911da867b12ddfcf44861771c94680a5d5c RTC: 43075 Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/1195 Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com> Tested-by: Jenkins Server
* Fix deprecated hash-ref warnings in buildpnor.pl.Adam Muhle2012-04-161-18/+18
| | | | | | | | | | | | Tweaking how hash references are accessed in buildpnor.pl to avoid a deprecated method of accessing hashes, which raises an error in newer version of perl. Change-Id: Ifda48409fc07feb3ebd50a2d28ffec22d7505c48 RTC: 35043 Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/891 Tested-by: Jenkins Server Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
* Build Tuleta PNOR image.Patrick Williams2012-04-061-1/+1
| | | | | | | | Change-Id: I0967f385e7859fa2f2b9f9e6e179a6efe11bbcab Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/835 Reviewed-by: ADAM R. MUHLE <armuhle@us.ibm.com> Tested-by: Jenkins Server Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
* Automating creation of PNOR image with TOC and Section data.Adam Muhle2012-04-043-0/+815
Wrote buildpnor.pl which builds PNOR image based on pnorLayout.xml file and input binary files. Setup makefiles to create PNOR if input files change and to handle make clean. Updated PNORRP to support new section offsets and new MVPD and DIMM VPD sections. Also updated PNORDD to use 4 MB of L3 Cache as fake-PNOR. Change-Id: Ic40670a45a53211a2414570d7fe5632e19bd44ed RTC: 35043 Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/819 Reviewed-by: Terry J. Opie <opiet@us.ibm.com> Tested-by: Jenkins Server Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
OpenPOWER on IntegriCloud