Page History
...
- Unzip Reference Design
IMPORTANT: Do not change base folder name after extraction!
<install_path>\TE0701_zsys_SDSoC_EDDP_FOC\zsys\ - CD to the directory and run from win terminal:
_create_win_setup.cmd
run from win terminal:
_use_virtual_drive.cmd
reply to select an virtual drive name (example X): X
reply: 0
cd X:\zsys
This is shortest possible path and directory name for building of the platform
in windows (to respect the 260 character limitations.)
NOTE: Do not change the name of the directory /zsys
It has to be identical to the shortest possible platform name “zsys”
for the Zynq 7000 targets. Enable SDSOC, set install path of Xilinx tools, set your hardware assembly option in: "design_basic_settings.cmd" Select one of these supported modules (1,4,5,6,7):
ID TE Module 1 te0720-03-2if 4 te0720-03-l1if 5 te0720-03-1cf 6 te0720-03-2ef 7 te0720-03-07s
NOTE: Selection 7 supports the TE0720-03-14S-1C module (xc7z014sclg484-1c device).- Create Reference Design: run "vivado_create_project_guimode.cmd"
- VIVADO:
TCL-Console type: TE::hw_build_design -export_prebuilt
Find hardware handoff file .hdf under prebuilt folder abd copy it to Ubuntu 16.04, with Petalinux 2017.1.
Info title IMPORTANT Before petalinux project can be built, the executable rights must be set for these files:
./init_config.sh
./project-spec/meta-user/recipes-apps/libuv/files/checksparse.sh
./project-spec/meta-user/recipes-apps/libuv/files/gyp_uv.py
./project-spec/meta-user/recipes-apps/libuv/files/autogen.sh
./project-spec/meta-user/recipes-apps/libuv/files/android-configure
./project-spec/meta-user/recipes-apps/libuv/update-src.shIn Ubuntu 16.04, build Petalinux image image.ub and uboot u-boot.elf using Petalinux BSP provided under os folder and place new images to correct subfolder in prebuilt/os
- TCL-Console type: TE::sw_run_hsi
- TCL-Console type:TE::ADV::beta_util_sdsoc_project
- Vivado project will be modified by copying constrain files locally to project.
NOTE: If needed, recreate project with batch file to restore original Vivado project with externally linked constrains.
- Vivado project will be modified by copying constrain files locally to project.
- Wait for project creation:
- SDSoC Platform is created in
- X:\zsys\SDSoC_PFM\<TE::SHORTDIR>\zsys
- Copy Copy
X:\zsys\_use_virtual_drive.cmd
to
X: \SDSoC_PFM\<TE::SHORTDIR>\zsys - Copy these two files from:
X:\zsys\init.sh
X:\zsys\focserver.conf
to
X:\SDSoC_PFM\<TE::SHORTDIR>\zsys\sw\linux\image\init.sh
X:\SDSoC_PFM\<TE::SHORTDIR>\zsys\sw\linux\image\focserver.conf - Copy directory with all files from:
X:\zsys\misc\src\
to
X: \SDSoC_PFM\<TE::SHORTDIR>\zsys\src\ - Copy directory with all files from:
X:\zsys\misc\sw\aarch32-linux\
X:\zsys\misc\sw\aarch32-none\
to
X: \SDSoC_PFM\<TE::SHORTDIR>\zsys\sw\aarch32-linux\
X: \SDSoC_PFM\<TE::SHORTDIR>\zsys\sw\ aarch32-none\
- Close current Vivado project
- Clear working project files by script
X:\zsys\design_clear_design_folders.cmd - From win terminal, execute:
_use_virtual_drive.cmd
reply to select an virtual drive name (example X): X
reply: 1
This will disconnect the virtual X: drive - Compile support libraries serving for connection to 64bit AXI I/O.
- Open the SDx Terminal 2017.1
- CD to: <install_path>\TE0701_zsys_SDSoC_EDDP_FOC\SDSoC_PFM\<TE::SHORTDIR>\zsys\src\
- In the SDx Terminal 2017.1, run batch file:
build_linux.bat - Library for the SDSoC Linux target is created:
<install_path>\TE0701_zsys_SDSoC_EDDP_FOC\SDSoC_PFM\<TE::SHORTDIR>\zsys\src\libte0720_foc.a - Move the created library libte0720_foc.a to
<install_path>\TE0701_zsys_SDSoC_EDDP_FOC\SDSoC_PFM\<TE::SHORTDIR>\zsys\sw\aarch32-linux\lib\libte0720_foc.a - Delete the created _sds directory
<install_path>\TE0701_zsys_SDSoC_EDDP_FOC\SDSoC_PFM\<TE::SHORTDIR>\zsys\src\_sds - In the SDx Terminal 2017.1, run batch file:
build_standalone.bat - Library for the SDSoC standalone target is created:
<install_path>\TE0701_zsys_SDSoC_EDDP_FOC\SDSoC_PFM\<TE::SHORTDIR>\zsys\src\libte0720_foc.a - Move the created library libte0720_foc.a to to
<install_path>\TE0701_zsys_SDSoC_EDDP_FOC\SDSoC_PFM\<TE::SHORTDIR>\zsys\sw\aarch32-none\lib\ libte0720_foc.a - Delete the created _sds directory
<install_path>\TE0701_zsys_SDSoC_EDDP_FOC\SDSoC_PFM\<TE::SHORTDIR>\zsys\src\_sds - The SDSoC platform for the target \<TE::SHORTDIR> is in
<install_path>\TE0701_zsys_SDSoC_EDDP_FOC\SDSoC_PFM\<TE::SHORTDIR> - Close the SDx Terminal 2017.1
...