2017-10-26 07:49:31 +00:00
|
|
|
#
|
|
|
|
# Copyright 2017 NXP
|
|
|
|
#
|
|
|
|
# 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-ppa
|
2018-07-03 06:58:01 +00:00
|
|
|
PKG_VERSION:=lsdk-1806
|
2017-10-26 07:49:31 +00:00
|
|
|
PKG_RELEASE:=1
|
|
|
|
|
|
|
|
PKG_SOURCE_PROTO:=git
|
|
|
|
PKG_SOURCE_URL:=https://github.com/yangbolu1991/ppa-binary.git
|
2018-07-03 06:58:01 +00:00
|
|
|
PKG_SOURCE_VERSION:=73ce533bed868717b891e5dbf881428f56f11b4e
|
|
|
|
PKG_MIRROR_HASH:=d917a692197e8c3c3db6de1f8a4bc0e52dca5fc6fa84a02d68d79072cd6cbc3f
|
2017-10-26 07:49:31 +00:00
|
|
|
|
|
|
|
include $(INCLUDE_DIR)/package.mk
|
|
|
|
|
2018-07-03 06:58:01 +00:00
|
|
|
define Package/layerscape-ppa/Config
|
|
|
|
define Package/layerscape-ppa-$(1)
|
|
|
|
SECTION:=firmware
|
|
|
|
CATEGORY:=Firmware
|
|
|
|
TITLE:=$(2)
|
|
|
|
DEPENDS:=@TARGET_layerscape
|
|
|
|
CONFIG:=$(3)
|
|
|
|
endef
|
2017-10-26 07:49:31 +00:00
|
|
|
endef
|
|
|
|
|
2018-07-03 06:58:01 +00:00
|
|
|
define Package/layerscape-ppa/ls1012ardb
|
|
|
|
TITLE:=NXP LS1012ARDB PPA binary
|
|
|
|
CONFIG:=ppa-ls1012a.itb
|
2017-10-26 07:49:31 +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-ppa/ls1012afrwy
|
|
|
|
TITLE:=NXP LS1012AFRWY PPA binary
|
2018-07-03 06:58:01 +00:00
|
|
|
CONFIG:=ppa-ls1012a.itb
|
2017-10-26 07:49:31 +00:00
|
|
|
endef
|
|
|
|
|
2018-07-03 06:58:01 +00:00
|
|
|
define Package/layerscape-ppa/ls1043ardb
|
|
|
|
TITLE:=NXP LS1043ARDB PPA binary
|
|
|
|
CONFIG:=ppa-ls1043a.itb
|
2017-10-26 07:49:31 +00:00
|
|
|
endef
|
|
|
|
|
2018-07-03 06:58:01 +00:00
|
|
|
define Package/layerscape-ppa/ls1046ardb
|
|
|
|
TITLE:=NXP LS1046ARDB PPA binary
|
|
|
|
CONFIG:=ppa-ls1046a.itb
|
2017-10-26 07:49:31 +00:00
|
|
|
endef
|
|
|
|
|
2018-07-03 06:58:01 +00:00
|
|
|
define Package/layerscape-ppa/ls1088ardb
|
|
|
|
TITLE:=NXP LS1088ARDB PPA binary
|
|
|
|
CONFIG:=ppa-ls1088a.itb
|
2017-10-26 07:49:31 +00:00
|
|
|
endef
|
|
|
|
|
2018-07-03 06:58:01 +00:00
|
|
|
define Package/layerscape-ppa/ls2088ardb
|
|
|
|
TITLE:=NXP LS2088ARDB PPA binary
|
|
|
|
CONFIG:=ppa-ls2088a.itb
|
2017-10-26 07:49:31 +00:00
|
|
|
endef
|
|
|
|
|
|
|
|
define Build/Compile
|
|
|
|
endef
|
|
|
|
|
2018-07-03 06:58:01 +00:00
|
|
|
define Package/layerscape-ppa/Install
|
|
|
|
define Package/layerscape-ppa-$(1)/install
|
2017-10-26 07:49:31 +00:00
|
|
|
$(INSTALL_DIR) $(STAGING_DIR_IMAGE)
|
2018-07-03 06:58:01 +00:00
|
|
|
$(CP) $(PKG_BUILD_DIR)/$(CONFIG) $(STAGING_DIR_IMAGE)/$(1)-ppa.itb
|
|
|
|
endef
|
2017-10-26 07:49:31 +00:00
|
|
|
endef
|
|
|
|
|
2018-07-03 06:58:01 +00:00
|
|
|
PPAS := \
|
|
|
|
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 06:58:01 +00:00
|
|
|
ls1043ardb \
|
|
|
|
ls1046ardb \
|
|
|
|
ls1088ardb \
|
|
|
|
ls2088ardb
|
|
|
|
|
|
|
|
$(foreach ppa,$(PPAS), \
|
|
|
|
$(eval $(Package/layerscape-ppa/$(ppa))) \
|
|
|
|
$(eval $(call Package/layerscape-ppa/Config,$(ppa),$(TITLE),$(CONFIG))) \
|
|
|
|
$(eval $(call Package/layerscape-ppa/Install,$(ppa))) \
|
|
|
|
$(eval $(call BuildPackage,layerscape-ppa-$(ppa))) \
|
2017-10-26 07:49:31 +00:00
|
|
|
)
|