Author: blogic Date: 2016-04-26 13:44:29 +0200 (Tue, 26 Apr 2016) New Revision: 49257
Added: trunk/target/linux/zynq/profiles/zybo.mk Modified: trunk/package/boot/uboot-zynq/Makefile trunk/target/linux/zynq/base-files/etc/board.d/02_network trunk/target/linux/zynq/image/Makefile Log: zynq: Add Zybo device support Signed-off-by: Jason Wu <[email protected]> Modified: trunk/package/boot/uboot-zynq/Makefile =================================================================== --- trunk/package/boot/uboot-zynq/Makefile 2016-04-26 11:44:26 UTC (rev 49256) +++ trunk/package/boot/uboot-zynq/Makefile 2016-04-26 11:44:29 UTC (rev 49257) @@ -41,9 +41,14 @@ 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) Modified: trunk/target/linux/zynq/base-files/etc/board.d/02_network =================================================================== --- trunk/target/linux/zynq/base-files/etc/board.d/02_network 2016-04-26 11:44:26 UTC (rev 49256) +++ trunk/target/linux/zynq/base-files/etc/board.d/02_network 2016-04-26 11:44:29 UTC (rev 49257) @@ -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 Modified: trunk/target/linux/zynq/image/Makefile =================================================================== --- trunk/target/linux/zynq/image/Makefile 2016-04-26 11:44:26 UTC (rev 49256) +++ trunk/target/linux/zynq/image/Makefile 2016-04-26 11:44:29 UTC (rev 49257) @@ -74,6 +74,10 @@ $(call Device/DefaultConfig,zed) endef +define Device/ZYBO + $(call Device/DefaultConfig,zybo) +endef + define Image/BuildKernel $(eval $(call Device/$(PROFILE))) $(call Image/boot-imgs) Added: trunk/target/linux/zynq/profiles/zybo.mk =================================================================== --- trunk/target/linux/zynq/profiles/zybo.mk (rev 0) +++ trunk/target/linux/zynq/profiles/zybo.mk 2016-04-26 11:44:29 UTC (rev 49257) @@ -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)) _______________________________________________ openwrt-commits mailing list [email protected] https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-commits
