AnsweredAssumed Answered

video_test dump in 2011R1-RC1

Question asked by shekharlav on Nov 12, 2011
Latest reply on Jan 17, 2012 by Aaronwu

Hi,

 

I am using a BF527 based board with 2011R1-RC1 distro and 2011R1-RC2 toolchain.

 

I was trying to test my LCD using video Test.

 

Hence I followed the following procedure:

 

 

root:/> modprobe bfin-lq035q1-fb                                               
bfin-lq035q1 bfin-lq035q1: 320x240 16-bit RGB FrameBuffer initialized          
root:/> video_test

 

I have enabled LQ035Q1 as loadable module in the configuration file using "make menuconfig"

 

The application runs and I can see the "Infinity Figure" (same as 2010R1 ) on the LCD screen. But I also get a dump on my console.

 

 

------------[ cut here ]------------                                           

WARNING: at drivers/gpio/gpiolib.c:1580                                        

Modules linked in: bfin_lq035q1_fb cfbimgblt cfbcopyarea cfbfillrect           

 

ADSP-BF527-0.2 500(MHz CCLK) 100(MHz SCLK) (mpu off)                           

Linux version 3.0.8-ADI-2011R12011R1-RC1_1_8_KA_CL (karthikeyan@tll.localdomain1

 

SEQUENCER STATUS:               Not tainted                                    

SEQSTAT: 00000021  IPEND: 8008  IMASK: ffff  SYSCFG: 0006                     

  EXCAUSE   : 0x21                                                             

  physical IVG3 asserted : <0xffa00710> { _trap + 0x0 }                        

  physical IVG15 asserted : <0xffa00f4c> { _evt_system_call + 0x0 }            

  logical irq   6 mapped  : <0x000065f4> { _bfin_coretmr_interrupt + 0x0 }     

  logical irq  13 mapped  : <0x02092158> { :bfin_lq035q1_fb:_bfin_lq035q1_fb_cu}

  logical irq  15 mapped  : <0x00151700> { _err_handler + 0x0 }                

  logical irq  21 mapped  : <0x000ff33c> { _bfin_rtc_interrupt + 0x0 }         

  logical irq  23 mapped  : <0x00151a04> { _rx_handler + 0x0 }                 

  logical irq  24 mapped  : <0x001519a8> { _tx_handler + 0x0 }                 

  logical irq  27 mapped  : <0x001019a0> { _bfin_twi_interrupt_entry + 0x0 }   

  logical irq  31 mapped  : <0x000b5368> { _bfin_serial_dma_rx_int + 0x0 }     

  logical irq  32 mapped  : <0x000b50dc> { _bfin_serial_dma_tx_int + 0x0 }     

  logical irq  35 mapped  : <0x000d611c> { _bfin_mac_interrupt + 0x0 }         

  logical irq  59 mapped  : <0x000f43b8> { _blackfin_interrupt + 0x0 }         

  logical irq  62 mapped  : <0x000f3f34> { _dma_controller_irq + 0x0 }         

  logical irq 116 mapped  : <0x000336e8> { _irq_default_primary_handler + 0x0 }

  logical irq 117 mapped  : <0x000336e8> { _irq_default_primary_handler + 0x0 }

  logical irq 118 mapped  : <0x000336e8> { _irq_default_primary_handler + 0x0 }

RETE: <0x00000000> /* Maybe null pointer? */                                  

RETN: <0x02badce8> /* kernel dynamic memory */                                

RETX: <0x00000480> /* Maybe fixed code section */                             

RETS: <0x020923a2> { :bfin_lq035q1_fb:_bfin_lq035q1_fb_cursor + 0x31a }       

PC  : <0x000a48fa> { ___gpio_set_value + 0x2a }                               

DCPLB_FAULT_ADDR: <0x026ede6c> /* kernel dynamic memory */                     

ICPLB_FAULT_ADDR: <0x000a48fa> { ___gpio_set_value + 0x2a }                    

PROCESSOR STATE:                                                               

R0 : 00000003    R1 : 00000001    R2 : 00000001    R3 : 00000000              

R4 : 00000026    R5 : 02b7080c    R6 : ffc01000    R7 : 00006e44              

P0 : 00000050    P1 : 026ede48    P2 : 0024c8ec    P3 : 00006ed8              

P4 : 00006af0    P5 : 00240420    FP : 02b70a50    SP : 02badc0c              

LB0: 0009def0    LT0: 0009def0    LC0: 00000000                               

LB1: 00006a2c    LT1: 00006a1e    LC1: 00000000                               

B0 : 00000137    L0 : 00000000    M0 : fffffffc    I0 : 0005251a              

B1 : 000000c0    L1 : 00000000    M1 : 00000001    I1 : 02aad000              

B2 : 7ffff000    L2 : 00000000    M2 : 00001802    I2 : 00000003              

B3 : 00000000    L3 : 00000000    M3 : 0000005b    I3 : 00000007              

A0.w: 0000000e   A0.x: 00000000   A1.w: 0000000e   A1.x: 00000000              

USP : 02adfd98  ASTAT: 02003004                                                

 

---[ end trace 1091c2e644b080de ]---                                           

Disabling lock debugging due to kernel taint                                   

Hardware Trace:                                                                

   0 Target : <0x00003fdc> { _trap_c + 0x0 }                                   

     Source : <0xffa006a4> { _exception_to_level5 + 0xa4 } JUMP.L              

   1 Target : <0xffa00600> { _exception_to_level5 + 0x0 }                      

     Source : <0xffa004b4> { _bfin_return_from_exception + 0x18 } RTX          

   2 Target : <0xffa0049c> { _bfin_return_from_exception + 0x0 }               

     Source : <0xffa00558> { _ex_trap_c + 0x74 } JUMP.S                        

   3 Target : <0xffa004e4> { _ex_trap_c + 0x0 }                                

     Source : <0xffa0076a> { _trap + 0x5a } JUMP (P4)                          

   4 Target : <0xffa00710> { _trap + 0x0 }                                     

      FAULT : <0x000a48fa> { ___gpio_set_value + 0x2a } BUG                    

     Source : <0x000a48e8> { ___gpio_set_value + 0x18 } IF !CC JUMP pcrel      

   5 Target : <0x000a48d0> { ___gpio_set_value + 0x0 }                         

     Source : <0x020923a0> { :bfin_lq035q1_fb:_bfin_lq035q1_fb_cursor + 0x318 })

   6 Target : <0x02092380> { :bfin_lq035q1_fb:_bfin_lq035q1_fb_cursor + 0x2f8 }

     Source : <0x00006a82> { _enable_gptimers + 0x26 } RTS                     

   7 Target : <0x00006a5c> { _enable_gptimers + 0x0 }                          

     Source : <0x0209237e> { :bfin_lq035q1_fb:_bfin_lq035q1_fb_cursor + 0x2f6 })

   8 Target : <0x02092356> { :bfin_lq035q1_fb:_bfin_lq035q1_fb_cursor + 0x2ce }

     Source : <0x00006b14> { _set_gptimer_config + 0x24 } RTS                  

   9 Target : <0x00006af0> { _set_gptimer_config + 0x0 }                       

     Source : <0x02092354> { :bfin_lq035q1_fb:_bfin_lq035q1_fb_cursor + 0x2cc })

  10 Target : <0x0209234e> { :bfin_lq035q1_fb:_bfin_lq035q1_fb_cursor + 0x2c6 }

     Source : <0x00006efe> { _set_gptimer_pwidth + 0x26 } RTS                  

  11 Target : <0x00006ed8> { _set_gptimer_pwidth + 0x0 }                       

     Source : <0x0209234c> { :bfin_lq035q1_fb:_bfin_lq035q1_fb_cursor + 0x2c4 })

  12 Target : <0x02092346> { :bfin_lq035q1_fb:_bfin_lq035q1_fb_cursor + 0x2be }

     Source : <0x00006e6a> { _set_gptimer_period + 0x26 } RTS                  

  13 Target : <0x00006e44> { _set_gptimer_period + 0x0 }                       

     Source : <0x02092344> { :bfin_lq035q1_fb:_bfin_lq035q1_fb_cursor + 0x2bc })

  14 Target : <0x0209233c> { :bfin_lq035q1_fb:_bfin_lq035q1_fb_cursor + 0x2b4 }

     Source : <0x00006b14> { _set_gptimer_config + 0x24 } RTS                  

  15 Target : <0x00006af0> { _set_gptimer_config + 0x0 }                       

     Source : <0x0209233a> { :bfin_lq035q1_fb:_bfin_lq035q1_fb_cursor + 0x2b2 })

 

 

 

 

 

 

