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.

dm355: previewer freeze target

Hi,

my setup:

mt9v126 -> CCDC -> IPIPE (raw bayer-> YUV 422)  -> SDRAM -> V4L2 -> LCD

Leopardboard DM355, Linux davinci (r37), examples davinci (r37) 

I run the imp-prev-rsz/dm355/capture_prev_rsz_onthe_fly_bayer.c demo, but the function (line 799)

if (-1 == ioctl(fdCapture, VIDIOC_STREAMON, &type)) {

does not return. If i comment out this line

//preview_fd = init_previewer(user_mode); // line 900, disable previewer 

the target don't freeze.

 

Can you help me?

 

Regards,

 

Klaus

  • Klaus Schwarzkopf,

    since you are using IPIPE in continuous mode, you need to set bootargs to indicate the same. Can you check that?


  • Hello Nagabhushana,

     

    my bootargs are:

    setenv bootargs mem=96M console=ttyS0,115200n8 root=/dev/nfs rw nfsroot=192.168.0.20:/home/klaus/fs 
    ip=192.168.0.110:192.168.0.20:192.168.0.1:255.255.255.0:leopard:eth0:off ethaddr=00:09:45:53:d1:b3  
    davinci_enc_mngr.ch0_output=LCD vpfe_capture.interface=1 video=davincifb:osd1=0x0x8 vpfe_capture.debug=1 dm355_imp.oper_mode=0
    
    
    
    
    If dm355_imp.oper_mode=0 isn't set, the demo don't start.
    
    
    Regards,
    
    
    Klaus