cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
wesnell
Visitor
Visitor
8,843 Views
Registered: ‎03-24-2014

Trouble installing the petalinux SDK in Ubuntu

Jump to solution

I am having several problems installing the petalinux SDK.  I installed the tools to /opt/pkg according to documentation and everything went fine until the licensing phase.  Firstly, the command "xlcm" was not found on my terminal and I could not locate the file xlcm on my computer.  I got around this by copying the license file to ~/.xilinx directory.   Secondly, the script settings.sh complains about not being run in bash shell despite the fact that SHELL=/bin/bash and quick look at the running processes reveals that bash is indeed running.  Lastly, when I got to the BSP install phase it complains about improper licensing, so I guess I never got that right. 

0 Kudos
1 Solution

Accepted Solutions
wesnell
Visitor
Visitor
13,158 Views
Registered: ‎03-24-2014

For the benefit of other noobs, basically these problems stem from not having the vivado toolset installed first.  This installation supplies the license manager, xlcm, which eases the installation of the license file. Although if I had placed the license file in the .xilinx directory and not the .Xilinx directory I still might have gotten further along with the installation of petalinux SDK.  I never solved the bash problem though.  I am just keeping my fingers crossed that it does not create a problem down the line.

View solution in original post

0 Kudos
3 Replies
wesnell
Visitor
Visitor
13,159 Views
Registered: ‎03-24-2014

For the benefit of other noobs, basically these problems stem from not having the vivado toolset installed first.  This installation supplies the license manager, xlcm, which eases the installation of the license file. Although if I had placed the license file in the .xilinx directory and not the .Xilinx directory I still might have gotten further along with the installation of petalinux SDK.  I never solved the bash problem though.  I am just keeping my fingers crossed that it does not create a problem down the line.

View solution in original post

0 Kudos
raghup17
Visitor
Visitor
8,830 Views
Registered: ‎03-26-2014

Try:

 

   ln -s /bin/bash /bin/sh 

 

to solve the sh problem. It is worth solving the shell issue now as it might come back and bite you when you are booting your board with your design.

jeffrey.johnson
Voyager
Voyager
6,365 Views
Registered: ‎02-07-2008

I had the "/bin/sh is not bash" problem also and raghup17's post helped me fix it.

 

Just want to mention that I had to first remove /bin/sh, as follows:

 

sudo rm /bin/sh

sudo ln -s /bin/bash /bin/sh