AnsweredAssumed Answered

bf561 tftp operation crash the linux kernel after icc has load firmware in coreb

Question asked by willrobot on Feb 16, 2012
Latest reply on Feb 24, 2012 by willrobot

Hi,

 

using uclinux kernel: version 3.0.8-ADI-2011R1-svn10265

doing:

 

root:/> dhcpcd &                                                                                  
[1] 261 dhcpcd                                                                                    
root:/> smc91x smc91x.0: eth0: link down                                                          
smc91x smc91x.0: eth0: link up, 100Mbps, full-duplex, lpa 0x45E1                                  
                                                                                                  
root:/>                                                                                           
root:/>                                                                                           
root:/> tftp -g -r icc.sh 10.1.1.100                                                              
root:/> chmod 777 icc.sh                                                                          
root:/> ./icc.sh                                                                                  
writing to 0xfeb00000, 0x7b1cbytes: OK                                                        
writing to 0xff600000, 0xc4  bytes: OK                                                        
root:/> COREB: @@@ gen pool create0                                                               
COREB: @@@ gen pool create1                                                                       
COREB: session table 3d00000                 

 

 

./icc_loader -f -e test_ad1836_driver 

 

 

if I do

 

tftp -g -r  test_ad1836_driver 10.1.1.100  

 

tftp crash this way:

COREB: IPEND Register: 8000                                                                   

 

------------[ cut here ]------------                                                              
WARNING: at net/sched/sch_generic.c:255 _dev_watchdog+0x200/0x208()                               
NETDEV WATCHDOG: eth0 (smc91x): transmit queue 0 timed out                                        
Modules linked in:                                                                                
Hardware Trace:                                                                                   
   0 Target : <0x0018b6d4> { _dump_stack + 0x0 }                                                  
Source : <0x00011d7a> { _warn_slowpath_common + 0x46 } JUMP.L                                
   1 Target : <0x00011d7a> { _warn_slowpath_common + 0x46 }                                       
Source : <0x00031f2e> { _print_modules + 0x4e } RTS                                          
   2 Target : <0x00031f28> { _print_modules + 0x48 }                                              
Source : <0x0018b8ac> { _printk + 0x14 } RTS                                                 
   3 Target : <0x0018b8a8> { _printk + 0x10 }                                                     
Source : <0x000129cc> { _vprintk + 0x164 } RTS                                               
   4 Target : <0x000129aa> { _vprintk + 0x142 }                                                   
Source : <0x00012ada> { _vprintk + 0x272 } JUMP.S                                            
   5 Target : <0x00012ada> { _vprintk + 0x272 }                                                   
Source : <0x000125d0> { _console_unlock + 0x1a8 } RTS                                        
   6 Target : <0x000125c8> { _console_unlock + 0x1a0 }                                            
Source : <0x000125ba> { _console_unlock + 0x192 } IF CC JUMP pcrel                           
   7 Target : <0x000125aa> { _console_unlock + 0x182 }                                            
Source : <0x0001259c> { _console_unlock + 0x174 } IF CC JUMP pcrel (BP)                      
   8 Target : <0x00012594> { _console_unlock + 0x16c }                                            
Source : <0x0002903e> { _up + 0x3e } RTS                                                     
   9 Target : <0x00029038> { _up + 0x38 }                                                         
Source : <0x0002902a> { _up + 0x2a } IF CC JUMP pcrel (BP)                                   
  10 Target : <0x00029000> { _up + 0x0 }                                                          
Source : <0x00012590> { _console_unlock + 0x168 } CALL pcrel                                 
  11 Target : <0x0001256e> { _console_unlock + 0x146 }                                            
Source : <0x00012486> { _console_unlock + 0x5e } IF CC JUMP pcrel                            
  12 Target : <0x0001245a> { _console_unlock + 0x32 }                                             
Source : <0x000124bc> { _console_unlock + 0x94 } IF CC JUMP pcrel (BP)                       
  13 Target : <0x000124b4> { _console_unlock + 0x8c }                                             
Source : <0x00011f9e> { __call_console_drivers + 0x62 } RTS                                  
  14 Target : <0x00011f98> { __call_console_drivers + 0x5c }                                      
