我不能发射Petalinux。成功地完成了安装。这是巴什的问题。怎么修呢?
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
如果我用点,问题是一样的。
abc@alpha:/scratch2/abc/Xilinx/Petalinux$ ./settings.sh
bash: ./settings.sh: Permission denied
我也尝试过与消息来源。尽管如此,它还是抱怨巴什。
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$
当我运行"chsh -s /bin/ bash“将shell更改为bash时。我得到了以下问题。
abc@alpha:/scratch2/abc/Xilinx$ chsh -s /bin/bash
Password:
chsh: user 'abc' does not exist in /etc/passwd
abc@alpha:/scratch2/abc/Xilinx$
发布于 2021-10-14 14:37:33
你需要使文件可执行。运行:
sudo chmod +x settings.sh
然后再运行一次:
./settings.sh
或者,您可以通过将它传递给bash来运行它而不让它执行:
bash setting.sh
https://askubuntu.com/questions/1369212
复制相似问题