cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Observer
Observer
1,071 Views
Registered: ‎07-03-2019

Missing Shell Name during Deployment Package Installation for Alveo

Jump to solution

Hi,

I'd like to install Xilinx XRT and the Deployment Package for Alveo U50 on my Ubuntu pc (18.04.4 LTS). As described in the Getting Started manual, I ran the command below.

sudo apt install ./xilinx-u50-gen3x16-xdma-dev-201920.3-2784799_18.04.deb

Instead of getting a message that includes the shell name on the terminal, I got the terminal output which is shown in the picture below.

dep-install-no-shell-name.png

I can't keep going with the next steps of the installation process as I need the shell name to run the commands given in the manual. I also downloaded the deployment package for the target board from Xilinx webpage instead of getting it via terminal, but that one resulted in the same output on the terminal. Is there any other chance to learn that shell name? Any help would be appreciated.

 

Cheers,

Ozan

0 Kudos
Reply
1 Solution

Accepted Solutions
Xilinx Employee
Xilinx Employee
827 Views
Registered: ‎10-19-2015

Hi @ozancs 

I think i see the problem. 

You are installing the "DEV" shell, you need to install the deployment shell. 

The dev shell is used in vitis for building your own kernels, the deployment shell (no dev in the name) are what is actually put on the card. 

Can you get the deployment shell?

Should be called, Xilinx_u50-gen3x16-xdma-201920.3-2784799_16.04_deb

Regards,

M

-------------------------------------------------------------------------
Don’t forget to reply, kudo, and accept as solution.
-------------------------------------------------------------------------

View solution in original post

0 Kudos
Reply
15 Replies
Xilinx Employee
Xilinx Employee
974 Views
Registered: ‎10-19-2015

Hi @ozancs 

The install directions have changed a little bit. Notice that the shell you downloaded came in the form of a tar.gz. You need to install all the packages in the tar.gz file with the platform shell. 

Command would look more like 

sudo apt install ./xilinx*

After that is installed, there is usually a message instructing you on which XRT utility command to run. 

Can you send the entire console output from running this command?

Regards,

M

-------------------------------------------------------------------------
Don’t forget to reply, kudo, and accept as solution.
-------------------------------------------------------------------------
Tags (2)
0 Kudos
Reply
Observer
Observer
951 Views
Registered: ‎07-03-2019

Hi @mcertosi ,

I installed all three files in that tar.gz archive, but even after the installation of all three, I couldn't see any message or instruction that includes the shell name. You can see the console output in the screenshot below.

Cheers,

Ozan

terminaloutput-targz-debs.png

0 Kudos
Reply
Xilinx Employee
Xilinx Employee
948 Views
Registered: ‎10-19-2015

Hi @ozancs 

Have you installed XRT? 

Try sourcing the xrt tools, $/opt/xilinx/xrt/setup.sh 

and running $xbmgmt flash --update 

You should be able to use the shell name, or it will find the shells that are installed and match with the card installed. 

Do you have the card inserted in the host machine? 

Are you able to see your card using  $lspci -vd 10ee: ? 

-------------------------------------------------------------------------
Don’t forget to reply, kudo, and accept as solution.
-------------------------------------------------------------------------
0 Kudos
Reply
Observer
Observer
936 Views
Registered: ‎07-03-2019

Hi @mcertosi ,

I've installed XRT before I tried installing the Deployment Package as described in the manual. The Alveo card is already inserted in the host machine and I can see that when I run the command you just mentioned.

But when I try to source the setup.sh file, I run the command below and get the error message "dirname: missing operand". But as far as I know (also double-checked it by Googleing it), the command below should be enough for sourcing.

source /opt/xilinx/xrt/setup.sh

Since I can't source the file, I can't run the xbmgmt command.

 

 

Cheers,

Ozan

0 Kudos
Reply
Xilinx Employee
Xilinx Employee
931 Views
Registered: ‎10-19-2015

Hi @ozancs 

Can you confirm that directory and script exists? 

I did mean to say 'source' that program. Do it as a regular user, not root. 

Is your shell environment bash or something else? 

