f0ec7bd27d
The NXP TWR-LS1021A module is a development system based on the QorIQ LS1021A processor. - This feature-rich, high-performance processor module can be used standalone or as part of an assembled Tower System development platform. - Incorporating dual Arm Cortex-A7 cores running up to 1 GHz, the TWR-LS1021A delivers an outstanding level of performance. - The TWR-LS1021A offers HDMI, SATA3 and USB3 connectors as well as a complete Linux software developer's package. - The module provides a comprehensive level of security that includes support for secure boot, Trust Architecture and tamper detection in both standby and active power modes, safeguarding the device from manufacture to deployment. Signed-off-by: Yangbo Lu <yangbo.lu@nxp.com>
50 lines
1.2 KiB
Makefile
50 lines
1.2 KiB
Makefile
#
|
|
# 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
|
|
include $(INCLUDE_DIR)/image.mk
|
|
|
|
ITB_BOARDS = traverse-five64
|
|
|
|
define Build/ls-clean
|
|
rm -f $@
|
|
endef
|
|
|
|
define Build/ls-append
|
|
dd if=$(STAGING_DIR_IMAGE)/$(1) >> $@
|
|
endef
|
|
|
|
define Build/ls-append-dtb
|
|
$(call Image/BuildDTB,$(DTS_DIR)/$(1).dts,$(DTS_DIR)/$(1).dtb)
|
|
dd if=$(DTS_DIR)/$(1).dtb >> $@
|
|
endef
|
|
|
|
define Build/traverse-fit
|
|
./mkits-multiple-config.sh -o $@.its -A $(LINUX_KARCH) \
|
|
-v $(LINUX_VERSION) -k $@ -a $(KERNEL_LOADADDR) \
|
|
-e $(if $(KERNEL_ENTRY),$(KERNEL_ENTRY),$(KERNEL_LOADADDR)) \
|
|
-C gzip -c 1 -c 2 \
|
|
-d $(DEVICE_DTS_DIR)/freescale/traverse-ls1043s.dtb \
|
|
-D "Traverse_LS1043S" -n "ls1043s" -a $(FDT_LOADADDR) -c 1 \
|
|
-d $(DEVICE_DTS_DIR)/freescale/traverse-ls1043v.dtb \
|
|
-D "Traverse_LS1043V" -n "ls1043v" -a $(FDT_LOADADDR) -c 2
|
|
PATH=$(LINUX_DIR)/scripts/dtc:$(PATH) mkimage -f $@.its $@.new
|
|
@mv -f $@.new $@
|
|
endef
|
|
|
|
ifeq ($(SUBTARGET),armv8_64b)
|
|
include armv8_64b.mk
|
|
endif
|
|
|
|
ifeq ($(SUBTARGET),armv8_32b)
|
|
include armv8_32b.mk
|
|
endif
|
|
|
|
ifeq ($(SUBTARGET),armv7)
|
|
include armv7.mk
|
|
endif
|
|
|
|
$(eval $(call BuildImage))
|