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
|
2019-04-15 08:48:40 +00:00
|
|
|
PKG_VERSION:=lsdk-1903
|
2016-10-28 16:14:32 +00:00
|
|
|
PKG_RELEASE:=1
|
|
|
|
|
|
|
|
PKG_SOURCE_PROTO:=git
|
2018-07-03 03:07:06 +00:00
|
|
|
PKG_SOURCE_URL:=https://source.codeaurora.org/external/qoriq/qoriq-components/rcw
|
2019-04-15 08:48:40 +00:00
|
|
|
PKG_SOURCE_VERSION:=f1377876cc06a87ec8afa8a3412ca7c8455861f2
|
|
|
|
PKG_MIRROR_HASH:=a9c97755809994a668ee5f0e535cef9f344fc5523c4299ac76f26c63976c80bc
|
2017-01-19 08:18:57 +00:00
|
|
|
|
2016-10-28 16:14:32 +00:00
|
|
|
include $(INCLUDE_DIR)/package.mk
|
|
|
|
|
2018-07-03 03:07:06 +00:00
|
|
|
define Package/layerscape-rcw/Config
|
|
|
|
define Package/layerscape-rcw-$(1)
|
|
|
|
SECTION:=firmware
|
|
|
|
CATEGORY:=Firmware
|
|
|
|
TITLE:=$(2)
|
|
|
|
DEPENDS:=@TARGET_layerscape
|
|
|
|
CONFIG:=$(3)
|
|
|
|
endef
|
2016-10-28 16:14:32 +00:00
|
|
|
endef
|
|
|
|
|
2018-07-03 03:07:06 +00:00
|
|
|
define Package/layerscape-rcw/ls1012ardb
|
|
|
|
TITLE:=NXP LS1012ARDB RCW binary
|
2019-05-06 03:26:09 +00:00
|
|
|
CONFIG:=ls1012ardb/R_SPNH_3508/rcw_1000_default.bin
|
2016-10-28 16:14:32 +00:00
|
|
|
endef
|
|
|
|
|
layerscape: add ls1012afrwy support and drop ls1012afrdm
ls1012afrdm was no longer supported in NXP Layerscape SDK.
Instead a new board ls1012afrwy was introduced in LSDK.
This patch is to drop ls1012afrdm and add ls1012afrwy support.
Since only 2MB NOR flash could be used, we just put u-boot
and firmware on NOR flash, and put kernel/dtb/rootfs on SD
card.
The Layerscape FRWY-LS1012A board is an ultra-low-cost
development platform for LS1012A Series Communication
Processors built on Arm Cortex-A53. This tool refines the
FRDM-LS1012A with more features for a better hands-on experience
for IoT, edge computing, and various advanced embedded
applications. Features include easy access to processor I/O,
low-power operation, micro SD card storage, an M2 connector, a
small form factor, and expansion board options via mikroBUS Click
Module. The MicroBUS Module provides easy expansion via hundreds
of powerful modules supporting sensors, actuators, memories,
and displays.
Signed-off-by: Yangbo Lu <yangbo.lu@nxp.com>
2018-07-18 08:56:07 +00:00
|
|
|
define Package/layerscape-rcw/ls1012afrwy
|
|
|
|
TITLE:=NXP LS1012AFRWY RCW binary
|
2019-05-06 03:26:09 +00:00
|
|
|
CONFIG:=ls1012afrwy/N_SSNP_3305/rcw_1000_default.bin
|
2016-12-07 16:07:42 +00:00
|
|
|
endef
|
|
|
|
|
2018-07-03 03:07:06 +00:00
|
|
|
define Package/layerscape-rcw/ls1043ardb
|
|
|
|
TITLE:=NXP LS1043ARDB RCW binary
|
|
|
|
CONFIG:=ls1043ardb/RR_FQPP_1455/rcw_1600.bin
|
2016-10-28 16:14:32 +00:00
|
|
|
endef
|
|
|
|
|
2019-04-15 08:56:55 +00:00
|
|
|
define Package/layerscape-rcw/ls1043ardb-sdboot
|
|
|
|
TITLE:=NXP LS1043ARDB SD card boot RCW binary
|
|
|
|
CONFIG:=ls1043ardb/RR_FQPP_1455/rcw_1600_sdboot.bin
|
|
|
|
endef
|
|
|
|
|
2018-07-03 03:07:06 +00:00
|
|
|
define Package/layerscape-rcw/ls1046ardb
|
|
|
|
TITLE:=NXP LS1046ARDB RCW binary
|
2019-05-06 03:26:09 +00:00
|
|
|
CONFIG:=ls1046ardb/RR_FFSSPPPH_1133_5559/rcw_1800_qspiboot.bin
|
2016-10-28 16:14:32 +00:00
|
|
|
endef
|
|
|
|
|
2019-04-15 08:56:55 +00:00
|
|
|
define Package/layerscape-rcw/ls1046ardb-sdboot
|
|
|
|
TITLE:=NXP LS1046ARDB SD card boot RCW binary
|
|
|
|
CONFIG:=ls1046ardb/RR_FFSSPPPH_1133_5559/rcw_1800_sdboot.bin
|
|
|
|
endef
|
|
|
|
|
2018-07-03 03:07:06 +00:00
|
|
|
define Package/layerscape-rcw/ls1088ardb
|
|
|
|
TITLE:=NXP LS1088ARDB RCW binary
|
|
|
|
CONFIG:=ls1088ardb/FCQQQQQQQQ_PPP_H_0x1d_0x0d/rcw_1600_qspi.bin
|
2016-10-28 16:14:32 +00:00
|
|
|
endef
|
|
|
|
|
2018-07-18 06:14:40 +00:00
|
|
|
define Package/layerscape-rcw/ls1088ardb-sdboot
|
|
|
|
TITLE:=NXP LS1088ARDB SD card boot RCW binary
|
|
|
|
CONFIG:=ls1088ardb/FCQQQQQQQQ_PPP_H_0x1d_0x0d/rcw_1600_sd.bin
|
|
|
|
endef
|
|
|
|
|
2018-07-03 03:07:06 +00:00
|
|
|
define Package/layerscape-rcw/ls2088ardb
|
|
|
|
TITLE:=NXP LS2088ARDB RCW binary
|
|
|
|
CONFIG:=ls2088ardb/FFFFFFFF_PP_HH_0x2a_0x41/rcw_1800.bin
|
2016-10-28 16:14:32 +00:00
|
|
|
endef
|
|
|
|
|
2018-07-10 03:58:59 +00:00
|
|
|
define Package/layerscape-rcw/ls1021atwr
|
|
|
|
TITLE:=NXP LS1021ATWR RCW binary
|
|
|
|
CONFIG:=ls1021atwr/SSR_PNS_30/rcw_1200.bin
|
|
|
|
endef
|
|
|
|
|
2018-07-03 03:07:06 +00:00
|
|
|
define Package/layerscape-rcw/Install
|
|
|
|
define Package/layerscape-rcw-$(1)/install
|
|
|
|
$(INSTALL_DIR) $(STAGING_DIR_IMAGE)
|
|
|
|
$(CP) $(PKG_BUILD_DIR)/$(CONFIG) $(STAGING_DIR_IMAGE)/$(1)-rcw.bin
|
|
|
|
endef
|
2016-10-28 16:14:32 +00:00
|
|
|
endef
|
|
|
|
|
2018-07-03 03:07:06 +00:00
|
|
|
RCWS := \
|
|
|
|
ls1012ardb \
|
layerscape: add ls1012afrwy support and drop ls1012afrdm
ls1012afrdm was no longer supported in NXP Layerscape SDK.
Instead a new board ls1012afrwy was introduced in LSDK.
This patch is to drop ls1012afrdm and add ls1012afrwy support.
Since only 2MB NOR flash could be used, we just put u-boot
and firmware on NOR flash, and put kernel/dtb/rootfs on SD
card.
The Layerscape FRWY-LS1012A board is an ultra-low-cost
development platform for LS1012A Series Communication
Processors built on Arm Cortex-A53. This tool refines the
FRDM-LS1012A with more features for a better hands-on experience
for IoT, edge computing, and various advanced embedded
applications. Features include easy access to processor I/O,
low-power operation, micro SD card storage, an M2 connector, a
small form factor, and expansion board options via mikroBUS Click
Module. The MicroBUS Module provides easy expansion via hundreds
of powerful modules supporting sensors, actuators, memories,
and displays.
Signed-off-by: Yangbo Lu <yangbo.lu@nxp.com>
2018-07-18 08:56:07 +00:00
|
|
|
ls1012afrwy \
|
2018-07-03 03:07:06 +00:00
|
|
|
ls1043ardb \
|
2019-04-15 08:56:55 +00:00
|
|
|
ls1043ardb-sdboot \
|
2018-07-03 03:07:06 +00:00
|
|
|
ls1046ardb \
|
2019-04-15 08:56:55 +00:00
|
|
|
ls1046ardb-sdboot \
|
2018-07-03 03:07:06 +00:00
|
|
|
ls1088ardb \
|
2018-07-18 06:14:40 +00:00
|
|
|
ls1088ardb-sdboot \
|
2018-07-10 03:58:59 +00:00
|
|
|
ls2088ardb \
|
|
|
|
ls1021atwr
|
2018-07-03 03:07:06 +00:00
|
|
|
|
|
|
|
$(foreach rcw,$(RCWS), \
|
|
|
|
$(eval $(Package/layerscape-rcw/$(rcw))) \
|
|
|
|
$(eval $(call Package/layerscape-rcw/Config,$(rcw),$(TITLE),$(CONFIG))) \
|
|
|
|
$(eval $(call Package/layerscape-rcw/Install,$(rcw))) \
|
|
|
|
$(eval $(call BuildPackage,layerscape-rcw-$(rcw))) \
|
2016-10-28 16:14:32 +00:00
|
|
|
)
|