AR# 69126

|

2017.1 Zynq UltraScale+ MPSoC: In PetaLinux menuconfig, changing UART device settings does not change UART device number in device-tree

Description

In the 2017.1 PetaLinux release, changing UART device settings through menuconfig does not change the UART device number in the device-tree.

Solution

To work around this issue, follow the steps below.

1) In system-user.dtsi add the serial 1 as show below:

$ vim <plnx-proj-root>/project-spec/meta-user/recipes-bsp/device-tree/files/system-user.dtsi

/include/ "system-conf.dtsi"
/ {
chosen {
bootargs = "earlycon clk_ignore_unused";
stdout-path = "serial1:115200n8";
};
};

2) Modify the SERIAL_CONSOLE variable in <plnx-proj-root>/project-spec/meta-plnx-generated/conf/machine/plnx_aarch64.conf as shown below:

SERIAL_CONSOLE= "115200 ttyPS1"

3) Rebuild your PetaLinux project:

$ petalinux-build
AR# 69126
Date 05/03/2017
Status Active
Type General Article
Devices
Tools
People Also Viewed