On 02/28/2018 07:24 AM, Ana Svirčić via USRP-users wrote:
> Hello,
> 
> I was wondering has anyone managed to build the ZPU firmware on Windows?

Ana,

not sure about windows. I'm not even sure your error is related to
Windows. However, I've never seen this on windows -- maybe you can try
spinning up a Linux VM?

> I’m trying to modify the original ettus x310 fpga design and the zpu fw,
> and I’m stuck with the below mentioned error.
> 
> Also, I have another question regarding what to do once I build the fw.
> If I understand correctly, the output of the zpugcc compiler is the .elf
> file.
> Do I convert it to .hex file? How do I do that? How do I include it in
> the fpga design?

If you use our makefiles, there will the the ELF, ihx, and coe file in
the build/x300 directory (the latter is what you use to bake the new
firmware image into the FPGA image).

-- M

> 
>  
> 
> Thank you,
> 
> Ana Svircic
> 
>  
> 
>  
> 
> *From:*Ana Svirčić [mailto:ana.svir...@mikroprojekt.hr]
> *Sent:* Monday, February 19, 2018 1:12 PM
> *To:* 'usrp-users@lists.ettus.com' <usrp-users@lists.ettus.com>
> *Subject:* x310 ZPU firmware
> 
>  
> 
> Hi all,
> 
>  
> 
> I’m trying to build the ZPU firmware for the x310 on Windows using
> Cygwin.  I downloaded zpugcc from github
> (https://github.com/zylin/zpugcc) and added the path to the zpugcc bin
> directory to the $PATH environment variable.
> 
> I run the following commands in cygwin and get the following error:
> 
>  
> 
> mkdir /cygdrive/c/Users/roadwarrior/Desktop/e/uhd/firmware/build
> 
> cd /cygdrive/c/Users/roadwarrior/Desktop/e/uhd/firmware/build
> 
>  
> 
> cmake ../usrp3
> 
> CMake Deprecation Warning at
> /usr/share/cmake-3.6.2/Modules/CMakeForceCompiler.cmake:79 (message):
> 
>   The CMAKE_FORCE_C_COMPILER macro is deprecated.  Instead just set
> 
>   CMAKE_C_COMPILER and allow CMake to identify the compiler.
> 
> Call Stack (most recent call first):
> 
>   CMakeLists.txt:25 (CMAKE_FORCE_C_COMPILER)
> 
>  
> 
>  
> 
> -- Found PythonInterp: /cygdrive/c/ProgramData/Anaconda3/python.exe
> (found version "3.6.3")
> 
> -- Configuring done
> 
> -- Generating done
> 
> -- Build files have been written to:
> /cygdrive/c/Users/roadwarrior/Desktop/e/uhd/firmware/build
> 
>  
> 
> make
> 
> Scanning dependencies of target usrp3fw
> 
> [  2%] Building C object lib/CMakeFiles/usrp3fw.dir/udp_uart.c.obj
> 
> zpu-elf-gcc.exe:
> /cygdrive/c/Users/roadwarrior/Desktop/e/uhd/firmware/usrp3/lib/udp_uart.c:
> No such file or directory
> 
> zpu-elf-gcc.exe: no input files
> 
> make[2]: *** [lib/CMakeFiles/usrp3fw.dir/build.make:63:
> lib/CMakeFiles/usrp3fw.dir/udp_uart.c.obj] Error 1
> 
> make[1]: *** [CMakeFiles/Makefile2:86: lib/CMakeFiles/usrp3fw.dir/all]
> Error 2
> 
> make: *** [Makefile:128: all] Error 2
> 
>  
> 
> * *
> 
> The file udp_uart.cdoes exist in the mentioned directory. Don't know how
> to proceed.  Can anybody help with this issue?
> 
>  
> 
> Thank you and regards,
> 
>  
> 
> Ana Svircic
> 
> 
> 
> _______________________________________________
> USRP-users mailing list
> USRP-users@lists.ettus.com
> http://lists.ettus.com/mailman/listinfo/usrp-users_lists.ettus.com
> 


_______________________________________________
USRP-users mailing list
USRP-users@lists.ettus.com
http://lists.ettus.com/mailman/listinfo/usrp-users_lists.ettus.com

Reply via email to