http://www.wiki.xilinx.com/
重点看下linux 选项下的内容。
(1)镜像文件
可以选择 vivado 的版本,选择对应的开发板
http://www.wiki.xilinx.com/Zynq+2016.2+Release
(2)获取资源
http://www.wiki.xilinx.com/Fetch+Sources
在这个页面里还有一个比较惊喜的就是,有一个编译过程的排序。
(3)编译顺序
编译FSBL 在linux sdk中,我打算在windows 下
编译 u-boot http://www.wiki.xilinx.com/Build+U-Boot
linux-host> git clone git://github.com/Xilinx/u-boot-xlnx.git linux-host> cd u-boot-xlnx编译内核
Linux for Zynq AP SoC
The kernel is configured based on linux-xlnx/arch/arm/configs/xilinx_zynq_defconfig :make ARCH=arm xilinx_zynq_defconfig make ARCH=arm menuconfigTo produce the kernel image:
make ARCH=arm UIMAGE_LOADADDR=0x8000 uImageIn the process, linux-xlnx/arch/arm/boot/Image and linux-xlnx/arch/arm/boot/zImage are created. The Image file is the uncompressed kernel image and the zImage file is a compressed kernel image which will uncompress itself when it starts.
If the mkimage utility is available in the build environment, linux-xlnx/arch/arm/boot/uImage will be created by wrapping zImage with a U-Boot header.
编译设备树
http://www.wiki.xilinx.com/Build+Device+Tree+Blob
准备BOOT 文件 http://www.wiki.xilinx.com/Prepare+Boot+Image
SD 卡和文件系统准备 http://www.wiki.xilinx.com/Prepare+Boot+Medium
(4)ZC702 的 linux 示例
http://www.wiki.xilinx.com/Zc702+Linux
(5)带有 zynq 的标签页
http://www.wiki.xilinx.com/Zynq+Tagged+Pages
(6 )PL330 dma
http://www.wiki.xilinx.com/Zynq+Linux+PL330+DMA