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# 72376

2018.x-2019.1 Zynq UltraScale+ MPSoC: USB core reset in Linux can cause issues with USB device connected if it was previously powered in U-boot

Description

USB PHY reset and USB core reset during Linux boot can cause functional issues in Linux with larger USB devices, if the device was previously powered in u-boot.

Solution

To work around this issue follow the steps below to power off the USB device in U-boot.

Please do the following register writes in U-boot for the USB (USB-0/USB-1) you are using:

USB-0 device controller:


1) 0xFE200430 - Clear bit 9

ZynqMP> md.w 0xFE200430
fe200430: 02a0 0000 0000 0000 0000 0000 0000 0000    ................
ZynqMP> mw.w 0xFE200430 a0
ZynqMP> md.w 0xFE200430
fe200430: 0080 0000 0000 0000 0000 0000 0000 0000    ................


2) 0xFE200420 - Clear bit 9

ZynqMP> md.w 0xFE200420
fe200420: 0e03 0000 0000 0000 0000 0000 0000 0000    ................
ZynqMP> mw.w 0xFE200420 c03
ZynqMP> md.w 0xFE200420
fe200420: 0080 0000 0000 0000 0000 0000 0000 0000    ................


3) 0xFF5E023C | 0x880

ZynqMP> md.w 0xFF5E023C
ff5e023c: 0a80 0000 0000 0000 0000 0000 0000 0000    ................
ZynqMP> mw.w 0xFF5E023C a80
ZynqMP> md.w 0xFF5E023C
ff5e023c: 0a80 0000 0000 0000 0000 0000 0000 0000    ................


USB-1 device controller:

1) 0xFE300430 - Clear bit 9

ZynqMP> md.w 0xFE300430
fe300430: 02a0 0000 0000 0000 0000 0000 0000 0000    ................
ZynqMP> mw.w 0xFE300430 a0
ZynqMP> md.w 0xFE300430
fe300430: 0080 0000 0000 0000 0000 0000 0000 0000    ................


2) 0xFE300420 - Clear bit 9

ZynqMP> md.w 0xFE300420
fe300420: 0e03 0000 0000 0000 0000 0000 0000 0000    ................
ZynqMP> mw.w 0xFE300420 c03
ZynqMP> md.w 0xFE300420
fe300420: 0080 0000 0000 0000 0000 0000 0000 0000    ................


3) 0xFF5E023C | 0x880

ZynqMP> md.w 0xFF5E023C
ff5e023c: 0a80 0000 0000 0000 0000 0000 0000 0000    ................
ZynqMP> mw.w 0xFF5E023C a80
ZynqMP> md.w 0xFF5E023C
ff5e023c: 0a80 0000 0000 0000 0000 0000 0000 0000    ................


AR# 72376
Date 05/29/2019
Status Active
Type General Article
Devices
Tools More Less
Boards & Kits
Page Bookmarked