2074c2d050
Add support for ZedBoard evaluation board and Parallella board. * cemac(4) Cadence EMAC/GEM(Gigabit) Ethernet Controller driver based on at91emac
36 lines
1.3 KiB
Plaintext
36 lines
1.3 KiB
Plaintext
# $NetBSD: mk.zynq,v 1.1 2015/01/23 12:34:09 hkenken Exp $
|
|
|
|
CPPFLAGS+= -mcpu=cortex-a9 -mfpu=neon
|
|
|
|
SYSTEM_FIRST_OBJ= zynq_start.o
|
|
SYSTEM_FIRST_SFILE= ${THISARM}/zynq/zynq_start.S
|
|
|
|
GENASSYM_EXTRAS+= ${THISARM}/zynq/genassym.cf
|
|
|
|
_OSRELEASE!= ${HOST_SH} $S/conf/osrelease.sh
|
|
|
|
MKUBOOTIMAGEARGS= -A arm -T kernel
|
|
MKUBOOTIMAGEARGS+= -a $(LOADADDRESS) -e $(LOADADDRESS)
|
|
MKUBOOTIMAGEARGS+= -n "NetBSD/$(BOARDTYPE) ${_OSRELEASE}"
|
|
MKUBOOTIMAGEARGS_NONE= ${MKUBOOTIMAGEARGS} -C none
|
|
MKUBOOTIMAGEARGS_GZ= ${MKUBOOTIMAGEARGS} -C gz
|
|
|
|
KERNEL_BASE_PHYS=$(LOADADDRESS)
|
|
KERNEL_BASE_VIRT=$(LOADADDRESS_VIRT)
|
|
|
|
SYSTEM_LD_TAIL_EXTRA+=; \
|
|
echo ${OBJCOPY} -S -O binary $@ $@.bin; \
|
|
${OBJCOPY} -S -O binary $@ $@.bin; \
|
|
echo ${TOOL_GZIP} -9c $@.bin > $@.bin.gz; \
|
|
${TOOL_GZIP} -9c $@.bin > $@.bin.gz; \
|
|
echo ${TOOL_MKUBOOTIMAGE} ${MKUBOOTIMAGEARGS_GZ} $@.bin.gz $@.gz.ub; \
|
|
${TOOL_MKUBOOTIMAGE} ${MKUBOOTIMAGEARGS_GZ} $@.bin.gz $@.gz.ub; \
|
|
echo ${TOOL_MKUBOOTIMAGE} ${MKUBOOTIMAGEARGS_NONE} $@.bin $@.ub; \
|
|
${TOOL_MKUBOOTIMAGE} ${MKUBOOTIMAGEARGS_NONE} $@.bin $@.ub; \
|
|
echo
|
|
|
|
EXTRA_KERNELS+= ${KERNELS:@.KERNEL.@${.KERNEL.}.bin@}
|
|
EXTRA_KERNELS+= ${KERNELS:@.KERNEL.@${.KERNEL.}.ub@}
|
|
EXTRA_KERNELS+= ${KERNELS:@.KERNEL.@${.KERNEL.}.bin.gz@}
|
|
EXTRA_KERNELS+= ${KERNELS:@.KERNEL.@${.KERNEL.}.gz.ub@}
|