Recently has been engaged in the board, want to help Zedboard install a OPENCV who knows the difficulties, and the network almost no information can be consulted, only Lu Jiahua "embedded hardware and software Collaborative design Practice Guide" can be consulted.
But the book is not clear, there are a lot of problems. Let me share my experience with you.
1. Build a Linux system
The system used is not consistent with the book, the image of this book only give me to play double penguins have been motionless, really exasperating.
So the Xillinux system is used. Portal Http://xillybus.com/xillinux
The site has been made very clear, but I know you do not want to read English, I would like to translate it
- From download, click Zedboard and click here to download the source and image
- Unzip the xillinux-enval-xxx.zip. Note the extracted path must not have spaces
- Generating bitstream files
as follows: 1. Install Vivado (refer to the documentation for ISE)
2. Open Vivado But do not create any new projects
3. Select Tools>run TCL Script
4. Select Xillydemo-vivado.tcl in the Verilog folder in the extracted file
5. Await
6. Until the window appears info:project created (if unsuccessful, is due to Vivado version issue, select 2014. Version after 4), note: Cut cannot run the second time, otherwise an error will occur
7. Click Generate Bitstream if the pop-up window, click Yes. Build finished Press Cencal
8. Locate the bit stream file in the project directory and copy it
9. Install the USB Image Tool, insert the SD card, select it, and then click on the Restore button after device mode to select Xillinux.img.gz
10. Download time is about 5 minutes (if the GUI mode fails, please seek another method, generally will not fail)
11. With the BOOT.BIN,DEVICETREE.DTB copy from the newly generated bit stream and the download file to the SD card, there should be four files in the SD card, namely: UIMAGE,BOOT.BIN,DEVICETREE.DTB, Xillydemo.bit
12. Plug in the board and start. Note that the jumper on the board should be set to SD card boot. If you don't know, see the pictures in the Official Handbook.
13. The system partition command after successful startup is as follows
1 DF -H2 fdisk/dev/mmcblk0
14. Enter d (delete), 2 (second partition), n (New), and press Enter four times (with default setting), W (Save and exit)
15. Restart
16. The size of the RESIZE2FS redistribution system performed
The official support of the board is three, one is Zedboard, a Zybo, and microzed. If you want to use the other board, please refer to the official manual.
In addition, you can choose the Linaro. This Linaro is actually very simple, but there is no xillinux convenient, let me say in general. First, the SD card is partitioned, one for FAT32 (30M or more), and one for EXT4 (the remaining space). Then copy the boot.bin,devicetree.dtn,zimage to the FAT partition. Then copy the Linaro file system to the EXT4 partition (copy it under the Linux system) and start it (refer to the Lu Jiahua hardware and software co-design). If other boards, refer to Http://www.wiki.xilinx.com/Zynq-7000+AP+SoC+-+Installing+the+Ubuntu+Desktop+on+PetaLinux+and+Demo+Tech+Tip
To install the Android system, please: http://www.wiki.xilinx.com/Building+Android+BSP+on+ZC702
Zedboard Installing desktop Systems Ubuntu and OPENCV (1)