element14 Community
element14 Community
    Register Log In
  • Site
  • Search
  • Log In Register
  • Community Hub
    Community Hub
    • What's New on element14
    • Feedback and Support
    • Benefits of Membership
    • Personal Blogs
    • Members Area
    • Achievement Levels
  • Learn
    Learn
    • Ask an Expert
    • eBooks
    • element14 presents
    • Learning Center
    • Tech Spotlight
    • STEM Academy
    • Webinars, Training and Events
    • Learning Groups
  • Technologies
    Technologies
    • 3D Printing
    • FPGA
    • Industrial Automation
    • Internet of Things
    • Power & Energy
    • Sensors
    • Technology Groups
  • Challenges & Projects
    Challenges & Projects
    • Design Challenges
    • element14 presents Projects
    • Project14
    • Arduino Projects
    • Raspberry Pi Projects
    • Project Groups
  • Products
    Products
    • Arduino
    • Avnet & Tria Boards Community
    • Dev Tools
    • Manufacturers
    • Multicomp Pro
    • Product Groups
    • Raspberry Pi
    • RoadTests & Reviews
  • About Us
    About the element14 Community
  • Store
    Store
    • Visit Your Store
    • Choose another store...
      • Europe
      •  Austria (German)
      •  Belgium (Dutch, French)
      •  Bulgaria (Bulgarian)
      •  Czech Republic (Czech)
      •  Denmark (Danish)
      •  Estonia (Estonian)
      •  Finland (Finnish)
      •  France (French)
      •  Germany (German)
      •  Hungary (Hungarian)
      •  Ireland
      •  Israel
      •  Italy (Italian)
      •  Latvia (Latvian)
      •  
      •  Lithuania (Lithuanian)
      •  Netherlands (Dutch)
      •  Norway (Norwegian)
      •  Poland (Polish)
      •  Portugal (Portuguese)
      •  Romania (Romanian)
      •  Russia (Russian)
      •  Slovakia (Slovak)
      •  Slovenia (Slovenian)
      •  Spain (Spanish)
      •  Sweden (Swedish)
      •  Switzerland(German, French)
      •  Turkey (Turkish)
      •  United Kingdom
      • Asia Pacific
      •  Australia
      •  China
      •  Hong Kong
      •  India
      •  Japan
      •  Korea (Korean)
      •  Malaysia
      •  New Zealand
      •  Philippines
      •  Singapore
      •  Taiwan
      •  Thailand (Thai)
      •  Vietnam
      • Americas
      •  Brazil (Portuguese)
      •  Canada
      •  Mexico (Spanish)
      •  United States
      Can't find the country/region you're looking for? Visit our export site or find a local distributor.
  • Translate
  • Profile
  • Settings
Avnet Boards Forums
  • Products
  • Dev Tools
  • Avnet & Tria Boards Community
  • Avnet Boards Forums
  • More
  • Cancel
Avnet Boards Forums
Avnet Boards General Relation between vivado and yocto on zedboard?
  • Forum
  • Documents
  • Members
  • Mentions
  • Sub-Groups
  • Tags
  • More
  • Cancel
  • New
Join Avnet Boards Forums to participate - click to join for free!
Actions
  • Share
  • More
  • Cancel
Forum Thread Details
  • State Not Answered
  • Replies 4 replies
  • Subscribers 367 subscribers
  • Views 500 views
  • Users 0 members are here
Related

Relation between vivado and yocto on zedboard?

Former Member
Former Member over 9 years ago

Dear, 

