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
  • 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 How can I build Matrix Multiply Project for MiniZed
  • 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 2 replies
  • Subscribers 354 subscribers
  • Views 555 views
  • Users 0 members are here
Related

How can I build Matrix Multiply Project for MiniZed

crossofheat
crossofheat over 8 years ago

Hello

I tried to setup MiniZed Platform on SDx 2017.4 according to Avnet MiniZed SDSoC Platform Install instructions.

 

But, I faced problem in "Experiment 3".

SDx failed to building Matrix Multiply Project with the following error messages.

 

What's a cause of this build error?

Does anyone help me?

 

Create board support package library
Link application ELF file
C:/Xilinx/SDx/2017.4/target/aarch32-none/lib\libsds_lib.a(xlnk-core-dma-standalone.o): In function `xlnkSetUpRing.constprop.2':
xlnk-core-dma-standalone.c:(.text+0x28): undefined reference to `XAxiDma_BdRingSetCoalesce'
xlnk-core-dma-standalone.c:(.text+0x60): undefined reference to `XAxiDma_BdRingCreate'
xlnk-core-dma-standalone.c:(.text+0x80): undefined reference to `XAxiDma_BdRingClone'
xlnk-core-dma-standalone.c:(.text+0x90): undefined reference to `XAxiDma_BdRingStart'
C:/Xilinx/SDx/2017.4/target/aarch32-none/lib\libsds_lib.a(xlnk-core-dma-standalone.o): In function `xlnkDMASubmit':
xlnk-core-dma-standalone.c:(.text+0x3d0): undefined reference to `XAxiDma_BdRingAlloc'
xlnk-core-dma-standalone.c:(.text+0x44c): undefined reference to `XAxiDma_BdSetBufAddr'
xlnk-core-dma-standalone.c:(.text+0x464): undefined reference to `XAxiDma_BdSetLength'
xlnk-core-dma-standalone.c:(.text+0x48c): undefined reference to `XAxiDma_BdSetAppWord'
xlnk-core-dma-standalone.c:(.text+0x4b8): undefined reference to `XAxiDma_BdSetAppWord'
xlnk-core-dma-standalone.c:(.text+0x4d8): undefined reference to `XAxiDma_BdSetCtrl'
xlnk-core-dma-standalone.c:(.text+0x53c): undefined reference to `XAxiDma_BdRingToHw'
C:/Xilinx/SDx/2017.4/target/aarch32-none/lib\libsds_lib.a(xlnk-core-dma-standalone.o): In function `xlnkDMAWait':
xlnk-core-dma-standalone.c:(.text+0x8d8): undefined reference to `XAxiDma_BdRingFromHw'
xlnk-core-dma-standalone.c:(.text+0x8fc): undefined reference to `XAxiDma_BdRingFree'
xlnk-core-dma-standalone.c:(.text+0x944): undefined reference to `XAxiDma_BdRingFromHw'
C:/Xilinx/SDx/2017.4/target/aarch32-none/lib\libsds_lib.a(xlnk-core-dma-standalone.o): In function `xlnkDmaRegister':
xlnk-core-dma-standalone.c:(.text+0xb14): undefined reference to `XAxiDma_CfgInitialize'
collect2.exe: error: ld returned 1 exit status
ERROR: [SdsCompiler 83-5019] Exiting sds++ : Error when calling 'arm-none-eabi-g++ -mcpu=cortex-a9 -mfpu=vfpv3 -mfloat-abi=hard -Wl,--build-id=none -specs=C:/Xilinx/SDx/2017.4/data/toolchain/aarch32-none.spec -Wl,-T -Wl,C:/Avnet/platforms/mz_avnet/sw/config0/lscript.ld  C:/Avnet/SDx_workspace/MiniZedMM/Debug/_sds/swstubs/mmult.o C:/Avnet/SDx_workspace/MiniZedMM/Debug/_sds/swstubs/main.o   -L C:/Avnet/SDx_workspace/MiniZedMM/Debug/_sds/swstubs/standalone_bsp/ps7_cortexa9_0/lib  -L C:/Xilinx/SDx/2017.4/target/aarch32-none/lib -LC:/Avnet/SDx_workspace/MiniZedMM/Debug/_sds/swstubs -Wl,--start-group -lxilffs -lgcc -lc -lstdc++ -Wl,--end-group -Wl,--start-group   -lxilffs -lxil -lgcc -lc  -lsds_lib -lxlnk_stub -lgcc -lc -Wl,--end-group -o C:/Avnet/SDx_workspace/MiniZedMM/Debug/_sds/swstubs/MiniZedMM.elf'
sds++ log file saved as C:/Avnet/SDx_workspace/MiniZedMM/Debug/_sds/reports/sds.log
ERROR: [SdsCompiler 83-5004] Build failed

 

Thank you.   

  • Sign in to reply
  • Cancel
  • crossofheat
    0 crossofheat over 8 years ago

    -----------------Progress report---------------

    I  downgraded SDx to 2017.1.

    Then, project building was success.

     

    However I had next trouble.

    When I tried to flash BOOT.BIN, it failed with following messages.

    I  used Command Line Tool 2017.4.

    So, Should i downgrade it such as SDx too? 

    ---------------------------------------------------------------------------------------------------------------

    xsct% exec program_flash -f boot.bin -fsbl MiniZedMM.elf -flash_type qspi_single
     
     
    ****** Xilinx Program Flash
    ****** Program Flash v2017.4 (64-bit)
      **** SW Build 2086221 on Fri Dec 15 20:55:39 MST 2017
        ** Copyright 1986-2017 Xilinx, Inc. All Rights Reserved.
     
    Connecting to hw_server @ TCP:localhost:3121
     
    WARNING: Failed to connect to hw_server at TCP:localhost:3121
    Attempting to launch hw_server at TCP:localhost:3121
     
    Connected to hw_server @ TCP:localhost:3121
    Available targets and devices:
    Target 0 : jsn-MiniZed V1-1234-oj1A
            Device 0: jsn-MiniZed V1-1234-oj1A-4ba00477-0
     
    Retrieving Flash info...
     
    Initialization done, programming the memory
    BOOT_MODE REG = 0x00000001
    WARNING: [Xicom 50-100] The current boot mode is QSPI.
    If flash programming fails, configure device for JTAG boot mode and try again.
    Problem in Initializing Hardware
    Flash programming initialization failed.
     
    ERROR: Flash Operation Failed
    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • drozwood90
    0 drozwood90 over 8 years ago

    Hi there,

    Yes, you will need to use version 2017.1 for everything.
    There are some pretty big changes coming in the 2017.4 versions of everything and we are still working on documenting the changes for this.  Until then, if you wish to use the 2017.1 version of the MiniZed Platform, you will need to use THAT version of the tools as platforms are tool version specific.

    --Dan

    • 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