element14 Community
element14 Community
    Register Log In
  • Site
  • Search
  • Log In Register
  • About Us
  • Community Hub
    Community Hub
    • What's New on element14
    • Feedback and Support
    • Benefits of Membership
    • Personal Blogs
    • Members Area
    • Achievement Levels
  • Learn
    Learn
    • Ask an Expert
    • eBooks
    • element14 presents
    • Learning Center
    • Tech Spotlight
    • STEM Academy
    • Webinars, Training and Events
    • Learning Groups
  • Technologies
    Technologies
    • 3D Printing
    • FPGA
    • Industrial Automation
    • Internet of Things
    • Power & Energy
    • Sensors
    • Technology Groups
  • Challenges & Projects
    Challenges & Projects
    • Design Challenges
    • element14 presents Projects
    • Project14
    • Arduino Projects
    • Raspberry Pi Projects
    • Project Groups
  • Products
    Products
    • Arduino
    • Avnet Boards Community
    • Dev Tools
    • Manufacturers
    • Multicomp Pro
    • Product Groups
    • Raspberry Pi
    • RoadTests & Reviews
  • Store
    Store
    • Visit Your Store
    • Choose another store...
      • Europe
      •  Austria (German)
      •  Belgium (Dutch, French)
      •  Bulgaria (Bulgarian)
      •  Czech Republic (Czech)
      •  Denmark (Danish)
      •  Estonia (Estonian)
      •  Finland (Finnish)
      •  France (French)
      •  Germany (German)
      •  Hungary (Hungarian)
      •  Ireland
      •  Israel
      •  Italy (Italian)
      •  Latvia (Latvian)
      •  
      •  Lithuania (Lithuanian)
      •  Netherlands (Dutch)
      •  Norway (Norwegian)
      •  Poland (Polish)
      •  Portugal (Portuguese)
      •  Romania (Romanian)
      •  Russia (Russian)
      •  Slovakia (Slovak)
      •  Slovenia (Slovenian)
      •  Spain (Spanish)
      •  Sweden (Swedish)
      •  Switzerland(German, French)
      •  Turkey (Turkish)
      •  United Kingdom
      • Asia Pacific
      •  Australia
      •  China
      •  Hong Kong
      •  India
      •  Korea (Korean)
      •  Malaysia
      •  New Zealand
      •  Philippines
      •  Singapore
      •  Taiwan
      •  Thailand (Thai)
      • Americas
      •  Brazil (Portuguese)
      •  Canada
      •  Mexico (Spanish)
      •  United States
      Can't find the country/region you're looking for? Visit our export site or find a local distributor.
  • Translate
  • Profile
  • Settings
Avnet Boards Forums
  • Products
  • Dev Tools
  • Avnet Boards Community
  • Avnet Boards Forums
  • More
  • Cancel
Avnet Boards Forums
Ultrazed Hardware Design Interfacing with the USB 3320 phy
  • Forum
  • Documents
  • Members
  • Mentions
  • Sub-Groups
  • Tags
  • More
  • Cancel
  • New
Join Avnet Boards Forums to participate - click to join for free!
Actions
  • Share
  • More
  • Cancel
Forum Thread Details
  • State Verified Answer
  • Replies 2 replies
  • Answers 1 answer
  • Subscribers 323 subscribers
  • Views 3250 views
  • Users 0 members are here
  • petalinux
  • ultrascale+
  • usb
  • usb3320
  • usb_phys
Related

Interfacing with the USB 3320 phy

mboechat
mboechat over 6 years ago

I hope this is the right place to ask. The question goes a little beyond hardware, and a little beyond the UltraZed.

 

The UltraZed uses a Microchip USB3320 phy on MIO[52..63] (USB0). When using the BSP to build petalinux, everything works fine and I can see usb devices on the port.

 

My custom design is also using a USB3320 on MIO[52..63] (USB0) as well as an other one on MIO[64..75] (USB1) and I am unable to build a petalinux instance that interacts with the phys.

 

I wonder if there is some "magic" done by the UZ bsp package that enables petalinux to work with the USB phy. I have tried many many kernel configurations around USB drives and ULPI support, nothing works, I see no activity on the interface.

 

I have of course been searching for solution already. I have gotten a lot of hits on Xilinx's confluence site, which does not help me much. The most relevant resource I found is this (https://forums.xilinx.com/t5/Embedded-Linux/Zynqmp-USB2-0/td-p/790522) long thread on xilinx forums that suggests that my issue is not unique, and has been going on for a while. I have tried to modify the device tree manually, it usually breaks the build. I have tried changing the kernel config. I have not touched the rootfs config.

 

My hope is that someone went through this trouble while building the bsp for the UltraZed and has some pointers for me. That would be much appreciated. I am NOT an expert in building linux, so feel free to mention basic or obvious things I might have missed.

 

my current workflow is

petalinux-create -t project -n name --template zynqMP

cd name

petalinux-config -c kernel --> Device drivers > USB drivers

petalinux-build

petalinux-package --boot --format BIN --fsbl images/linux/zynqmp_fsbl.elf --u-boot images/linux/u-boot.elf --pmufw images/linux/pmufw.elf --fpga images/linux/*.bit --force

  • Sign in to reply
  • Cancel

Top Replies

  • mboechat
    mboechat over 6 years ago +2 suggested
    I realized that the messages received during boot-up might be useful. So I have attached them as a text file. Note that there is some garbage just before USB-related messages (at 2.86) This might also…
  • mboechat
    mboechat over 6 years ago in reply to mboechat +2 verified
    The device tree needs to be modified for the PHY to work, then it worked for me without further tweaking (plain Petalinux 2018.3, just modify your_project/project-spec/meta/user/recipes-bsp/device-tree…
  • mboechat
    0 mboechat over 6 years ago

    I realized that the messages received during boot-up might be useful.

    So I have attached them as a text file.

    Note that there is some garbage just before USB-related messages (at 2.86) This might also be relevant. It happens every boot.

    Attachments:
    boot.log.zip
    • Cancel
    • Vote Up +2 Vote Down
    • Sign in to reply
    • Verify Answer
    • Reject Answer
    • Cancel
  • mboechat
    0 mboechat over 6 years ago in reply to mboechat

    The device tree needs to be modified for the PHY to work, then it worked for me without further tweaking (plain Petalinux 2018.3, just modify your_project/project-spec/meta/user/recipes-bsp/device-tree/files/system-user.dtsi as described there : https://forums.xilinx.com/t5/Embedded-Linux/make-petalinux-work-with-microsemi-USB3320-phy-on-Ultrascale/m-p/1009628

    • Cancel
    • Vote Up +2 Vote Down
    • Sign in to reply
    • Verify Answer
    • Reject Answer
    • Cancel
element14 Community

element14 is the first online community specifically for engineers. Connect with your peers and get expert answers to your questions.

  • Members
  • Learn
  • Technologies
  • Challenges & Projects
  • Products
  • Store
  • About Us
  • Feedback & Support
  • FAQs
  • Terms of Use
  • Privacy Policy
  • Legal and Copyright Notices
  • Sitemap
  • Cookies

An Avnet Company © 2025 Premier Farnell Limited. All Rights Reserved.

Premier Farnell Ltd, registered in England and Wales (no 00876412), registered office: Farnell House, Forge Lane, Leeds LS12 2NE.

ICP 备案号 10220084.

Follow element14

  • X
  • Facebook
  • linkedin
  • YouTube