Quantcast
Channel: Xilinx Wiki : Xilinx Wiki - all changes
Viewing all 11776 articles
Browse latest View live

Zynq UltraScale+ MPSoC Graphics - 3D Vehicle Model

$
0
0

Zynq UltraScale+ MPSoC - 64-bit DDR access with ECC

$
0
0
...
Board
ZCU702 Rev 1.0
Sub-HeadingRequirements:
Linux Host machine
Xilinx ZCU102 evaluation kit with power supply.
Class 4 or Class 10 SD card (4GB or more).
Micro USB to Standard USB cable.
Running the ECC Error Injection example with prebuilt images:
The fastest way to execute the demo is using prebuild images supplied with this tech tip. This section explains step by step procedure to execute the demo with prebuilt images.
Note: If you want to build the complete software from the sources, skip this section and follow the Building the Software Section.
If you want to generate the hardware , follow the Building the Hardware Section
1. Download the supplied ecc-design-files.zip file and extract it to any known directory whether it is Linux or Windows Environment.
It should contain the following directories.
sdk_export
hw
ready_to_test
2. Copy the images in the ready_to_test directory to the SD Card.
3. Boot the images by following the "ZCU102 board setup" section.
4. Power on the board and monitor the terminal messages.
5. Once the board boots up, login username and password as "root".
Injecting ECC Errors for ZynqMP DDRC Controller
When the ECC is enabled the following sysfs entries are created that enables the user to inject ecc errors.
1. /sys/devices/system/edac/mc/mc0/inject_data_poison
This entry is created to enabled correctable(CE or single error correction and detection)error or uncorrectable (UE or double error detection)
2. /sys/devices/system/edac/mc/mc0/inject_data_error
This entry is created to specify the DDR address to monitor for the ECC errors.
Enabling the CE/UE errors
1. Type the following command on the Linux terminal if you want to enable correctable error injection
root@plnx_aarch64:~# echo "CE" > /sys/devices/system/edac/mc/mc0/inject_data_poison
2. Type the following command on the Linux terminal if you want to enable uncorrectable error injection
root@plnx_aarch64:~# echo "UE" > /sys/devices/system/edac/mc/mc0/inject_data_poison
3. Select a address to inject ECC Errors in that memory location. This command will configure the Data poison registers to inject errors at the address specified.
root@plnx_aarch64:~# echo 0x7EE0EEE0 > /sys/devices/system/edac/mc/mc0/inject_data_error
As per ZynqMP DDR Controller specification, whenever a write operation detected on the address specified, it injects errors to that location and it will report the errors back, when a read operation is performed.
So write some data to the address specified using devmem command, based CE/UE enable, the DDR controller injects errors corrupts the data at that address specified.
root@plnx_aarch64:~# devmem 0x7EE0EEE0 32 0x1234
with the above command, the controller and then try reading the data from that address using devmem command
root@plnx_aarch64:~# devmem 0x7EE0EEE0
Whenever the read occurs the error condition is triggered and the EDAC driver will print the below message.
EDAC MC0: 1 UE DDR ECC error type :UE Row 12544 Bank 0 Col 0 BankGroup Number
2
Insert Code: Use Widget-> Insert Code
Insert your code here.
Block Number 64 on mc#0csrow#0channel#0 (csrow:0 channel:0 page:0x0 offset:0x0 grain:1)
Unhandled fault: synchronous external abort (0x92000210) at 0x0000007f8d666200
Bus error
Building the Software:

