Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Excerpt

Petalinux 2020.2

General notes

Xilinx Release Notes available on: https://www.xilinx.com/support/answers/75775.html

Kernel changes

are missing

with petalinux commands

Create receipe manually.  (better workaround is working in process)

Command

petalinux-config -c kernel

petalinux-build -c kernel -x finish -f

Error Message
petalinux-build -c kernel -x finish -f will not export receipt
Workaround
Code Block
languagebash
U-Boot changes are missing
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

Code Block
languagebash
petalinux-devtool finish linux-xlnx ${PWD}/project-spec/meta-user/ -f

Note: Before "petalinux-config -c kernel" can be used again after export, run:

Code Block
languagebash
petalinux-build -x mrproper -f


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-build -c u-boot -x finish -f will not export receipt/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

Code Block
languagebash
petalinux-devtool finish u-boot-xlnx /project-spec/meta-user/ -f

Note: Before "petalinux-config -c u-boot" can be used again after export, run:

Code Block
languagebash
petalinux-build -x mrproper -f

Workaround

Create receipe manually.  (better workaround is working in process)

bash
Code Block
language



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.

Code Block
languagebash
sudo chown <owner>:<owner> /opt/pkg/petalinux
./petalinux-v2018.3-final-installer.run /opt/pkg/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


Code Block
languagebash
petalinux-build -c kernel -x finish -f


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


Code Block
languagebash
petalinux-build -c u-boot -x finish -f


Petalinux 2018.3

General notes

...