logo资料库

logiCVC Media ZED.pdf

第1页 / 共46页
第2页 / 共46页
第3页 / 共46页
第4页 / 共46页
第5页 / 共46页
第6页 / 共46页
第7页 / 共46页
第8页 / 共46页
资料共46页,剩余部分请下载后查看
1 INTRODUCTION
1.1 Design Deliverables
1.1.1 Hardware Design Files
1.1.2 Software
1.1.3 Binaries
1.2 Usage Modes
1.2.1 Quick Evaluation with no HW and/or SW Changes
1.2.2 Develop Standalone and Linux Software, no HW Changes
1.2.3 Full Media SoC Customization, HW and SW Changes
1.3 Xilinx Development Software
2 LOGICBRICKS IP CORES
2.1 About logicBRICKS IP Library
2.2 Evaluation logicBRICKS IP Cores
2.3 logicBRICKS IP Cores Used in This Design
2.3.1 logiWIN Versatile Video Input
2.3.2 logiI2S Audio Data Receiver/Transmitter
2.3.3 logiCVC-ML Compact Multilayer Video Controller
2.3.4 logiBITBLT Block Transfer 2D Graphics Accelerator
2.3.5 logi3D Scalable 3D Graphics Accelerator
2.3.6 logiCLK Programmable Clock Generator
2.4 logicBRICKS IP Cores for Video Processing
3 LINUX SOFTWARE DRIVERS
3.1 Video4Linux Driver
3.2 Advanced Linux Sound Architecture (ALSA) Driver
3.3 Framebuffer Driver
3.4 logiCLK Programmable Clock Generator Driver
3.5 XylonQPA Plugin for Qt 5.4
3.6 OpenGL ES 1.1 API
3.7 Optional – Direct Rendering Manager (DRM) Driver
4 GET AND INSTALL THE REFERENCE DESIGN
4.1 Registration Process
4.2 Installation Process
4.2.1 Filesystem Permissions of the Installed Directory (Windows 7)
4.3 Directory Structure
5 GETTING LOGICBRICKS EVALUATION LICENSES
6 LOGIREF-MEDIA-ZED DESIGN
6.1 Design Customization
6.2 Memory Layout
6.3 Restoring Full SoC Design from Xylon Deliverables
7 VIDEO OUTPUT CLOCKING
7.1 logiCVC-ML – Standard Display Resolutions and Pixel Clock
7.2 Utility Clock Module
7.3 Linux Frame Buffer – Changing Display Resolutions
8 QUICK START
8.1 Required Hardware
8.2 Set Up the ZedBoard for Use with Precompiled Linux Demos from the SD Card
8.3 Running Precompiled Demos from the SD Card Image
8.3.1 BootUp Menu
8.3.2 Running 3D Demo Apps
8.3.3 Running QT Demo Apps
8.3.4 Running Audio Demo App
8.3.5 Running Video Capturing Demo App
8.4 Change the Demo Applications or Design New Applications from Scratch
8.4.1 Xilinx Development Software
8.4.2 Set Up Linux System Software Development Tools
8.4.3 Set Up git Tools
9 SOFTWARE DOCUMENTATION
9.1 Software Instructions – Standalone Software
9.2 Software Instructions – Linux Software
10 REVISION HISTORY
logiREF-MEDIA-ZED Xylon logicBRICKSTM Multimedia Reference Design for Xilinx® Zynq®-7000 All Programmable SoC based ZedBoard™ from Avnet Electronics Marketing User’s Manual Version: 1.00.a logiREF-MEDIA-ZED_v1_00_a.docx
September 2nd, 2015 logiREF-MEDIA-ZED Reference Design User’s Manual Version: v1.00.a All rights reserved. This manual may not be reproduced or utilized without the prior written permission issued by Xylon. This publication has been carefully checked for accuracy. However, Xylon does not assume any responsibility for the contents or use of any product described herein. Xylon reserves the right to make any changes to product without further notice. Our customers should ensure to take appropriate action so that their use of our products does not infringe upon any patents. Copyright © Xylon d.o.o. logicBRICKSTM is a registered Xylon trademark. All other trademarks and registered trademarks are the property of their respective owners. Copyright © Xylon d.o.o. 2015 All Rights Reserved Page 2 of 46
September 2nd, 2015 logiREF-MEDIA-ZED Reference Design User’s Manual Version: v1.00.a INTRODUCTION .......................................................................................................................... 5 1.1 1.2 DESIGN DELIVERABLES ........................................................................................................... 6 1.1.1 Hardware Design Files ..................................................................................................... 6 1.1.2 Software ........................................................................................................................... 6 1.1.3 Binaries ............................................................................................................................ 7 USAGE MODES....................................................................................................................... 7 1.2.1 Quick Evaluation with no HW and/or SW Changes ........................................................... 7 1.2.2 Develop Standalone and Linux Software, no HW Changes .............................................. 7 1.2.3 Full Media SoC Customization, HW and SW Changes ..................................................... 8 XILINX DEVELOPMENT SOFTWARE ........................................................................................... 8 LOGICBRICKS IP CORES .......................................................................................................... 9 1 2 3 1.3 2.1 2.2 2.3 2.4 ABOUT LOGICBRICKS IP LIBRARY .......................................................................................... 9 EVALUATION LOGICBRICKS IP CORES .................................................................................. 10 LOGICBRICKS IP CORES USED IN THIS DESIGN .................................................................... 11 logiWIN Versatile Video Input ......................................................................................... 11 logiI2S Audio Data Receiver/Transmitter ........................................................................ 12 logiCVC-ML Compact Multilayer Video Controller ........................................................... 12 logiBITBLT Block Transfer 2D Graphics Accelerator ....................................................... 13 logi3D Scalable 3D Graphics Accelerator ....................................................................... 14 logiCLK Programmable Clock Generator ........................................................................ 14 LOGICBRICKS IP CORES FOR VIDEO PROCESSING ................................................................ 15 LINUX SOFTWARE DRIVERS .................................................................................................. 16 2.3.1 2.3.2 2.3.3 2.3.4 2.3.5 2.3.6 3.1 3.2 3.3 3.4 3.5 3.6 3.7 VIDEO4LINUX DRIVER ........................................................................................................... 16 ADVANCED LINUX SOUND ARCHITECTURE (ALSA) DRIVER ..................................................... 16 FRAMEBUFFER DRIVER ......................................................................................................... 17 LOGICLK PROGRAMMABLE CLOCK GENERATOR DRIVER ........................................................ 17 XYLONQPA PLUGIN FOR QT 5.4 ........................................................................................... 18 OPENGL ES 1.1 API ............................................................................................................ 18 OPTIONAL – DIRECT RENDERING MANAGER (DRM) DRIVER ................................................... 19 4 GET AND INSTALL THE REFERENCE DESIGN ...................................................................... 20 4.1 4.2 REGISTRATION PROCESS ...................................................................................................... 20 INSTALLATION PROCESS ....................................................................................................... 22 4.2.1 Filesystem Permissions of the Installed Directory (Windows 7) ....................................... 23 DIRECTORY STRUCTURE....................................................................................................... 24 5 GETTING LOGICBRICKS EVALUATION LICENSES ............................................................... 26 4.3 6 LOGIREF-MEDIA-ZED DESIGN ................................................................................................ 29 6.1 DESIGN CUSTOMIZATION ...................................................................................................... 30 6.2 MEMORY LAYOUT ................................................................................................................. 32 6.3 RESTORING FULL SOC DESIGN FROM XYLON DELIVERABLES .................................................. 33 VIDEO OUTPUT CLOCKING .................................................................................................... 34 7 7.1 7.2 7.3 LOGICVC-ML – STANDARD DISPLAY RESOLUTIONS AND PIXEL CLOCK .................................... 34 UTILITY CLOCK MODULE ....................................................................................................... 35 LINUX FRAME BUFFER – CHANGING DISPLAY RESOLUTIONS ................................................... 36 8 QUICK START ........................................................................................................................... 38 8.1 8.2 REQUIRED HARDWARE ......................................................................................................... 38 SET UP THE ZEDBOARD FOR USE WITH PRECOMPILED LINUX DEMOS FROM THE SD CARD ...... 38 Copyright © Xylon d.o.o. 2015 All Rights Reserved Page 3 of 46
September 2nd, 2015 logiREF-MEDIA-ZED Reference Design User’s Manual Version: v1.00.a 9 8.3 8.4 RUNNING PRECOMPILED DEMOS FROM THE SD CARD IMAGE .................................................. 40 8.3.1 BootUp Menu .................................................................................................................. 41 8.3.2 Running 3D Demo Apps ................................................................................................. 42 8.3.3 Running QT Demo Apps ................................................................................................. 42 8.3.4 Running Audio Demo App .............................................................................................. 43 8.3.5 Running Video Capturing Demo App .............................................................................. 43 CHANGE THE DEMO APPLICATIONS OR DESIGN NEW APPLICATIONS FROM SCRATCH ............... 43 8.4.1 Xilinx Development Software .......................................................................................... 43 8.4.2 Set Up Linux System Software Development Tools ........................................................ 43 8.4.3 Set Up git Tools .............................................................................................................. 44 SOFTWARE DOCUMENTATION .............................................................................................. 45 9.1 9.2 SOFTWARE INSTRUCTIONS – STANDALONE SOFTWARE .......................................................... 45 SOFTWARE INSTRUCTIONS – LINUX SOFTWARE ...................................................................... 45 10 REVISION HISTORY ................................................................................................................. 46 Copyright © Xylon d.o.o. 2015 All Rights Reserved Page 4 of 46
logiREF-MEDIA-ZED Reference Design User’s Manual Version: v1.00.a September 2nd, 2015 1 INTRODUCTION logiREF-MEDIA-ZED is the pre-verified logicBRICKS reference design that presents Xylon solutions for multimedia processing under the Linux operating system running on the Xilinx Zynq-7000 All Programmable SoC. The design includes logicBRICKS IP cores for 2D and 3D graphics, video and display processing and connecting of digital audio devices. The included Linux demo applications demonstrate how to implement video frame grabbing, audio recording and playback, and how to design various graphics Human Machine Interfaces (HMI), including the HMI developed by the Qt, a leading cross-platform application and UI development framework. The list of the Xylon provided and maintained Linux software drivers and libraries includes: Advanced Linux Sound Architecture (ALSA), Video4Linux2, Linux Framebuffer driver, XylonQPA 2D plugin for 2D accelerated Qt application framework and the OpenGL® ES 1.11 API. The reference design is prepared for the ZedBoard development kit from Avnet Electronics Marketing, which is expanded by the Avnet FMC-IMAGEON HDMI® Input/Output module (Figure 1) to support external video source connections. Figure 1: The ZedBoard Development Kit Running V4L2 Video Capture Demo Copyright © Xylon d.o.o. 2015 All Rights Reserved Page 5 of 46
September 2nd, 2015 logiREF-MEDIA-ZED Reference Design User’s Manual Version: v1.00.a The logiREF-MEDIA-ZED reference design is available for free and can be downloaded from: http://www.logicbricks.com/logicBRICKS/Reference-logicBRICKS-Design/Multimedia-for-Zynq-AP- SoC-ZedBoard.aspx The logiREF-MEDIA-ZED reference design provides system designers with everything they need to develop multimedia applications on the Xilinx Zynq-7000 AP SoC. It includes evaluation logicBRICKS IP cores and hardware design files prepared for Xilinx Vivado® Design Suite and hardware developers can customize the provided design through the Vivado IP Integrator (IPI). The provided standard software drivers enable software developers to work fast and efficiently with the Zynq-7000 AP SoC without knowing the hardware implementation details and in the same way as with any SoC. Aside from the logicBRICKS software support for the Linux OS, Xylon also provides bare-metal software drivers for non-OS use and for other popular operating systems running on the Zynq-7000 AP SoC. To learn more about the available software support, please visit: http://www.logicbricks.com/logicBRICKS/Reference-logicBRICKS-Design/OS-IP-Core- Support.aspx. 1.1 Design Deliverables 1.1.1 Hardware Design Files  Configuration bitstream file for the programmable logic and the SDK export of the reference design that allows for an immediate start and software changes  ZedBoard reference design prepared for the Vivado Design Suite  Xylon evaluation logicBRICKS IP cores:       logiWIN Versatile Video Input logiI2S Audio Transmitter/Receiver logiBITBLT Bit Block Transfer 2D Graphics Accelerator logi3D Scalable 3D Graphics Accelerator logiCVC-ML Compact Multilayer Video Controller logiCLK Programmable Clock Generator 1.1.2 Software logicBRICKS standalone (bare-metal drivers) with driver examples   Zynq FSBL sources and the Xilinx SDK project – custom version for standalone applications  ALSA (Advanced Linux Sound Architecture) driver for the logiI2S IP core  V4L2 (Video4Linux2) driver for the logiWIN IP core  XylonQPA plugin for Qt 5.4 (supports logiBITBLT 2D graphics accelerator)  Linux Framebuffer driver for the logiCVC-ML IP core (display controller)  Linux driver for the logiCLK programmable clock source  HMI demo application that uses Qt application framework for GUI capabilities Copyright © Xylon d.o.o. 2015 All Rights Reserved Page 6 of 46
September 2nd, 2015 logiREF-MEDIA-ZED Reference Design User’s Manual Version: v1.00.a  logi3D example sources and binaries (OpenGL ES 1.11 library for the logi3D IP core may be provided on request) 1.1.3 Binaries  Precompiled SD card image for the fastest demo startup  First Stage Bootloader (FSBL)  Standalone logiCVC-ML and logiBITBLT examples  Linux binaries:  uboot, devicetree (dtb), root file system (uramdisk)  uImage – kernel with the Xylon Framebuffer, V4L2 and ALSA drivers  OpenGL ES 1.1 simple example and Xylon 3D demo  Pre-compiled demo applications showing 2D and 3D accelerations, HMI, audio recording/playback and input video capture and processing. 1.2 Usage Modes The logiREF-MEDIA-ZED reference design can be used in different ways, which are listed in this paragraph and thoroughly explained throughout this document. 1.2.1 Quick Evaluation with no HW and/or SW Changes  Download and install the logiREF-MEDIA-ZED reference design (see chapter 4 GET AND INSTALL THE REFERENCE DESIGN)  Setup the demo hardware and use the provided SD card image to run precompiled demo applications (paragraph 8.2 Set Up the ZedBoard for Use with Precompiled Linux Demos From the SD Card) 1.2.2 Develop Standalone and Linux Software, no HW Changes  Download and install the logiREF-MEDIA-ZED reference design (chapter 4 GET AND INSTALL THE REFERENCE DESIGN)  Setup the demo hardware (paragraph 8.2 Set Up the ZedBoard for Use with Precompiled Linux Demos From the SD Card)  Use the provided Zynq-7000 AP SoC as it is (binaries)  Follow instructions for working with logicBRICKS stand-alone (bare-metal) or Linux drivers (please get the full instructions in the start.html file from your installation root directory)  Develop software applications prior to the availability of the actual target system 1 Product is based on a published Khronos specification, and is expected to pass the Khronos Conformance Testing Process. Current conformance status can be found at www.khronos.org/conformance. Copyright © Xylon d.o.o. 2015 All Rights Reserved Page 7 of 46
September 2nd, 2015 logiREF-MEDIA-ZED Reference Design User’s Manual Version: v1.00.a 1.2.3 Full Media SoC Customization, HW and SW Changes  Download and install the logiREF-MEDIA-ZED reference design (chapter 4 GET AND INSTALL THE REFERENCE DESIGN)  Setup the demo hardware (paragraph 8.2 Set Up the ZedBoard for Use with Precompiled Linux Demos From the SD Card)  Obtain logicBRICKS evaluation licenses from Xylon (chapter 5 GETTING LOGICBRICKS EVALUATION LICENSES)  Use the provided Zynq-7000 AP SoC to add or remove more logicBRICKS IP cores and/or third-party IP cores, or to change logicBRICKS IP settings through the GUI Implement new Zynq-7000 AP SoC design   Develop software by following instructions listed in the start.html file from your installation root directory 1.3 Xilinx Development Software The logiREF-MEDIA-ZED reference design and Xylon logicBRICKS IP cores are fully compatible with Vivado Design Suite 2014.4. Future design releases shall be synchronized with the newest Xilinx development tools. Copyright © Xylon d.o.o. 2015 All Rights Reserved Page 8 of 46
分享到:
收藏