[#4657] tftlcd bf537-lq035 module fails to be inserted now

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

[#4657] tftlcd bf537-lq035 module fails to be inserted now

Submitted By: Mingquan Pan

Open Date

2008-11-20 03:14:35     Close Date

2008-12-19 03:03:08

Priority:

Medium     Assignee:

Mingquan Pan

Status:

Closed     Fixed In Release:

N/A

Found In Release:

N/A     Release:

Category:

N/A     Board:

N/A

Processor:

N/A     Silicon Revision:

Is this bug repeatable?:

Yes     Resolution:

Assigned (Not Start)

Uboot version or rev.:

    Toolchain version or rev.:

Nov 11

App binary format:

N/A     

Summary: tftlcd bf537-lq035 module fails to be inserted now

Details:

 

tftlcd bf537-lq035 module fails to be inserted on trunk from about Nov 11.

 

Loading .text @ 0x00001000 (1086656 bytes)

Loading .rodata @ 0x0010a4c0 (260464 bytes)

Loading .init.rodata @ 0x00149e30 (80 bytes)

Loading __ksymtab @ 0x00149e80 (15880 bytes)

Loading __ksymtab_gpl @ 0x0014dc88 (5064 bytes)

Loading __ksymtab_strings @ 0x0014f050 (46782 bytes)

Loading __init_rodata @ 0x0015a710 (172 bytes)

Loading __param @ 0x0015a7bc (380 bytes)

Clearing .bss @ 0x0015a940 (65524 bytes)

Loading .data @ 0x0016a934 (63180 bytes)

Loading .init.text @ 0x0017a000 (100020 bytes)

Loading .init.data @ 0x001926b4 (13660 bytes)

Loading .init.setup @ 0x00195c10 (588 bytes)

Loading .initcall.init @ 0x00195e5c (544 bytes)

Loading .con_initcall.init @ 0x0019607c (4 bytes)

Loading .init.ramfs @ 0x00196080 (3186965 bytes)

Loading .text_l1 @ 0xffa00000 (6952 bytes)

sh_addr: FFA00000, p_paddr: 004A0195

Loading from: 02492000 to 004A0195, size: 6952

Loading .data_l1 @ 0xff800000 (192 bytes)

sh_addr: FF800000, p_paddr: 004A1CBD

Loading from: 02494000 to 004A1CBD, size: 192

## Starting application at 0x00188248 ...

Linux version 2.6.28-rc2-ADI-2009R1-pre-svn5623 (test@uclinux52-ad73311-lcd) (gcc version 4.1.2 (ADI svn)) #29 Wed Nov 12 06:59:15 CST 2008

console [early_BFuart0] enabled

early printk enabled on early_BFuart0

Warning: limiting memory to 56MB due to hardware anomaly 05000263

Board Memory: 64MB

Kernel Managed Memory: 64MB

Memory map:

  fixedcode = 0x00000400-0x00000490

  text      = 0x00001000-0x0010a4c0

  rodata    = 0x0010a4c0-0x0015a938

  bss       = 0x0015a940-0x0016a934

  data      = 0x0016a934-0x0017a000

    stack   = 0x00178000-0x0017a000

  init      = 0x0017a000-0x004a2000

  available = 0x004a2000-0x037ff000

  DMA Zone  = 0x03f00000-0x04000000

Hardware Trace Active and Enabled

Reset caused by Software reset

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

Compiled for ADSP-BF537 Rev 0.2

Blackfin Linux support by   blackfin.uclinux.org/

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

NOMPU: setting up cplb tables for global access

Instruction Cache Enabled for CPU0

Data Cache Enabled for CPU0 (write-through)

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

Kernel command line: root=/dev/mtdblock0 rw earlyprintk=serial,uart0,57600 ip=10.100.4.50:10.100.4.174:10.100.4.174:255.255.255.0:BF537:eth0:off

Configuring Blackfin Priority Driven Interrupts

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

console handover: boot [early_BFuart0] -> real [ttyBF0]

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

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

Memory available: 52016k/65536k RAM, (3232k init code, 1061k kernel code, 447k data, 1024k dma, 7756k reserved)

Calibrating delay loop... 997.37 BogoMIPS (lpj=1994752)

Security Framework initialized

Mount-cache hash table entries: 512

Blackfin Scratchpad data SRAM: 4 KB

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

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

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

PDA for CPU0 reserved at 0015bcc8

net_namespace: 288 bytes

NET: Registered protocol family 16

Blackfin GPIO Controller

Blackfin DMA Controller

stamp_init(): registering device resources

NET: Registered protocol family 2

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

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

NET: Registered protocol family 1

msgmni has been set to 101

io scheduler noop registered

io scheduler anticipatory registered (default)

io scheduler cfq registered

Serial: Blackfin serial driver

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

brd: module loaded

bfin_mac_mdio: probed

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

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

rtc-bfin rtc-bfin: rtc core: registered rtc-bfin as rtc0

bfin-wdt: initialized: timeout=20 sec (nowayout=0)

TCP cubic registered

NET: Registered protocol family 17

rtc-bfin rtc-bfin: setting system clock to 1970-01-01 02:20:34 UTC (8434)

IP-Config: Complete:

     device=eth0, addr=10.100.4.50, mask=255.255.255.0, gw=10.100.4.174,

     host=BF537, domain=, nis-domain=(none),

     bootserver=10.100.4.174, rootserver=10.100.4.174, rootpath=

Freeing unused kernel memory: 3232k freed

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

                           _____________________________________

        a8888b.           / Welcome to the uClinux 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|            -   blackfin.uclinux.org/

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

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

`--..__)8888P`._.'  jgs/a:f    -   www.analog.com/blackfin

 

Have a lot of fun...

 

 

BusyBox v1.12.1 (2008-11-12 06:08:38 CST) built-in shell (msh)

Enter 'help' for a list of built-in commands.

 

root:/>

************** STEP 3: Start testing.

 

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

 

root:/> modprobe bf537-lq035

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

bf537-lq035: FrameBuffer initializing...<5>Hardware Trace:

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

     Source : <0x00005fa4> { _peripheral_request + 0x13c } CALL pcrel

   1 Target : <0x00005fa4> { _peripheral_request + 0x13c }

     Source : <0x00005eb6> { _peripheral_request + 0x4e } IF !CC JUMP

   2 Target : <0x00005e8a> { _peripheral_request + 0x22 }

     Source : <0x00005e84> { _peripheral_request + 0x1c } IF !CC JUMP

   3 Target : <0x00005e82> { _peripheral_request + 0x1a }

     Source : <0x00005e76> { _peripheral_request + 0xe } IF !CC JUMP

   4 Target : <0x00005e68> { _peripheral_request + 0x0 }

     Source : <0x00006010> { _peripheral_request_list + 0x24 } CALL pcrel

   5 Target : <0x00006000> { _peripheral_request_list + 0x14 }

     Source : <0x00006018> { _peripheral_request_list + 0x2c } IF CC JUMP

   6 Target : <0x00006014> { _peripheral_request_list + 0x28 }

     Source : <0x00005e80> { _peripheral_request + 0x18 } RTS

   7 Target : <0x00005e78> { _peripheral_request + 0x10 }

     Source : <0x00005f38> { _peripheral_request + 0xd0 } JUMP.S

   8 Target : <0x00005f38> { _peripheral_request + 0xd0 }

     Source : <0x00005472> { _set_label + 0x3e } RTS

   9 Target : <0x0000546c> { _set_label + 0x38 }

     Source : <0x00005466> { _set_label + 0x32 } IF !CC JUMP

  10 Target : <0x00005462> { _set_label + 0x2e }

     Source : <0x0000546a> { _set_label + 0x36 } JUMP.S

  11 Target : <0x00005462> { _set_label + 0x2e }

     Source : <0x0000546a> { _set_label + 0x36 } JUMP.S

  12 Target : <0x00005462> { _set_label + 0x2e }

     Source : <0x0000546a> { _set_label + 0x36 } JUMP.S

  13 Target : <0x00005462> { _set_label + 0x2e }

     Source : <0x0000546a> { _set_label + 0x36 } JUMP.S

  14 Target : <0x00005460> { _set_label + 0x2c }

     Source : <0x00005456> { _set_label + 0x22 } IF !CC JUMP

  15 Target : <0x00005450> { _set_label + 0x1c }

     Source : <0x0000545c> { _set_label + 0x28 } IF CC JUMP

Stack info:

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

FP: (0x031ffc38)

Memory from 0x031ffc30 to 03200000

031ffc30: 031ffc38  037a15a0 [00000000]<00005fa8> 031ffcd0  00008203  031ffc64 <00109150>

031ffc50: 0015b8bc  00000000  037f5000 <00006014> 031ffcd0  00005fec  0000ea5c  00000000

031ffc70: 00000003  037a0b48  00000000  0015b8bc  037a15a0  00000000 <0038f098> 031ffcd0

031ffc90: 031ffcac  0016c4fc  037a15a0 <0007383a> 0000ffff  00000001  037ef508  8010800f

031ffcb0: 80128011  80148013  80168015  80188017  801a8019  801c801b  801e801d  0000801f

031ffcd0: 80088009  82038004  00008202  037a15a0 <000a1958> 0016c504  037a15a0  001682b8

031ffcf0: 0016c5b0  000000ac  037a15a0  00000000 <00107ae6><00107b0e> 0016c410 <000a1ab0>

031ffd10: 0016c504  037a15a0  0000002b  0016c5b0  001729ac  0000002b  00000000 <000a113a>

031ffd30: 000a1a44  001729ac  00000000  031ffd4c  037c1ce0 <0008a68c> 0015a964  037fb5d8

031ffd50: 0016c54c <000a1802> 0015a964  00000000  037c1ce0  00000000  031ffd8c  031ffd8c

031ffd70:<000a1502> 000a1a44 <000a1520> 037a17cc  037f5000  00073370  00133d20  037a0b48

031ffd90: 00369e50 <000a1c0c> 0015a964  037a15a0  0000002b  00384004  000037a0  031ffdc4

031ffdb0:<037a09c6> 0015a964 <00001028> 0015a964  037a09b0  00384004  000037a0  00000000

031ffdd0: 037a17cc  031ffde8  00000000  00000000  00000000  00000001  031f8be8  00000000

031ffdf0: 00000000  00000001 <00074de6> 0038ca48  031f8be8  00000000  0000000c  037a1790

031ffe10:<00039d0a> 0038c9f0  00000124  031f8be8  0038ca4c <0002b31a> 0038ca18  0038c800

031ffe30:<0002b5ac> 0038ca18  00000017  00000000  00398000  031ffeb0  037a0d1c  00000003

031ffe50: 00000000  031ffeb4  031ffe58  00399c08  00399b40  00399be0  037a0d1c  00399898

031ffe70: 003997d8  003825c0  0039a070  00000015  00000000  00000044  00000044  037b8530

031ffe90: 00399898  00000000  00000000  00000000  00000000  00000000  00000000  00000000

031ffeb0: 00000000 <00022344> 037a1784  00384004  000037a0 <0002b702> 037a1784  00000080

031ffed0: 00384004  000037a0  0035f204  00000000  00000000 <0003e6ba> 037980a0  00748f20

031ffef0: ffffe000 <ffa008cc> 0002b690  00000000  ffffe000  00000000 <0031a4a2> ffffe000

031fff10: 002e0380  0000fffe  000037a0 <0031a4a2> 00000000  003025e0  00008000  00002000

031fff30: 00000000  03200000  003025e0  003025e0 <0031c504><ffa00e34> 02003004  0028be11

031fff50: 0030d0a1  0028be10  0030d0a0  00000000  00000000  00000000  00000000  00000000

031fff70: 00000000  00000000  00000000  00000000  00000000  00000000  00000000  00000000

031fff90: 00000000  00000000  00000000  0378408c  00000000  00000000  00000000  03784094

031fffb0: 00369e45  00369e44  00369e50  00369f38  00369f30  0000002b  003877a4  00387ff4

031fffd0: 00000080  00356e41  0035f204  00000000 <0031a4a2> 000037a0  0035f204  000037a0

031ffff0: 00384004  00384004  00000080  00000006  544c4662

Return addresses in stack:

   frame  1 : <0x00005fa8> { _peripheral_request + 0x140 }

    address : <0x00109150> { __cond_resched + 0x34 }

    address : <0x00006014> { _peripheral_request_list + 0x28 }

    address : <0x0038f098> /* kernel dynamic memory */

    address : <0x0007383a> { _sysfs_new_dirent + 0x42 }

    address : <0x000a1958> { _driver_probe_device + 0x80 }

    address : <0x00107ae6> { _klist_next + 0x26 }

    address : <0x00107b0e> { _klist_next + 0x4e }

    address : <0x000a1ab0> { ___driver_attach + 0x6c }

    address : <0x000a113a> { _bus_for_each_dev + 0x3a }

    address : <0x0008a68c> { _kobject_init_and_add + 0x24 }

    address : <0x000a1802> { _driver_attach + 0x1a }

    address : <0x000a1502> { _bus_add_driver + 0x66 }

    address : <0x000a1520> { _bus_add_driver + 0x84 }

    address : <0x000a1c0c> { _driver_register + 0x40 }

    address : <0x037a09c6> { :bf537_lq035:_init_module + 0x16 }

    address : <0x00001028> { _do_one_initcall + 0x28 }

    address : <0x00074de6> { _internal_create_group + 0xbe }

    address : <0x00039d0a> { _kstrdup + 0x1e }

    address : <0x0002b31a> { _load_module + 0xd72 }

    address : <0x0002b5ac> { _load_module + 0x1004 }

    address : <0x00022344> { _blocking_notifier_call_chain + 0x10 }

    address : <0x0002b702> { _sys_init_module + 0x72 }

    address : <0x0003e6ba> { _sys_close + 0x66 }

    address : <0xffa008cc> { _system_call + 0x68 }

    address : <0x0031a4a2> [ insmod + 0x1a462 ]

    address : <0x0031a4a2> [ insmod + 0x1a462 ]

    address : <0x0031c504> [ insmod + 0x1c4c4 ]

    address : <0xffa00e34> { _evt_system_call + 0x64 }

    address : <0x0031a4a2> [ insmod + 0x1a462 ]

peripheral_request: Peripheral 3 is already reserved as GPIO by bfin_nand_plat !

Requesting Peripherals TMR faild

bf537-lq035: couldn't request gpio port.

bf537-lq035: probe of bf537-lq035.0 failed with error -14

root:/>

Case 1 ...FAIL

 

config attached.

 

Follow-ups

 

--- Mike Frysinger                                           2008-11-20 08:45:47

looks like a bug in the test scripts ... you cant enable lq035 and nand plat at

the same time ?

 

peripheral_request: Peripheral 3 is already reserved as GPIO by bfin_nand_plat

 

--- Mingquan Pan                                             2008-12-19 03:03:08

It is ok now. Close.

 

 

 

    Files

    Changes

    Commits

    Dependencies

    Duplicates

    Associations

    Tags

 

File Name     File Type     File Size     Posted By

config.tftlcd.landscape    application/octet-stream    32521    Mingquan Pan

Outcomes