Setting up Petalinux:
Download the petalinux-v2016.4-final-installer.run file and the xilinx-zcu102-zu9-es2-rev1.0-v2016.4-final1.bsp from Xilinx site.
Ensure your system has required dependencies for running Petalinux. For more information on Petalinux installation and it dependencies refer to 2016.4 UG114 Petalinux User guide.
https://www.xilinx.com/support/documentation/sw_manuals/xilinx2016_4/ug1144-petalinux-tools-reference-guide.pdf
On your Linux Machine installInstall the Petalinux
...
on your linuxLinux machine and
$ ./petalinux-v2016.4-final-installer.run /opt/
$ source /opt/petalinux-v2016.4-final/settings.sh
...
hw
ready_to_test
Creating the Petalinux project:
Create a Petalinux project and source the Zynq MPSoC ECC Hardware description file for the ZCU102 board present in the sdk_export directory.
$ petalinux-create -t project -s xilinx-zcu102-zu9-es2-rev1.0-v2016.4-final1.bsp
$ petalinux-config --get-hw-description $MYWORKSPACE/sdk_export/ –p xilinx-zcu102-zu9-es2-rev1.0-v2016.4-final1
Build the images for the ZCU102 board.
After the tools and BSP is setup its time to compile the images. Type the following command in the Linux terminal to
$ cd xilinx-zcu102-zu9-es2-rev1.0-v2016.4-final1
$ petalinux-build
$ cd images/linux
This will generate all the images required for booting the ZCU102 board
But for booting the ZCU102 using an SDcard you need a BOOT.bin file which is apackeged file which contains the fsbl, bitstream, secure-monitor and u-boot.

Create the boot binary for the ZCU102 board
$ petalinux-package --boot --fsbl zynqmp_fsbl.elf --fpga design_1_wrapper.bit --u-boot u-boot.elf
Copy the boot.bin and image.ub present in the images/linux directory to an SD card
Insert the SDCard to the ZCU102 board and boot the ZCU102 board configured in SDBoot Mode
Depending on the ECC configuration of DDR when the we source the hardware to Petalinux BSP, the Petalinux top level configuration automatically sets the linux configuration to enable EDAC driver to test tests ECC errors on the Zynq MPSoC.
Injecting ECC Errors for ZynqMP DDRC Controller
When the ECC is enabled the following sysfs entries are created that enables the user to inject ecc errors.
1. /sys/devices/system/edac/mc/mc0/inject_data_poison (to enable CE/UE)
This entry is created to enabled correctable(CE or single error correction and detection)error or uncorrectable (UE or double error detection)
2. /sys/devices/system/edac/mc/mc0/inject_data_error (to specify address)
This entry is created to specify the DDR address to monitor for the ECC errors.
Enabling the CE/UE errors
echo "CE" > /sys/devices/system/edac/mc/mc0/inject_data_poison
the above command enables Correctable error injection
-> echo "UE" > /sys/devices/system/edac/mc/mc0/inject_data_poison
the above command enables UnCorrectable error injection
Select the address to inject ECC Errors
-> echo 0x7EE0EEE0 > /sys/devices/system/edac/mc/mc0/inject_data_error
The above command configures Data poison registers to inject errors at the address specified. As per ZynqMP DDR Controller specification, whenever a write operation detected on the address specified, it injects errors to that location and it will report the errors back, when a read operation is performed.
So write some data to the address specified using devmem command, based CE/UE enable, the DDR controller injects errors corrupts the data at that address specified.
-> devmem 0x7EE0EEE0 32 0x1234
with the above command, the controller and then try reading the data from that address using devmem command
-> devmem 0x7EE0EEE0
Whenever the read occurs the error condition is triggered and the EDAC driver will print the below message.
EDAC MC0: 1 UE DDR ECC error type :UE Row 12544 Bank 0 Col 0 BankGroup Number 2 Block Number 64 on mc#0csrow#0channel#0 (csrow:0 channel:0 page:0x0 offset:0x0 grain:1)
Unhandled fault: synchronous external abort (0x92000210) at 0x0000007f8d666200
Bus error

