Xilinx Release Notes available on: https://support.xilinx.com/s/article/000035572?language=en_US 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 In order for the patches to be used, the existing line BBFILE_PRIORITY_meta-user = "9" (instead of 7) must be set in the Petalinux config file project-spec/meta-user/conf/layer.confPetalinux 2023.2
General notes
Petalinux Build
Command Error Message Workaround
Xilinx Release Notes available on: https://support.xilinx.com/s/article/000034483?language=en_US
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 = "9" (instead of 7) must be set 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 |
Xilinx Release Notes available on: https://support.xilinx.com/s/article/000032521?language=en_US
Xilinx Release Notes available on: https://www.xilinx.com/support/answers/75775.html
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 petalinux-devtool finish linux-xlnx ${PWD}/project-spec/meta-user/ -f Note: Before "petalinux-config -c kernel" can be used again after export, run: petalinux-build -x mrproper -f |
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 petalinux-devtool finish u-boot-xlnx ${PWD}/project-spec/meta-user/ -f Note: Before "petalinux-config -c u-boot" can be used again after export, run: petalinux-build -x mrproper -f |
Xilinx Release Notes available on: Xilinx AR#72950
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. sudo chown <owner>:<owner> /opt/pkg/petalinux ./petalinux-v2018.3-final-installer.run /opt/pkg/petalinux |
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 | petalinux-build -c kernel -x finish -f |
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-build -c u-boot -x finish -f |
Xilinx Release Notes available on: AR#71653
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. sudo chown <owner>:<owner> /opt/pkg/petalinux/2019.2 ./petalinux-v2018.3-final-installer.run /opt/pkg/petalinux/2019.2 |
Xilinx Release Notes available on: Xilinx AR#71201
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. sudo chown <owner>:<owner> /opt/pkg/petalinux ./petalinux-v2018.2-final-installer.run /opt/pkg/petalinux |
Xilinx Release Notes available on: AR#70277
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. sudo chown <owner>:<owner> /opt/pkg/petalinux ./petalinux-v2017.4-final-installer.run /opt/pkg/petalinux |
Xilinx Release Notes available on: AR# 69372
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. sudo chown <owner>:<owner> /opt/pkg/petalinux ./petalinux-v2017.2-final-installer.run /opt/pkg/petalinux |
Xilinx Release Notes available on: AR# 69074
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. sudo chown <owner>:<owner> /opt/pkg/petalinux ./petalinux-v2017.1-final-installer.run /opt/pkg/petalinux |
Command | petalinux-build |
---|---|
Error | Problems with device tree and serial port |
Workaround |
Xilinx Release Notes available on: AR# 68370
Command | sudo ./petalinux-v2016.4-final-installer.run /opt/pkg/petalinux |
---|---|
Error Message | |
Workaround | Do not use root account to install petalinux. sudo chown <owner>:<owner> /opt/pkg/petalinux ./petalinux-v2016.4-final-installer.run /opt/pkg/petalinux |
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 sudo apt-get install terminator sudo apt-get remove gnome-terminal |
Command | petalinux-build petalinux-config -c kernel |
---|---|
Error Message | |
Workaround | Disable PetaLinux webtalk petalinux-util --webtalk off |