diff options
author | Martin Braun <martin.braun@ettus.com> | 2019-03-14 09:34:26 -0700 |
---|---|---|
committer | Martin Braun <martin.braun@ettus.com> | 2019-03-14 17:28:24 -0700 |
commit | a7d8540bff5ca5d67c6f99b8c0301dadf053958e (patch) | |
tree | 06484e04006e6422984927705a5b9593c457f417 | |
parent | 6468aa105ed23d745c416b1db12266ae708f3749 (diff) | |
download | uhd-a7d8540bff5ca5d67c6f99b8c0301dadf053958e.tar.gz uhd-a7d8540bff5ca5d67c6f99b8c0301dadf053958e.tar.bz2 uhd-a7d8540bff5ca5d67c6f99b8c0301dadf053958e.zip |
docs: Add comment on chmod+x for SDKs if necessary
There are cases where downloading the SDK does not preserve the 'x' bits
for the SDK .sh file. This explains how to circumvent that problem.
-rw-r--r-- | host/docs/usrp_e320.dox | 13 | ||||
-rw-r--r-- | host/docs/usrp_n3xx.dox | 12 |
2 files changed, 19 insertions, 6 deletions
diff --git a/host/docs/usrp_e320.dox b/host/docs/usrp_e320.dox index ae549ce4f..c0555c34d 100644 --- a/host/docs/usrp_e320.dox +++ b/host/docs/usrp_e320.dox @@ -567,11 +567,18 @@ to mirror its environment. To unpack the SDK, simply execute it after downloading it: + $ cd /usr/local/share/uhd/images # Change this to where your images are stored $ ./oecore-x86_64-cortexa9hf-neon-toolchain-nodistro.0.sh -This will prompt you for an installation path. Please ensure you have -sufficient disk space, as each of the SDKs may require several gigabytes of -disk space (depends on the image flavor selected). +If this doesn't work, the executable permissions of the file might have been +lost (this can occur with some versions of Python). In that case, add those +permissions back before executing the `.sh` file: + + $ chmod +x oecore-x86_64-cortexa9hf-neon-toolchain-nodistro.0.sh + +Executing the `.sh` file will prompt you for an installation path. Please +ensure you have sufficient disk space, as each of the SDKs may require several +gigabytes of disk space (depending on the image flavor selected). This will allow you to compile UHD as well as (depending on the image flavor) other software. diff --git a/host/docs/usrp_n3xx.dox b/host/docs/usrp_n3xx.dox index c109fb7bb..762e4e324 100644 --- a/host/docs/usrp_n3xx.dox +++ b/host/docs/usrp_n3xx.dox @@ -843,9 +843,15 @@ To unpack and install the SDK, simply execute it after downloading it: $ cd /usr/local/share/uhd/images # Change this to where your images are stored $ ./oecore-x86_64-cortexa9hf-neon-toolchain-nodistro.0.sh -This will prompt you for an installation path. Please ensure you have -sufficient disk space, as each of the SDKs may require several gigabytes of -disk space (depending on the image flavor selected). +If this doesn't work, the executable permissions of the file might have been +lost (this can occur with some versions of Python). In that case, add those +permissions back before executing the `.sh` file: + + $ chmod +x oecore-x86_64-cortexa9hf-neon-toolchain-nodistro.0.sh + +Executing the `.sh` file will prompt you for an installation path. Please +ensure you have sufficient disk space, as each of the SDKs may require several +gigabytes of disk space (depending on the image flavor selected). This will allow you to compile UHD as well as (depending on the image flavor) other software, such as GNU Radio. |