28 lines
No EOL
1.7 KiB
Text
28 lines
No EOL
1.7 KiB
Text
#Notes about compiling baldeRf
|
|
I've got an error when using wsl because the files are in windows format.
|
|
The command to translate the file to linx version is: sudo find . -type f -exec dos2unix {} \;
|
|
|
|
19/10/2025
|
|
I am having problems with quartus root file. It cannot find the version. It is located here C:\intelFPGA_lite\quartus. Create a linux variable. Probably on the env variables in windows
|
|
|
|
1) Change files to linux format find . -type f -print0 | xargs -0 -n 1 -P 4 dos2unix
|
|
2) Converting windows paths to linux format. Remember that by dragging the file to the main window the path gets printed in the prompt.
|
|
2.1) example: cd $(wslpath 'D:\aaa\bbb\ccc\ddd\eee\fff\ggg') #from windows to linux
|
|
2.2) example: notepad.exe $(wslpath -w ./myfile.txt) #from windows to linux
|
|
|
|
3) Transfer windows environmental variable to wsl "setx WSLENV QSYS_ROOTDIR/up"
|
|
|
|
4) Location of the make file for the niosII aplications
|
|
4.1 ) Notice in Makefile:
|
|
ad936x: cmake_check_build_system
|
|
$(MAKE) $(MAKESILENT) -f CMakeFiles/Makefile2 ad936x
|
|
|
|
5) I am getting an error generating the libad936x code. The Makefile located in BladeRF2p0/bladeRF/hdl/quartus/work/bladerf-micro-A4-hosted/libad936x regenerate all the files when "make rebuild_cache" is excuted.
|
|
|
|
6) When the Makefile located at libad936x is executed. It run in according to the comment of the Makefile
|
|
|
|
-> The top-level source directory on which CMake was run ->CMAKE_SOURCE_DIR = /mnt/c/Users/dr829/OneDrive/Documents/BladeRF2p0/bladeRF/hdl/fpga/ip/analogdevicesinc/no_OS
|
|
|
|
7) try make-dn for debugging
|
|
|
|
8) Problem in the cmake file: C:\Users\dr829\OneDrive\Documents\BladeRF2p0\bladeRF\hdl\quartus\work\bladerf-micro-A4-hosted\libad936x |