Author: blogic Date: 2016-04-26 13:44:26 +0200 (Tue, 26 Apr 2016) New Revision: 49256
Added: trunk/target/linux/zynq/profiles/zed.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 Zedboard device support Tested-by: Joe Zhang <[email protected]> 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:22 UTC (rev 49255) +++ trunk/package/boot/uboot-zynq/Makefile 2016-04-26 11:44:26 UTC (rev 49256) @@ -37,8 +37,13 @@ TITLE:=U-Boot $(PKG_VERSION) for Xilinx ZC706 Dev Board endef +define uboot/zed + TITLE:=U-Boot $(PKG_VERSION) for Avnet Digilent ZedBoard Dev Board +endef + UBOOTS := \ zc702 \ + zed \ 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:22 UTC (rev 49255) +++ trunk/target/linux/zynq/base-files/etc/board.d/02_network 2016-04-26 11:44:26 UTC (rev 49256) @@ -6,7 +6,7 @@ board_config_update case "$(cat /tmp/sysinfo/board_name)" in - xlnx,zynq-zc702) + xlnx,zynq-zc702|xlnx,zynq-zed) ucidef_set_interface_lan 'eth0' ;; esac Modified: trunk/target/linux/zynq/image/Makefile =================================================================== --- trunk/target/linux/zynq/image/Makefile 2016-04-26 11:44:22 UTC (rev 49255) +++ trunk/target/linux/zynq/image/Makefile 2016-04-26 11:44:26 UTC (rev 49256) @@ -70,6 +70,9 @@ $(call Device/DefaultConfig,zc702) endef +define Device/ZED + $(call Device/DefaultConfig,zed) +endef define Image/BuildKernel $(eval $(call Device/$(PROFILE))) Added: trunk/target/linux/zynq/profiles/zed.mk =================================================================== --- trunk/target/linux/zynq/profiles/zed.mk (rev 0) +++ trunk/target/linux/zynq/profiles/zed.mk 2016-04-26 11:44:26 UTC (rev 49256) @@ -0,0 +1,16 @@ +# +# Copyright (C) 2015 OpenWrt.org +# +# This is free software, licensed under the GNU General Public License v2. +# See /LICENSE for more information. +# + +define Profile/ZED + NAME:=ZedBoard development baord +endef + +define Profile/ZED/Description + Build firmware image for Avnet Digilent ZedBoard development board. +endef + +$(eval $(call Profile,ZED)) _______________________________________________ openwrt-commits mailing list [email protected] https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-commits