To end the application I do "Ctrl + \"

This results in another dump:

 

 

 

 

 

^\------------[ cut here ]------------                                         

WARNING: at drivers/gpio/gpiolib.c:1580                                        

Modules linked in: bfin_lq035q1_fb cfbimgblt cfbcopyarea cfbfillrect           

 

ADSP-BF527-0.2 500(MHz CCLK) 100(MHz SCLK) (mpu off)                           

Linux version 3.0.8-ADI-2011R12011R1-RC1_1_8_KA_CL (karthikeyan@tll.localdomain1

 

SEQUENCER STATUS:               Tainted: P                                     

SEQSTAT: 00060021  IPEND: 8008  IMASK: ffff  SYSCFG: 0006                     

  EXCAUSE   : 0x21                                                             

  physical IVG3 asserted : <0xffa00710> { _trap + 0x0 }                        

  physical IVG15 asserted : <0xffa00f4c> { _evt_system_call + 0x0 }            

  logical irq   6 mapped  : <0x000065f4> { _bfin_coretmr_interrupt + 0x0 }     

  logical irq  13 mapped  : <0x02092158> { :bfin_lq035q1_fb:_bfin_lq035q1_fb_cu}

  logical irq  15 mapped  : <0x00151700> { _err_handler + 0x0 }                

  logical irq  21 mapped  : <0x000ff33c> { _bfin_rtc_interrupt + 0x0 }         

  logical irq  23 mapped  : <0x00151a04> { _rx_handler + 0x0 }                 

  logical irq  24 mapped  : <0x001519a8> { _tx_handler + 0x0 }                 

  logical irq  27 mapped  : <0x001019a0> { _bfin_twi_interrupt_entry + 0x0 }   

  logical irq  31 mapped  : <0x000b5368> { _bfin_serial_dma_rx_int + 0x0 }     

  logical irq  32 mapped  : <0x000b50dc> { _bfin_serial_dma_tx_int + 0x0 }     

  logical irq  35 mapped  : <0x000d611c> { _bfin_mac_interrupt + 0x0 }         

  logical irq  59 mapped  : <0x000f43b8> { _blackfin_interrupt + 0x0 }         

  logical irq  62 mapped  : <0x000f3f34> { _dma_controller_irq + 0x0 }         

  logical irq 116 mapped  : <0x000336e8> { _irq_default_primary_handler + 0x0 }

  logical irq 117 mapped  : <0x000336e8> { _irq_default_primary_handler + 0x0 }

  logical irq 118 mapped  : <0x000336e8> { _irq_default_primary_handler + 0x0 }

RETE: <0x00000000> /* Maybe null pointer? */                                  

RETN: <0x02badc38> /* kernel dynamic memory */                                

RETX: <0x00000480> /* Maybe fixed code section */                             

RETS: <0x02092244> { :bfin_lq035q1_fb:_bfin_lq035q1_fb_cursor + 0x1bc }       

PC  : <0x000a48fa> { ___gpio_set_value + 0x2a }                               

DCPLB_FAULT_ADDR: <0x026ede6c> /* kernel dynamic memory */                     

ICPLB_FAULT_ADDR: <0x000a48fa> { ___gpio_set_value + 0x2a }                    

PROCESSOR STATE:                                                               

R0 : 00000003    R1 : 00000000    R2 : 00000000    R3 : 026f2b0c              

R4 : ffffffc0    R5 : 0000000c    R6 : 00000001    R7 : 02b7080c              

P0 : 00000050    P1 : 026ede48    P2 : 0024c8ec    P3 : 02986bd4              

P4 : 02bafb64    P5 : 02b70800    FP : 00000000    SP : 02badb5c              

LB0: 0009de14    LT0: 0009de12    LC0: 00000000                               

LB1: 0001a6e2    LT1: 0001a6e2    LC1: 00000000                               

B0 : 00000000    L0 : 00000000    M0 : 00000001    I0 : 00000000              

B1 : 00000000    L1 : 00000000    M1 : 00000001    I1 : ffffffff              

B2 : 7ffff000    L2 : 00000000    M2 : 00001802    I2 : 00000000              

B3 : 00000000    L3 : 00000000    M3 : 0000005b    I3 : 000003ff              

A0.w: 00000024   A0.x: 00000000   A1.w: 00000024   A1.x: 00000000              

USP : 02adfc94  ASTAT: 02003044                                                

 

---[ end trace 1091c2e644b080df ]---                                           

Hardware Trace:                                                                

   0 Target : <0x00003fdc> { _trap_c + 0x0 }                                   

     Source : <0xffa006a4> { _exception_to_level5 + 0xa4 } JUMP.L              

   1 Target : <0xffa00600> { _exception_to_level5 + 0x0 }                      

     Source : <0xffa004b4> { _bfin_return_from_exception + 0x18 } RTX          

   2 Target : <0xffa0049c> { _bfin_return_from_exception + 0x0 }               

     Source : <0xffa00558> { _ex_trap_c + 0x74 } JUMP.S                        

<5>   3 Target : <0xffa004e4> { _ex_trap_c + 0x0 }                             

     Source : <0xffa0076a> { _trap + 0x5a } JUMP (P4)                          

   4 Target : <0xffa00710> { _trap + 0x0 }                                     

      FAULT : <0x000a48fa> { ___gpio_set_value + 0x2a } BUG                    

     Source : <0x000a48e8> { ___gpio_set_value + 0x18 } IF !CC JUMP pcrel      

   5 Target : <0x000a48d0> { ___gpio_set_value + 0x0 }                         

     Source : <0x02092242> { :bfin_lq035q1_fb:_bfin_lq035q1_fb_cursor + 0x1ba })

   6 Target : <0x02092238> { :bfin_lq035q1_fb:_bfin_lq035q1_fb_cursor + 0x1b0 }

     Source : <0x020921e4> { :bfin_lq035q1_fb:_bfin_lq035q1_fb_cursor + 0x15c })

   7 Target : <0x020921d4> { :bfin_lq035q1_fb:_bfin_lq035q1_fb_cursor + 0x14c }

     Source : <0x020921ca> { :bfin_lq035q1_fb:_bfin_lq035q1_fb_cursor + 0x142 }

   8 Target : <0x020921b4> { :bfin_lq035q1_fb:_bfin_lq035q1_fb_cursor + 0x12c }

     Source : <0x000a64cc> { _fb_release + 0x24 } CALL (P1)                    

   9 Target : <0x000a64be> { _fb_release + 0x16 }                              

     Source : <0x001ada8e> { _mutex_lock + 0x36 } RTS                          

  10 Target : <0x001ada64> { _mutex_lock + 0xc }                               

     Source : <0x001acff8> { __cond_resched + 0x20 } RTS                       

  11 Target : <0x001acff2> { __cond_resched + 0x1a }                           

     Source : <0x001acfea> { __cond_resched + 0x12 } IF CC JUMP pcrel (BP)     

  12 Target : <0x001acfd8> { __cond_resched + 0x0 }                            

     Source : <0x001ada60> { _mutex_lock + 0x8 } JUMP.L                        

  13 Target : <0x001ada58> { _mutex_lock + 0x0 }                               

     Source : <0x000a64ba> { _fb_release + 0x12 } JUMP.L                       

  14 Target : <0x000a64a8> { _fb_release + 0x0 }                               

     Source : <0x0004a946> { _fput + 0x76 } CALL (P2)                          

  15 Target : <0x0004a924> { _fput + 0x54 }                                    

     Source : <0x0004a91c> { _fput + 0x4c } IF CC JUMP pcrel                   

QUIT           

 

What could be the cause of these dumps even when the image on the LCD screen is correct.

 

Regards,

Shekhar                                                            

Outcomes