Important! Tag the page

Important! All External Links should open in a new tab/window; all Internal Links to Xilinx wiki pages, should open in the same tab/window.

<Insert introduction text here>
This wiki page introduce how to run the OpenWrt on the Xilinx ZC702 board. Now the OpenWrt supports three Xilinx Zynq7000 boards, ZC702, Zedboard, Zybo. It is done by the patch from Jason Wu <>

Build the Image

Get the source codes

$git clone

Enter the root directory of the git source code.
$cd openwrt
pull the latest code in default "master" branch
$git pull

Get all the latest package (Refer to the README)
$cp feeds.conf.default feeds.conf
$./scripts/feeds update -a
$./scripts/feeds install -a

Config for Zynq7000/ZC702

Please use "make menuconfig" to configure your appreciated configuration for the toolchain and firmware.
$make menuconfig
Chose Target System as Xilinx Zynq 7000 SoCs,
Chose Target Profile as ZC702,

Chose ramdisk as the Target Images,

Build the image

Simply running "make" will build your firmware.
It will download all sources, build the cross-compile toolchain, the kernel and all choosen applications.


The image files are built out in ./bin/zynq/ like that.

File list
FIT uImage
legacy uImage
dtb file
rootfs for ramdisk
rootfs in ramdisk
uboot files

Boot it On ZC702

  • Re use BOOT.BIN of pre-built of 2016.4 release
  • Copy BOOT.BIN to the SD card
  • Copy zynq-zc702-fit.itb and BOOT.bin to SD card
  • Power on zc702 and stop at u-boot CLI
  • Load kernel image (uImage in FIT format)
    • Run "fatload mmc 0 0x20008000 zynq-zc702-fit.itb"
  • Boot the kernel
    • Run "bootm 0x20008000

  • rename zynq-zc702-fit.itb to image.ub for auto boot.
  • use "mkimage -l zynq-zc702-fit.itb" to get the details of the itb image.


Other solution
1. There is a layer named meta-openwrt for yocto project. We may use this layer for Xilinx Yocto and petalinux environment.
2. Only re use rootfs built out by OpenWrt in Petalinux project

Related Links