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
Software Application Development Linux Drivers for 7" Zed Touch Display Kit
  • 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 6 replies
  • Subscribers 314 subscribers
  • Views 588 views
  • Users 0 members are here
Related

Linux Drivers for 7" Zed Touch Display Kit

Former Member
Former Member over 10 years ago

Are there Linux drivers available for the 7" Zed Touch Display Kit?  There is a precompiled example design called "Display Panel Ubuntu Tutorial for ZedBoard", and there is a ISE 14.4 patch file which references several header/source files located at "drivers/gpu/drm/zeddispkit/", but I haven't been able to locate these.

Any help would be greatly appreciated.

Thanks,
Greg

  • Sign in to reply
  • Cancel
  • zedhed
    0 zedhed over 10 years ago

    Hi Greg,

    Applying that patch file should add the header/source files to the kernel source tree.

    Regards,

    -Kevin

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • Former Member
    0 Former Member over 10 years ago in reply to zedhed

    Thanks, Kevin. I didn't realize the patch included the missing files.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • jothin
    0 jothin over 9 years ago in reply to zedhed

    Hi,

    The patch can be applied for xilinx_v2015.2 linux also

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • armendzh
    0 armendzh over 9 years ago

    I am trying to apply this patch to Xilinx_v2015.2.
    Some files have changed from the version 14.4 for which this patch is made. Is there an updated patch for Xilinx v2015.2 available somewhere?

    I am trying to get display kit to work with PetaLinux.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • armendzh
    0 armendzh over 9 years ago in reply to armendzh

    After trying to patch PetaLinux 2015.2 using available patch from AVNET, I am getting following error or warnings when saving kernel configuration.

    ======================
    configuration written to /home/adzh/zynq_mini-itx_amp10/subsystems/linux/configs/kernel/config

    *** End of the configuration.
    *** Execute 'make' to start the build or try 'make help'.

    warning: (DRM_KMS_CMA_HELPER && DRM_RADEON && DRM_NOUVEAU && DRM_I915_FBDEV && DRM_EXYNOS && DRM_ROCKCHIP && DRM_GMA500 && DRM_UDL && DRM_AST && DRM_MGAG200 && DRM_CIRRUS_QEMU && DRM_ARMADA && DRM_RCAR_DU && DRM_SHMOBILE && DRM_OMAP && DRM_TILCDC && DRM_QXL && DRM_BOCHS && DRM_MSM_FBDEV && DRM_IMX && DRM_TEGRA_FBDEV) selects DRM_KMS_FB_HELPER which has unmet direct dependencies (HAS_IOMEM && DRM_KMS_HELPER)
    warning: (DRM_KMS_CMA_HELPER && DRM_RADEON && DRM_NOUVEAU && DRM_I915_FBDEV && DRM_EXYNOS && DRM_ROCKCHIP && DRM_GMA500 && DRM_UDL && DRM_AST && DRM_MGAG200 && DRM_CIRRUS_QEMU && DRM_ARMADA && DRM_RCAR_DU && DRM_SHMOBILE && DRM_OMAP && DRM_TILCDC && DRM_QXL && DRM_BOCHS && DRM_MSM_FBDEV && DRM_IMX && DRM_TEGRA_FBDEV) selects DRM_KMS_FB_HELPER which has unmet direct dependencies (HAS_IOMEM && DRM_KMS_HELPER)
    warning: (DRM_KMS_CMA_HELPER && DRM_RADEON && DRM_NOUVEAU && DRM_I915_FBDEV && DRM_EXYNOS && DRM_ROCKCHIP && DRM_GMA500 && DRM_UDL && DRM_AST && DRM_MGAG200 && DRM_CIRRUS_QEMU && DRM_ARMADA && DRM_RCAR_DU && DRM_SHMOBILE && DRM_OMAP && DRM_TILCDC && DRM_QXL && DRM_BOCHS && DRM_MSM_FBDEV && DRM_IMX && DRM_TEGRA_FBDEV) selects DRM_KMS_FB_HELPER which has unmet direct dependencies (HAS_IOMEM && DRM_KMS_HELPER)

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • armendzh
    0 armendzh over 9 years ago

    I started looking at updating display driver for PetaLinux and mini-ITX board to be able to use AVNET touch screen display.

    I have everything updated except for display driver files. I pressume most of those errors are due to changes made to the framebuffer from the time of kernel 3.6 to kernel 3.19 (to which I am trying to update).

    Here are error I am getting when building my image:
    [code]
    ====================================================
    [ALL  ]   CC      drivers/gpu/drm/zeddispkit/zeddispkit_drm_crtc.o
    [ALL  ] /home/adzh/petalinux/components/linux-kernel/xlnx-3.19/drivers/gpu/drm/zeddispkit/zeddispkit_drm_crtc.c: In function 'zeddispkit_drm_crtc_update':
    [ALL  ] /home/adzh/petalinux/components/linux-kernel/xlnx-3.19/drivers/gpu/drm/zeddispkit/zeddispkit_drm_crtc.c:50:35: error: 'struct drm_crtc' has no member named 'fb'
    [ALL  ]   struct drm_framebuffer *fb = crtc->fb;
    [ALL  ]                                    ^
    [ALL  ] /home/adzh/petalinux/components/linux-kernel/xlnx-3.19/drivers/gpu/drm/zeddispkit/zeddispkit_drm_crtc.c:64:30: error: 'struct xilinx_vdma_config' has no member named 'hsize'
    [ALL  ]    zeddispkit_crtc->dma_config.hsize = mode->hdisplay * fb->bits_per_pixel / 8;
    [ALL  ]                               ^
    [ALL  ] /home/adzh/petalinux/components/linux-kernel/xlnx-3.19/drivers/gpu/drm/zeddispkit/zeddispkit_drm_crtc.c:65:30: error: 'struct xilinx_vdma_config' has no member named 'vsize'
    [ALL  ]    zeddispkit_crtc->dma_config.vsize = mode->vdisplay;
    [ALL  ]                               ^
    [ALL  ] /home/adzh/petalinux/components/linux-kernel/xlnx-3.19/drivers/gpu/drm/zeddispkit/zeddispkit_drm_crtc.c:66:30: error: 'struct xilinx_vdma_config' has no member named 'stride'
    [ALL  ]    zeddispkit_crtc->dma_config.stride = fb->pitches[0];
    [ALL  ]                               ^
    [ALL  ] /home/adzh/petalinux/components/linux-kernel/xlnx-3.19/drivers/gpu/drm/zeddispkit/zeddispkit_drm_crtc.c:74:18: error: expected ')' before 'offset'
    [ALL  ]       obj->paddr  offset,
    [ALL  ]                   ^
    [ALL  ] /home/adzh/petalinux/components/linux-kernel/xlnx-3.19/drivers/gpu/drm/zeddispkit/zeddispkit_drm_crtc.c:73:10: error: too few arguments to function 'dmaengine_prep_slave_single'
    [ALL  ]    desc = dmaengine_prep_slave_single(zeddispkit_crtc->dma,
    [ALL  ]           ^
    [ALL  ] In file included from /home/adzh/petalinux/components/linux-kernel/xlnx-3.19/drivers/gpu/drm/zeddispkit/zeddispkit_drm_crtc.c:27:0:
    [ALL  ] /home/adzh/petalinux/components/linux-kernel/xlnx-3.19/include/linux/dmaengine.h:710:47: note: declared here
    [ALL  ]  static inline struct dma_async_tx_descriptor *dmaengine_prep_slave_single(
    [ALL  ]                                                ^
    [ALL  ] /home/adzh/petalinux/components/linux-kernel/xlnx-3.19/drivers/gpu/drm/zeddispkit/zeddispkit_drm_crtc.c: In function 'zeddispkit_drm_crtc_create':
    [ALL  ] /home/adzh/petalinux/components/linux-kernel/xlnx-3.19/drivers/gpu/drm/zeddispkit/zeddispkit_drm_crtc.c:197:2: error: implicit declaration of function 'drm_crtc_init' [-Werror=implicit-function-declaration]
    [ALL  ]   drm_crtc_init(dev, crtc, &zeddispkit_crtc_funcs);
    [ALL  ]   ^
    [ALL  ] cc1: some warnings being treated as errors
    [ERROR] make[7]: *** [drivers/gpu/drm/zeddispkit/zeddispkit_drm_crtc.o] Error 1
    [ERROR] make[6]: *** [drivers/gpu/drm/zeddispkit] Error 2
    [ERROR] make[5]: *** [drivers/gpu/drm] Error 2
    [ERROR] make[4]: *** [drivers/gpu] Error 2
    [ERROR] make[3]: *** [drivers] Error 2
    [ALL  ] make[3]: *** Waiting for unfinished jobs....
    [ALL  ]   CC      net/ipv4/udplite.o
    [ALL  ]   CC      net/ipv6/udp_offload.o
    [/code]
    ====================================================

    First one has conflict with:

    ====================================================
    [code]
    struct drm_framebuffer *fb = crtc->fb;
    [/code]

    Next three can not find hsize, vsize and stride... (with dma_config defined as xilinx_vdma_config).
    [code]
    zeddispkit_crtc->dma_config.hsize = mode->hdisplay * fb->bits_per_pixel / 8;
    zeddispkit_crtc->dma_config.vsize = mode->vdisplay;
    zeddispkit_crtc->dma_config.stride = fb->pitches[0];
    [/code]
    ====================================================

    All three were previously defined in include/linux/amba/xilinx_dma.h:


    ====================================================
    Kernel 3.6
    [code]
    struct xilinx_vdma_config {
            enum dma_transfer_direction direction;
                                            /* Channel direction */
            int vsize;                      /* Vertical size */
            int hsize;                      /* Horizontal size */
            int stride;                     /* Stride */
            int frm_dly;                    /* Frame delay */
            int gen_lock;                   /* Whether in gen-lock mode */
            int master;                     /* Master that it syncs to */
            int frm_cnt_en;                 /* Enable frame count enable */
            int park;                       /* Whether wants to park */
            int park_frm;                   /* Frame to park on */
            int coalesc;                    /* Interrupt coalescing threshold */
            int delay;                      /* Delay counter */
            int disable_intr;               /* Whether use interrupts */
            int reset;                      /* Reset Channel */
            int ext_fsync;                  /* External Frame Sync */
    };
    [/code]

    Kernel 3.19
    [code]
    struct xilinx_vdma_config {
            int frm_dly;
            int gen_lock;
            int master;
            int frm_cnt_en;
            int park;
            int park_frm;
            int coalesc;
            int delay;
            int reset;
            int ext_fsync;
    };
    [/code]

    • 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