I am not able to launch Petalinux. The installation is done successfully. There is bash issue. How to fix it ?
INFO: Installing PetaLinux...
*********************************************
WARNING: You haven't specified the installation location.
*********************************************
*********************************************
WARNING: By default, it will be installed in your working directory: /scratch2/abc/Xilinx/Petalinux
*********************************************
Please input "y" to proceed the installation, "n" to exit otherwise:y
*********************************************
WARNING: PetaLinux installation directory: /scratch2/abc/Xilinx/Petalinux/. is not empty!
*********************************************
Please input "y" to continue to install PetaLinux in that directory?[n]y
INFO: Checking PetaLinux installer integrity...
INFO: Installing PetaLinux SDK to "/scratch2/abc/Xilinx/Petalinux/."
INFO: Installing buildtools in /scratch2/abc/Xilinx/Petalinux/./components/yocto/buildtools
INFO: Installing buildtools-extended in /scratch2/abc/Xilinx/Petalinux/./components/yocto/buildtools_extended
INFO: PetaLinux SDK has been installed to /scratch2/abc/Xilinx/Petalinux/.
abc@alpha:/scratch2/abc/Xilinx/Petalinux$
abc@alpha:/scratch2/abc/Xilinx/Petalinux$ /settings.sh
bash: /settings.sh: No such file or directory
The problem is same if I use dot
abc@alpha:/scratch2/abc/Xilinx/Petalinux$ ./settings.sh
bash: ./settings.sh: Permission denied
I also have tried with source. Still it complaint for bash.
abc@alpha:/scratch2/abc/Xilinx$ source Petalinux/settings.sh
PetaLinux environment set to '/scratch2/abc/Xilinx/Petalinux'
WARNING: /bin/sh is not bash!
bash is PetaLinux recommended shell. Please set your default shell to bash.
WARNING: This is not a supported OS
INFO: Checking free disk space
INFO: Checking installed tools
INFO: Checking installed development libraries
INFO: Checking network and other services
WARNING: No tftp server found - please refer to "UG1144 2021.1 PetaLinux Tools Documentation Reference Guide" for its impact and solution
abc@alpha:/scratch2/abc/Xilinx$
When I run the "chsh -s /bin/bash" to change shell to bash. I get the following issue.
abc@alpha:/scratch2/abc/Xilinx$ chsh -s /bin/bash
Password:
chsh: user 'abc' does not exist in /etc/passwd
abc@alpha:/scratch2/abc/Xilinx$
you need make the file executeable. Run:
then try running it again:
Alternatively you can run it without making it executebale by passing it to bash: