This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

omap-4460 rpmsg_omx

Prodigy 190 points

Replies: 2

Views: 2434

Hi,
I'm working with omap4 and camera drivers. The one I have been using is rpmsg_omx. Default configuration works good, but my problem is to change pinmux, Precisely PDWN pin. (change LOW to HI during recording and from Hi to Low after that). 
I download kernel:

 git clone git://dev.omapzoom.org/pub/scm/integration/kernel-ubuntu.git

and see that there are files like:
rpmsg_omx.h
rpmsg_omx.c
but they don't define which GPIO they are using (default gpio_175 and I want to change it to gpio_50). Neither they define rest CSI-2 pins (although I connect them same as default setting).
I'm stuck 2nd day trying to find it, but I am lost now :)
Can sb tell me ( or give me a hint) where should I look for declaration which pins I am using?

Regards,
Paweł Krzyżanowski

2 Replies

  • Moving this to the OMAP forum.

     

    Best Regards
    Biser
  • PS. The way I lunch my camera (to record to file without display)
    #!/bin/sh
    gst-launch omx_camera device=1 do-timestamp=1 mode=0 name=cam cam.src ! \
    "video/x-raw-yuv, format=(fourcc)NV12, width=1280, height=720, framerate=24/1" ! tee name=t1 t1. ! queue ! ducatih264enc profile=66 level=40 rate-preset=low-delay bitrate=4000 ! h264parse ! \
    queue ! avimux ! filesink location=test.avi t1. ! queue

    Regards,
    Paweł Krzyżanowski

This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.