usrp-users@lists.ettus.com

Discussion and technical support related to USRP, UHD, RFNoC

View all threads

Cannot find N210 FPGA images in Ubuntu uhd installation

H
hoosac19@hotmail.com
Fri, Jun 28, 2024 5:57 PM

(having trouble with 2 attachments, will try to reply to this new thread)

I can’t find the default FPGA images for my N210 in my Ubuntu uhd installation, could someone please assist me?  Here are the steps I performed to install the uhd:

I installed Ubuntu version 24.04 in my Lenovo X220 laptop (SSD wiped clean for Linux only, not dual boot).

I installed the UHD driver into that laptop using these commands (from the Ettus Research USRP Hardware Driver and USRP Manual website):

sudo add-apt-repository ppa:ettusresearch/uhd

sudo apt-get update

sudo apt-get install libuhd-dev uhd-host

Each of these processes completed without errors.

I successfully pinged the N210 at its address:  192.168.10.2.

I executed the uhd_usrp_probe command, the first screenshot attached shows the result, indicating that the device firmware and FPGA images needed updating.

I entered the following command to update the FPGA image:

uhd_image_loader --args="type=usrp2,addr=<IP address>,reset".

The actual command string that I typed was:

uhd_image_loader --args=“type=usrp2,addr=192.168.10.2,reset”, where I used the IP address for the N210 specified in the Ettus Research N Series quick start daughterboard installation guide.

The second attached screenshot shows the terminal dialog result for this step.

Evidently the following two files are missing from my uhd installation:

usrp_n210_fw.bin

usrp_n210_r4_fpga.bin

and it cannot find the images directory.

The terminal prompt in the second screenshot is asking me to run the following command:

"/lib/x86_64-linux-gnu/uhd/utils/uhd_images_downloader.py",

but I didn't see a "uhd" subdirectory in my "/lib/x86_64-linux-gnu" folder.

I tried using the Linux "find" command to look for the "uhd" subdirectory somewhere else in my Ubuntu installation, but I couldn't get the find command syntax to work properly with hidden folders.

Could someone please advise where the FPGA images should be located in my installation?  Thank you.

(having trouble with 2 attachments, will try to reply to this new thread) I can’t find the default FPGA images for my N210 in my Ubuntu uhd installation, could someone please assist me? Here are the steps I performed to install the uhd: I installed Ubuntu version 24.04 in my Lenovo X220 laptop (SSD wiped clean for Linux only, not dual boot). I installed the UHD driver into that laptop using these commands (from the Ettus Research USRP Hardware Driver and USRP Manual website): sudo add-apt-repository ppa:ettusresearch/uhd sudo apt-get update sudo apt-get install libuhd-dev uhd-host Each of these processes completed without errors. I successfully pinged the N210 at its address: 192.168.10.2. I executed the uhd_usrp_probe command, the first screenshot attached shows the result, indicating that the device firmware and FPGA images needed updating. I entered the following command to update the FPGA image: uhd_image_loader --args="type=usrp2,addr=<IP address>,reset". The actual command string that I typed was: uhd_image_loader --args=“type=usrp2,addr=192.168.10.2,reset”, where I used the IP address for the N210 specified in the Ettus Research N Series quick start daughterboard installation guide. The second attached screenshot shows the terminal dialog result for this step. Evidently the following two files are missing from my uhd installation: usrp_n210_fw.bin usrp_n210_r4_fpga.bin and it cannot find the images directory. The terminal prompt in the second screenshot is asking me to run the following command: "/lib/x86_64-linux-gnu/uhd/utils/uhd_images_downloader.py", but I didn't see a "uhd" subdirectory in my "/lib/x86_64-linux-gnu" folder. I tried using the Linux "find" command to look for the "uhd" subdirectory somewhere else in my Ubuntu installation, but I couldn't get the find command syntax to work properly with hidden folders. Could someone please advise where the FPGA images should be located in my installation? Thank you.
H
hoosac19@hotmail.com
Fri, Jun 28, 2024 5:59 PM

first screenshot attached

first screenshot attached
H
hoosac19@hotmail.com
Fri, Jun 28, 2024 5:59 PM

second screenshot attached:

second screenshot attached:
MD
Marcus D. Leech
Sat, Jun 29, 2024 1:21 PM

On 28/06/2024 13:59, hoosac19@hotmail.com wrote:

second screenshot attached:


USRP-users mailing list -- usrp-users@lists.ettus.com
To unsubscribe send an email to usrp-users-leave@lists.ettus.com

The utilities (at least on Ubuntu 22.04) are in /usr/lib/uhd/utils, and
the images directory is /usr/share/uhd/images.

Given that Ubuntu packages fairly-modern versions of UHD, adding the PPA
wasn't really necessary.  Indeed, the
  support code for USRP N210 hasn't changed in several years...

On 28/06/2024 13:59, hoosac19@hotmail.com wrote: > > second screenshot attached: > > > _______________________________________________ > USRP-users mailing list -- usrp-users@lists.ettus.com > To unsubscribe send an email to usrp-users-leave@lists.ettus.com The utilities (at least on Ubuntu 22.04) are in /usr/lib/uhd/utils, and the images directory is /usr/share/uhd/images. Given that Ubuntu packages fairly-modern versions of UHD, adding the PPA wasn't really necessary.  Indeed, the   support code for USRP N210 hasn't changed in several years...
H
hoosac19@hotmail.com
Sat, Jun 29, 2024 10:03 PM

Hi Marcus, thank you for the prompt reply.

I’m still not able to locate those subdirectories.  Here are two more screenshots from my ubuntu file browser.  The first points to “Ubuntu/usr/lib” (no uhd folder visible), and the second points to “Ubuntu/usr/share/uhd” (no images folder visible).  I double checked to make sure that Show Hidden Files is checked in the menu.

Hi Marcus, thank you for the prompt reply. I’m still not able to locate those subdirectories. Here are two more screenshots from my ubuntu file browser. The first points to “Ubuntu/usr/lib” (no uhd folder visible), and the second points to “Ubuntu/usr/share/uhd” (no images folder visible). I double checked to make sure that Show Hidden Files is checked in the menu.
H
hoosac19@hotmail.com
Sat, Jun 29, 2024 10:05 PM
H
hoosac19@hotmail.com
Sat, Jun 29, 2024 10:05 PM
MD
Marcus D. Leech
Sat, Jun 29, 2024 11:17 PM

On 29/06/2024 18:05, hoosac19@hotmail.com wrote:


USRP-users mailing list -- usrp-users@lists.ettus.com
To unsubscribe send an email to usrp-users-leave@lists.ettus.com

It looks like under Ubuntu 24.04, some of UHD's files have moved to
/usr/libexec/uhd/utils.

Also, you need to set your

UHD_IMAGES_DIR

Environment variable to point at where you want your image files
kept--this is used by both "uhd_images_downloader" and
  "uhd_images_loader" to find where the images are.

If you don't know where to set your environment variables, nor what an
environment variable is, then I suggest doing
  a little bit of "living on Linux as a developer or technical user"
background education, since this absolutely isn't
  the forum to learn basic "living on Linux" stuff.

On 29/06/2024 18:05, hoosac19@hotmail.com wrote: > > > > _______________________________________________ > USRP-users mailing list -- usrp-users@lists.ettus.com > To unsubscribe send an email to usrp-users-leave@lists.ettus.com It looks like under Ubuntu 24.04, some of UHD's files have moved to /usr/libexec/uhd/utils. Also, you need to set your UHD_IMAGES_DIR Environment variable to point at where you want your image files kept--this is used by both "uhd_images_downloader" and   "uhd_images_loader" to find where the images are. If you don't know where to set your environment variables, nor what an environment variable is, then I suggest doing   a little bit of "living on Linux as a developer or technical user" background education, since this absolutely isn't   the forum to learn basic "living on Linux" stuff.