zynq: Add Zybo device support

Signed-off-by: Jason Wu <jason.wu.misc@gmail.com>

SVN-Revision: 49257
This commit is contained in:
John Crispin 2016-04-26 11:44:29 +00:00
parent 869d3adc37
commit be1985471e
4 changed files with 26 additions and 1 deletions

View File

@ -41,9 +41,14 @@ define uboot/zed
TITLE:=U-Boot $(PKG_VERSION) for Avnet Digilent ZedBoard Dev Board TITLE:=U-Boot $(PKG_VERSION) for Avnet Digilent ZedBoard Dev Board
endef endef
define uboot/zybo
TITLE:=U-Boot $(PKG_VERSION) for Digilent Zybo Dev Board
endef
UBOOTS := \ UBOOTS := \
zc702 \ zc702 \
zed \ zed \
zybo \
define Package/uboot/template define Package/uboot/template
define Package/uboot-zynq-$(1) define Package/uboot-zynq-$(1)

View File

@ -6,7 +6,7 @@
board_config_update board_config_update
case "$(cat /tmp/sysinfo/board_name)" in case "$(cat /tmp/sysinfo/board_name)" in
xlnx,zynq-zc702|xlnx,zynq-zed) xlnx,zynq-zc702|xlnx,zynq-zed|xlnx,zynq-zybo)
ucidef_set_interface_lan 'eth0' ucidef_set_interface_lan 'eth0'
;; ;;
esac esac

View File

@ -74,6 +74,10 @@ define Device/ZED
$(call Device/DefaultConfig,zed) $(call Device/DefaultConfig,zed)
endef endef
define Device/ZYBO
$(call Device/DefaultConfig,zybo)
endef
define Image/BuildKernel define Image/BuildKernel
$(eval $(call Device/$(PROFILE))) $(eval $(call Device/$(PROFILE)))
$(call Image/boot-imgs) $(call Image/boot-imgs)

View File

@ -0,0 +1,16 @@
#
# Copyright (C) 2016 OpenWrt.org
#
# This is free software, licensed under the GNU General Public License v2.
# See /LICENSE for more information.
#
define Profile/ZYBO
NAME:=ZYBO development baord
endef
define Profile/ZYBO/Description
Build firmware image for Digilent ZYBO development board.
endef
$(eval $(call Profile,ZYBO))