background image

 

© Copyright 2016 Xilinx 

 

Booting ZCU102 on QEMU

 

To boot, use the command below from the same Petalinux project as built above. 

 

cd <petalinux_project> 

 

petalinux-boot --qemu --kernel 

Summary of Contents for ZCU102

Page 1: ...talling Board files for the ZCU102 The board files are not released with the 2016 X public release Users can download this from the ZCU102 HeadStart lounge http www xilinx com member zcu102_headstart...

Page 2: ...pmu Create the FSBL App and BSP A53 Create the Echo Server App and BSP A53 o Note This is a custom Echo Server for the ZCU102 that will reset the PHY Create the LED test app and BSP A53 Create the Hel...

Page 3: ...Copyright 2016 Xilinx Task 3 ZCU102 board Setup Set the Boot Mode SW6 pins to JTAG Mode Plug in the Ethernet Cable into P12 Plug the USB UART and the USB JTAG...

Page 4: ...Copyright 2016 Xilinx Set up your host settings on your PC Setup the serial port Finally power on the ZCU102...

Page 5: ...the command below source test_on_hw tcl demo option stop rst Where Options are led echo helloa53 hellor5 and bram Type help for all the options Note User may need to power cycle between tests When th...

Page 6: ...ght 2016 Xilinx When the helloa53 or hellor5 demo is run you should see the Hello World printed to the serial console When the bram demo is run you should see the AXI BRAM results printed to the XSDB...

Page 7: ...ck on any of the applications to debug For example echo_server Right click and select Debug As Debug Configurations Double click on the Xilinx C C application System Debugger In the Target Setup tick...

Page 8: ...Copyright 2016 Xilinx Note you may need to scroll up to find the Download application box Click Apply and Debug Select Yes to launch the Debug Perspective...

Page 9: ...Debug View you should see something similar to below User can open a serial port by selecting the SDK terminal tab and select the green plus icon as shown below Setup the Port as below User can then s...

Page 10: ...inx arm trusted firmware git cd arm trusted firmware git checkout xilinx v2016 1 bash export CROSS_COMPILE aarch64 linux gnu bash make DEBUG 0 RESET_TO_BL31 1 PLAT zynqmp bl31 o Use bl31 elf in arm tr...

Page 11: ...pu a53 0 bl31 elf destination_cpu a53 0 u boot elf destination_cpu a53 0 load 0x80000 Image bin destination_cpu a53 0 load 0x4000000 system dtb Note The Image is renamed Image bin If using Petalinux t...

Page 12: ...18 0x00800000 0x00800000 mask_write 0XFFD80120 0x00800000 0x00800000 write bootloop and release A53 0 reset mwr 0xffff0000 0x14000000 mwr 0xFD1A0104 0x380E exec sleep 1 source psu_init tcl psu_init ps...

Page 13: ...pre built linux images images linux o Note you can also just use petalinux build here More Info See the Petalinux guide here for more info Users can also use a HDF file from the previous section to bu...

Page 14: ...Copyright 2016 Xilinx Booting ZCU102 on QEMU To boot use the command below from the same Petalinux project as built above cd petalinux_project petalinux boot qemu kernel...

Reviews: