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.

issue in ./moduletest.out drv_capture

Hi,

I am trying to run .moduletest.out drv_capture.The log is given below:

# ./moduletest.out drv_capture                                                  
 DavinciDisplay DavinciDisplay.1: Before finishing with S_FMT:                  
layer.pix_fmt.bytesperline = 640,                                               
 layer.pix_fmt.width = 640,                                                     
 layer.pix_fmt.height = 480,                                                    
 layer.pix_fmt.sizeimage =460800                                                
                                                                                
 CLK Hz,                                                                        
 ARMDavinciDisplay DavinciDisplay.1: pixfmt->width = 640,                       
 layer->layer_info.config.line_length= 640                                      
   Hz =  432000000                                                              
 DDR   Hz =  340000000                                                          
 VPSS  Hz =  3400000DavinciDisplay DavinciDisplay.1: Invalid crop values        
00                                                                              
 IMCOP Hz = DavinciDisplay DavinciDisplay.1: Error in S_CROP params             
 340000000                                                                      
                                                                                
 DavinciDisplay DavinciDisplay.1: Invalid crop values                           
DRV LDC: GetConfDavinciDisplay DavinciDisplay.1: Error in S_CROP params         
ig 0003 0x0                                                                     
 [ODavinciDisplay DavinciDisplay.1: Invalid crop values                         
SA_FILE ] ReadinDavinciDisplay DavinciDisplay.1: Error in S_CROP params         
g file [/mnt/nand/IMG_Paramset.bin] ... ERROR                                   
IMAGE TUNE: Paramset File is not available..... Setting DEFAULT parameter       
 CAPTURE: Opening display.                                                      
 ERROR  (drv_display.c|DRV_displaySetWinPos|679): VIDIOC_S_CROP ioctl           
 ERROR  (drv_display.c|DRV_displaySetWinSize|701): VIDIOC_S_CROP ioctl          
 ERROR  (drv_display.c|DRV_displayExpand|598): VIDIOC_S_CROP ioctl              
 CAPTURE: Opening capture on imager IMX036_3MP.                                 
############OPEN###########                                                     
==========>>>> Start X,Y = 52,18                                                
 Sensor Mode Info,                                                              
 Width      = 1384                                                              
 Height     =  772                                                              
 fps        =   30                                                              
 Bin Enable =    0                                                              
                                                                                
 Sensor Frame Timing Info,                                                      
 fps                  = 30                                                      
 t_frame (ns)         = 33333334.000000                                         
 t_row   (ns)         = 35687.500000                                            
 t_pclk  (ns)         = 15.625000                                               
 W                    = 1384                                                    
 H                    = 772                                                     
 SW                   = 1125                                                    
 SD                   = 0                                                       
 HB                   = 450                                                     
 VB                   = 162                                                     
 HBmin                = 450                                                     
 VBmin                = 9                                                       
 f_pclk               = 64000000                                                
 shutterOverhead (ns) = 6656.250000                                             
 col_size             = 1384                                                    
 row_size             = 772                                                     
 col_bin              = 0                                                       
 row_bin              = 0                                                       
 col_start            = 408                                                     
 row_start            = 524                                                     
 pll_M                = 16                                                      
 pll_N                = 1                                                       
 pll_DIV              = 1                                                       
                                                                                
############reset###########                                                    
############SPI OPEN###########                                                 
spi mode: 16                                                                    
bits per word: 8                                                                
max speed: 12000000 Hz (12000 KHz)                                              
############SET REG###########                                                  
############OPEN END###########                                                 
================> 512, 0, 1735                                                  
TI Setting Applied 

After that there is no output.It hangs here.

This is coming from DRV_H3Aopen

and i think it is defined in some system file called system.ini and i

am not able to open this file.

how we can open system.ini file.

Thanks and Regards,

Mayank



  • From the log it looks like the display ioctl calls have failed

    ERROR  (drv_display.c|DRV_displaySetWinPos|679): VIDIOC_S_CROP ioctl           
     ERROR  (drv_display.c|DRV_displaySetWinSize|701): VIDIOC_S_CROP ioctl          
     ERROR  (drv_display.c|DRV_displayExpand|598): VIDIOC_S_CROP ioctl              
     CAPTURE: Opening capture on imager IMX036_3MP.      

    Can you please check the setting done here?

    Regards,

    Raghu