Page History
Scroll Only (inline) |
---|
Online version of this manual and other related documents can be found at https://wiki.trenz-electronic.de/display/PD/Petalinux+Troubleshoot |
Table of Content
Table of Contents | ||
---|---|---|
|
Excerpt |
---|
Petalinux |
...
2023.2General notesXilinx Release Notes available on |
...
Installation failed
...
...
Do not use root account to install petalinux.
Code Block | ||
---|---|---|
| ||
sudo chown <owner>:<owner> /opt/pkg/petalinux
./petalinux-v2018.3-final-installer.run /opt/pkg/petalinux |
: https://support.xilinx.com/s/article/000035572?language=en_US BL31 gets Stuck during booting
Modified FSBL is not containing patches
|
Petalinux 2022.2
General notes
Xilinx Release Notes available on: https://support.xilinx.com/s/article/000034483?language=en_US
Petalinux Build
Command | Trenz modified FSBL for petalinux is not taken into account from petalinux. This is only need on trenz project which has FSBL patch included inside the petalinux template. --><project folder>\os\petalinux\project-spec\meta-user\recipes-bsp\embeddedsw |
---|---|
Error Message | AMD has changed patch priority and petalinux ignores provided FSBL patch in \os\petalinux\project-spec\meta-user\recipes-bsp\embeddedsw |
Workaround | In order for the patches to be used, the existing line BBFILE_PRIORITY_meta-user = "[VALUE]" must be set to 9 instead of the original value 7 in the Petalinux config file project-spec/meta-user/conf/layer.conf |
Command | petalinux-build |
---|---|
Error Message | NOTE: Executing Tasks WARNING: libnsl2-2.0.0-r0 do_package_qa_setscene: Failed to fetch URL file://d9/cf/sstate:libnsl2:cortexa72-cortexa53-xilinx-linux:2.0.0:r0:cortexa72-cortexa53:7:d9cfc3b8d649a8ce19aabf8269165e1f73650ce67a2ceb8cff581836b80b5dc5_package_qa.tgz;downloadfilename=d9/cf/sstate:libnsl2:cortexa72-cortexa53-xilinx-linux:2.0.0:r0:cortexa72-cortexa53:7:d9cfc3b8d649a8ce19aabf8269165e1f73650ce67a2ceb8cff581836b80b5dc5_package_qa.tgz, attempting MIRRORS if available ERROR: libnsl2-2.0.0-r0 do_package_qa_setscene: Fetcher failure: Unable to find file file://d9/cf/sstate:libnsl2:cortexa72-cortexa53-xilinx-linux:2.0.0:r0:cortexa72-cortexa53:7:d9cfc3b8d649a8ce19aabf8269165e1f73650ce67a2ceb8cff581836b80b5dc5_package_qa.tgz;downloadfilename=d9/cf/sstate:libnsl2:cortexa72-cortexa53-xilinx-linux:2.0.0:r0:cortexa72-cortexa53:7:d9cfc3b8d649a8ce19aabf8269165e1f73650ce67a2ceb8cff581836b80b5dc5_package_qa.tgz anywhere. The paths that were searched were: ./petalinux/build/sstate-cache ./petalinux/build/sstate-cache WARNING: libnsl2-2.0.0-r0 do_package_qa_setscene: No sstate archive obtainable, will run full task instead. ERROR: Logfile of failure stored in: ./petalinux/build/tmp/work/cortexa72-cortexa53-xilinx-linux/libnsl2/2.0.0-r0/temp/log.do_package_qa_setscene.22625 WARNING: Setscene task (./petalinux/components/yocto/layers/core/meta/recipes-extended/libnsl/libnsl2_git.bb:do_package_qa_setscene) failed with exit code '1' - real task will be run instead WARNING: petalinux-image-minimal-1.0-r0 do_rootfs: Enabling autologin to user root. This configuration should NOT be used in production! NOTE: Tasks Summary: Attempted 4491 tasks of which 3939 didn't need to be rerun and all succeeded. |
Workaround | Run petalinux-build a second time, this normally works fine |
Petalinux 2021.2
General notes
Xilinx Release Notes available on: https://support.xilinx.com/s/article/000032521?language=en_US
Petalinux 2020.2
General notes
Xilinx Release Notes available on: https://www.xilinx.com/support/answers/75775.html
Kernel changes with petalinux commands
Command | petalinux-config -c kernel petalinux-build -c kernel -x finish -f | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Error Message | ERROR: Task do_finish does not exist for target virtual/kernel (<project dir>/components/yocto/layers/meta-xilinx/meta-xilinx-bsp/recipes-kernel/linux/linux-xlnx_2020.2.bb:do_finish) ERROR: Command execution failed: 1 | ||||||||||
Workaround | Export changes from yocto workspace to the user-layer
Note: Before "petalinux-config -c kernel" can be used again after export, run:
|
U-Boot changes with petalinux commands
Command | petalinux-config -c u-boot petalinux-build -c u-boot -x finish -f | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Error Message | ERROR: Task do_finish does not exist for target virtual/bootloader (<project dir>/petalinux/components/yocto/layers/meta-xilinx/meta-xilinx-bsp/recipes-bsp/u-boot/u-boot-xlnx_2020.2.bb:do_finish) ERROR: Command execution failed: 1 | ||||||||||
Workaround | Export changes from yocto workspace to the user-layer
Note: Before "petalinux-config -c u-boot" can be used again after export, run:
|
Petalinux 2019.2
General notes
Xilinx Release Notes available on: Xilinx AR#72950
Installation failed
Command | ./petalinux-v20183-final-installer.run /opt/pkg/petalinux | |||||
---|---|---|---|---|---|---|
Error Message | could not install "..yocto/source" files during installation | |||||
Workaround | Do not use root account to install petalinux.
|
Kernel changes are missing
Command | petalinux-config -c kernel petalinux-build -x mrproper | |||||
---|---|---|---|---|---|---|
Error Message | <petalinuxproject>/project-spec/meta-user/recipes-kernel/ is missing after kernel config was changed or: cleaning failed with "WARNING: Workspace directory not empty:.../petalinux/components/plnx_workspace..." | |||||
Workaround |
|
U-Boot
...
changes are missing
Command | petalinux-config -c |
---|
...
u-boot petalinux-build -x mrproper | |
Error Message | <petalinuxproject>/project-spec/meta-user/recipes- |
---|
...
bsp/uboot/files/*cfg is missing after |
...
uboot config was changed or: cleaning failed with "WARNING: Workspace directory not empty:.../petalinux/components/plnx_workspace..." | ||||||
Workaround |
|
---|
...
|
Petalinux 2018.3
General notes
Xilinx Release Notes available on: AR#71653
Installation failed
Command | ./petalinux-v2019.2-final-installer.run /opt/pkg/petalinux | |||||
---|---|---|---|---|---|---|
Error Message | could not install "..yocto/source" files during installation | |||||
Workaround | Do not use root account to install petalinux.
|
Petalinux 2018.2
General notes
Xilinx Release Notes available on: Xilinx AR#71201
Installation failed
Command | ./petalinux-v2018.3-final-installer.run /opt/pkg/petalinux | |||||
---|---|---|---|---|---|---|
Error Message | could not install "..yocto/source" files during installation | |||||
Workaround | Do not use root account to install petalinux.
|
Petalinux 2017.4
General notes
Xilinx Release Notes available on: AR#70277
Installation failed
Command | ./petalinux-v2017.4-final-installer.run /opt/pkg/petalinux | |||||
---|---|---|---|---|---|---|
Error Message | could not install "..yocto/source" files during installation | |||||
Workaround | Do not use root account to install petalinux.
|
Petalinux 2017.2
General notes
Xilinx Release Notes available on: AR# 69372
Installation failed
Command | ./petalinux-v2017.2-final-installer.run /opt/pkg/petalinux | |||||
---|---|---|---|---|---|---|
Error Message | could not install "..yocto/source" files during installation | |||||
Workaround | Do not use root account to install petalinux.
|
Petalinux 2017.1
General notes
Xilinx Release Notes available on: AR# 69074
Installation failed
Command | ./petalinux-v2017.1-final-installer.run /opt/pkg/petalinux | |||||
---|---|---|---|---|---|---|
Error Message | could not install "..yocto/source" files during installation | |||||
Workaround | Do not use root account to install petalinux.
|
Build process failed
Command | petalinux-build |
---|---|
Error | Problems with device tree and serial port |
Workaround |
Petalinux 2016.4
General notes
Xilinx Release Notes available on: AR# 68370
Installation failed
Command | sudo ./petalinux-v2016.4-final-installer.run /opt/pkg/petalinux | |||||||
---|---|---|---|---|---|---|---|---|
Error Message |
| |||||||
Workaround | Do not use root account to install petalinux.
|
Kernel configuration failed
Command | petalinux-config -c kernel | |||||||
---|---|---|---|---|---|---|---|---|
Error Message |
| |||||||
Workaround | Problem related to python environment and gnome-terminal. One of possible solutions is to remove gnome-terminal. Install terminator as replacement for gnome-terminal, or xterm can be used instead of gnome-terminal
|
Build process failed
Command | petalinux-build petalinux-config -c kernel | |||||||
---|---|---|---|---|---|---|---|---|
Error Message |
| |||||||
Workaround | Disable PetaLinux webtalk
|