AR# 76764

|

2021.1 PetaLinux: Changes to base files PRODUCT name and FW_VERSION configs do not get reflected in rootfs

描述

In the 2021.1 release of PetaLinux, Updating the base file PRODUCT and FW_VERSION in the petalinux-config options does not cause the rootfs to get updated.

Build Host:

$ petalinux-config ---> Firmware Version Configuration ---> (zynqmp-test) Product name
$ petalinux-config ---> Firmware Version Configuration ---> (2021.1.15) Firmware Version




Target Logs:
root@zynqmp-test:~# uname -a
Linux zynqmp-test 5.10.0-xilinx-v2021.1 #1 SMP Fri Jun 4 15:57:16 UTC 2021 aarch64 GNU/Linux
root@zynqmp-test:~# cat /etc/petalinux/version
2021.1
root@zynqmp-test:~# cat /etc/petalinux/product
zynqmp-generic
root@zynqmp-test:~#

解决方案

This is a known issue in 2021.1 release of the PetaLinux tools.

To fix this issue, you will need to follow below steps.

1) Add the below variables to the petalinuxbsp.conf file using a text editor:

$ vim <plnx-proj-root>/project-spec/meta-user/conf/petalinuxbsp.conf

PETALINUX_PRODUCT_pn-base-files-plnx = "zynqmp-test"
PETALINUX_VERSION_pn-base-files-plnx = "2021.1.15"

2) Clean the base-files-plnx, rootfs sstate cache and rebuild both base-files-plnx and rootfs recipes:

$ petalinux-build -c base-files-plnx -x cleansstate
$ petalinux-build -x cleansstate
$ petalinux-build

链接问答记录

主要问答记录

Answer Number 问答标题 问题版本 已解决问题的版本
76526 PetaLinux 2021.1 - Product Update Release Notes and Known Issues N/A N/A
AR# 76764
日期 08/03/2021
状态 Active
Type 已知问题
器件
Tools
People Also Viewed