Building the Hardware:
Tools Required to Run Hardware:
Vivado 2016.4
•cd hw/•source
•source
zynqmp-ecc-design.tcl
Steps to generate Hardware Descrtion File:
Windows
1. Unzip the ecc-designfiles.zip to C:/ drive.
2. Launch Vivado 2016.4 tool
3. In TCL console. type the following commands
cd C:/ecc-designfiles/hw
source zynqmp-ecc-design.tcl
This will generate the hardware until the bitstream is done
4. Export the Hardware to SDK. > In Vivado GUI , Select File> Export Hardware This will launch the Export Hardware dialog box. 5. Select the Include bitstream Option and click on OK.
ZCU102 Board Setup:
Below steps explains about ZCU102 board setup.
1. Connect the Micro USB cable into the ZCU102 Board Micro USB port J83, and the other end into an open USB port on the windows PC. This cable will be used for UART over USB communication.
2. Insert SD card into the SD card slot J100.
3. Set the SW6 switches as shown. This configures board boot mode as SD boot mode.
Fig: Switch selection for SD boot mode
4. Connect 12V Power to the ZCU102 6-Pin Molex connector.
5. Connect the Display monitor using DisplayPort cable to U50 connector of the board.
6. Connect a USB hub to the j96 connector on the board and connect a mouse to the USB hub.
6. The following figure shows the ZCU102 board with all the required connections
board.png Fig: ZCU102 Board setup
Demo Execution:
1. Switch on the ZCU102 Board at SW1 (red switch). Note: Make sure that any one of the serial console utility ( Example: Tera term , putty ) is installed on the the windows machine to which UART cable is connected.This Tech tip exercises with Tera Term.
2. Connect the Tera Term with the interface 0 of the UART bridge like as shown in the below figure
uart.PNG Fig: Serial communication port selection
3. After the Linux is boots up ,Login prompt appears. Enter the login with the username as "root".

Related Links
Title 1 & Link 1

Zynq UltraScale+ MPSoC Ubuntu part 2 - Building and Running the Ubuntu Desktop From Sources

$
0
0
...
echo $PETALINUX
4.1.1.3.Create the Petalinux project with the below command
...
downloaded zcu102 bsp>/Xilinx-ZCU102-v2016.3-final.bspbsp>/Xilinx-ZCU102-v2016.4-final.bsp
Change the directory to created Petalinux project.
Note: In the above command, give the bsp path according to the board revision.
...
4.1.2.8.1.Type ‘petalinux-config’ at project directory
4.1.2.8.2.Enable the SD card for rootfs: select ‘Image Packaging Configuration->Root file system type->SD card’
4.1.2.8.3. Disable automatic bootargs generation option in Kernel Bootargs -> generate bootargs automatically and add below line under user set kernel bootargs
"earlycon=cdns,mmio,0xFF000000,115200n8 root=/dev/mmcblk0p2 rw rootwait cma=256M"

