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 [19 Jan 2018 10:11] – rename xcomm_zynq -> master Alexandru Ardeleanresources:tools-software:linux-drivers:platforms:microblaze [23 Apr 2018 11:33] – [Boot Kernel on FPGA Microblaze] Add XSDB support Istvan Csomortani
Line 158: Line 158:
  
 ==== Boot Kernel on FPGA Microblaze ==== ==== Boot Kernel on FPGA Microblaze ====
-Then one method to load the kernel onto the already built and running FPGA which has the Microblaze processor is to launch xmd from the xilinx vivado toolset from within .../linux/arch/microblaze/boot and run from the XMD shell:+Then one method to load the kernel onto the already built and running FPGA which has the Microblaze processor is to launch XMD or XSDB from the Xilinx Vivado toolset from within .../linux/arch/microblaze/boot and run from the XMD or XSDB shell: 
 + 
 +<note important>XMD has been deprecated and will be removed in the future. XSDB replaces XMD and provides additional functionality. Xilinx recommends you switch to XSDB for command line debugging. You can find more information about these tools in the [[https://www.xilinx.com/support/documentation/sw_manuals/xilinx2017_4/ug1043-embedded-system-tools.pdf|Embedded System Tools Reference Manual]] (UG1043)</note>
  
 <code> <code>
 +xmd> fpga -f system_top.bit
 xmd> connect mb mdm xmd> connect mb mdm
 xmd> dow simpleImage.vc707_fmcomms2-3 xmd> dow simpleImage.vc707_fmcomms2-3
 xmd> run xmd> run
 +</code>
 +
 +<code>
 +xsdb> connect
 +xsdb> fpga -f system_top.bit
 +xsdb> targets
 +  1  xcku040
 +      MicroBlaze Debug Module at USER2
 +        3  MicroBlaze #0 (Running)
 +xsdb> targets 3
 +xsdb> dow simpleImage.kcu105_fmcdaq2
 +xsdb> con
 </code> </code>
  
 (more details, methods of how to get bit file and kernel on flash and/or boot off SD Card is appreciated) (more details, methods of how to get bit file and kernel on flash and/or boot off SD Card is appreciated)
  
resources/tools-software/linux-drivers/platforms/microblaze.txt · Last modified: 11 Nov 2022 13:41 by Raluca Chis