Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Page properties
hiddentrue
idComments

Notes :

  • the content of the zip file

For general structure and of the reference design, see Project Delivery

...

Page properties
hiddentrue
idComments

...

TE Scripts are only needed to generate the vivado project, all other additional steps are optional and can also be executed by Xilinx Vivado/SDK GUI.  For currently Scripts limitations on Win and Linux OS see: Project Delivery Currently limitations of functionality

...

  1. Connect JTAG and power on the carrier with module
  2. Open Vivado Project with "vivado_open_existing_project_guimode.cmd" or if not created, create with "vivado_create_project_guimode.cmd"
  3. Type on Vivado TCL Console: TE::pr_program_flash_binfile -swapp u-boot
    Note: To program with SDK/Vivado GUI, use special FSBL (zynqmp_fsbl_flash) on setup
             optional "TE::pr_program_flash_binfile -swapp hello_te0726" possible
  4. Copy image.ub on SD-Card
    • For correct prebuilt file location, see <design_name>/prebuilt/readme_file_location.txt
  5. Insert SD-Card

...

Xilinx Zynq devices in CLG225 package do not support SD Card boot directly from ROM bootloader. Use QSPI for primary boot and SD for secondary boot (ubootu-boot)

JTAG

Not used on this Example.

...

  1. Prepare HW like described on in section Programming
  2. Connect UART USB (most cases same as JTAG)
  3. Insert SD Card with image.ub
  4. Power On PCB
    Note: 1. Zynq Boot ROM loads FSBL from QSPI into OCM, 2. FSBL loads U-boot from QSPI into DDR, 3. U-boot load Linux from SD into DDR

...

  1. Open Serial Console (e.g. putty)
    1. Speed: 115200
    2. COM Port: Win OS, see device manager, Linux OS see  dmesg |grep tty  (UART is *USB1)
  2. Linux Console:
    Note: Wait until Linux boot finished For Linux Login use:
    1. User Name: root
    2. Password: root
  3. You can use a Linux shell now.
    1. I2C 1 Bus type: i2cdetect -y -r 5
      Bus 0...5 possible
    2. ETH0 works with udhcpc
    3. USB: insert USB device

...

Page properties
hiddentrue
idComments

Note:

  • Description of Block Design, ConstrainsConstraints... BD Pictures from Export...

...

Scroll Title
anchorTable_PSI
titlePS Interfaces

Scroll Table Layout
orientationportrait
sortDirectionASC
repeatTableHeadersdefault
style
widths
sortByColumn1
sortEnabledfalse
cellHighlightingtrue

TypeNote
DDR---
QSPIMIO
USB0MIO, ETH over USB
SD1MIO
UART1MIO
I2C1MIO
GPIOMIO
USB RSTMIO
TTC0..1MIO
WDTMIO

...

Constraints

Basic module

...

constraints

Code Block
languageruby
title_i_bitgen_common.xdc
#
# Common BITGEN related settings for TE0726
#
set_property BITSTREAM.GENERAL.COMPRESS TRUE [current_design]
set_property CONFIG_VOLTAGE 3.3 [current_design]
set_property CFGBVS VCCO [current_design]

set_property BITSTREAM.CONFIG.UNUSEDPIN PULLUP [current_design]

Design specific

...

constraint

Software Design - SDK/HSI

...

Hello TE0726 is a Xilinx Hello World example as an endless loop instead of one console output.

...

  • petalinux-create -t project -n petalinux --template zynq
  • copy hdf file to petalinux directory
  • cd petalinux
  • petalinux-config --get-hw-description
  • leave default configuration and select "<Exit>"
  • petalinux-create -t apps -n startup --enable
  • copy/create startup app files
  • petalinux-create -t apps -n rpicam --enable
  • copy/create rpicam app files
  • petalinux-create -t modules -n te-audio-codec --enable
  • copy/create te-audio-codec module files
  • copy/modify project-spec/meta-user/recipes-bsp/device-tree/files/system-user.dtsi
  • petalinux-config -c rootfs
  • Enable Filesystem Packages → Base → i2c-tools → i2c-tools and other apps needed for your system
  • Save configuration and exit config
  • petalinux-config -c kernel
    • CONFIG_USB_USBNET
    • CONFIG_USB_NET_SMSC95XX
    • CONFIG_USBIP_CORE
    • CONFIG_FB_SIMPLE
    • SND_SIMPLE_CARD
    • CONFIG_SND_SOC_ADI_AXI_I2S
  • petalinux-build

Config

For 64MB variant only:

...

  • CONFIG_XILINX_GMII2RGMII
  • CONFIG_USB_USBNET
  • CONFIG_USB_NET_SMSC95XX
  • CONFIG_USBIP_CORE
  • CONFIG_FB_SIMPLE
  • CONFIG_SND_SIMPLE_CARD
  • CONFIG_SND_SOC_ADI_AXI_I2S

Deactivate:

  • FRAMEBUFFER_CONSOLE

Rootfs

Activate:

  • i2c-tools
  • alsa-plugins
  • alsa-lib-dev
  • libasound
  • alsa-conf-base
  • alsa-conf
  • alsa-utils
  • alsa-utils-aplay

Applications

startup

Script App to load init.sh from SD Card if available.

...