AR# 69115

|

2017.1 Zynq UltraScale+ MPSoC: OpenAMP applications dependency on UART serial console

Description

OpenAMP RPU applications (pre-built) fail to execute at runtime if the UART setting is changed in the BSP.

Only UART-0 as a serial console (stdout) works well with OpenAMP applications.

Neither "UART-1" nor "UART-none" works with OpenAMP.

Solution

This is not a bug in OpenAMP, it is related to device sharing between APU and RPU.

The UART1 issue occurs because UART1 is in DTS, in the default PetaLinux BSP.

Linux owns it but does not use it. As a result Linux will suspend it and RPU0 will not be able to output to UART1.

UART1 should be disabled from the device tree.

You can add the following to <plnx-proj-root>/project-spec/meta-user/recipes-bsp/device-tree/files/system-user.dtsi:

&uart1{
    status = "disabled";
};
AR# 69115
Date 05/03/2017
Status Active
Type General Article
Devices
Tools
Boards & Kits
People Also Viewed