The steps below provide a GMII2RGMII solution for PetaLinux 2016.2. Download the files in the zip file attached to this Answer Record.
1) Create the PetaLinux project from the release BSP.
{PROJECT_PATH}$ cp -r {PETALINUX_TOOLS_INSTALL}petalinux-v2016.2/petalinux-v2016.2-final/components/linux-kernel/ components/
4) Use the attached HDF to configure the project. Alternatively you can use the build-zcu102-hpcX.tcl scripts from https://github.com/fpgadeveloper/ethernet-fmc-zynq-gem/tree/master/Vivado to create the design project and generate the HDF.
{PROJECT_PATH}$ petalinux-config --get-hw-description={PATH_TO_HDF_DIRECTORY}
5) Modify the device tree {PROJECT_PATH}/subsystems/linux/configs/device-tree/system-top.dts (see attached system-top.dts) to add gmii2rgmii nodes as show below.
5) Replace the xfsbl_hooks.c file in {PROJECT_PATH}/components/bootloader/zynqmp_fsbl/ with the version from the attached ZIP file.
This patch will update the GEM clock control register in the IOU SLCR to change GEM 0 and 1 to be EMIO clocked for RX.
6) Build the PetaLinux project and package the BOOT.bin.
7) Once the target is up and running, ping from network interfaces.
文件名 | 文件大小 | File Type |
---|---|---|
zcu102-gmii2rgmii.zip | 854 KB | ZIP |
AR# 67923 | |
---|---|
日期 | 11/03/2016 |
状态 | Active |
Type | 综合文章 |
器件 | |
Tools | |
IP | |
Boards & Kits |