2016-10-28 16:14:32 +00:00
|
|
|
#
|
|
|
|
# Copyright (C) 2016 Jiang Yutang <jiangyutang1978@gmail.com>
|
|
|
|
#
|
|
|
|
# This is free software, licensed under the GNU General Public License v2.
|
|
|
|
# See /LICENSE for more information.
|
|
|
|
#
|
|
|
|
|
|
|
|
include $(TOPDIR)/rules.mk
|
|
|
|
|
2017-12-01 21:32:26 +00:00
|
|
|
PKG_NAME:=ls-rcw
|
2020-08-06 07:14:15 +00:00
|
|
|
PKG_VERSION:=LSDK-20.04-update-290520
|
2020-11-04 09:16:31 +00:00
|
|
|
PKG_RELEASE:=2
|
2016-10-28 16:14:32 +00:00
|
|
|
|
|
|
|
PKG_SOURCE_PROTO:=git
|
2018-07-03 03:07:06 +00:00
|
|
|
PKG_SOURCE_URL:=https://source.codeaurora.org/external/qoriq/qoriq-components/rcw
|
2020-08-06 07:14:15 +00:00
|
|
|
PKG_SOURCE_VERSION:=e0fab6d9b61003caef577f7474c2fac61e6ba2ff
|
|
|
|
PKG_MIRROR_HASH:=b6bc66e27b7c6db31101fdc2e6be7255181861bd38d8f25eb5eb80c468983eb2
|
2017-01-19 08:18:57 +00:00
|
|
|
|
2016-10-28 16:14:32 +00:00
|
|
|
include $(INCLUDE_DIR)/package.mk
|
|
|
|
|
2020-04-01 08:47:41 +00:00
|
|
|
define Package/layerscape-rcw
|
|
|
|
SECTION:=firmware
|
|
|
|
CATEGORY:=Firmware
|
|
|
|
TITLE:=NXP Layerscape RCW binaries
|
|
|
|
DEPENDS:=@TARGET_layerscape
|
2016-10-28 16:14:32 +00:00
|
|
|
endef
|
|
|
|
|
2020-04-01 08:47:41 +00:00
|
|
|
BOARDS := \
|
2020-07-20 13:34:04 +00:00
|
|
|
ls1012a-rdb \
|
|
|
|
ls1012a-frdm \
|
|
|
|
ls1012a-frwy-sdboot \
|
|
|
|
ls1043a-rdb \
|
|
|
|
ls1043a-rdb-sdboot \
|
|
|
|
ls1046a-rdb \
|
|
|
|
ls1046a-rdb-sdboot \
|
|
|
|
ls1088a-rdb \
|
|
|
|
ls1088a-rdb-sdboot \
|
|
|
|
ls2088a-rdb \
|
|
|
|
ls1021a-twr
|
|
|
|
|
|
|
|
RCW_ls1012a-rdb :=ls1012ardb/R_SPNH_3508/rcw_1000_default.bin
|
|
|
|
RCW_ls1012a-frdm :=ls1012afrdm/N_SSNP_3305/rcw_800.bin
|
|
|
|
RCW_ls1012a-frwy-sdboot :=ls1012afrwy/N_SSNP_3305/rcw_1000_default.bin
|
|
|
|
RCW_ls1043a-rdb :=ls1043ardb/RR_FQPP_1455/rcw_1600.bin
|
|
|
|
RCW_ls1043a-rdb-sdboot :=ls1043ardb/RR_FQPP_1455/rcw_1600_sdboot.bin
|
|
|
|
RCW_ls1046a-rdb :=ls1046ardb/RR_FFSSPPPH_1133_5559/rcw_1800_qspiboot.bin
|
|
|
|
RCW_ls1046a-rdb-sdboot :=ls1046ardb/RR_FFSSPPPH_1133_5559/rcw_1800_sdboot.bin
|
|
|
|
RCW_ls1088a-rdb :=ls1088ardb/FCQQQQQQQQ_PPP_H_0x1d_0x0d/rcw_1600_qspi.bin
|
|
|
|
RCW_ls1088a-rdb-sdboot :=ls1088ardb/FCQQQQQQQQ_PPP_H_0x1d_0x0d/rcw_1600_sd.bin
|
|
|
|
RCW_ls2088a-rdb :=ls2088ardb/FFFFFFFF_PP_HH_0x2a_0x41/rcw_1800.bin
|
|
|
|
RCW_ls1021a-twr :=ls1021atwr/SSR_PNS_30/rcw_1200.bin
|
2020-04-01 08:47:41 +00:00
|
|
|
|
|
|
|
define Build/InstallDev
|
|
|
|
$(INSTALL_DIR) $(STAGING_DIR_IMAGE)
|
|
|
|
$(foreach board,$(BOARDS), \
|
2020-07-20 13:34:04 +00:00
|
|
|
$(CP) $(PKG_BUILD_DIR)/$(RCW_$(board)) $(STAGING_DIR_IMAGE)/fsl_$(board)-rcw.bin;)
|
2020-04-01 08:47:41 +00:00
|
|
|
endef
|
|
|
|
|
|
|
|
$(eval $(call BuildPackage,layerscape-rcw))
|