Author Topic: After generate bitstream, What should do the next?  (Read 579 times)

jinyu

  • Active Member
  • *
  • Posts: 20
After generate bitstream, What should do the next?
« on: April 11, 2018, 03:32:05 PM »
Hi,

   Need help , Now I have go through the  implementation, then generated the bitstream successfully , I don't konw what should  do the next. ,please give me

some  advice .

here is my procedure :

       1. click  File > export > export hardware
       
       2. click  File  > Launch SDK

       3.If there have  a Arty z7020 board then I should  use JTAG connect my hardward to my laptop
 
       4. In SDK , right click  zsys_wraper_hw_platform_0 > program FPGA

         is it right ? don't know much about fpga , any help would be appreciate

  best regards
« Last Edit: April 11, 2018, 04:18:29 PM by jinyu »

Andrei Errapart

  • Active Member
  • *
  • Posts: 20
Re: After generate bitstream, What should do the next?
« Reply #1 on: April 11, 2018, 04:15:59 PM »
It looks like you're working on the HLS project.

The steps you did are not necessary. Please use the following TCL commands:
  TE::hw_build_design
  TE::sw_run_hsi

These commands generate the file "BOOT.BIN". You can find description of these commands at https://wiki.trenz-electronic.de/display/PD/Project+Delivery .

You can either use the prebuilt Petalinux image file "image.ub" or build your own customized version by following the instructions in https://wiki.trenz-electronic.de/display/PD/PetaLinux+KICKstart .

Copy these two files to the SD card and boot the Arty Z7-20 from it. That's all.
« Last Edit: April 11, 2018, 04:37:51 PM by Andrei Errapart »

jinyu

  • Active Member
  • *
  • Posts: 20
Re: After generate bitstream, What should do the next?
« Reply #2 on: April 11, 2018, 04:42:52 PM »

Yes you are right. it is the HLS project ,thanks for your reply ,you have solved my problems .but Next step I want to transplant it on my  zedboard platform so I don't know if

the TCL command are works .


best regards

JH

  • Hero Member
  • *****
  • Posts: 608
Re: After generate bitstream, What should do the next?
« Reply #3 on: April 12, 2018, 09:25:07 AM »
Hi,

TE::hw_build_design
is nearly the same like press "Generate Bitfile" on Vivado GUI

TE::sw_run_hsi
is script based form of SDK: export HDF, open SDK, include local repository, generate applications, FSBL...Boot.bin
for Linux&Uboot you must use HDF with petalinux and generate this files with the template petalinux project. Use SDK to generate Boot.bin with FSBL, bitfile and uboot.elf.

See: https://wiki.trenz-electronic.de/display/PD/Project+Delivery

br
John

jinyu

  • Active Member
  • *
  • Posts: 20
Re: After generate bitstream, What should do the next?
« Reply #4 on: April 12, 2018, 10:20:30 AM »

  HI, John

    OK, I understand ;D 。 and I had installed the TCL command with your help .It will save a lot of time for me ~ thank you very much~


best regards