Bill Hoffa | 5f93f1d | 2014-06-26 21:02:48 -0500 | [diff] [blame] | 1 | ################################################################################ |
| 2 | # |
| 3 | # hostboot_binaries |
| 4 | # |
| 5 | ################################################################################ |
| 6 | |
Stewart Smith | 062ec2d | 2018-04-29 20:24:20 -0500 | [diff] [blame] | 7 | HOSTBOOT_BINARIES_VERSION = $(call qstrip,$(BR2_HOSTBOOT_BINARIES_VERSION)) |
Bill Hoffa | 5db414e | 2019-11-22 11:03:45 -0600 | [diff] [blame] | 8 | # TODO: WORKAROUND: Need to reenable next line and comment out the two lines |
| 9 | # after that, when code is propagated to a public repo |
| 10 | #HOSTBOOT_BINARIES_SITE ?= $(call github,open-power,hostboot-binaries,$(HOSTBOOT_BINARIES_VERSION)) |
| 11 | HOSTBOOT_BINARIES_SITE ?= git@github.ibm.com:open-power/hostboot-binaries.git |
| 12 | HOSTBOOT_BINARIES_SITE_METHOD ?= git |
Bill Hoffa | 7ad6a87 | 2017-03-29 17:53:41 -0500 | [diff] [blame] | 13 | |
Bill Hoffa | 5f93f1d | 2014-06-26 21:02:48 -0500 | [diff] [blame] | 14 | HOSTBOOT_BINARIES_LICENSE = Apache-2.0 |
Stewart Smith | b16ba5b | 2017-01-10 12:55:55 +1100 | [diff] [blame] | 15 | HOSTBOOT_BINARIES_LICENSE_FILES = LICENSE |
Bill Hoffa | 5f93f1d | 2014-06-26 21:02:48 -0500 | [diff] [blame] | 16 | |
| 17 | HOSTBOOT_BINARIES_INSTALL_IMAGES = YES |
| 18 | HOSTBOOT_BINARIES_INSTALL_TARGET = NO |
| 19 | |
Mike Baiocchi | 909ca46 | 2019-05-09 08:51:35 -0500 | [diff] [blame] | 20 | # Creating Install Commands specific to P8 and P9 |
| 21 | # -- P8 does not need the nimbus and axone ring files |
| 22 | # -- P9 does not need the SBE files ('sbe' package is used in P9) |
| 23 | # -- P9 uses the 'hcode' package to build the BR2_HOSTBOOT_BINARY_WINK_FILENAME |
| 24 | |
| 25 | ################################### |
| 26 | # P8: |
| 27 | ifeq ($(BR2_OPENPOWER_POWER8),y) |
| 28 | define HOSTBOOT_BINARIES_INSTALL_IMAGES_CMDS |
| 29 | $(INSTALL) -D $(@D)/cvpd.bin $(STAGING_DIR)/hostboot_binaries/cvpd.bin |
| 30 | $(INSTALL) -D $(@D)/$(BR2_HOSTBOOT_BINARY_WINK_FILENAME) $(STAGING_DIR)/hostboot_binaries/ |
| 31 | $(INSTALL) -D $(@D)/$(BR2_HOSTBOOT_BINARY_IONV_FILENAME) $(STAGING_DIR)/hostboot_binaries/ |
| 32 | $(INSTALL) -D $(@D)/$(BR2_HOSTBOOT_BINARY_SBEC_FILENAME) $(STAGING_DIR)/hostboot_binaries/ |
| 33 | $(INSTALL) -D $(@D)/$(BR2_HOSTBOOT_BINARY_SBE_FILENAME) $(STAGING_DIR)/hostboot_binaries/ |
| 34 | $(INSTALL) -D $(@D)/gpu_gpe1.bin $(STAGING_DIR)/hostboot_binaries/gpu_gpe1.bin |
| 35 | endef |
| 36 | endif |
| 37 | |
| 38 | ################################### |
| 39 | # P9: |
| 40 | ifeq ($(BR2_OPENPOWER_POWER9),y) |
| 41 | |
Richard J. Knight | 3f0e29c | 2017-10-13 10:39:01 -0500 | [diff] [blame] | 42 | NIMBUS_RING_FILE=p9n.hw.rings.bin |
| 43 | NIMBUS_RING_OVERLAYS_FILE=p9n.hw.overlays.bin |
| 44 | |
Mike Baiocchi | 3652aea | 2019-05-07 10:13:21 -0500 | [diff] [blame] | 45 | AXONE_RING_FILE=p9a.hw.rings.bin |
| 46 | AXONE_RING_OVERLAYS_FILE=p9a.hw.overlays.bin |
| 47 | |
Dean Sanner | c277680 | 2017-03-17 07:45:41 -0500 | [diff] [blame] | 48 | |
Bill Hoffa | 5f93f1d | 2014-06-26 21:02:48 -0500 | [diff] [blame] | 49 | define HOSTBOOT_BINARIES_INSTALL_IMAGES_CMDS |
| 50 | $(INSTALL) -D $(@D)/cvpd.bin $(STAGING_DIR)/hostboot_binaries/cvpd.bin |
Bill Hoffa | fbd4fbf | 2017-10-10 20:41:22 -0500 | [diff] [blame] | 51 | $(INSTALL) -D $(@D)/gpu_gpe1.bin $(STAGING_DIR)/hostboot_binaries/gpu_gpe1.bin |
Mike Baiocchi | 909ca46 | 2019-05-09 08:51:35 -0500 | [diff] [blame] | 52 | $(INSTALL) -D $(@D)/$(BR2_HOSTBOOT_BINARY_IONV_FILENAME) $(STAGING_DIR)/hostboot_binaries/ |
| 53 | $(INSTALL) -D $(@D)/$(BR2_HOSTBOOT_BINARY_SBEC_FILENAME) $(STAGING_DIR)/hostboot_binaries/ |
Richard J. Knight | 3f0e29c | 2017-10-13 10:39:01 -0500 | [diff] [blame] | 54 | $(INSTALL) -D $(@D)/$(NIMBUS_RING_FILE) $(STAGING_DIR)/hostboot_binaries/ |
| 55 | $(INSTALL) -D $(@D)/$(NIMBUS_RING_OVERLAYS_FILE) $(STAGING_DIR)/hostboot_binaries/ |
Mike Baiocchi | 3652aea | 2019-05-07 10:13:21 -0500 | [diff] [blame] | 56 | $(INSTALL) -D $(@D)/$(AXONE_RING_FILE) $(STAGING_DIR)/hostboot_binaries/ |
| 57 | $(INSTALL) -D $(@D)/$(AXONE_RING_OVERLAYS_FILE) $(STAGING_DIR)/hostboot_binaries/ |
Bill Hoffa | 5f93f1d | 2014-06-26 21:02:48 -0500 | [diff] [blame] | 58 | endef |
Mike Baiocchi | 909ca46 | 2019-05-09 08:51:35 -0500 | [diff] [blame] | 59 | endif |
| 60 | |
Nick Bofferding | f390b6f | 2019-10-08 11:55:42 -0500 | [diff] [blame] | 61 | ################################### |
Bill Hoffa | fbcb711 | 2019-12-13 13:59:49 -0600 | [diff] [blame] | 62 | # P10: |
| 63 | ifeq ($(BR2_OPENPOWER_POWER10),y) |
Bill Hoffa | 5db414e | 2019-11-22 11:03:45 -0600 | [diff] [blame] | 64 | |
Klaus Heinrich Kiwi | d255124 | 2020-07-16 16:59:04 -0300 | [diff] [blame^] | 65 | ifeq ($(BR2_PACKAGE_OPENPOWER_PNOR_P10),y) |
| 66 | BINARY_IONV_FILENAME=$(BR2_HOSTBOOT_P10_BINARY_IONV_FILENAME) |
| 67 | BINARY_SBEC_FILENAME=$(BR2_HOSTBOOT_P10_BINARY_SBEC_FILENAME) |
| 68 | else |
| 69 | BINARY_IONV_FILENAME=$(BR2_HOSTBOOT_BINARY_IONV_FILENAME) |
| 70 | BINARY_SBEC_FILENAME=$(BR2_HOSTBOOT_BINARY_SBEC_FILENAME) |
| 71 | endif |
| 72 | |
Bill Hoffa | 5db414e | 2019-11-22 11:03:45 -0600 | [diff] [blame] | 73 | P10_RING_DYNAMIC_FILE=p10.hw.dynamic.bin |
| 74 | P10_RING_OVERLAYS_FILE=p10.hw.overlays.bin |
| 75 | P10_RING_QME_FILE=p10.hw.qme.rings.bin |
| 76 | P10_RING_SBE_FILE=p10.hw.sbe.rings.bin |
hostboot | 0dd36c1 | 2020-03-24 00:31:38 -0500 | [diff] [blame] | 77 | P10_RING_FA_EC_CL2_FILE=p10.hw.fa_ec_cl2_far.bin |
| 78 | P10_RING_FA_EC_MMA_FILE=p10.hw.fa_ec_mma_far.bin |
| 79 | P10_RING_FA_OVRD_FILE=p10.hw.fa_ring_ovrd.bin |
hostboot | eaae3b5 | 2020-07-04 07:40:59 -0500 | [diff] [blame] | 80 | P10_RING_DYNAMIC_FEATURES_FILE=p10.dynamic_features.bin |
| 81 | P10_RING_DYNAMIC_SERVICES_FILE=p10.dynamic_services.bin |
Bill Hoffa | a85cd89 | 2020-09-23 13:58:09 -0500 | [diff] [blame] | 82 | P10_RING_HDCT_FILE=p10.hw.hdct.bin |
Bill Hoffa | 5db414e | 2019-11-22 11:03:45 -0600 | [diff] [blame] | 83 | |
| 84 | define HOSTBOOT_BINARIES_INSTALL_IMAGES_CMDS |
Nick Bofferding | f390b6f | 2019-10-08 11:55:42 -0500 | [diff] [blame] | 85 | $(INSTALL) -D $(@D)/gpu_gpe1.bin $(STAGING_DIR)/hostboot_binaries/gpu_gpe1.bin |
Klaus Heinrich Kiwi | d255124 | 2020-07-16 16:59:04 -0300 | [diff] [blame^] | 86 | $(INSTALL) -D $(@D)/$(BINARY_IONV_FILENAME) $(STAGING_DIR)/hostboot_binaries/ |
| 87 | $(INSTALL) -D $(@D)/$(BINARY_SBEC_FILENAME) $(STAGING_DIR)/hostboot_binaries/ |
Bill Hoffa | 5db414e | 2019-11-22 11:03:45 -0600 | [diff] [blame] | 88 | $(INSTALL) -D $(@D)/$(P10_RING_DYNAMIC_FILE) $(STAGING_DIR)/hostboot_binaries/ |
| 89 | $(INSTALL) -D $(@D)/$(P10_RING_OVERLAYS_FILE) $(STAGING_DIR)/hostboot_binaries/ |
| 90 | $(INSTALL) -D $(@D)/$(P10_RING_QME_FILE) $(STAGING_DIR)/hostboot_binaries/ |
| 91 | $(INSTALL) -D $(@D)/$(P10_RING_SBE_FILE) $(STAGING_DIR)/hostboot_binaries/ |
hostboot | 0dd36c1 | 2020-03-24 00:31:38 -0500 | [diff] [blame] | 92 | $(INSTALL) -D $(@D)/$(P10_RING_FA_EC_CL2_FILE) $(STAGING_DIR)/hostboot_binaries/ |
| 93 | $(INSTALL) -D $(@D)/$(P10_RING_FA_EC_MMA_FILE) $(STAGING_DIR)/hostboot_binaries/ |
| 94 | $(INSTALL) -D $(@D)/$(P10_RING_FA_OVRD_FILE) $(STAGING_DIR)/hostboot_binaries/ |
hostboot | eaae3b5 | 2020-07-04 07:40:59 -0500 | [diff] [blame] | 95 | $(INSTALL) -D $(@D)/$(P10_RING_DYNAMIC_FEATURES_FILE) $(STAGING_DIR)/hostboot_binaries/ |
| 96 | $(INSTALL) -D $(@D)/$(P10_RING_DYNAMIC_SERVICES_FILE) $(STAGING_DIR)/hostboot_binaries/ |
Bill Hoffa | a85cd89 | 2020-09-23 13:58:09 -0500 | [diff] [blame] | 97 | $(INSTALL) -D $(@D)/$(P10_RING_HDCT_FILE) $(STAGING_DIR)/hostboot_binaries/ |
Nick Bofferding | f390b6f | 2019-10-08 11:55:42 -0500 | [diff] [blame] | 98 | endef |
| 99 | endif |
Bill Hoffa | 5f93f1d | 2014-06-26 21:02:48 -0500 | [diff] [blame] | 100 | |
| 101 | $(eval $(generic-package)) |