FAQ: [#6688] bf537 -lq035 failed during video_test on trunk(2011)

Document created by Aaronwu Employee on Sep 12, 2013
Version 1Show Document
  • View in full screen mode

[#6688] bf537 -lq035 failed during video_test on trunk

Submitted By: Bob Liu

Open Date

2011-07-13 06:18:01     Close Date

2011-07-22 04:38:06

Priority:

Medium     Assignee:

Scott Jiang

Status:

Closed     Fixed In Release:

N/A

Found In Release:

2011R1     Release:

Category:

N/A     Board:

N/A

Processor:

BF537     Silicon Revision:

Is this bug repeatable?:

Yes     Resolution:

Fixed

Uboot version or rev.:

    Toolchain version or rev.:

gcc version 4.3.5 (ADI-trunk/g

App binary format:

N/A     

Summary: bf537 -lq035 failed during video_test on trunk

Details:

 

## Booting kernel from Legacy Image at 01000000 ...                      

   Image Name:   bf537-0.2-2.6.39-rc4-ADI-2011R1-                        

   Created:      2011-07-13  10:14:53 UTC                                

   Image Type:   Blackfin Linux Kernel Image (gzip compressed)           

   Data Size:    7119287 Bytes = 6.8 MiB                                 

   Load Address: 00001000                                                

   Entry Point:  001a1c14                                                

   Verifying Checksum ... OK                                             

   Uncompressing Kernel Image ... OK                                     

Starting Kernel at = 001a1c14                                            

Linux version 2.6.39-rc4-ADI-2011R1-pre-g09306e0-dirty (root@adam-desktop) (gcc version 4.3.5 (ADI-trunk/git-b5d2cba) ) #17 Wed Jul 13 18:14:51 CST 2011

register early platform devices                                                                                                                        

bootconsole [early_shadow0] enabled                                                                                                                    

bootconsole [early_BFuart0] enabled                                                                                                                    

early printk enabled on early_BFuart0                                                                                                                  

Limiting kernel memory to 56MB due to anomaly 05000263                                                                                                 

Board Memory: 64MB                                                                                                                                     

Kernel Managed Memory: 64MB                                                                                                                            

Memory map:                                                                                                                                            

  fixedcode = 0x00000400-0x00000490                                                                                                                    

  text      = 0x00001000-0x0011bc30                                                                                                                    

  rodata    = 0x0011bc54-0x00177d58                                                                                                                    

  bss       = 0x00178000-0x001880d4                                                                                                                    

  data      = 0x001880d4-0x0019a000                                                                                                                    

    stack   = 0x00198000-0x0019a000                                                                                                                    

  init      = 0x0019a000-0x0079d000                                                                                                                    

  available = 0x0079d000-0x03800000                                                                                                                    

  DMA Zone  = 0x03f00000-0x04000000                                                                                                                    

Hardware Trace active and enabled                                                                                                                      

Boot Mode: 0                                                                                                                                           

Blackfin support (C) 2004-2010 Analog Devices, Inc.                                                                                                    

Compiled for ADSP-BF537 Rev 0.2                                                                                                                        

Blackfin Linux support by http://blackfin.uclinux.org/                                                                                                 

Processor Speed: 500 MHz core clock and 125 MHz System Clock                                                                                           

NOMPU: setting up cplb tables                                                                                                                          

Instruction Cache Enabled for CPU0                                                                                                                     

  External memory: cacheable in instruction cache                                                                                                      

Data Cache Enabled for CPU0                                                                                                                            

  External memory: cacheable (write-back) in data cache                                                                                                

Built 1 zonelists in Zone order, mobility grouping off.  Total pages: 14224                                                                            

Kernel command line: root=/dev/mtdblock0 rw clkin_hz=25000000 earlyprintk=serial,uart0,57600 console=ttyBF0,57600 ip=10.100.4.50:10.100.4.174:10.99.22.1:255.255.255.0:bf537-stamp:eth0f

PID hash table entries: 256 (order: -2, 1024 bytes)                                                                                                                                    

Dentry cache hash table entries: 8192 (order: 3, 32768 bytes)                                                                                                                          

Inode-cache hash table entries: 4096 (order: 2, 16384 bytes)                                                                                                                           

Memory available: 48940k/65536k RAM, (6156k init code, 1131k kernel code, 505k data, 1024k dma, 7780k reserved)                                                                        

NR_IRQS:146                                                                                                                                                                            

Configuring Blackfin Priority Driven Interrupts                                                                                                                                        

console [ttyBF0] enabled, bootconsole disabled                                                                                                                                         

console [ttyBF0] enabled, bootconsole disabled                                                                                                                                         

Calibrating delay loop... 995.32 BogoMIPS (lpj=1990656)                                                                                                                                

pid_max: default: 32768 minimum: 301                                                                                                                                                   

Mount-cache hash table entries: 512                                                                                                                                                    

Blackfin Scratchpad data SRAM: 4 KB                                                                                                                                                    

Blackfin L1 Data A SRAM: 16 KB (16 KB free)                                                                                                                                            

Blackfin L1 Data B SRAM: 16 KB (16 KB free)                                                                                                                                            

Blackfin L1 Instruction SRAM: 48 KB (35 KB free)                                                                                                                                       

NET: Registered protocol family 16                                                                                                                                                     

Blackfin DMA Controller                                                                                                                                                                

stamp_init(): registering device resources                                                                                                                                             

bio: create slab <bio-0> at 0                                                                                                                                                          

i2c-bfin-twi i2c-bfin-twi.0: Blackfin BF5xx on-chip I2C TWI Contoller, regs_base@ffc01400                                                                                              

Switching to clocksource bfin_cs_cycles                                                                                                                                                

NET: Registered protocol family 2                                                                                                                                                      

IP route cache hash table entries: 1024 (order: 0, 4096 bytes)                                                                                                                         

IPv4 FIB: Using LC-trie version 0.409                                                                                                                                                  

TCP established hash table entries: 2048 (order: 2, 16384 bytes)                                                                                                                       

TCP bind hash table entries: 2048 (order: 1, 8192 bytes)                                                                                                                               

TCP: Hash tables configured (established 2048 bind 2048)                                                                                                                               

TCP reno registered                                                                                                                                                                    

UDP hash table entries: 256 (order: 0, 4096 bytes)                                                                                                                                     

UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)                                                                                                                                

NET: Registered protocol family 1                                                                                                                                                      

debug-mmrs: setting up Blackfin MMR debugfs                                                                                                                                            

msgmni has been set to 95                                                                                                                                                              

io scheduler noop registered (default)                                                                                                                                                 

dma_alloc_init: dma_page @ 0x02687000 - 256 pages at 0x03f00000                                                                                                                        

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

WARNING: at /home/bob/buildroot-update/linux/linux-2.6.x/drivers/video/backlight/backlight.c:314 _backlight_device_register+0xcc/0x14c()                                               

bf537-bl: invalid backlight type                                                                                                                                                       

Modules linked in:                                                                                                                                                                     

Hardware Trace:                                                                                                                                                                        

   0 Target : <0x0011b9f0> { _dump_stack + 0x0 }                                                                                                                                       

     Source : <0x00011b1e> { _warn_slowpath_common + 0x46 } CALL pcrel                                                                                                                 

   1 Target : <0x00011b1e> { _warn_slowpath_common + 0x46 }                                                                                                                            

     Source : <0x0003174c> { _print_modules + 0x54 } RTS                                                                                                                               

   2 Target : <0x00031746> { _print_modules + 0x4e }                                                                                                                                   

     Source : <0x0011bbc4> { _printk + 0x14 } RTS                                                                                                                                      

   3 Target : <0x0011bbc0> { _printk + 0x10 }                                                                                                                                          

     Source : <0x00012770> { _vprintk + 0x164 } RTS                                                                                                                                    

   4 Target : <0x0001274e> { _vprintk + 0x142 }                                                                                                                                        

     Source : <0x0001287e> { _vprintk + 0x272 } JUMP.S                                                                                                                                 

   5 Target : <0x0001287e> { _vprintk + 0x272 }                                                                                                                                        

     Source : <0x00012374> { _console_unlock + 0x1a8 } RTS                                                                                                                             

   6 Target : <0x0001236c> { _console_unlock + 0x1a0 }                                                                                                                                 

     Source : <0x0001235e> { _console_unlock + 0x192 } IF CC JUMP pcrel                                                                                                                

   7 Target : <0x0001234e> { _console_unlock + 0x182 }                                                                                                                                 

     Source : <0x00012340> { _console_unlock + 0x174 } IF CC JUMP pcrel (BP)                                                                                                           

   8 Target : <0x00012338> { _console_unlock + 0x16c }                                                                                                                                 

     Source : <0x00028502> { _up + 0x3e } RTS                                                                                                                                          

   9 Target : <0x000284fc> { _up + 0x38 }                                                                                                                                              

     Source : <0x000284ee> { _up + 0x2a } IF CC JUMP pcrel (BP)                                                                                                                        

  10 Target : <0x000284c4> { _up + 0x0 }                                                                                                                                               

     Source : <0x00012334> { _console_unlock + 0x168 } JUMP.L                                                                                                                          

  11 Target : <0x00012312> { _console_unlock + 0x146 }                                                                                                                                 

     Source : <0x0001222a> { _console_unlock + 0x5e } IF CC JUMP pcrel                                                                                                                 

  12 Target : <0x000121fe> { _console_unlock + 0x32 }                                                                                                                                  

     Source : <0x00012260> { _console_unlock + 0x94 } IF CC JUMP pcrel (BP)                                                                                                            

  13 Target : <0x00012258> { _console_unlock + 0x8c }                                                                                                                                  

     Source : <0x00011d42> { __call_console_drivers + 0x62 } RTS                                                                                                                       

  14 Target : <0x00011d3c> { __call_console_drivers + 0x5c }                                                                                                                           

     Source : <0x00011d16> { __call_console_drivers + 0x36 } IF CC JUMP pcrel                                                                                                          

  15 Target : <0x00011d06> { __call_console_drivers + 0x26 }                                                                                                                           

     Source : <0x00011cf6> { __call_console_drivers + 0x16 } IF !CC JUMP pcrel (BP)                                                                                                    

Stack info:                                                                                                                                                                            

SP: [0x0201bdfc] <0x0201bdfc> /* kernel dynamic memory */                                                                                                                             

FP: (0x0201bf00)                                                                                                                                                                      

Memory from 0x0201bdf0 to 0201c000                                                                                                                                                    

0201bdf0: 0201be48  0201bdfc  00011b1e [0201be48] 00011b22  0201be48  00158344  00093206                                                                                               

0201be10: 00158344  0000013a  000a3200  00011b8c  02054780  00000000  020547c0  00000000                                                                                               

0201be30: 00158758  000b5760  020547c0  00000000  00000009  0201be48  00158398  0201be60                                                                                               

0201be50: 000a3200  000c3294  000c1c7e  001854e0  00158758  0011b15a  0201beac  00185530                                                                                               

0201be70: 00189b10  00000000  00191778  00000000  0007ffaa  020134e4  0201beb8  00127a60                                                                                               

0201be90: 0201be94  00000000  0000005f  00000000  00000000  00000000  00000000  80088009                                                                                               

0201beb0: 82038004                                                                                                                                                                     

03f00000 <000b5a00> 00189b18  00185e38  00191778  00189b4c                                                                                                                            

0201bed0: 0201bf20  00000000  00000000  00000000  ffa02a44  000b5b48  00189b18  00191778                                                                                               

0201bef0: 02681cc0  00189b4c  000930aa  0019218c (00000000)<000b539c> 000b5ae4  00191778                                                                                               

0201bf10: 00000000  00000000  00182e1c  0009327a  02030bf8  0204ff30  000b58ae  0019218c                                                                                               

0201bf30: 00000000  00000000  00000000  000b4d92  0201bf60  000b4dcc  000b5ae4  000b4ebc                                                                                               

0201bf50: 00158444  000b691a  02057ea0  00147cf0  0014cd0c  000b6058  001b736c  001a81d4                                                                                               

0201bf70: 00191778  00000000  00000000  00000000  0201bf38  00000000  001a81e6 <0000110a>                                                                                              

0201bf90: 001b736c  001a81d4  00178010  00000000  00000000  00000000  00190000  00037878                                                                                               

0201bfb0: 0018c1a0  001b0000  0019a180  001b736c  001b73c8  001b71c0  00000000  00000000                                                                                               

0201bfd0: 00000000  00000000  00000000  00000000  00000000                                                                                                                             

00000000  00000000                                                                                                                                                                    

0201bff0: 00000000  00000000  ffffffff  00000006                                                                                                                                       

Return addresses in stack:                                                                                                                                                             

    address : <0x00008202> { _decode_instruction + 0x72 }                                                                                                                              

    address : <0x000b5a00> { _driver_probe_device + 0x6c }                                                                                                                             

   frame  1 : <0x000b539c> { _bus_for_each_dev + 0x44 }                                                                                                                                

    address : <0x0000110a> { _do_one_initcall + 0x10a }                                                                                                                                

    address : <0x00001556> { _kernel_thread_helper + 0x6 }                                                                                                                             

---[ end trace 93d72a36b9146f22 ]---                                                                                                                                                   

bf537-lq035: initialized                                                                                                                                                               

bfin-uart: Blackfin serial driver                                                                                                                                                      

bfin-uart.0: ttyBF0 at MMIO 0xffc00400 (irq = 18) is a BFIN-UART                                                                                                                       

brd: module loaded                                                                                                                                                                     

bfin_mii_bus: probed                                                                                                                                                                   

bfin_mac: attached PHY driver [SMSC LAN83C185] (mii_bus:phy_addr=0:01, irq=-1, mdc_clk=2500000Hz(mdc_div=24)@sclk=125MHz)                                                              

bfin_mac bfin_mac.0: eth0: Blackfin on-chip Ethernet MAC driver, Version 1.1                                                                                                           

i2c /dev entries driver                                                                                                                                                                

TCP cubic registered                                                                                                                                                                   

NET: Registered protocol family 17                                                                                                                                                     

IP-Config: Gateway not on directly connected network.                                                                                                                                  

Freeing unused kernel memory: 6156k freed                                                                                                                                              

Buildroot 2011.05-00125-g2a486f7                                                                                                                                                       

PHY: 0:01 - Link is Up - 100/Full                                                                                                                                                      

 

Welcome to Buildroot

buildroot login: root

 

                           _______________________________________

        a8888b.           / Welcome to the buildroot distribution \

       d888888b.         /       _     _                           \

       8P"YP"Y88        /       | |   |_|            __  __ (TM)   |

       8|o||o|88  _____/        | |    _ ____  _   _ \ \/ /        |

       8'    .88       \        | |   | |  _ \| | | | \  /         |

       8`._.' Y8.       \       | |__ | | | | | |_| | /  \         |

      d/      `8b.       \      \____||_|_| |_|\____|/_/\_\        |

     dP   .    Y8b.       \   For embedded processors including    |

    d8:'  "  `::88b        \    the Analog Devices Blackfin        /

   d8"         'Y88b        \_____________________________________/

  :8P    '      :888                                               

   8a.   :     _a88P         For further information, check out:   

._/"Yaa_:   .| 88P|            - http://blackfin.uclinux.org/     

\    YP"    `| 8P  `.          - http://docs.blackfin.uclinux.org/

/     \.___.d|    .'           - http://www.uclinux.org/          

`--..__)8888P`._.'  jgs/a:f    - http://buildroot.org/            

 

Have a lot of fun...

 

 

BusyBox v1.17.4 (2011-07-13 17:00:23 CST) hush - the humble shell

 

root:~>

root:/> ./video_test

 

But nothing show on the screen!!!

 

Follow-ups

 

--- Bob Liu                                                  2011-07-22 04:33:40

fixed by commit "nommu: remap_pfn_range: add PAGE_MASK"

 

 

 

    Files

    Changes

    Commits

    Dependencies

    Duplicates

    Associations

    Tags

 

File Name     File Type     File Size     Posted By

bf537-lq035.config    application/octet-stream    29128    Bob Liu

Attachments

Outcomes