I've followed architect's guide (http://architechboards-zedboard.readthedocs.io/en/latest/index.html) to install yocto, and now i have yocto running on zedboard.

Now I have 2 problems:

1- When I program the fpga from vivado or sdk  the yocto seems freezing, as the terminal throug usb uart becomes inactive, any idea why and how can I program fpga and keep yocto running?

2- how to create an application in vivad sdk which targeting yocto, so that the elf file will run on yocto?

Thanks

  • Sign in to reply
  • Cancel
  • zedhed
    0 zedhed over 9 years ago

    Hi jhonnylamma,

    It sounds like you are using the USB-JTAG to download the code to the ZedBoard target AFTER Yocto has booted, correct?

    For #1, when PL code is downloaded via JTAG it is important to not have the PS interacting with the PL while the PL configuration is changing.  See this thread here for more details:

    https://forums.xilinx.com/t5/Embedded-Linux/Zynq-board-load-a-bitstream-in-fpga-form-linux/td-p/276930

    For #2, Since you are running Linux on the target you can use SDK to develop a Linux user space application.  Take a look at this video from Xilinx:

    https://www.xilinx.com/video/soc/debug-linux-application-using-xilinx-sdk.html

    Regards,

    -Kevin

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • Former Member
    0 Former Member over 9 years ago

    thanks for your reply zedhed, 

    0- No, I am not using USB-JTAG, I am using normal usb cable to program the fpga. BTW, what is the USB-JTAG, and why to use it if we can program zynq by normal usb cable? And yes, I poweron zedboard, open a terminal, connect to zedboard COM port and see the yocto booting tilll it requests the login credentials, then I open vivado or sdk and program the fpga, after the fpga got programmed, the terminal become inactive.

    1- PS dont have any interaction with PL, just have yocto on it, I want then to program the PL with keeping the yocto running to be able to develop an app which can interact with the zedboard LEDs, got me?

     

    2-  I tried to follow the video instructions, but I am facing 3 problems:

      a- When I create simple hello world app and build it then transfer it to PS then make it executable, then run it, yocto telling me that the file is not there.

      b- When I choose a sysroot pointing to my rootfs then trying to build it, it says that toolchain must be selected.

      c- when I change the toolchain to ARM GNU/LINUX, the compiled app works on yocto, but cant include xi_io.h or any xi_* header files

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • jafoste4
    0 jafoste4 over 9 years ago

    Hello Jhonnylamma,

    You seem to be a bit confused in regards to how you are programming your Zedboard. When you say you are programming your ZedBoard by USB  I believe you mean USB-JTAG. The JTAG connector is pre built into your ZedBoard at the J17 Micro B USB connector. See page 12 of the "ZedBoard Hardware User Guide".

    http://zedboard.org/support/documentation/1521

    So when you plug your USB cable into J17, you are indeed using USB-JTAG to program your board. JTAG is one of 3 boot (programming) methods offered on Zedboard. The other two are QSPI and SD card boot. JTAG is stored in volatile memory while QSPi and SD Card boot are both non-volatile memory.

    As you seem relatively new to Zynq develpoment, am going to suggest you go through our Developing Zynq Software Speedway course.

    http://zedboard.org/course/developing-zynq%C2%AE-7000-all-programmable-soc-software-vivado-20133-201441-20152-and-20162

    This will help you obtain a better understanding of how all the different boot/programming methods work.

    --Josh

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • Former Member
    0 Former Member over 9 years ago

    I see sir, and thanks for your clarifications and training link. :)

    What I meant by I am not using jtag usb cable is that i am not using this cable: 

    image

    instead i am using normal usb cable.

    What about my original problem?

    1- When I program the fpga from vivado or sdk  the yocto seems freezing, as the terminal throug usb uart becomes inactive, any idea why and how can I program fpga and keep yocto running?
    2- how to create an application in vivad sdk which targeting yocto, so that the elf file will run on yocto?
    Thanks

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
element14 Community

element14 is the first online community specifically for engineers. Connect with your peers and get expert answers to your questions.

  • Members
  • Learn
  • Technologies
  • Challenges & Projects
  • Products
  • Store
  • About Us
  • Feedback & Support
  • FAQs
  • Terms of Use
  • Privacy Policy
  • Legal and Copyright Notices
  • Sitemap
  • Cookies

An Avnet Company © 2026 Premier Farnell Limited. All Rights Reserved.

Premier Farnell Ltd, registered in England and Wales (no 00876412), registered office: Farnell House, Forge Lane, Leeds LS12 2NE.

ICP 备案号 10220084.

Follow element14

  • X
  • Facebook
  • linkedin
  • YouTube