If the card shows up with lspci -vd 10ee: then there is some xilinx IP on the card and we're just struggling with the tools. 

Regards,

M

 

-------------------------------------------------------------------------
Don’t forget to reply, kudo, and accept as solution.
-------------------------------------------------------------------------
0 Kudos
Reply
Observer
Observer
923 Views
Registered: ‎07-03-2019

Hi @mcertosi ,

I confirm that both directory and the file exist.

I did the same steps as a regular user, but the result didn't change.

My shell environment is not the default, I use the framework "Oh My Zsh". Can this be the issue? I can revert it back to default.

Cheers,

Ozan

0 Kudos
Reply
Xilinx Employee
Xilinx Employee
913 Views
Registered: ‎10-19-2015

Hi @ozancs 

I've only seen the setup.sh script work with bash. You could try setup.ch but if that doesn't work, I'd recommend bash for the next test.

Regards,

M

-------------------------------------------------------------------------
Don’t forget to reply, kudo, and accept as solution.
-------------------------------------------------------------------------
0 Kudos
Reply
Observer
Observer
909 Views
Registered: ‎07-03-2019

Hi @mcertosi ,

I uninstalled Zsh and reverted my bash back to default. Now I can source setup.sh but I still can't run $xbmgmt flash --update, it gives the error "sudo: xbmgmt: command not found".

Cheers,

Ozan

0 Kudos
Reply
Xilinx Employee
Xilinx Employee
896 Views
Registered: ‎10-19-2015

Hi @ozancs 

I think you might be on an older version of XRT. 

Can you see if sudo xbutil flash scan works? 

Regards,

M

-------------------------------------------------------------------------
Don’t forget to reply, kudo, and accept as solution.
-------------------------------------------------------------------------
0 Kudos
Reply
Observer
Observer
894 Views
Registered: ‎07-03-2019

Hi @mcertosi ,

I installed xrt_202010-2.6.655_18.04-amd64-xrt.deb, which is the newest version on Xilinx webpage. sudo xbutil fails as well with the same error message.

Cheers,

Ozan

0 Kudos
Reply
Xilinx Employee
Xilinx Employee
889 Views
Registered: ‎10-19-2015

Hi @ozancs 

Try using the full path to the executable

sudo /opt/xilinx/xrt/bin/<program_name>

Regards,

-------------------------------------------------------------------------
Don’t forget to reply, kudo, and accept as solution.
-------------------------------------------------------------------------
0 Kudos
Reply
Observer
Observer
876 Views
Registered: ‎07-03-2019

Hi @mcertosi ,

Full path seems to work, but when I run xbmgmt, I can't see any shell installed.

xbmgmt flash.png

Cheers,

Ozan

0 Kudos
Reply
Xilinx Employee
Xilinx Employee
857 Views
Registered: ‎10-19-2015

Hi @ozancs 

That's interesting, the logs did make it seem like something was installed. 

Could you try removing and reinstalling now that you are using a different shell? 

Can you verify you are using ubuntu 18.04? 

Regards,

M

-------------------------------------------------------------------------
Don’t forget to reply, kudo, and accept as solution.
-------------------------------------------------------------------------
0 Kudos
Reply
Observer
Observer
852 Views
Registered: ‎07-03-2019

Hi @mcertosi ,

You can find the terminal output for my Ubuntu version below.

No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 18.04.4 LTS
Release: 18.04
Codename: bionic

I removed and reinstalled both xrt and the other 3 program but still there is no shell name in the terminal output.

Cheers,

Ozan

0 Kudos
Reply
Xilinx Employee
Xilinx Employee
828 Views
Registered: ‎10-19-2015

Hi @ozancs 

I think i see the problem. 

You are installing the "DEV" shell, you need to install the deployment shell. 

The dev shell is used in vitis for building your own kernels, the deployment shell (no dev in the name) are what is actually put on the card. 

Can you get the deployment shell?

Should be called, Xilinx_u50-gen3x16-xdma-201920.3-2784799_16.04_deb

Regards,

M

-------------------------------------------------------------------------
Don’t forget to reply, kudo, and accept as solution.
-------------------------------------------------------------------------

View solution in original post

0 Kudos
Reply