4.1.3.Device Tree Configuration
The device tree source files are at project location <Petalinux_project_directory>components/plnx_workspace/device-tree-generation/system-conf.dtsi
4.1.3.1.Edit system-conf.dtsi and add cma=256M at the end of bootargs line, and make sure root=/dev/mmcblk0p2 is set in boot args to mount the root fs in SD 2nd partition. Save the file system-conf.dtsi
4.1.3.2.Add
4.1.3.1.Add the below
&xlnx_dp {
phy-names = "dp-phy0", "dp-phy1";
...
4.3.1.Launch the SDK and open new application project by selecting:
File->New->Application Project
...
select the PMU0psu_pmu0 as highlighted
...
select next
{pmufw.JPG} Fig: Creating pmu_fw

4.3.2.In the next window there will be template applications listed and here in this case there is only one template example ZynqMP PMU FW. Select this and select Finish. This will create the PMU FW
{ZUUImage8.jpg} Selecting the template project for the PMU FW
4.4.Preparing the R5 application
4.4.1.Launch the SDK and open new application project by selecting:
File->New->Application ProjeProject
In the
...
select the Psu_Cortexr5_0psu_Cortexr5_0 as highlighted
{r5app.JPG} Fig:Creating R5 app
From the template applications select the hello old application and it will be built automatically.
...
following figure. R5app_bspr5app_bsp -> Board
{ZUUImage10.jpg} BSP settings for R5 application
4.5.Preparing the SD boot image with the above built components
...
{ZUUImage12.jpg} SD Card partitions sizes
4.5.2.Using Bootgen
...
PMUFW and R5AppR5app build using
Launch Xilinx Software Command Line tool and at the prompt change directory to Boot_bin_creation folder and run the following bootgen command:
Bootgenbootgen–arch zynqmp
4.5.2.2.Copy the BOOT.bin created in the above step at BOOT partition of the prepared SD card
4.5.2.3 Copy the Mali driver module mali.ko on to the BOO partition of the SD card as we need to insert this module once the linux boots up.Find the mali.ko file under the directory SD_Boot_Partition directory of released design files.
...
Burn this image using the Win32 disk Image writer, as highlighted below first browse the path to ZCU102_Ubuntu_3.img file and in Device (2nd step) select the SD card partition (This has to selected with utmost care as this tool is going to format the selected drive) and as a step 3 select the option to write to SD card selected in Device option.
{ZUUImage13.jpg} Disk Image selections for writing img file to SD card
3.After extracignextracting the image
BOOT.BIN_RevD
image.ub_RevD
...
7.Double click on these icons to launch specific application. Double click/open the Qt-cube application to launch it on Linux and this 3D cube rendering will be done by the GPU as shown in the following figure
{ZUUImage18.jpg} Cube rendering by GPU
8.With 2016.32016.4 tool version
{ZUUImage19.jpg} Web client Launch Info
9.In Host PC or Laptop web browser type the IP address from the above screen as shown in the following figure and Zynq UltraScale+ MPSoC will start serving the web pages. Following image shows the index page of this webserver.
...
10.Launching the OSG car demo, select the icon “OSG Car Model” and open then the desktop will have Car displayed like below:
{ZUuImage21.jpg} OSG Application
11Using11.Using mouse hold
12.To minimize this window select the keys: ‘Ctrl+Alt+D’
13.The rootfs also integrated with multimedia demo player to show the Video and Audio codecs in the software by playing the mp4 files

Zynq UltraScale+ MPSoC - 64-bit DDR access with ECC

$
0
0
...
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.
Work in Progress..
<Insert introduction text here>
Summary
This technical article describes the implementation of an Error Correction Control (ECC) module in the Zynq UltraScale+ MPSoC. The design detects and corrects all single bit errors (in a codeword consisting of either 64-bit data and 8 parity bits) , and it detects double bit errors in the data. This design utilizes Hamming code, a simple yet powerful method for ECC operations. As a result, this design offers exceptional performance and resource utilization.
...
6. Connect a USB hub to the j96 connector on the board and connect a mouse to the USB hub.
6. The following figure shows the ZCU102 board with all the required connections
board.png Fig:Figure : ZCU102 Board
Demo Execution:
1. Switch on the ZCU102 Board at SW1 (red switch). Note: Make sure that any one of the serial console utility ( Example: Tera term , putty ) is installed on the the windows machine to which UART cable is connected.This Tech tip exercises with Tera Term.

Zynq UltraScale+MPSoC Graphics- GPU Profiling using ARM Streamline performance analyzer

$
0
0
...
Rajesh Gugulothu
Updated with 2016.4 tools Release and Added design
...
support zcu102 Rev-B/Rev-C/Rev-DRev-B/Rev-D ,Rev-1.0 boards
Implementation
Implementation Details
...
DDR controller,UART,SD/eMMC interface, USB 3.0,DisplayPort
Boards/Tools
ZCU102 Rev-B/Rev-C/Rev-D,Rev-1.0Rev-B/Rev-D,Rev-1.0
Xilinx Tools Version
SDK 2016.4
...
Download the ARM_Streamline_performance_analyzer.zip file using link provided at the top of this tech tip and extract to your local directory.It will be extracted as below directories
Rev_1_0_Desing_Files - It has images are for zcu102 Rev-1.0 board.
...
for zcu102 Rev-B/Rev-D/Rev-CRev-B/Rev-D boards.
According
...
board, copy corresponding Prebuilt_SD_Images on
Do the board setup by following the "ZCU102 board setup" section below in this page.
Once board setup is done,follow the section "profiling an example graphics application " to execute the demo.
...
Create the Petalinux project with the below command
$ petalinux-create -t project –s <path to the downloaded zcu102 bsp>/Xilinx-ZCU102-v2016.4-final.bsp
...
created Petalinux project and Applyproject.
Note: In
the BSP settings as perabove command, give the hardware definition
Replace
bsp path according to the system.hdf located at Xilinx-ZCU102-2016.4/project-spec/hw-descriptionboard revision.
Configure the petalinux project
with the correspoinding hardware file.
petalinux-config --get-hw-description=<path to
system.hdf file provided in release files and run the following command
Note:Find
>
Note: Find
the system.hdf file corresponding to the board revision , in the design files directory according to the board revisions.supplied along with this Tech Tip
$ petalinux-config --oldconfig
Open the Petalinux kernel configuration wizard -
$petalinux-config -c kernel
Navigate to and enable the kernel tracing options and save the config file and exit.
Kernel hacking > Tracers > Kernel function Tracer
Open the Petalinux rootfs configuration wizard -

Zynq UltraScale+MPSoC Graphics- GPU application debugging using ARM Mali Graphics Debugger tool

$
0
0
...
Rajesh Gugulothu
Updated with 2016.4 tools Release and Added design
...
support zcu102 Rev-B/Rev-C/Rev-DRev-B/Rev-D ,Rev-1.0 boards
Summary
Zynq® UltraScale+™ MPSoC delivers unprecedented levels of heterogeneous multi-processing and combines seven user programmable processors including Quad-coreARM® Cortex™-A53 Application Processing Unit (APU), Dual-core 32-bit ARM® Cortex™-R5 Real Time Processing Unit (RPU), and ARM® Mali™-400 MP2 Graphics Processing Unit (GPU). It is Industry’s First All Programmable Multi-Processor SoC delivering 5x system level performance-per-watt and any-to-any connectivity.
...
DDR controller,UART,SD/eMMC interface, USB 3.0,DisplayPort
Boards/Tools
ZCU102 Rev-B/Rev-C/Rev-D,Rev-1.0Rev-B/Rev-D,Rev-1.0
Xilinx Tools Version
SDK 2016.4
...
Download the Graphics_application_debugging.zip and extract it to a local directory.It will get extracted as below directories
Rev_1_0_Desing_Files - It has images are for zcu102 Rev-1.0 board.
...
for zcu102 Rev-B/Rev-D/Rev-CRev-B/Rev-D boards.
According to the board, copy Prebuilt_SD_Images on to a SD card (4GB or above ).
Now copy the Mali Interceptor libraries and the Mali debugger daemons on to the SD card from the Mali installation directory of windows host machine.

Zynq UltraScale+ MPSoC - 64-bit DDR access with ECC

$
0
0
...
Enabling the CE/UE errors
1. Type the following command on the Linux terminal if you want to enable correctable error injection
...
"CE" > /sys/devices/system/edac/mc/mc0/inject_data_poison/sys/devices/system/edac/mc/mc0/inject_data_poison
2. Type the following command on the Linux terminal if you want to enable uncorrectable error injection
...
"UE" > /sys/devices/system/edac/mc/mc0/inject_data_poison/sys/devices/system/edac/mc/mc0/inject_data_poison
3. Select a address to inject ECC Errors in that memory location. This command will configure the Data poison registers to inject errors at the address specified.
root@plnx_aarch64:~# echo 0x7EE0EEE0 > /sys/devices/system/edac/mc/mc0/inject_data_error
...
Insert the SDCard to the ZCU102 board and boot the ZCU102 board configured in SDBoot Mode
Building the Hardware:
Tools Required to Run Hardware:
Vivado
Setup Requirements:
Operating System: Windows or Linux
Software Installed : Vivado
2016.4
•cd

cd
hw/
•source

source
zynqmp-ecc-design.tcl
Steps
...
generate Hardware DescrtionDescription File:
Windows

1. Unzip the ecc-designfiles.zip to C:/ drive.
2. Launch Vivado 2016.4 tool

Zynq UltraScale+MPSoC Graphics- GPU application debugging using ARM Mali Graphics Debugger tool

$
0
0

Zynq UltraScale+MPSoC Graphics- GPU application debugging using ARM Mali Graphics Debugger tool

$
0
0
...
This section helps how to execute this this tech tip using the prebuilt images supplied along with this tech tip.If you want to build all the images from the source then, skip this section.
Download the Graphics_application_debugging.zip and extract it to a local directory.It will get extracted as below directories
Rev_1_0_Desing_FilesRev_1_0_Design_Files - It
...
Rev-1.0 board.
Rev_D_Desing_Files

Rev_D_Design_Files
- It
According to the board, copy Prebuilt_SD_Images on to a SD card (4GB or above ).
Now copy the Mali Interceptor libraries and the Mali debugger daemons on to the SD card from the Mali installation directory of windows host machine.
...
gator.ko
tri_cube
Rev_D_Desing_FilesRev_D_Design_Files
HDF_File: contains hardware description file
Prebuilt_SD_Images

Zynq UltraScale+ MPSoC Ubuntu part 2 - Building and Running the Ubuntu Desktop From Sources

$
0
0
...
Rajesh Gugulothu
Updated with 2016.4 tools Release and Added design
...
support zcu102 Rev-B/Rev-C/Rev-DRev-B/Rev-D ,Rev-1.0 boards
2. Summary
Zynq® UltraScale+™ MPSoC delivers unprecedented levels of heterogeneous multi-processing and combines seven user programmable processors including Quad-core ARM® Cortex™-A53 Application Processing Unit (APU), Dual-core 32-bit ARM® Cortex™-R5 Real Time Processing Unit (RPU), and ARM® Mali™-400 MP2 Graphics Processing Unit (GPU). It is Industry’s First All Programmable Multi-Processor SoC delivering 5x system level performance-per-watt and any-to-any connectivity.
...
9.Appendix A:File description in Design directory
Ubuntu_Desktop_Source_Release.zip
Rev_1_0_Desing_Files:ContainsRev_1_0_Design_Files:Contains design files
HDF: Hardware file
SD_Boot_Partition:
...
u-boot.elf
pmufw.elf
Rev_D_Desing_Files:ContainsRev_D_Design_Files:Contains design files
HDF: Hardware file
SD_Boot_Partition:

Zynq UltraScale+MPSoC Graphics- GPU Profiling using ARM Streamline performance analyzer

$
0
0
...
ARM® DS-5 Development Studio Streamline performance analyzer enables you to get the best out of your system’s resources and create high performance, energy efficient products. Its innovative user interface brings together system performance metrics, software tracing, statistical profiling and power measurement to present you with a system dashboard where you can quickly identify code hotspots, system bottlenecks and other unintended effects of your code or the system architecture.
This tech tip showcases how easy a user can analyse the performance of a graphics application, using ARM® DS-5 development studio streamline performance analyzer which enables the user to trace their system bottlenecks, helps in optimizing their application.It is also provides the steps to compile the complete Linux system for Zynq UltraScale + MPSoC and demonstrates how to analyze a simple graphics application.
x-Description--Highlights of this Tech tip:HighlightsHighlights of this
Below are the main topics which are covered in this tech tip :
Executing the tech tip with prebuilt images.
...
First of all install the performance analyzer tool by following the section "Installing ARM Streamline performance analyzer tool on windows machine " below.
Download the ARM_Streamline_performance_analyzer.zip file using link provided at the top of this tech tip and extract to your local directory.It will be extracted as below directories
Rev_1_0_Desing_FilesRev_1_0_Design_Files - It
...
Rev-1.0 board.
Rev_D_Desing_Files

Rev_D_Design_Files
- It
According to the board, copy corresponding Prebuilt_SD_Images on to a SD card (4GB or above ).
Do the board setup by following the "ZCU102 board setup" section below in this page.
...
gator.ko
tri_cube
Rev_D_Desing_FilesRev_D_Design_Files
HDF_File: contains hardware description file
Prebuilt_SD_Images

Zynq UltraScale+ MPSoC Graphics - 3D Vehicle Model

$
0
0
...
Note: If you want to build the complete software from the sources , skip this section and follow from the next section on wards.
Download the supplied ZynqMPSoC_3D_Graphics_Model.zip file and extract it to the windows machine local directory.It will get extracted as
Rev_1_0_Desing_FilesRev_1_0_Design_Files -It has
...
Rev-1.0 board.
Rev_D_Desing_Files-It

Rev_D_Design_Files-It
has boot-able
OSG_Files-It has OSG prebuilt binaries and card model executable.
Copy the corresponding boot-able images and OSG prebuilt binaries on to a SD card.
...
Appendix B:File Description in Design directory
ZynqMPSoC_3D_Graphics_Model.zip
Rev_1_0_Desing_FilesRev_1_0_Design_Files
BOOT.bin: Boot-able image
image.ub: kernel image and Device tree blob
Rev_D_Desing_FilesRev_D_Design_Files
BOOT.bin: Boot-able image
image.ub: kernel image and Device tree blob

Zynq UltraScale+ MPSoC Graphics - 3D Vehicle Model

$
0
0
...
5.There are few modifications has to be done in the source, to support Zynq® UltraScale+™ MPSoC target. Follow the steps mentioned in the Appendix A to do these changes.
6.Now set the OSG source with the required Mali user libraries and include paths, from the extracted match-box rootfile system.To do this, create a configure.sh ( like as shown below ) file under the extracted OSG source directory and make sure that below mentioned option's paths are set properly in the configuration file.
...
in shared desingdesign files as
DCMAKE_C_COMPILER
DCMAKE_CXX_COMPILER

Zynq UltraScale+ MPSoC Graphics - 3D Vehicle Model

$
0
0
...
Rev_D_Design_Files-It has boot-able images for Rev-B/Rev-C/Rev-D boards.
OSG_Files-It has OSG prebuilt binaries and card model executable.
Copy the corresponding boot-able images ( According to the board ) and OSG
...
SD card.
Make sure that , SD card has below listed images before going to execute on the target.
BOOT.bin
image.ub
lib.tar.gz
bin.tar.gz
run_osg.sh
F612_mod.osg

Boot the images by following the "ZCU102 board setup" section.
Once the board boots up, login username and password as "root".
mount the SD card boot partition and copy the OSG prebuilt images to /home/ directory.
$mount /dev/mmcblk0p1 /media
...
run_osg F612_mod.osg /home
5. Change
...
directory to /home/root/prebuit_osg/home directory and
$ ./run_osg.sh
Observe the car model appears on the monitor like as shown in the figure "Fig: OSG based 3D card model" at the end of the document.Try to rotate the model with the mouse connected to the board.

Zynq UltraScale+ MPSoC Graphics - 3D Vehicle Model

$
0
0
...
$mount /dev/mmcblk0p1 /media
$cp lib.tar.gz bin.tar.gz run_osg F612_mod.osg /home
5. Changechange the directory to /home directory and extract the OSG libraries and binaries
$ tar -xvf lib.tar.gz
$ tar -xvf bin.tar.gz
and
below command
$ ./run_osg.sh
Observe the car model appears on the monitor like as shown in the figure "Fig: OSG based 3D card model" at the end of the document.Try to rotate the model with the mouse connected to the board.

Zynq UltraScale+MPSoC Graphics- GPU Profiling using ARM Streamline performance analyzer

$
0
0
...
$ export CROSS_COMPILE=<petalinux_installed_directory>/tools/linux-i386/aarch64-linux-gnu/bin/aarch64-linux-gnu-
$ GATOR_WITH_MALI_SUPPORT=MALI_4xx CONFIG_GATOR_MALI_4XXMP_PATH=Xilinx-ZCU102-2016.4/build/tmp/work-shared/plnx_aarch64/kernel-source/drivers/staging/mali/DX910-SW-99002-r5p1-01rel0/driver/src/devicedrv/mali/ make -C Xilinx-ZCU102-2016.4/build/tmp/work-shared/plnx_aarch64/kernel-build-artifacts/ M=`pwd` ARCH=arm64 modules
...
project directory (Xilinx-ZCU102-2016.3)(Xilinx-ZCU102-2016.4) which is
After executing the above command , gator.ko module get created under the <Gator_source>/driver directory.
Now copy the above built gatord and gator.ko files on to the SD card( The once which used above to copy the BOOT.bin,image.ub images).

Zynq UltraScale+ MPSoC - 64-bit DDR access with ECC

$
0
0
...
$ petalinux-config --get-hw-description $MYWORKSPACE/sdk_export/ –p xilinx-zcu102-zu9-es2-rev1.0-v2016.4-final1
Build the images for the ZCU102 board.
...
the Linux terminal toterminal.
$ cd xilinx-zcu102-zu9-es2-rev1.0-v2016.4-final1
$ petalinux-build
$ cd images/linux
...
the ZCU102 boardboard.
But for
...
which is apackegeda packaged file which
...
ZCU102 board using the following command.
$ petalinux-package --boot --fsbl zynqmp_fsbl.elf --fpga design_1_wrapper.bit --u-boot u-boot.elf
...
an SD cardcard.
Insert the
...
in SDBoot ModeMode.
Building the Hardware:
This step will provide instruction on how to setup the ZCU102 board for running the design.
Setup Requirements:
...
Windows or LinuxLinux.
Software Installed :Installed: Vivado 2016.42016.4.
cd hw/
source zynqmp-ecc-design.tcl
...
cd C:/ecc-designfiles/hw
source zynqmp-ecc-design.tcl
...
bitstream is donedone.
4. Export
...
to SDK.> In Vivado
...
, Select File>File > Export Hardware ThisHardware.
This
will launch
...
dialog box. 5.
5.
Select the
ZCU102 Board Setup:
Below steps explains about ZCU102 board setup.
...
5. Connect the Display monitor using DisplayPort cable to U50 connector of the board.
6. Connect a USB hub to the j96 connector on the board and connect a mouse to the USB hub.
...
the required connectionsconnections.
Figure : ZCU102 Board setup
Demo Execution:
1. Switch on the ZCU102 Board at SW1 (red switch). Note: Make sure that any one of the serial console utility ( Example: Tera term , putty ) is installed on the the windows machine to which UART cable is connected.This Tech tip exercises with Tera Term.
...
the below figurefigure.
uart.PNG Fig: Serial communication port selection
3. After the Linux is boots up ,Login prompt appears. Enter the login with the username as "root".

Zynq UltraScale+MPSoC Graphics- GPU Profiling using ARM Streamline performance analyzer

$
0
0
...
Rajesh Gugulothu
Initial Release
21/02/2017
2.0
Rajesh Gugulothu

Zynq UltraScale+MPSoC Graphics- GPU Profiling using ARM Streamline performance analyzer

$
0
0

Note:This page is under construction ,changes are expected !!!!
Document History
Date

Zynq UltraScale+MPSoC Graphics- GPU application debugging using ARM Mali Graphics Debugger tool

$
0
0

Note:This page is under construction ,changes are expected !!!!
Document History
Date
...
Rajesh Gugulothu
Initial Release
21/02/2016
2.0
Rajesh Gugulothu
Viewing all 11776 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>