Table of Contents
bash> export CROSS_COMPILE=arm-xilinx-linux-gnueabi- bash> export PATH=/path/to/cross/compiler/bin:$PATH |
bash> cd $WORK_AREA bash> git clone git://github.com/Xilinx/u-boot-xlnx.git |
bash> cd $WORK_AREA/u-boot-xlnx bash> git checkout -b zynq_xadc_ps xilinx-v14.5.01 |
bash> make ARCH=arm zynq_zc70x_config |
bash> make ARCH=arm |
bash> mv u-boot u-boot.elf |
bash> export CROSS_COMPILE=arm-xilinx-linux-gnueabi- bash> export PATH=/path/to/cross/compiler/bin:$PATH |
bash> export PATH=$WORK_AREA/u-boot-xlnx/tools:$PATH |
bash> cd $WORK_AREA bash> git clone git://github.com/Xilinx/linux-xlnx.git |
bash> cd $WORK_AREA/linux-xlnx bash> git checkout -b zynq_xadc_ps xilinx-v14.5.01 |
bash> cp $ZYNQ_XADC_PS_HOME/software/patches/zynq_ps_xadc.patch . // copy the patch from package to dev area bash> git apply --stat zynq_ps_xadc.patch // display contents of patch bash> git apply --check zynq_ps_xadc.patch // check if patch can be applied bash> git am zynq_ps_xadc.patch // apply the patch |
bash> make ARCH=arm zynq_iio_xadc_defconfig |
bash> make ARCH=arm uImage modules UIMAGE_LOADADDR=0x8000 |
bash> ./scripts/dtc/dtc -I dts -O dtb -o devicetree.dtb ./arch/arm/boot/dts/zynq-zc702-xadc.dts |