Source : <0x00011f72> { __call_console_drivers + 0x36 } IF CC JUMP pcrel                     
  15 Target : <0x00011f62> { __call_console_drivers + 0x26 }                                      
Source : <0x00011f52> { __call_console_drivers + 0x16 } IF !CC JUMP pcrel (BP)               
Stack info:                                                                                       
SP: [0x00233d8c] <0x00233d8c> /* kernel dynamic memory */                                        
FP: (0x00233df8)                                                                                 
Memory from 0x00233d80 to 00234000                                                               
00233d80: 00233dd8  00233d8c  00011d7a [00233dd8] 00011d7e  00233dd8  001ed49c  30e03500          
00233da0: 001ed49c  000000ff  0014d4a8  00011de8  002226b4  00000000  000000fa  0000003f          
00233dc0: 00000000  30e03500  0000004f  0000004f  00000009  00233dd8 <001ed4b4> 00233df0          
00233de0: 0014d4a8  00000000  0002880a  00000003  0203b000  001cd22c (00000000)<0001a54c>         
00233e00: 00217ee0  00233e44  0014d2a8  00000100  00200200  002226b4  0000004f  002237cc          
00233e20:<00006d22> 00220378  ffffffc0  002237cc  00232000  00218cec  00218aec  002188ec          
00233e40: 002186ec  00233e44  00233e44  0000000a                                                  
00217dc0  00000004  00232000                                                                     
00233e60: 00000001  00000004  00000100  00000001  00232008  00232008  00000006  00000000          
00233e80: 00000000  02a68258  0020e0a0  ffa00408  00228abc  00232008  00232008  00000006          
00233ea0: 00000000  00000000  02a68258  ffa0180a  ffc00014  00000000  ffa00d16  ffc00014          
00233ec0: ffa00120  00000000  00000000  00000000  00000000  ffa00144  00008050  00002000          
00233ee0: 00000000  02086000  02a832e4  ffa00144 <ffa00358> 00000006  02002020  02a917ab          
00233f00: ffa0180c  02a91756  ffa0180a  00000000  00000000  0000067e  00000000  00a74449          
00233f20: 00000000  00000000  00000000  00000000  00000000  00000000  00000000  00000000          
00233f40: 00000000  00000000  00000000  00000000  00000004  00000000  02af3e40  02adf9c8          
00233f60: 02af3e70  00234000  0020e0a0  ffa00120  00232008  00232008  00220bc4  00232008          
00233f80: ffa00a90  ffa00120  00000000  00000000  02a68258  00000065  00000008  02088ac0          
00233fa0: 0000ffff  0000ffff  ffa00a90  00000006  0020e00c  0024b5d0  00000000  00234000          
00233fc0: 0023460e  00219620  0020e000  0020e00c  0024b5d0  001c86fc  00248c00  0020cc20          
00233fe0: 00000055  002341d4  0024b5d0  0023affa  ffe00000  03f9fe5c  03f9ff80  ffb00000          
Return addresses in stack:                                                                        
address : <0x001ed4b4> /* kernel dynamic memory */                                            
   frame  1 : <0x0001a54c> { _run_timer_softirq + 0xf0 }                                          
address : <0x00006d22> { _bfin_coretmr_interrupt + 0x12 }                                     
address : <0x00016624> { ___do_softirq + 0x7c }                                               
address : <0xffa00358> { _cpu_idle + 0x30 }                                                   
---[ end trace 8d0f0a49bfee8f4f ]---                                                              
COREB: ILAT Register 0                                                                            
COREB: bfin set SICB MASK1: c00a9000                                                              
COREB: IPEND Register: 8000                                                                       
smc91x smc91x.0: eth0: link down                                                                  
COREB: ILAT Register 0                                                                            
COREB: bfin set SICB MASK1: c00a9000                                                              
COREB: IPEND Register: 8000                                                                       
COREB: ILAT Register 0                                                                            
COREB: bfin set SICB MASK1: c00a9000                                                              
COREB: IPEND Register: 8000                                                                       
COREB: ILAT Register 0                                                                            
COREB: bfin set SICB MASK1: c00a9000                                       

 

 

thanks,

 

William

Outcomes