2019-02-18 21:48:03 +01:00
|
|
|
################################################################################
|
|
|
|
#
|
|
|
|
# imx-sc-firmware
|
|
|
|
#
|
|
|
|
################################################################################
|
|
|
|
|
2020-03-20 17:31:56 +01:00
|
|
|
IMX_SC_FIRMWARE_VERSION = 1.2.7.1
|
2019-02-18 21:48:03 +01:00
|
|
|
IMX_SC_FIRMWARE_SITE = $(FREESCALE_IMX_SITE)
|
|
|
|
IMX_SC_FIRMWARE_SOURCE = imx-sc-firmware-$(IMX_SC_FIRMWARE_VERSION).bin
|
|
|
|
|
|
|
|
IMX_SC_FIRMWARE_LICENSE = NXP Semiconductor Software License Agreement
|
|
|
|
IMX_SC_FIRMWARE_LICENSE_FILES = EULA COPYING
|
|
|
|
IMX_SC_FIRMWARE_REDISTRIBUTE = NO
|
|
|
|
|
|
|
|
define IMX_SC_FIRMWARE_EXTRACT_CMDS
|
|
|
|
$(call FREESCALE_IMX_EXTRACT_HELPER,$(IMX_SC_FIRMWARE_DL_DIR)/$(IMX_SC_FIRMWARE_SOURCE))
|
|
|
|
endef
|
|
|
|
|
|
|
|
IMX_SC_FIRMWARE_INSTALL_IMAGES = YES
|
2019-09-09 14:15:00 +02:00
|
|
|
|
|
|
|
# SCFW firmware is needed when generating imx8-boot-sd.bin which is
|
|
|
|
# done in post-image script.
|
|
|
|
ifeq ($(BR2_PACKAGE_FREESCALE_IMX_PLATFORM_IMX8X),y)
|
2019-02-18 21:48:03 +01:00
|
|
|
define IMX_SC_FIRMWARE_INSTALL_IMAGES_CMDS
|
|
|
|
cp $(@D)/mx8qx-mek-scfw-tcm.bin $(BINARIES_DIR)/mx8qx-mek-scfw-tcm.bin
|
|
|
|
cp $(@D)/mx8qx-val-scfw-tcm.bin $(BINARIES_DIR)/mx8qx-val-scfw-tcm.bin
|
|
|
|
endef
|
2019-09-09 14:15:00 +02:00
|
|
|
else ifeq ($(BR2_PACKAGE_FREESCALE_IMX_PLATFORM_IMX8),y)
|
|
|
|
define IMX_SC_FIRMWARE_INSTALL_IMAGES_CMDS
|
|
|
|
cp $(@D)/mx8qm-*-scfw-tcm.bin $(BINARIES_DIR)/
|
|
|
|
endef
|
|
|
|
endif
|
2019-02-18 21:48:03 +01:00
|
|
|
|
|
|
|
$(eval $(generic-package))
|