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 Reply Children
  • 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"

  • Great. So to sum it up for future readers:
    when on branch 2019_R2: use Xilinx SDK up to 2019.2
    when on branch master    : use 2020 Vitis or later

  • Hi  ,  

    I have a similar problem. I did "make clean all" and then "make" as suggested but I still get the same error as above.

    useful infos :

    - git status : origin/2019_R2

    - Environment variables are set

    - settings64.sh generated as explained

    Below the error I get :No rule to make target 'D:/no-OS/projects/adrv9009/build/objs/adrv9009/build/app/noos/drivers/axi_core/axi_adc_core/axi_adc_core.o', needed by 'D:/no-OS/projects/adrv9009/build/adrv9009.elf'.  Stop.
    make: *** [../../tools/scripts/generic.mk:280: all] Error 2

    If I get right, the files "axi_adc_core.o" is missing. The building process doesn't reach the stage in which this file is generated due to some adm previliges.

    But how is it possible since the "make" is supposed to generate the build folder with its files?

    Thanks

  • Hi  

    Maybe you should open a new question about it for quick response.

Before You Switch


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