Skip to content

Commit

Permalink
zynq: Add Zybo device support
Browse files Browse the repository at this point in the history
Signed-off-by: Jason Wu <[email protected]>

SVN-Revision: 49257
  • Loading branch information
John Crispin committed Apr 26, 2016
1 parent 869d3ad commit be19854
Show file tree
Hide file tree
Showing 4 changed files with 26 additions and 1 deletion.
5 changes: 5 additions & 0 deletions package/boot/uboot-zynq/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -41,9 +41,14 @@ define uboot/zed
TITLE:=U-Boot $(PKG_VERSION) for Avnet Digilent ZedBoard Dev Board
endef

define uboot/zybo
TITLE:=U-Boot $(PKG_VERSION) for Digilent Zybo Dev Board
endef

UBOOTS := \
zc702 \
zed \
zybo \

define Package/uboot/template
define Package/uboot-zynq-$(1)
Expand Down
2 changes: 1 addition & 1 deletion target/linux/zynq/base-files/etc/board.d/02_network
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
board_config_update

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'
;;
esac
Expand Down
4 changes: 4 additions & 0 deletions target/linux/zynq/image/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,10 @@ define Device/ZED
$(call Device/DefaultConfig,zed)
endef

define Device/ZYBO
$(call Device/DefaultConfig,zybo)
endef

define Image/BuildKernel
$(eval $(call Device/$(PROFILE)))
$(call Image/boot-imgs)
Expand Down
16 changes: 16 additions & 0 deletions target/linux/zynq/profiles/zybo.mk
Original file line number Diff line number Diff line change
@@ -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))

0 comments on commit be19854

Please sign in to comment.