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
Ultra96 Hardware Design U96v2 display port / modetest problem
  • 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
  • Replies 6 replies
  • Subscribers 331 subscribers
  • Views 1557 views
  • Users 0 members are here
  • displayport
  • ultra96
Related

U96v2 display port / modetest problem

chrised
chrised over 4 years ago

Hi,

I have a working U96v1 design that I ported over to U96v2.  Everything seems to be working in the new v2 design, Vitis DPU integration, Xilinx drivers including DRM all boot up OK, our HW and drivers in linux all work, etc. We are using standard 2019.2 flow: Vivado-PLNX-Vitis.

 

However, the display port display won't come up, i.e. when I run the basic test:

modetest -M xlnx -s 39:1920x1080@RG16

it runs OK, but no colorbar display (no HDMI signal).  Note I am using same display, cable, drivers, SW environment on U96V1 and it works perfectly.

Also if I run X :0 and a test app like xclock it does not come up.

I have checked kernel config likes CMA memory, the xlnx-drm messages in dmesg, the card0-DP-1 is connected and working (see modetest results below). The drm driver seems to be booting just fine (exactly the same dmesg as V1).

 

I did suspect something with the i2c interface, but i2cdetect -l shows proper ZynqMP DP AUX coming up on i2c-1, and if I read EDID with display plugged in, it matches what I see in the V1.  However, in all the testing I've done, I did see an EDID error once or twice, but that may have been just from plugging/unplugging the cable.  Also I do see an i2c config error in dmesg that is not in the u9v1 log, but I think that does not affect DisplayPort (see below).


Any ideas what to check?  The only thesis I can think of is:
1. maybe the i2c write to the display is not working - does the driver ever make i2c writes to the display?
2. there is an dp_oe  (display port output enable signal) driven by MIO29.  Could that be inverted or messed up somehow, i.e in the device tree or somewhere in the driver config?
3. maybe other issues with devicetree?  There are some difference between v1 and v2, but they all seem to be in the system-user.dtsi and unrelated to DisplayPort.

 

So its much appreciated if Avnet expert could comment on above, that is:

1. review devicetree for problems - I attach system-user.dtsi which is from Petalinx with some additions for our HW.  Note the zxyclmm entry is manual for the DPU entry, following the VitisAI instructions for U96.
2. instruct how to check the MIO29-dp_oe operation is working correctly,  config/constraints are correct, etc.
3. advise if i2c write to ZynqMP_DP_AUX could be a problem and how to check it.

Many thanks - any further advice is appreciated.

 

Chris

Attachments:
v2modetst.txt.zip
v2-ic2-probe-dmesg-errors.txt.zip
system-user.dtsi.txt.zip
  • Sign in to reply
  • Cancel

Top Replies

  • narrucmot
    narrucmot over 4 years ago +1
    I would suggest starting with a known-good PetaLinux BSP for the Ultra96-V2 and compare any differences in the underlying Vivado hw platform and PetaLinux kernel & rootfs configurations. You can download…
  • bhfletcher
    bhfletcher over 4 years ago in reply to chrised +1
    Chris, Did you use the known-good image from the Avnet-published U96V2 PetaLinux BSP to verify that everything is still good with your hardware? Do that first, and then we can go to the next level of debug…
  • narrucmot
    narrucmot over 4 years ago

    I would suggest starting with a known-good PetaLinux BSP for the Ultra96-V2 and compare any differences in the underlying Vivado hw platform and PetaLinux kernel & rootfs configurations.  You can download a BSP here:

    Ultra96-V2  on the "Reference Designs" tab.

    image

    --Tom

    • Cancel
    • Vote Up +1 Vote Down
    • Sign in to reply
    • Cancel
  • chrised
    chrised over 4 years ago in reply to narrucmot

    Hi Tom,

    Thanks.  The U96V2 Petalinux 2019.2 BSP is exactly what I built from and I have made those Vivado comparisons, that is the PS video, devictree, etc. and everything that I know related to the video is the same.  I've also double-check the DDR memory config which is different from V1, and it is correct V2 spec.

     

    Is there something specific to the DisplayPort that you recommend I compare?

     

    -Chris

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • bhfletcher
    bhfletcher over 4 years ago in reply to chrised

    Chris,

      Did you use the known-good image from the Avnet-published U96V2 PetaLinux BSP to verify that everything is still good with your hardware? Do that first, and then we can go to the next level of debug.

      Other than the source of the DP clock, nothing changed between Ultra96-V1 and Ultra96-V2 in regards to the DisplayPort circuitry. While the clock generator has changed on V2, the frequency is still the same, and the IDT chip comes pre-programmed, so nothing for the user to set or modify.

     

    Bryan

    • Cancel
    • Vote Up +1 Vote Down
    • Sign in to reply
    • Cancel
  • chrised
    chrised over 4 years ago in reply to bhfletcher

    Hi Bryan!

     

    Yes, I actually built the HW from the Avnet/hdl repository and the BSP from the Avnet website (from April timeframe), and this one above has a different md5 checksum.  Can you confirm what the md5 is for the latest and greatest 2019.2 BSP?

     

    Thks,

    Chris

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • bhfletcher
    bhfletcher over 4 years ago in reply to chrised

    The latest/greatest is 2020.1, but the archive files are tied up with our web team getting posted (GitHub source files are up to date now). However, if you want to try to boot the Ultra96-V2, here is a temporary download link for the 2020.1 boot image:

     

    https://avtinc.sharepoint.com/:u:/t/ET-Downloads/EWK3biwSoRZGnBL-0_U8kx8BP8FTRmircucRIGBEfCUaCg?e=9Jwuo8

    MD5: d2676f376e74940e7cb02cbee6aecd49

     

    Bryan

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • bhfletcher
    bhfletcher over 4 years ago in reply to bhfletcher

    Chris -- were you able to confirm that your hardware is operating correctly?

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • 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