PetaLinux Environment Issues - 2022.1 English

PetaLinux Tools Documentation: Reference Guide (UG1144)

Document ID
UG1144
Release Date
2022-04-26
Version
2022.1 English
Note: Please ensure to remove environment variables in .bashrc file while sourcing the PetaLinux tool, if not you might see the following issue:
$ source /opt/pkg/petalinux/settings.sh
PetaLinux environment set to /opt/pkg/autolist'
bash: /opt/pkg/autolist/tools/common/petalinux//utils/petalinux-env-check: No such file or directory

From the above example 'autolist' variable in .bashrc file causing the issue, this issue is resolved by removing 'set autolist' variable from .bashrc file.

If you are facing such kind of environment issue in sourcing the PetaLinux tool, please clean up .bashrc by removing the specific environment variables.

Adding userlayer failed with bitbake timeout

If PetaLinux project configure to fail user layer with below bitbake error, then your user layer PATH exceeding Limitation.


[INFO] Adding user layers
NOTE: Starting bitbake server...
NOTE: No reply from server in 30s
NOTE: No reply from server in 30s
Timeout while waiting for a reply from the bitbake server (60s)

To overcome the timeout issue use the path within 250 characters.