Differences
This shows you the differences between two versions of the page.
| programmable-logic:genesys-zu:getting-started [2021/08/12 04:48] – [First Boot] Damo Ferenc | programmable-logic:genesys-zu:getting-started [2022/10/04 11:38] (current) – external edit 127.0.0.1 | ||
|---|---|---|---|
| Line 15: | Line 15: | ||
| The microSD card can be found in the Genesys ZU's microSD card slot. | The microSD card can be found in the Genesys ZU's microSD card slot. | ||
| - | For more details about the board check the refrence | + | For more details about the board check the reference |
| - | [[https:// | + | [[programmable-logic/ |
| </ | </ | ||
| {{: | {{: | ||
| Line 23: | Line 23: | ||
| <WRAP group> <WRAP column half> | <WRAP group> <WRAP column half> | ||
| == What comes in the box? == | == What comes in the box? == | ||
| - | * Genesys ZU-3EG **(4)** | + | * Genesys ZU-3EG |
| * 12V, 8A power supply **(8)** | * 12V, 8A power supply **(8)** | ||
| * IEC cable with European plug **(1)** | * IEC cable with European plug **(1)** | ||
| Line 30: | Line 30: | ||
| * USB A to Type C cable **(3)** | * USB A to Type C cable **(3)** | ||
| * JTAG HS1 programmer and cable **(6)** * | * JTAG HS1 programmer and cable **(6)** * | ||
| - | * microSD card with the Out-of-Box Petalinux Image (loaded into the Genesys ZU's microSD card slot), with a case **(7)** | + | * microSD card (loaded into the Genesys ZU's microSD card slot), with a case **(7)** |
| * Voucher for license for Xilinx' | * Voucher for license for Xilinx' | ||
| </ | </ | ||
| Line 40: | Line 40: | ||
| Sources for the Out of Box demo can be found on Github: | Sources for the Out of Box demo can be found on Github: | ||
| - | * [[https:// | + | * [[https:// |
| - | * [[https:// | + | * [[https:// |
| ==== First Boot ==== | ==== First Boot ==== | ||
| Line 47: | Line 48: | ||
| **Note:** //At time of manufacturing, | **Note:** //At time of manufacturing, | ||
| - | **Note:** //For more information about the board, please check the [[https:// | + | **Note:** //Some boards may contain an empty SD card due to a manufacturing error. If after the 4.-th instruction the boot sequence doesn' |
| + | |||
| + | **Note:** //For more information about the board, please check the [[programmable-logic/ | ||
| - Connect the power supply. | - Connect the power supply. | ||
| Line 53: | Line 56: | ||
| - Connect a serial terminal to the serial port associated with the board with a baud rate of 115200. (There will be two serial ports associated with the board, connect to the first one. The second one is for debugging.) | - Connect a serial terminal to the serial port associated with the board with a baud rate of 115200. (There will be two serial ports associated with the board, connect to the first one. The second one is for debugging.) | ||
| - Flip the POWER switch to the ON position. | - Flip the POWER switch to the ON position. | ||
| - | - Wait for the boot sequence to complete. If the serial terminal wasn't connected until after the board fully booted, the serial terminal will be blank. In this case, press enter to see the login prompt. | + | - Wait for the boot sequence to complete. |
| - | - Log into the board with the username and password " | + | - Log into the board with the username |
| At this point, a command shell with root privileges has been opened into the Out-of-Box demo's PetaLinux OS. | At this point, a command shell with root privileges has been opened into the Out-of-Box demo's PetaLinux OS. | ||
| Line 62: | Line 65: | ||
| <WRAP round important 660px> | <WRAP round important 660px> | ||
| ==Important== | ==Important== | ||
| - | When finished using the Genesys ZU, make sure to safely shut down the OS through the shell. | + | When finished using the Genesys ZU, make sure to safely shut down the OS through the shell. |
| + | < | ||
| </ | </ | ||
| Line 70: | Line 74: | ||
| Several test scripts are built into the OS. These can be found in the /usr/bin directory, and are listed below: | Several test scripts are built into the OS. These can be found in the /usr/bin directory, and are listed below: | ||
| - | // | + | // |
| |<75% 20% 80%>| | |<75% 20% 80%>| | ||
| - | ^ Test Name ^ Description | + | ^ Test Name ^ Description |
| - | | DP-bist | + | | DP-bist |
| - | | DP-bist-wrapper | + | | DP-bist-wrapper |
| - | | network-bist | + | | network-bist |
| - | | pci-bist | + | | pci-bist |
| - | | rtc-test | + | | rtc-test |
| - | | sim-bist | + | | sim-bist |
| - | | sysmon | + | | sysmon |
| - | | type-c-dir | + | | type-c-dir |
| - | | uio-test | + | | uio-test |
| - | | usb-bist | + | | usb-bist |
| - | | usb-reset | + | | usb-reset |
| - | | wifi-bist | + | | wifi-bist |
| - | | zuca-test-suite | + | | zuca-test-suite |
| - | Further information on these tests can be found by reviewing the test scripts on the board with a built-in text editor, or by viewing their sources on GitHub: [[https:// | + | Further information on these tests can be found by reviewing the test scripts on the board with a built-in text editor |
| ---- | ---- | ||
| Line 107: | Line 111: | ||
| === Inventory === | === Inventory === | ||
| * Computer running Linux with the following software installed: | * Computer running Linux with the following software installed: | ||
| - | * Vivado | + | * Vivado |
| * // | * // | ||
| * Make sure that the installation includes support for Zynq Ultrascale parts. | * Make sure that the installation includes support for Zynq Ultrascale parts. | ||
| - | * Petalinux | + | * Petalinux |
| - | * // | + | * // |
| * Github repositories for the Hardware and Software components of the Out-of-Box demo. \\ **Note:** //How to clone these repositories is discussed in further detail below.// | * Github repositories for the Hardware and Software components of the Out-of-Box demo. \\ **Note:** //How to clone these repositories is discussed in further detail below.// | ||
| - | * [[https:// | + | * [[https:// |
| - | * [[https:// | + | |
| **Important: | **Important: | ||
| - | * The original sources used to produce the image found on the SD card shipped with the Genesys ZU can be found in the commits tagged " | + | * The original sources used to produce the image found on the SD card shipped with the Genesys ZU-3EG rev B can be found in the commits tagged " |
| * [[https:// | * [[https:// | ||
| * [[https:// | * [[https:// | ||
| + | * The original sources used to produce the image found on the SD card shipped with the Genesys ZU (both variants) rev D can be found under tag "< | ||
| + | * [[https:// | ||
| + | * [[https:// | ||
| ---- | ---- | ||
| Line 129: | Line 135: | ||
| Change directory into the cloned repository' | Change directory into the cloned repository' | ||
| < | < | ||
| - | Next, find and check out the -master < | + | Next, find and check out the oob/master < |
| < | < | ||
| - | git checkout < | + | git checkout <branch/tag> |
| git submodule update --init --recursive | git submodule update --init --recursive | ||
| </ | </ | ||
| Line 154: | Line 160: | ||
| In the TCL console at the bottom of the Vivado window, use the following command to recreate the Vivado project from its sources, where <repo path> represents the full path to the cloned repository: | In the TCL console at the bottom of the Vivado window, use the following command to recreate the Vivado project from its sources, where <repo path> represents the full path to the cloned repository: | ||
| < | < | ||
| - | source <repo path>/proj/create_project.tcl | + | source <repo path>/digilent-vivado-scripts/digilent_vivado_checkout.tcl |
| </ | </ | ||
| - | **Note:** //An additional script, cleanup.sh, has been been placed in the proj directory of the repository. This script can be used to delete project files to return the proj directory to a state where the project can be recreated from source again.// | + | |
| </ | </ | ||
| {{ : | {{ : | ||
| Line 194: | Line 200: | ||
| Change directory into the cloned repository' | Change directory into the cloned repository' | ||
| < | < | ||
| - | Check out the -master < | + | Check out the oob/master < |
| - | < | + | < |
| + | git submodule update --init --recursive</ | ||
| </ | </ | ||
| {{ : | {{ : | ||
| Line 220: | Line 227: | ||
| Any changes in Vivado to the set of IP connected to the processor over AXI require that the system-user.dtsi file be edited to associate the connected IP with compatible drivers. | Any changes in Vivado to the set of IP connected to the processor over AXI require that the system-user.dtsi file be edited to associate the connected IP with compatible drivers. | ||
| - | Additional information on what can be changed and how can be found in Xilinx' | + | Additional information on what can be changed and how can be found in Xilinx' |
| </ | </ | ||
| {{ : | {{ : | ||
| Line 249: | Line 256: | ||
| A microSD card used to boot Petalinux must first be formatted with a FAT32 filesystem, and the build outputs BOOT.bin and image.ub must be placed within the first partition. A variety of techniques can be used to accomplish this, for example, the dd command command can be used to format the card. | A microSD card used to boot Petalinux must first be formatted with a FAT32 filesystem, and the build outputs BOOT.bin and image.ub must be placed within the first partition. A variety of techniques can be used to accomplish this, for example, the dd command command can be used to format the card. | ||
| - | Once the SD card has been installed, the board can be booted as seen in the [[# | + | Once the SD card has been installed, the board can be booted as seen in the [[# |
| </ | </ | ||
| {{: | {{: | ||
| </ | </ | ||
| + | ---- | ||
| + | ===== Getting the Out-of-Box Image ===== | ||
| + | * The Out-of-box image files can be found under tag "< | ||
| + | * [[https:// | ||
| + | * [[https:// | ||
| + | * Instructions for Windows: | ||
| + | - Click on the link corresponding to your board version, and download the genesys-zu-version.img.gz file, and uncompress it. | ||
| + | - Download a tool, like [[https:// | ||
| + | - Plug in the SD card into your PC (for example via SD card adapter). The SD card is located in the SD card slot, which can be opened by pulling it slightly in the direction of the cooler. | ||
| + | - Select your SD card as SD drive, your uncompressed image file as Image file, and click on the Write button. | ||
| + | - Wait for the SD Imager to terminate the write, then click on the Exit button. | ||
| + | - Eject the SD card, unplug it, and put it back into the SD card slot of the board. | ||
| + | * Instructions for Linux: | ||
| + | - Click on the link corresponding to your board version, and download the genesys-zu-version.img.gz file, and uncompress it. | ||
| + | - Plug in the SD card into your PC (for example via SD card adapter). The SD card is located in the SD card slot, which can be opened by pulling it slightly in the direction of the cooler. | ||
| + | - Your card must appear in the /dev/ folder. | ||
| + | - Copy the uncompressed image file with the dd command:< | ||
| + | - Eject the SD card, unplug it, and put it back into the SD card slot of the board. | ||
| ---- | ---- | ||
| ===== Final Thoughts ===== | ===== Final Thoughts ===== | ||

