PetaLinux Environment Issues - 2023.2 English

PetaLinux Tools Documentation: Reference Guide (UG1144)

Document ID
Release Date
2023.2 English
Note: Remove environment variables in .bashrc file while sourcing the PetaLinux tool, otherwise you might see the following issue:
$ source /opt/pkg/petalinux/
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 previous 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, clean up .bashrc by removing the specific environment variables.

Adding User Layer Failed with BitBake Timeout

If PetaLinux project configure to fail user layer with the following BitBake error, your user layer PATH is 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.