UPGRADE YOUR BROWSER

We have detected your current browser version is not the latest one. Xilinx.com uses the latest web technologies to bring you the best online experience possible. Please upgrade to a Xilinx.com supported browser:Chrome, Firefox, Internet Explorer 11, Safari. Thank you!

AR# 69129

2017.1 Zynq UltraScale+ MPSoC: Linux Display does not show terminal logs after resume from FPD off

Description

In Linux the target console logs do not display in Display Monitor after resuming from FPD off. 

Below are the steps I am following:

1) Create a PetaLinux project using the BSP "xilinx-zcu102-zu9-prod-v2017.1-pm-final.bsp"

2) Enable the PM related features in the kernel.

3) Build the Project.

4) Boot the target by connecting the DP port.

5) Run the following commands:

root@plnx_aarch64:~# echo dp_logs_test1 > /dev/tty1
root@plnx_aarch64:~# echo request_wakeup 8 1 0 1 > /sys/kernel/debug/zynqmp_pm/power 
root@plnx_aarch64:~# echo force_powerdown 6 > /sys/kernel/debug/zynqmp_pm/power 
root@plnx_aarch64:~# echo 0 > /sys/module/printk/parameters/console_suspend
root@plnx_aarch64:~# echo enabled > /sys/devices/platform/amba/ff000000.serial/tty/ttyPS0/power/wakeup 
root@plnx_aarch64:~# echo testmsg > /dev/tty" 
root@plnx_aarch64:~# echo mem > /sys/power/state" 

6) Resume/wake up the target:

root@plnx_aarch64:~# echo dp_logs_test1 > /dev/tty1

Solution

To work around this issue, do not disable the console suspend.

Run the below commands on target:

root@plnx_aarch64:~# echo 0 > /sys/module/printk/parameters/console_suspend
root@plnx_aarch64:~# echo 1 > /sys/module/printk/parameters/console_suspend
AR# 69129
Date 05/03/2017
Status Active
Type General Article
Devices
  • Zynq UltraScale+ MPSoC
Tools
  • Linux
Boards & Kits
  • Zynq UltraScale+ MPSoC Boards and Kits
Page Bookmarked