Wiki

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revisionBoth sides next revision
resources:tools-software:linux-drivers:platforms:microblaze_loading [18 May 2018 14:38] – Add 2018_r1_vc707_ad6676evb.zip file Dragos Bogdanresources:tools-software:linux-drivers:platforms:microblaze_loading [24 Jun 2019 06:42] – Added instructions for XCST command line. Kister Genesis Jimenez
Line 130: Line 130:
  
  
-There are two ways of loading the design. +There are two ways of loading the design. One is using the XMD command line. Open a xmd command window/shell and enter the commands manually.
-Open a xmd command window/shell and enter the commands manually+
-Below is just a example and the file-names may vary.+
  
 +Below is just a example and the file-names may vary.
 <WRAP box bgblue><wrap alert>Xilinx XMD command console</wrap> <WRAP box bgblue><wrap alert>Xilinx XMD command console</wrap>
 <code> <code>
Line 225: Line 224:
 </WRAP> </WRAP>
  
 +XMD has been replaced with XSCT/XSDB in newer releases of VIVADO. In windows, you can run the XSCT terminal from start menu -> Xilinx Design Tools -> Xilinx Software Command Line Tool...
 +
 +<WRAP box bgblue><wrap alert>Xilinx XSCT command console</wrap>
 +<code>
 +****** Xilinx Software Commandline Tool (XSCT) v2018.2
 +  **** Build date : Jun 14 2018-20:42:51
 +    ** Copyright 1986-2018 Xilinx, Inc. All Rights Reserved.
 +
 +
 +xsct% connect
 +attempting to launch hw_server
 +
 +****** Xilinx hw_server v2018.2
 +  **** Build date : Jun 14 2018-20:42:52
 +    ** Copyright 1986-2018 Xilinx, Inc. All Rights Reserved.
 +
 +INFO: hw_server application started
 +
 +INFO: Use Ctrl-C to exit hw_server application
 +
 +INFO: To connect to this hw_server instance use url: TCP:127.0.0.1:3121
 +
 +tcfchan#0
 +xsct% fpga -f "c:/Users/kjimenez/Documents/system_top.bit"
 +100%    8MB   1.7MB/ 00:04
 +xsct% targets
 +  1  xc7vx485t
 +      MicroBlaze Debug Module at USER2
 +        3  MicroBlaze #0 (Running)
 +xsct% target 3
 +xsct% dow "c:/Users/kjimenez/Documents/simpleImage.vc707_fmcomms2-3"
 +Downloading Program -- C:/Users/kjimenez/Documents/simpleImage.vc707_fmcomms2-3
 +        section, .text: 0x80000000 - 0x8040f40b
 +        section, __fdt_blob: 0x8040f40c - 0x8041f40b
 +        section, .rodata: 0x80420000 - 0x80570057
 +        section, .builtin_fw: 0x80570058 - 0x8057007b
 +        section, __ksymtab: 0x8057007c - 0x80576063
 +        section, __ksymtab_gpl: 0x80576064 - 0x8057abd3
 +        section, __ksymtab_strings: 0x8057abd4 - 0x80593b87
 +        section, __param: 0x80593b88 - 0x8059405f
 +        section, __modver: 0x80594060 - 0x80594fff
 +        section, __ex_table: 0x80595000 - 0x805965a7
 +        section, .notes: 0x805965a8 - 0x805965cb
 +        section, .sdata2: 0x805965cc - 0x80596fff
 +        section, .data: 0x80597000 - 0x805ba19f
 +        section, .init.text: 0x805bb000 - 0x805dbf7b
 +        section, .init.data: 0x805dbf80 - 0x805ddc5f
 +        section, .init.ivt: 0x805ddc60 - 0x805ddc87
 +        section, .init.setup: 0x805ddc88 - 0x805ddfdb
 +        section, .initcall.init: 0x805ddfdc - 0x805de3bf
 +        section, .con_initcall.init: 0x805de3c0 - 0x805de3c3
 +        section, .init.ramfs: 0x805de3c4 - 0x808f226b
 +        section, .bss: 0x808f3000 - 0x8090b823
 +100%    8MB   0.2MB/ 00:46
 +Setting PC to Program Start Address 0x80000000
 +Successfully downloaded C:/Users/kjimenez/Documents/simpleImage.vc707_fmcomms2-3
 +xsct% Info: MicroBlaze #0 (target 3) Stopped at 0x0 (Stop)
 +xsct% con
 +Info: MicroBlaze #0 (target 3) Running
 +xsct%
 +</code>
 +</WRAP>
  
-Run Vivado TCL Shell from Windows start menu -> Xilinx Design Suite -> Vivado -> Vivado TCL Shell +The second method is to run the tcl script which takes care of loading the bit file and the linux image. Run Vivado TCL Shell from Windows start menu -> Xilinx Design Suite -> Vivado -> Vivado TCL Shell. 
-in Linux source settings.sh+(In Linuxsource the settings.sh file first)
  
 Then run the tcl script: Then run the tcl script:
resources/tools-software/linux-drivers/platforms/microblaze_loading.txt · Last modified: 19 Dec 2023 11:36 by Stefan-Robert Raus