Post Go back to editing

Can't build no-OS project for ADRV9009

Hello,

Can someone help me pls, Why am i taking this error?

mert@MKULTEPC:~/Desktop/Burak/adi/no-OS/projects/adrv9009$ make
[13:17:31] Building for xilinx
[13:17:31] Evaluating hardware: system_top.hdf
[13:17:36] Creating and configuring the IDE project
ambiguous command name "clean": clean_build clean_project
    while executing
"clean -type all"
    (procedure "_xsdk_project" line 21)
    invoked from within
"_xsdk_project"
    (procedure "create_project" line 8)
    invoked from within
"$function"
    (file "/home/mert/Desktop/Burak/adi/no-OS/tools/scripts/platform/xilinx/util.tcl" line 279)
/home/mert/Desktop/Burak/adi/no-OS/tools/scripts/xilinx.mk:161: recipe for target '/home/mert/Desktop/Burak/adi/no-OS/projects/adrv9009/build/.project.target' failed
make[1]: *** [/home/mert/Desktop/Burak/adi/no-OS/projects/adrv9009/build/.project.target] Error 1
../../tools/scripts/generic.mk:293: recipe for target 'all' failed
make: *** [all] Error 2

Edit Notes

code fix
[edited by: ee-bhan at 10:18 AM (GMT -4) on 7 Apr 2022]
Parents
  • I think you're using a .hdf with Vitis, which is something we don't support.
    Either use .hdf with Xilinx SDK (up to 2019.2)
    or use .xsa with Vitis (from 2020.1 onwards)

  •  I used SDK 2019.1, i guess.

    I used fallowing command to prepare my environment for building.

    $ source /path/to/xilinx/Vitis/2021.1/settings64.sh

    *This is the only different part than guide.

    Is it wrong? How can i use Xilinx SDK for build?

  • Yep, this is the problem. You should either install Xilinx SDK 2019.1 or 2019.2 (or older) to work with that .hdf.

    Or you can try to produce an .xsa instead of .hdf and no need to install anything.

  •   Sorry i copy-pasted it. My bad.

    I used fallowing command to prepare my environment for building.

    $ source /path/to/xilinx/SDK/2019.1/settings64.sh

    mert@MKULTEPC:~/Desktop/Burak/adi/no-OS/projects/adrv9009$ make reset
    [15:28:13] [Delete] /home/mert/Desktop/Burak/adi/no-OS/projects/adrv9009/build
    mert@MKULTEPC:~/Desktop/Burak/adi/no-OS/projects/adrv9009$ source /home/mert/Xilinx/SDK/2019.1/settings64.sh
    mert@MKULTEPC:~/Desktop/Burak/adi/no-OS/projects/adrv9009$ make
    [15:28:20] Building for xilinx
    [15:28:20] Evaluating hardware: system_top.hdf
    [15:28:26] Creating and configuring the IDE project
    ambiguous command name "clean": clean_build clean_project
        while executing
    "clean -type all"
        (procedure "_xsdk_project" line 21)
        invoked from within
    "_xsdk_project"
        (procedure "create_project" line 8)
        invoked from within
    "$function"
        (file "/home/mert/Desktop/Burak/adi/no-OS/tools/scripts/platform/xilinx/util.tcl" line 279)
    /home/mert/Desktop/Burak/adi/no-OS/tools/scripts/xilinx.mk:161: recipe for target '/home/mert/Desktop/Burak/adi/no-OS/projects/adrv9009/build/.project.target' failed
    make[1]: *** [/home/mert/Desktop/Burak/adi/no-OS/projects/adrv9009/build/.project.target] Error 1
    ../../tools/scripts/generic.mk:293: recipe for target 'all' failed
    make: *** [all] Error 2
    

  • And what branch are you on when you do this ?
    "git status"

  • Oh you actually posted above, please do a "git checkout 2019_R2" and rebuild there.
    Beware that on 2019_R2 the makefile targets are a bit different so you need to:
    "make clean_all"
    "make"

Reply Children

Before You Switch


Switching languages will make ADI Explorer unavailable. Resume your session by switching back to English and reopening ADI Explorer.