element14 Community
element14 Community
    Register Log In
  • Site
  • Search
  • Log In Register
  • 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
MiniZed Hardware Design AXI TPG 7.0 device tree configuration boot 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
  • State Not Answered
  • Replies 2 replies
  • Subscribers 306 subscribers
  • Views 963 views
  • Users 0 members are here
Related

AXI TPG 7.0 device tree configuration boot problem

mhanuel
mhanuel over 7 years ago

Hello,

I am trying to use the AXI TPG 7.0 hooked to a AXI VDMA as shown here

<blockquote class="imgur-embed-pub" lang="en" data-id="a/Q04M5Nh"><a href="//imgur.com/Q04M5Nh"></a></blockquote><script async src="//s.imgur.com/min/embed.js" charset="utf-8"></script>

 

My hardware bitstream generate correctly. When updating petalinux project (2017.4) to use it, the plnx_arm-system.dts has the tpg entry like this

          v_tpg@43c20000 {
              compatible = "xlnx,v-tpg-7.0";
              reg = <0x43c20000 0x10000>;
              xlnx,s-axi-ctrl-addr-width = <0x8>;
              xlnx,s-axi-ctrl-data-width = <0x20>;

But that gave me some problem during booting, complaining about non existing node 0, I cannot find the exact error since I update the system-user.dtsi to become (before there wasno entry in system-user.dtsi)

  &v_tpg_0 {
      status = "okay";
      compatible = "xlnx,v-tpg-7.0";
      reg = <0x43c20000 0x10000>;
      ports {
          #address-cells = <1>;
          #size-cells = <0>;
          port@0 {
              reg = <0>;
              xlnx,video-format = "yuv422";
              xlnx,video-width = <8>;
              tpg_out: endpoint {
                  remote-endpoint = <&axi_vdma_0>;
              };
          };
      };
  };

I try with and without the tpg_out endpoint with same error, which is

xilinx-tpg 43c20000.v_tpg: invalid format in DT
xilinx-tpg: probe of 43c20000.v_tpg failed with error -22
 
I understand the device tree should be something like explained here
https://github.com/Xilinx/linux-xlnx/blob/master/Documentation/devicetree/bindings/media/xilinx/xlnx%2Cv-tpg.txt
 
But the problem is that I am not using VTC driver (which I really I am unsure too if needed).
 
What I am trying to do is to feed the VDMA with a Test Image generated by TPG. I understand the new 7.0 IP is controlled in software (in my case kernel driver) by using kernel module xilinx-tpg.ko
 
http://www.wiki.xilinx.com/Xilinx+V4L2+TPG+driver
 
As far as I understand driver should load correctly so  /dev/v4l-subdev is listed.
 
I will appreciate anyone that can share some thoughts about what am I missing here.
 
Best,
  • Sign in to reply
  • Cancel
  • mhanuel
    0 mhanuel over 7 years ago

    The bitstream image is at 


    https://imgur.com/a/Q04M5Nh

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • kean0048
    0 kean0048 over 6 years ago

    the same with you,if you did it ,please where is the key point,thanks a lot

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