Nuand troubleshooting - loading firmware
Posted: Mon May 09, 2016 10:59 am
Could someone please explain to me what is going on in these instructions. I am not familiar with a .rbf file type, and what it is used for:
Linux or OSX
The directory specified by the BLADERF_SEARCH_DIR environment variable (As of 2014-12-10)
The current working directory (As of 2014-12-10)
The directory containing the program being executed. (As of 2014-12-10)
your_home_directory/.config/Nuand/bladeRF/ (libbladeRF v0.16.0 +)
your_home_directory/.Nuand/bladeRF/ (libbladeRF v0.16.0 +)
${CMAKE_INSTALL_PREFIX}/share/Nuand/bladeRF/ (libbladeRF v1.4.2 +)
${CMAKE_INSTALL_PREFIX}/etc/Nuand/bladeRF/ (libbladeRF v1.4.2 +)
/usr/share/Nuand/bladeRF/ (libbladeRF v0.16.0 +)
/etc/Nuand/bladeRF/ (libbladeRF v0.16.0 +)
The user's home directory is determined via $HOME, and then /etc/passwd (via getpwuid()) if $HOME is not valid.
Note that the last two entries in the list may be duplicates of the two that precede them. This is intentional, and is intended to provide reverse compatibility and avoid breaking packaging scripts that were forced to install files in to /usr/share/Nuand/bladeRF, even if a different ${CMAKE_INSTALL_PREFIX} was used.