In the 2021.1 release, DFX can incorrectly state that an app has been loaded successfully.
In the example below the accelerator app was marked as successfully loaded, but an attempt to grep it using dmesg fails as shown below.
root@xilinx-k26-starterkit-2021_1:~# xmutil loadapp kv260-aibox-reid
Graph-server: new client
DFX-MGRD> LOAD_ACCEL: loading accel kv260-aibox-reid
DFX-MGRD> Successfully loaded base design
Accelerator loaded to slot
Socket 6 closed by client
root@xilinx-k26-starterkit-2021_1:~# dmesg
[ 446.828090] OF: resolver: node label 'vid_layer' not found in live devicetree symbols table
[ 446.828102] OF: resolver: overlay phandle fixup failed: -22
[ 446.828107] create_overlay: Failed to create overlay (err=-22)
When unloading the same app, it will again be marked as successful, but will actually fail as shown below:
root@xilinx-k26-starterkit-2021_1:~# xmutil unloadapp
Graph-server: new client
DFX-MGRD> REMOVE_ACCEL: removing accel at slot 0
DFX-MGRD> Removing accel kv260-aibox-reid from slot 0
Accelerator succesfully removed.
Socket 6 closed by client
root@xilinx-k26-starterkit-2021_1:~# dmesg
[ 464.436604] OF: overlay: remove: Could not find overlay #0
This is a known issue in the 2021.1 libdfx where the libdfx API dfx_cfg_load() might return success messages even if the corresponding overlay fails to apply.
There is currently no work-around for the 2021.1 release.
Answer Number | 问答标题 | 问题版本 | 已解决问题的版本 |
---|---|---|---|
76526 | PetaLinux 2021.1 - Product Update Release Notes and Known Issues | N/A | N/A |