Amin

Members
  • Content Count

    11
  • Joined

  • Last visited

  1. Sorry for my delay. No, just a red LED is turned on. To clarify, I just followed the instructions in the link. Do I need to any configuration inside Vivado or SDK?
  2. I properly followed all the instructions, and I used the three files you gave (BOOT.bin, rootfs.ext4, etc), but my processor does not give any feedback on UART when I boot it from microSD card. Although, I get some feedback when I load it using default Zybo program.
  3. I just need to run a Linux on PS, because I want to use a library prebuilt for Linux in my code running on the ARM processor. Would you please give me prebuilt files you are talking about. I think I can use the Linux installing section of this guide (step 2), which is for Zybo (https://reference.digilentinc.com/learn/programmable-logic/tutorials/zybo-zybot-guide/start) with your files for Zybo Z7-20 https://github.com/ARM-software/ComputeLibrary They used Linux armv7a: gcc-linaro-4.9-2016.02-x86_64_arm-linux-gnueabihf toolchain for building the binaries.
  4. Can I install Petalinux/any Linux using Windows?
  5. Can someone guide me how to get Petalinux working on Zybo Z7-20? I am using Vivado and SDK 2018.3 on Windows 10. I prefer using prebuilt images and files if they are available. I found this link, but it seems it is very old, and I am not sure if I can use it on my version of Vivado and SDK: https://github.com/Digilent/Petalinux-Zybo-Z7-20 The Xilinx links for Petalinux are available here: https://www.xilinx.com/support/download/index.html/content/xilinx/en/downloadNav/embedded-design-tools.html If there exists any other easy method for installing any type of Linux please help me.
  6. Thank you for the C code. Could you guide me what will be the possible programmer logic block diagrams or Verilog code? (for simulation and real-time)
  7. I am doing an image processing (not video) with Zybo Z7, and I am writing my own algorithm in C and C++ language for the image processing algorithm. For the simulation (without camera), I have some ready photos that can be loaded from SD card and then I want to test the performance of my algorithm on. I know Xilinx provide xsdps driver for the SD card, but I don't know how to use it for my project. But For the real application, the image processing will be done on the photos that are taken regularly by a camera. My priority, for now, is to first test my code using simulation. Could someone provide me a tutorial or a sample project? All the tutorials on the internet are about processing Video (not simple images)
  8. Is there any way to do image processing on a single image (not video) stand alone? Is really OS needed? I am following this tutorial but it is about the video: https://www.instructables.com/id/Quick-Start-Test-Demo-Zybo-Xlinx-Zynq-7000-Image-F/
  9. Thanks for your answer, I think I can not use my license two times for installing the software, but I will try to find another computer to try that on.
  10. Thanks for the thread. So I think it is a common problem for building release configuration! I am sticking to debug building for the moment, and I may try release building later.
  11. I wanted to run a simple program on my Zybo-Z7-20 (following this tutorial: link) using SDSoC, but the building takes forever and stuck on 25%. Can someone help me? I downloaded the platform for my board from here. this is the console output : 00:25:38 **** Build of configuration Release for project lab1 **** make pre-build main-build sdsoc_make_clean Release ' ' 'Building file: ../src/madd.cpp' 'Invoking: SDS++ Compiler' sds++ -Wall -O3 -I"../src" -c -fmessage-length=0 -MT"src/madd.o" -MMD -MP -MF"src/madd.d" -MT"src/madd.o" -o "src/madd.o" "../src/madd.cpp" -sds-hw mmult mmult.cpp -clkid 0 -sds-end -sds-hw madd madd.cpp -clkid 0 -sds-end -sds-sys-config linux -sds-proc linux -sds-pf "D:\Xilinx_Workspace\SDSoC-Zybo-Z7-20-v2017.4-1\zybo_z7_20" Processing -sds-hw block for madd Create data motion intermediate representation D:\Xilinx_Workspace\lab1\Release>D:\Xilinx\SDx\2018.2\llvm-clang\win64\llvm\bin\clang.exe -I../src -Wall -fmessage-length=0 -MMD -MP -D SDSCC -target arm-linux-gnueabihf -mcpu=cortex-a9 -mfpu=vfpv3 -mfloat-abi=hard -O0 -g -I D:/Xilinx/SDx/2018.2/target/aarch32-linux/include -D HLS_NO_XIL_FPO_LIB -I D:/Xilinx/Vivado/2018.2/include -ID:/Xilinx/SDK/2018.2/gnu/aarch32/nt/gcc-arm-linux-gnueabi/arm-linux-gnueabihf/include/c++/7.2.1 -ID:/Xilinx/SDK/2018.2/gnu/aarch32/nt/gcc-arm-linux-gnueabi/arm-linux-gnueabihf/include/c++/7.2.1/arm-linux-gnueabihf -ID:/Xilinx/SDK/2018.2/gnu/aarch32/nt/gcc-arm-linux-gnueabi/arm-linux-gnueabihf/include/c++/7.2.1/backward -ID:/Xilinx/SDK/2018.2/gnu/aarch32/nt/gcc-arm-linux-gnueabi/lib/gcc/arm-linux-gnueabihf/7.2.1/include -ID:/Xilinx/SDK/2018.2/gnu/aarch32/nt/gcc-arm-linux-gnueabi/lib/gcc/arm-linux-gnueabihf/7.2.1/include-fixed -ID:/Xilinx/SDK/2018.2/gnu/aarch32/nt/gcc-arm-linux-gnueabi/arm-linux-gnueabihf/include -ID:/Xilinx/SDK/2018.2/gnu/aarch32/nt/gcc-arm-linux-gnueabi/arm-linux-gnueabihf/libc/usr/include -std=c++11 -emit-llvm -S D:/Xilinx_Workspace/lab1/src/madd.cpp -o D:/Xilinx_Workspace/lab1/Release/_sds/.llvm/src/madd.s D:\Xilinx_Workspace\lab1\Release>exit /b 0 Performing accelerator source linting for madd Performing pragma generation D:\Xilinx_Workspace\lab1\Release>D:\Xilinx\SDx\2018.2\llvm-clang\win64\llvm\bin\clang.exe -E -ID:/Xilinx_Workspace/lab1/src -Wall -fmessage-length=0 -MMD -MP -D SDSCC -m32 -D HLS_NO_XIL_FPO_LIB -I D:/Xilinx/SDx/2018.2/target/aarch32-linux/include -ID:/Xilinx_Workspace/lab1/src -D SDSVHLS -target arm-linux-gnueabihf -mcpu=cortex-a9 -mfpu=vfpv3 -mfloat-abi=hard -O0 -g -w -I D:/Xilinx/SDx/2018.2/target/aarch32-linux/include -D HLS_NO_XIL_FPO_LIB -I D:/Xilinx/Vivado/2018.2/include -ID:/Xilinx/SDK/2018.2/gnu/aarch32/nt/gcc-arm-linux-gnueabi/arm-linux-gnueabihf/include/c++/7.2.1 -ID:/Xilinx/SDK/2018.2/gnu/aarch32/nt/gcc-arm-linux-gnueabi/arm-linux-gnueabihf/include/c++/7.2.1/arm-linux-gnueabihf -ID:/Xilinx/SDK/2018.2/gnu/aarch32/nt/gcc-arm-linux-gnueabi/arm-linux-gnueabihf/include/c++/7.2.1/backward -ID:/Xilinx/SDK/2018.2/gnu/aarch32/nt/gcc-arm-linux-gnueabi/lib/gcc/arm-linux-gnueabihf/7.2.1/include -ID:/Xilinx/SDK/2018.2/gnu/aarch32/nt/gcc-arm-linux-gnueabi/lib/gcc/arm-linux-gnueabihf/7.2.1/include-fixed -ID:/Xilinx/SDK/2018.2/gnu/aarch32/nt/gcc-arm-linux-gnueabi/arm-linux-gnueabihf/include -ID:/Xilinx/SDK/2018.2/gnu/aarch32/nt/gcc-arm-linux-gnueabi/arm-linux-gnueabihf/libc/usr/include -std=c++11 D:/Xilinx_Workspace/lab1/src/madd.cpp -o D:/Xilinx_Workspace/lab1/Release/_sds/vhls/madd_pp.cpp D:\Xilinx_Workspace\lab1\Release>exit /b 0 INFO: [PragmaGen 83-3231] Successfully generated tcl script: D:/Xilinx_Workspace/lab1/Release/_sds/vhls/madd.tcl Moving function madd to Programmable Logic sds++ log file saved as D:/Xilinx_Workspace/lab1/Release/_sds/reports/sds_madd.log 'Finished building: ../src/madd.cpp' ' ' 'Building file: ../src/main.cpp' 'Invoking: SDS++ Compiler' sds++ -Wall -O3 -I"../src" -c -fmessage-length=0 -MT"src/main.o" -MMD -MP -MF"src/main.d" -MT"src/main.o" -o "src/main.o" "../src/main.cpp" -sds-hw mmult mmult.cpp -clkid 0 -sds-end -sds-hw madd madd.cpp -clkid 0 -sds-end -sds-sys-config linux -sds-proc linux -sds-pf "D:\Xilinx_Workspace\SDSoC-Zybo-Z7-20-v2017.4-1\zybo_z7_20" Create data motion intermediate representation D:\Xilinx_Workspace\lab1\Release>D:\Xilinx\SDx\2018.2\llvm-clang\win64\llvm\bin\clang.exe -I../src -Wall -fmessage-length=0 -MMD -MP -D SDSCC -target arm-linux-gnueabihf -mcpu=cortex-a9 -mfpu=vfpv3 -mfloat-abi=hard -O0 -g -I D:/Xilinx/SDx/2018.2/target/aarch32-linux/include -D HLS_NO_XIL_FPO_LIB -I D:/Xilinx/Vivado/2018.2/include -ID:/Xilinx/SDK/2018.2/gnu/aarch32/nt/gcc-arm-linux-gnueabi/arm-linux-gnueabihf/include/c++/7.2.1 -ID:/Xilinx/SDK/2018.2/gnu/aarch32/nt/gcc-arm-linux-gnueabi/arm-linux-gnueabihf/include/c++/7.2.1/arm-linux-gnueabihf -ID:/Xilinx/SDK/2018.2/gnu/aarch32/nt/gcc-arm-linux-gnueabi/arm-linux-gnueabihf/include/c++/7.2.1/backward -ID:/Xilinx/SDK/2018.2/gnu/aarch32/nt/gcc-arm-linux-gnueabi/lib/gcc/arm-linux-gnueabihf/7.2.1/include -ID:/Xilinx/SDK/2018.2/gnu/aarch32/nt/gcc-arm-linux-gnueabi/lib/gcc/arm-linux-gnueabihf/7.2.1/include-fixed -ID:/Xilinx/SDK/2018.2/gnu/aarch32/nt/gcc-arm-linux-gnueabi/arm-linux-gnueabihf/include -ID:/Xilinx/SDK/2018.2/gnu/aarch32/nt/gcc-arm-linux-gnueabi/arm-linux-gnueabihf/libc/usr/include -std=c++11 -emit-llvm -S D:/Xilinx_Workspace/lab1/src/main.cpp -o D:/Xilinx_Workspace/lab1/Release/_sds/.llvm/src/main.s D:\Xilinx_Workspace\lab1\Release>exit /b 0 Compiling D:/Xilinx_Workspace/lab1/src/main.cpp sds++ log file saved as D:/Xilinx_Workspace/lab1/Release/_sds/reports/sds_main.log 'Finished building: ../src/main.cpp' ' ' 'Building file: ../src/mmult.cpp' 'Invoking: SDS++ Compiler' sds++ -Wall -O3 -I"../src" -c -fmessage-length=0 -MT"src/mmult.o" -MMD -MP -MF"src/mmult.d" -MT"src/mmult.o" -o "src/mmult.o" "../src/mmult.cpp" -sds-hw mmult mmult.cpp -clkid 0 -sds-end -sds-hw madd madd.cpp -clkid 0 -sds-end -sds-sys-config linux -sds-proc linux -sds-pf "D:\Xilinx_Workspace\SDSoC-Zybo-Z7-20-v2017.4-1\zybo_z7_20" Processing -sds-hw block for mmult Create data motion intermediate representation D:\Xilinx_Workspace\lab1\Release>D:\Xilinx\SDx\2018.2\llvm-clang\win64\llvm\bin\clang.exe -I../src -Wall -fmessage-length=0 -MMD -MP -D SDSCC -target arm-linux-gnueabihf -mcpu=cortex-a9 -mfpu=vfpv3 -mfloat-abi=hard -O0 -g -I D:/Xilinx/SDx/2018.2/target/aarch32-linux/include -D HLS_NO_XIL_FPO_LIB -I D:/Xilinx/Vivado/2018.2/include -ID:/Xilinx/SDK/2018.2/gnu/aarch32/nt/gcc-arm-linux-gnueabi/arm-linux-gnueabihf/include/c++/7.2.1 -ID:/Xilinx/SDK/2018.2/gnu/aarch32/nt/gcc-arm-linux-gnueabi/arm-linux-gnueabihf/include/c++/7.2.1/arm-linux-gnueabihf -ID:/Xilinx/SDK/2018.2/gnu/aarch32/nt/gcc-arm-linux-gnueabi/arm-linux-gnueabihf/include/c++/7.2.1/backward -ID:/Xilinx/SDK/2018.2/gnu/aarch32/nt/gcc-arm-linux-gnueabi/lib/gcc/arm-linux-gnueabihf/7.2.1/include -ID:/Xilinx/SDK/2018.2/gnu/aarch32/nt/gcc-arm-linux-gnueabi/lib/gcc/arm-linux-gnueabihf/7.2.1/include-fixed -ID:/Xilinx/SDK/2018.2/gnu/aarch32/nt/gcc-arm-linux-gnueabi/arm-linux-gnueabihf/include -ID:/Xilinx/SDK/2018.2/gnu/aarch32/nt/gcc-arm-linux-gnueabi/arm-linux-gnueabihf/libc/usr/include -std=c++11 -emit-llvm -S D:/Xilinx_Workspace/lab1/src/mmult.cpp -o D:/Xilinx_Workspace/lab1/Release/_sds/.llvm/src/mmult.s D:\Xilinx_Workspace\lab1\Release>exit /b 0 Performing accelerator source linting for mmult Performing pragma generation D:\Xilinx_Workspace\lab1\Release>D:\Xilinx\SDx\2018.2\llvm-clang\win64\llvm\bin\clang.exe -E -ID:/Xilinx_Workspace/lab1/src -Wall -fmessage-length=0 -MMD -MP -D SDSCC -m32 -D HLS_NO_XIL_FPO_LIB -I D:/Xilinx/SDx/2018.2/target/aarch32-linux/include -ID:/Xilinx_Workspace/lab1/src -D SDSVHLS -target arm-linux-gnueabihf -mcpu=cortex-a9 -mfpu=vfpv3 -mfloat-abi=hard -O0 -g -w -I D:/Xilinx/SDx/2018.2/target/aarch32-linux/include -D HLS_NO_XIL_FPO_LIB -I D:/Xilinx/Vivado/2018.2/include -ID:/Xilinx/SDK/2018.2/gnu/aarch32/nt/gcc-arm-linux-gnueabi/arm-linux-gnueabihf/include/c++/7.2.1 -ID:/Xilinx/SDK/2018.2/gnu/aarch32/nt/gcc-arm-linux-gnueabi/arm-linux-gnueabihf/include/c++/7.2.1/arm-linux-gnueabihf -ID:/Xilinx/SDK/2018.2/gnu/aarch32/nt/gcc-arm-linux-gnueabi/arm-linux-gnueabihf/include/c++/7.2.1/backward -ID:/Xilinx/SDK/2018.2/gnu/aarch32/nt/gcc-arm-linux-gnueabi/lib/gcc/arm-linux-gnueabihf/7.2.1/include -ID:/Xilinx/SDK/2018.2/gnu/aarch32/nt/gcc-arm-linux-gnueabi/lib/gcc/arm-linux-gnueabihf/7.2.1/include-fixed -ID:/Xilinx/SDK/2018.2/gnu/aarch32/nt/gcc-arm-linux-gnueabi/arm-linux-gnueabihf/include -ID:/Xilinx/SDK/2018.2/gnu/aarch32/nt/gcc-arm-linux-gnueabi/arm-linux-gnueabihf/libc/usr/include -std=c++11 D:/Xilinx_Workspace/lab1/src/mmult.cpp -o D:/Xilinx_Workspace/lab1/Release/_sds/vhls/mmult_pp.cpp D:\Xilinx_Workspace\lab1\Release>exit /b 0 INFO: [PragmaGen 83-3231] Successfully generated tcl script: D:/Xilinx_Workspace/lab1/Release/_sds/vhls/mmult.tcl Moving function mmult to Programmable Logic sds++ log file saved as D:/Xilinx_Workspace/lab1/Release/_sds/reports/sds_mmult.log 'Finished building: ../src/mmult.cpp' ' ' 'Building target: lab1.elf' 'Invoking: SDS++ Linker' sds++ --remote_ip_cache D:/Xilinx_Workspace/ip_cache -o "lab1.elf" ./src/madd.o ./src/main.o ./src/mmult.o -dmclkid 0 -sds-sys-config linux -sds-proc linux -sds-pf "D:\Xilinx_Workspace\SDSoC-Zybo-Z7-20-v2017.4-1\zybo_z7_20" Analyzing object files ... D:/Xilinx_Workspace/lab1/Release/src/madd.o ... D:/Xilinx_Workspace/lab1/Release/src/main.o ... D:/Xilinx_Workspace/lab1/Release/src/mmult.o Generating data motion network D:\Xilinx_Workspace\lab1\Release>D:\Xilinx\SDx\2018.2\llvm-clang\win64\llvm\bin\llvm-link.exe -o D:/Xilinx_Workspace/lab1/Release/_sds/.llvm/sds_all.o D:/Xilinx_Workspace/lab1/Release/_sds/.llvm/./src/madd.s D:/Xilinx_Workspace/lab1/Release/_sds/.llvm/./src/main.s D:/Xilinx_Workspace/lab1/Release/_sds/.llvm/./src/mmult.s D:\Xilinx_Workspace\lab1\Release>exit /b 0 D:\Xilinx_Workspace\lab1\Release\_sds\.llvm>opt -disable-output -mem2reg -basicaa -XidanePass --platform zybo_z7_20 --dmclkid 0 --repo D:/Xilinx_Workspace/lab1/Release/_sds/.cdb/xd_ip_db.xml --dmdb D:/Xilinx/SDx/2018.2/data/DM.db -os linux -processor cortex-a9 -partition 0 0<sds_all.o INFO: [DMAnalysis 83-4494] Analyzing hardware accelerators... INFO: [DMAnalysis 83-4497] Analyzing callers to hardware accelerators... INFO: [DMAnalysis 83-4444] Scheduling data transfer graph for partition 0 INFO: [DMAnalysis 83-4446] Creating data motion network hardware for partition 0 INFO: [DMAnalysis 83-4448] Creating software stub functions for partition 0 INFO: [DMAnalysis 83-4450] Generating data motion network report for partition 0 INFO: [DMAnalysis 83-4454] Rewriting caller code Creating block diagram (BD) Creating top.bd.tcl Rewrite caller functions Compile caller rewrite file D:/Xilinx_Workspace/lab1/Release/_sds/swstubs/main.cpp Prepare hardware access API functions Create accelerator stub functions Compile hardware access API functions Compile accelerator stub functions Preliminary link application ELF Enable generation of hardware programming files Enable generation of boot files Calling VPL ****** vpl v2018.2 (64-bit) **** SW Build 2258646 on Thu Jun 14 20:03:12 MDT 2018 ** Copyright 1986-2018 Xilinx, Inc. All Rights Reserved. Attempting to get a license: ap_opencl Feature available: ap_opencl INFO: [VPL 60-895] Target platform: D:/Xilinx_Workspace/SDSoC-Zybo-Z7-20-v2017.4-1/zybo_z7_20\zybo_z7_20.xpfm INFO: [VPL 60-423] Target device: zybo_z7_20 INFO: [VPL 60-1032] Extracting DSA to D:/Xilinx_Workspace/lab1/Release/_sds/p0/vivado/.local/dsa INFO: [VPL 60-251] Hardware accelerator integration...