diff options
| author | Prem Shanker Jha <premjha2@in.ibm.com> | 2016-06-08 05:48:31 -0500 |
|---|---|---|
| committer | Joshua Hunsberger <jahunsbe@us.ibm.com> | 2017-10-23 17:09:21 -0500 |
| commit | 0a1e893404bacf476aa3d95f7ffffb10dca82567 (patch) | |
| tree | de02db51b6f219918b399026256fba2740d8b6fa /import/tools | |
| parent | 0ece29f82b7ad9399fa1b2d1df30c72d7e700df8 (diff) | |
| download | talos-hcode-0a1e893404bacf476aa3d95f7ffffb10dca82567.tar.gz talos-hcode-0a1e893404bacf476aa3d95f7ffffb10dca82567.zip | |
PM: Added support for PGPE Boot/PGPE integration
- support for P-State parameter block
- implements a compact image layout of PGPE similar to CME/SGPE.
- adds PGPE boot progress code as a field in PPMR header.
- implements PGPE boot loader and PGPE boot copier.
- incorporates ability to generate PPMR header in the build flow.
- change logic for calculating CME's first block copy length.
- Turned on generated tables in PGPE Hcode
- Fixed up pointers to generated tables
- add ATTR_PGPE_HCODE_FUNCTION_ENABLE attribute to control PGPE ops
- fix p9_pstate_parameter_build bug with AVS timing attributes
- Make OCC Pstate Parameter block a fixed offset (128KB) in PPMR
- Make Pstate Table from PGPE a fixed offset (144KB) in PPMR to ease debug
- Fix Endianes issues in OCC PPB and input slope calcs
- Added PGPE Hcode Length to PGPE header so that GPPB SRAM location is known.
- Build flag for OCc Immediate IPC response
- Build flag to no use temp boot settings
- Expanding tracing for debug
- Added default values for PBAX attributes as placeholders for MRW in firmware
- Added WOF VFRT structure definions to headers; movement into HOMER NOT
yet supported
- Addressed review comments and rebased
- Rebased with ATTR_PGPE_HCODE_FUNCTION_ENABLE in separate commit for Cronus
Change-Id: I4752debbc7fb3275d4e79804333654511de427ff
Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/26115
Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com>
Tested-by: PPE CI <ppe-ci+hostboot@us.ibm.com>
Reviewed-by: Gregory S. Still <stillgs@us.ibm.com>
Tested-by: Hostboot CI <hostboot-ci+hostboot@us.ibm.com>
Reviewed-by: ASHISH A. MORE <ashish.more@in.ibm.com>
Reviewed-by: Jennifer A. Stofer <stofer@us.ibm.com>
Diffstat (limited to 'import/tools')
| -rw-r--r-- | import/tools/imageProcs/pstate_gpe_image.cmd | 8 | ||||
| -rw-r--r-- | import/tools/imageProcs/pstate_gpe_image.mk | 5 |
2 files changed, 12 insertions, 1 deletions
diff --git a/import/tools/imageProcs/pstate_gpe_image.cmd b/import/tools/imageProcs/pstate_gpe_image.cmd index bd5d0c33..2754905a 100644 --- a/import/tools/imageProcs/pstate_gpe_image.cmd +++ b/import/tools/imageProcs/pstate_gpe_image.cmd @@ -59,6 +59,14 @@ SECTIONS _strings_offset = . - _pgpe_image_origin; .strings . : { *(.strings) } _strings_size = . - _strings_origin; + //////////////////////////////// + // PPMR Header + //////////////////////////////// + . = ALIGN(8); + _ppmr_hdr_origin = .; + _ppmr_hdr_offset = . - _pgpe_image_origin; + .ppmr_header . : { *(.ppmr_header) } + _ppmr_hdr_size = . - _ppmr_hdr_origin; //////////////////////////////// // Level 1 Bootloader diff --git a/import/tools/imageProcs/pstate_gpe_image.mk b/import/tools/imageProcs/pstate_gpe_image.mk index 8406600b..063a003b 100644 --- a/import/tools/imageProcs/pstate_gpe_image.mk +++ b/import/tools/imageProcs/pstate_gpe_image.mk @@ -28,11 +28,14 @@ IMAGE=pstate_gpe_image PGPE_DEPS=$$($(IMAGE)_PATH)/.$(IMAGE).setbuild_host # dependencies for bin files needed in the pgpe xip image +PPMR_HDR_BIN_FILE=$(IMAGEPATH)/ppmr_header/ppmr_header.bin LVL1_BL_BIN_FILE=$(IMAGEPATH)/pgpe_lvl1_copier/pgpe_lvl1_copier.bin LVL2_BL_BIN_FILE=$(IMAGEPATH)/pgpe_lvl2_loader/pgpe_lvl2_loader.bin PGPE_BIN_FILE=$(IMAGEPATH)/pstate_gpe/pstate_gpe.bin -$(call XIP_TOOL,append,.lvl1_bl,$(PGPE_DEPS) $(LVL1_BL_BIN_FILE), $(LVL1_BL_BIN_FILE)) +$(call XIP_TOOL,append,.ppmr_header,$(PGPE_DEPS) $(PPMR_HDR_BIN_FILE), $(PPMR_HDR_BIN_FILE)) +$(call XIP_TOOL,append,.lvl1_bl,$(PGPE_DEPS) $$($(IMAGE)_PATH)/.$(IMAGE).append.ppmr_header \ + $(LVL1_BL_BIN_FILE), $(LVL1_BL_BIN_FILE)) $(call XIP_TOOL,append,.lvl2_bl,$(PGPE_DEPS) $$($(IMAGE)_PATH)/.$(IMAGE).append.lvl1_bl \ $(LVL2_BL_BIN_FILE), $(LVL2_BL_BIN_FILE)) $(call XIP_TOOL,append,.hcode,$(PGPE_DEPS) $$($(IMAGE)_PATH)/.$(IMAGE).append.lvl2_bl \ |

