|
|
|
|
|
|
|
CPU = ARMARCH7
|
|
|
|
TOOL = gnu
|
|
|
|
|
|
|
|
EXTRA_DEFINE = -DCPU_CORTEXA8 -DARMMMU=ARMMMU_CORTEXA8 \
|
|
|
|
-DARMCACHE=ARMCACHE_CORTEXA8
|
|
|
|
|
|
|
|
|
|
|
|
TGT_DIR = $(WIND_BASE)/target
|
|
|
|
|
|
|
|
include $(TGT_DIR)/h/make/defs.bsp
|
|
|
|
|
|
|
|
## Only redefine make definitions below this point, or your definitions will
|
|
|
|
## be overwritten by the makefile stubs above.
|
|
|
|
TARGET_DIR = ft20004_km02
|
|
|
|
BOARD = ft2000/4 km02 board
|
|
|
|
|
|
|
|
RELEASE += bootrom_uncmp.hex
|
|
|
|
|
|
|
|
MACH_EXTRA += vxbArmGenIntCtlrV3.o vxbArmv7GenTimer.o vxbArmv7AuxTimer.o \
|
|
|
|
vxbFtPcie.o vxbAhciStorage.o vxbFtGmacEnd.o vxbFtcan.o vxbPci.o \
|
|
|
|
vxbFtSdCtrl.o vxbFtI2c.o vxbYt8521Phy.o genericPhy.o vxbFtQspi.o\
|
|
|
|
vxbSp25SpiFlash.o vxbFtGpio.o vxbFtSpi.o vxbSm2130SpiDev.o vxbLfsLib.o \
|
|
|
|
vxbSpiRawDev.o bspStubs.o bspEnv.o \
|
|
|
|
|
|
|
|
ifneq ($(findstring bootrom,$(MAKECMDGOALS)),bootrom)
|
|
|
|
LIB_EXTRA = lib/libFtX100dcdrv.a
|
|
|
|
endif
|
|
|
|
|
|
|
|
RAM_LOW_ADRS = 80100000 # RAM text/data address
|
|
|
|
RAM_HIGH_ADRS = ff000000 # RAM text/data address
|
|
|
|
|
|
|
|
VMA_START = 0x$(ROM_TEXT_ADRS)
|
|
|
|
|
|
|
|
#EXTRA_INCLUDE += -I./include
|
|
|
|
|
|
|
|
ADDED_CFLAGS += -DARM_AARCH64
|
|
|
|
|
|
|
|
include $(TGT_DIR)/h/make/rules.bsp
|
|
|
|
|
|
|
|
# uboot cmd:
|
|
|
|
# setenv ipaddr 192.168.2.145
|
|
|
|
# tftpboot 0x80100000 192.168.2.144:vxWorks.bin
|
|
|
|
# bootvx32 0x80100000
|
|
|
|
#
|