Search

Technical Discussion Group Forum

This forum is provided for user discussion. While Beacon EmbeddedWorks support staff and engineers participate, Beacon EmbeddedWorks does not guarantee the accuracy of all information within in the Technical Discussion Group (TDG).

The "Articles" forums provide brief Articles written by Beacon EmbeddedWorks engineers that address the most frequently asked technical questions.

To receive email notifications when updates are posted for a Beacon EmbeddedWorks product download, please subscribe to the TDG Forum of interest.

TDG Forum

PrevPrev Go to previous topic
NextNext Go to next topic
Last Post 20 Jan 2015 03:51 PM by  Adam Ford
DM3730 Torpedo G-Streamer Example with S-Video
 0 Replies
Sort:
You are not authorized to post a reply.
Author Messages
Adam Ford
Advanced Member
Advanced Member
Posts:794


--
20 Jan 2015 03:51 PM

     

    To run the G-Streamer examples routed to the S-Video instead of the LCD, several steps need to be followed.

     

    1.  Patch the omap_vout.c file (~/logic/Logic_BSPs/Linux_svn/bsp/rpm/BUILD/linux-3.0/drivers/media/video/omap)

    --- omap_vout.c.orig 2015-01-20 12:46:06.927618596 -0600
    +++ omap_vout.c 2015-01-20 12:48:17.107613585 -0600
    @@ -956,10 +956,13 @@
      int startindex = 0, i, j;
      u32 phy_addr = 0, virt_addr = 0;
      struct omap_vout_device *vout = q->priv_data;
    + int vid_max_buf_size;
     
      if (!vout)
      return -EINVAL;
     
    + vid_max_buf_size = vout->vid == OMAP_VIDEO1 ? video1_bufsize : video2_bufsize;
    +
      if (V4L2_BUF_TYPE_VIDEO_OUTPUT != q->type)
      return -EINVAL;
     
    @@ -985,7 +988,7 @@
      video1_numbuffers : video2_numbuffers;
     
      /* Check the size of the buffer */
    - if (*size > vout->buffer_size) {
    + if (*size > vid_max_buf_size) {
      v4l2_err(&vout->vid_dev->v4l2_dev,
      "buffer allocation mismatch [%u] [%u]\n",
      *size, vout->buffer_size);


    2.  Compile the project using the instructions found in Section 7.1 of DM3730 Linux User Guide.

    3.  Continue to follow the set of Section 7.2, but add two additional 'otherbootargs' settings.

     omapdss.def_disp=tv 

    omapfb.mode=tv:ntsc

    4.  Once Linux is booted, but before continuing to section 7.3, enter the following at the DM-37x# prompt: 

    peekpoke -l -w 0x48050cc4  0xd

    $ peekpoke -l -w  0x48050040 0x78

    5.  Continue to follow the instructions listed in the User Guide under section 7.3

     

    You are not authorized to post a reply.