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)) |
Ilya Smirnov | d56cef7 | 2021-06-23 09:34:37 -0500 | [diff] [blame] | 8 | HOSTBOOT_BINARIES_SITE ?= $(call github,open-power,hostboot-binaries,$(HOSTBOOT_BINARIES_VERSION)) |
Bill Hoffa | 7ad6a87 | 2017-03-29 17:53:41 -0500 | [diff] [blame] | 9 | |
Bill Hoffa | 5f93f1d | 2014-06-26 21:02:48 -0500 | [diff] [blame] | 10 | HOSTBOOT_BINARIES_LICENSE = Apache-2.0 |
Stewart Smith | b16ba5b | 2017-01-10 12:55:55 +1100 | [diff] [blame] | 11 | HOSTBOOT_BINARIES_LICENSE_FILES = LICENSE |
Bill Hoffa | 5f93f1d | 2014-06-26 21:02:48 -0500 | [diff] [blame] | 12 | |
| 13 | HOSTBOOT_BINARIES_INSTALL_IMAGES = YES |
| 14 | HOSTBOOT_BINARIES_INSTALL_TARGET = NO |
| 15 | |
Nick Bofferding | 40f8040 | 2019-09-10 18:07:04 -0500 | [diff] [blame] | 16 | # Creating Install Commands specific to P9 |
Mike Baiocchi | 909ca46 | 2019-05-09 08:51:35 -0500 | [diff] [blame] | 17 | # -- P9 does not need the SBE files ('sbe' package is used in P9) |
| 18 | # -- P9 uses the 'hcode' package to build the BR2_HOSTBOOT_BINARY_WINK_FILENAME |
| 19 | |
| 20 | ################################### |
Mike Baiocchi | 909ca46 | 2019-05-09 08:51:35 -0500 | [diff] [blame] | 21 | # P9: |
| 22 | ifeq ($(BR2_OPENPOWER_POWER9),y) |
| 23 | |
Richard J. Knight | 3f0e29c | 2017-10-13 10:39:01 -0500 | [diff] [blame] | 24 | NIMBUS_RING_FILE=p9n.hw.rings.bin |
| 25 | NIMBUS_RING_OVERLAYS_FILE=p9n.hw.overlays.bin |
| 26 | |
Mike Baiocchi | 3652aea | 2019-05-07 10:13:21 -0500 | [diff] [blame] | 27 | AXONE_RING_FILE=p9a.hw.rings.bin |
| 28 | AXONE_RING_OVERLAYS_FILE=p9a.hw.overlays.bin |
| 29 | |
Dean Sanner | c277680 | 2017-03-17 07:45:41 -0500 | [diff] [blame] | 30 | |
Bill Hoffa | 5f93f1d | 2014-06-26 21:02:48 -0500 | [diff] [blame] | 31 | define HOSTBOOT_BINARIES_INSTALL_IMAGES_CMDS |
| 32 | $(INSTALL) -D $(@D)/cvpd.bin $(STAGING_DIR)/hostboot_binaries/cvpd.bin |
Bill Hoffa | fbd4fbf | 2017-10-10 20:41:22 -0500 | [diff] [blame] | 33 | $(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] | 34 | $(INSTALL) -D $(@D)/$(BR2_HOSTBOOT_BINARY_IONV_FILENAME) $(STAGING_DIR)/hostboot_binaries/ |
| 35 | $(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] | 36 | $(INSTALL) -D $(@D)/$(NIMBUS_RING_FILE) $(STAGING_DIR)/hostboot_binaries/ |
| 37 | $(INSTALL) -D $(@D)/$(NIMBUS_RING_OVERLAYS_FILE) $(STAGING_DIR)/hostboot_binaries/ |
Mike Baiocchi | 3652aea | 2019-05-07 10:13:21 -0500 | [diff] [blame] | 38 | $(INSTALL) -D $(@D)/$(AXONE_RING_FILE) $(STAGING_DIR)/hostboot_binaries/ |
| 39 | $(INSTALL) -D $(@D)/$(AXONE_RING_OVERLAYS_FILE) $(STAGING_DIR)/hostboot_binaries/ |
Bill Hoffa | 5f93f1d | 2014-06-26 21:02:48 -0500 | [diff] [blame] | 40 | endef |
Mike Baiocchi | 909ca46 | 2019-05-09 08:51:35 -0500 | [diff] [blame] | 41 | endif |
| 42 | |
Nick Bofferding | f390b6f | 2019-10-08 11:55:42 -0500 | [diff] [blame] | 43 | ################################### |
Bill Hoffa | fbcb711 | 2019-12-13 13:59:49 -0600 | [diff] [blame] | 44 | # P10: |
| 45 | ifeq ($(BR2_OPENPOWER_POWER10),y) |
Bill Hoffa | 5db414e | 2019-11-22 11:03:45 -0600 | [diff] [blame] | 46 | |
Klaus Heinrich Kiwi | d255124 | 2020-07-16 16:59:04 -0300 | [diff] [blame] | 47 | ifeq ($(BR2_PACKAGE_OPENPOWER_PNOR_P10),y) |
| 48 | BINARY_IONV_FILENAME=$(BR2_HOSTBOOT_P10_BINARY_IONV_FILENAME) |
| 49 | BINARY_SBEC_FILENAME=$(BR2_HOSTBOOT_P10_BINARY_SBEC_FILENAME) |
| 50 | else |
| 51 | BINARY_IONV_FILENAME=$(BR2_HOSTBOOT_BINARY_IONV_FILENAME) |
| 52 | BINARY_SBEC_FILENAME=$(BR2_HOSTBOOT_BINARY_SBEC_FILENAME) |
| 53 | endif |
| 54 | |
Bill Hoffa | 5db414e | 2019-11-22 11:03:45 -0600 | [diff] [blame] | 55 | P10_RING_DYNAMIC_FILE=p10.hw.dynamic.bin |
| 56 | P10_RING_OVERLAYS_FILE=p10.hw.overlays.bin |
| 57 | P10_RING_QME_FILE=p10.hw.qme.rings.bin |
| 58 | P10_RING_SBE_FILE=p10.hw.sbe.rings.bin |
hostboot | 0dd36c1 | 2020-03-24 00:31:38 -0500 | [diff] [blame] | 59 | P10_RING_FA_EC_CL2_FILE=p10.hw.fa_ec_cl2_far.bin |
| 60 | P10_RING_FA_EC_MMA_FILE=p10.hw.fa_ec_mma_far.bin |
| 61 | P10_RING_FA_OVRD_FILE=p10.hw.fa_ring_ovrd.bin |
hostboot | eaae3b5 | 2020-07-04 07:40:59 -0500 | [diff] [blame] | 62 | P10_RING_DYNAMIC_FEATURES_FILE=p10.dynamic_features.bin |
| 63 | P10_RING_DYNAMIC_SERVICES_FILE=p10.dynamic_services.bin |
Bill Hoffa | a85cd89 | 2020-09-23 13:58:09 -0500 | [diff] [blame] | 64 | P10_RING_HDCT_FILE=p10.hw.hdct.bin |
Bill Hoffa | 5db414e | 2019-11-22 11:03:45 -0600 | [diff] [blame] | 65 | |
| 66 | define HOSTBOOT_BINARIES_INSTALL_IMAGES_CMDS |
Nick Bofferding | f390b6f | 2019-10-08 11:55:42 -0500 | [diff] [blame] | 67 | $(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] | 68 | $(INSTALL) -D $(@D)/$(BINARY_IONV_FILENAME) $(STAGING_DIR)/hostboot_binaries/ |
| 69 | $(INSTALL) -D $(@D)/$(BINARY_SBEC_FILENAME) $(STAGING_DIR)/hostboot_binaries/ |
Bill Hoffa | 5db414e | 2019-11-22 11:03:45 -0600 | [diff] [blame] | 70 | $(INSTALL) -D $(@D)/$(P10_RING_DYNAMIC_FILE) $(STAGING_DIR)/hostboot_binaries/ |
| 71 | $(INSTALL) -D $(@D)/$(P10_RING_OVERLAYS_FILE) $(STAGING_DIR)/hostboot_binaries/ |
| 72 | $(INSTALL) -D $(@D)/$(P10_RING_QME_FILE) $(STAGING_DIR)/hostboot_binaries/ |
| 73 | $(INSTALL) -D $(@D)/$(P10_RING_SBE_FILE) $(STAGING_DIR)/hostboot_binaries/ |
hostboot | 0dd36c1 | 2020-03-24 00:31:38 -0500 | [diff] [blame] | 74 | $(INSTALL) -D $(@D)/$(P10_RING_FA_EC_CL2_FILE) $(STAGING_DIR)/hostboot_binaries/ |
| 75 | $(INSTALL) -D $(@D)/$(P10_RING_FA_EC_MMA_FILE) $(STAGING_DIR)/hostboot_binaries/ |
| 76 | $(INSTALL) -D $(@D)/$(P10_RING_FA_OVRD_FILE) $(STAGING_DIR)/hostboot_binaries/ |
hostboot | eaae3b5 | 2020-07-04 07:40:59 -0500 | [diff] [blame] | 77 | $(INSTALL) -D $(@D)/$(P10_RING_DYNAMIC_FEATURES_FILE) $(STAGING_DIR)/hostboot_binaries/ |
| 78 | $(INSTALL) -D $(@D)/$(P10_RING_DYNAMIC_SERVICES_FILE) $(STAGING_DIR)/hostboot_binaries/ |
Bill Hoffa | a85cd89 | 2020-09-23 13:58:09 -0500 | [diff] [blame] | 79 | $(INSTALL) -D $(@D)/$(P10_RING_HDCT_FILE) $(STAGING_DIR)/hostboot_binaries/ |
Nick Bofferding | f390b6f | 2019-10-08 11:55:42 -0500 | [diff] [blame] | 80 | endef |
| 81 | endif |
Bill Hoffa | 5f93f1d | 2014-06-26 21:02:48 -0500 | [diff] [blame] | 82 | |
| 83 | $(eval $(generic-package)) |