[#4597] bfin_mac boot up failure on trunk head.

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

[#4597] bfin_mac boot up failure on trunk head.

Submitted By: Mingquan Pan

Open Date

2008-11-03 05:44:54     Close Date

2008-11-03 22:41:20

Priority:

Medium     Assignee:

Bryan Wu

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:

Fixed

Uboot version or rev.:

    Toolchain version or rev.:

Oct 10

App binary format:

N/A     

Summary: bfin_mac boot up failure on trunk head.

Details:

 

bfin_mac boot up failure on trunk head from yesterday.

 

Loading .text @ 0x00001000 (1092544 bytes)

Loading .rodata @ 0x0010bbc0 (261572 bytes)

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

Loading __ksymtab @ 0x0014b9d4 (15872 bytes)

Loading __ksymtab_gpl @ 0x0014f7d4 (5048 bytes)

Loading __ksymtab_strings @ 0x00150b8c (46718 bytes)

Loading __init_rodata @ 0x0015c20c (172 bytes)

Loading __param @ 0x0015c2b8 (380 bytes)

Clearing .bss @ 0x0015c440 (65376 bytes)

Loading .data @ 0x0016c3a0 (64608 bytes)

Loading .init.text @ 0x0017c000 (100624 bytes)

Loading .init.data @ 0x00194910 (13648 bytes)

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

Loading .initcall.init @ 0x001980ac (548 bytes)

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

Loading .init.ramfs @ 0x001982d4 (3177562 bytes)

Loading .text_l1 @ 0xffa00000 (6976 bytes)

sh_addr: FFA00000, p_paddr: 0049FF2E

Loading from: 02491000 to 0049FF2E, size: 6976

Loading .data_l1 @ 0xff800000 (224 bytes)

sh_addr: FF800000, p_paddr: 004A1A6E

Loading from: 02493000 to 004A1A6E, size: 224

## Starting application at 0x0018a280 ...

Linux version 2.6.28-rc2-ADI-2009R1-pre-svn5562 (test@uclinux54-adv7393-ad1981-usb1362) (gcc version 4.1.2 (ADI svn)) #17 Mon Nov 3 11:07:19 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-0x0010bbc0

  rodata    = 0x0010bbc0-0x0015c434

  bss       = 0x0015c440-0x0016c3a0

  data      = 0x0016c3a0-0x0017c000

    stack   = 0x0017a000-0x0017c000

  init      = 0x0017c000-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

Data Cache Enabled (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 console=null ip=10.100.4.50 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)

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, (3224k init code, 1066k kernel code, 450k data, 1024k dma, 7756k reserved)

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

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)

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

Hardware Trace:

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

     Source : <0x0000645e> { _peripheral_request + 0x126 } CALL pcrel

   1 Target : <0x0000645a> { _peripheral_request + 0x122 }

     Source : <0x00006320> { _cmp_label + 0x30 } RTS

   2 Target : <0x00006318> { _cmp_label + 0x28 }

     Source : <0x00006310> { _cmp_label + 0x20 } IF !CC JUMP

   3 Target : <0x000062f0> { _cmp_label + 0x0 }

     Source : <0x00006456> { _peripheral_request + 0x11e } CALL pcrel

   4 Target : <0x0000644e> { _peripheral_request + 0x116 }

     Source : <0x000063ae> { _peripheral_request + 0x76 } IF !CC JUMP

   5 Target : <0x0000638e> { _peripheral_request + 0x56 }

     Source : <0x0000636a> { _peripheral_request + 0x32 } IF CC JUMP

   6 Target : <0x0000635a> { _peripheral_request + 0x22 }

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

   7 Target : <0x00006352> { _peripheral_request + 0x1a }

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

   8 Target : <0x00006338> { _peripheral_request + 0x0 }

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

   9 Target : <0x000064f0> { _peripheral_request_list + 0x14 }

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

  10 Target : <0x00006504> { _peripheral_request_list + 0x28 }

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

  11 Target : <0x00006348> { _peripheral_request + 0x10 }

     Source : <0x00006416> { _peripheral_request + 0xde } JUMP.S

  12 Target : <0x00006416> { _peripheral_request + 0xde }

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

  13 Target : <0x0000541c> { _set_label + 0x38 }

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

  14 Target : <0x00005412> { _set_label + 0x2e }

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

  15 Target : <0x00005412> { _set_label + 0x2e }

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

Stack info:

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

FP: (0x00537df0)

Memory from 0x00537d40 to 00538000

00537d40: 0317f2a0  00537d4c <0003e068>[037f5000]<00006462> 0015cd8a  00008031  0016dce4

00537d60: 0053e000  00000078  00174634  00169d24 <00006504> 00174664  00174634  00000000

00537d80: 00000011  0013c578  00000000  00169d24  0016dcdc  000000ac <00109ef0> 0053e130

00537da0: 0016dcdc  000000ac  00174634 <00074a78> 0016dce4  00174634  00000000  0016dd4c

00537dc0: 001982d0  00174634 <00074046> 00174634 <000a1d00> 0016dce4  00174634  00169d24

00537de0: 0016dd90  000000ac  00174634  00000000 (00000000)<001090f6><0010911e> 0016dbf0

00537e00:<000a1e58> 0016dce4  00174634  001982d0  0016dd90  00174244  001982d0  00000000

00537e20:<000a14e2> 000a1dec  00174244  00000000  00537e40 <037c43e0><0008aa6c> 0015c464

00537e40: 037fb5d8  0016dd2c <000a1baa> 0015c464  00000000 <037c43e0> 00000000  00537e80

00537e60: 00537e80 <000a18aa> 000a1dec <000a18c8><000c265e> 00537e90  001908a0  001355bc

00537e80: 0013c578  00000000 <000a1fb4> 0015c464  00174634  001982d0  00000000  00000000

00537ea0: 0015c464  00000007  00000001 <00001028> 0015c464  001909a4  00000000  00000000

00537ec0: 00000000  00000000  00000000  037fd220  ffffffff  00537f04 <00089daa> 00171c08

00537ee0: 0016734c  00167e5c <00089e1e> 037fb6a4  00000000  000000d2  00167e5c  000000d0

00537f00: 00537f04  037ebf28  00000000  00000000  001982d0 <00089f86> 00167e5c  0016734c

00537f20: 00000000 <0006f0c4> 00171c08  0016734c  001982d0  00537f58  037c84a0  037c7300

00537f40: 00000000  00000000  00167e5c  00537f58 <0013efb4><0006f2ec> 000000d2 <0006f2fa>

00537f60: 00171c08  037c84a0  00004000  00000000  00000000  00537f98  7fffff00  00000001

00537f80:<0002ebb8> 00537f98  00000061 <0006f3be> 001980b0  037c7300  00003739  00000000

00537fa0: 00190000 <0002ec16> 00170548  001980b0  00000061  00171c08 <0017c3ba> 00198260

00537fc0: 001980b0  00000000  00000000  00000000  00000000  00000000  00000000  00000000

00537fe0: 00000001 <00001466> 00000000  00000000  00000000  00000000  ffffffff  00000006

00538000: 00534340

Return addresses in stack:

    address : <0x0003e068> { ___kmalloc + 0x98 }

    address : <0x00006462> { _peripheral_request + 0x12a }

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

    address : <0x00109ef0> { _bfin_mac_probe + 0xa8 }

    address : <0x00074a78> { _sysfs_create_link + 0xc }

    address : <0x00074046> { _create_dir + 0x3a }

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

   frame  1 : <0x001090f6> { _klist_next + 0x26 }

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

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

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

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

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

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

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

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

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

    address : <0x000c265e> { _netdev_boot_base + 0x2a }

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

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

    address : <0x00089daa> { _ida_get_new_above + 0x96 }

    address : <0x00089e1e> { _ida_get_new_above + 0x10a }

    address : <0x00089f86> { _ida_pre_get + 0xe }

    address : <0x0006f0c4> { _proc_register + 0x30 }

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

    address : <0x0006f2ec> { _create_proc_entry + 0x3c }

    address : <0x0006f2fa> { _create_proc_entry + 0x4a }

    address : <0x0002ebb8> { _register_irq_proc + 0x80 }

    address : <0x0006f3be> { _proc_mkdir_mode + 0x2e }

    address : <0x0002ec16> { _init_irq_proc + 0x42 }

    address : <0x0017c3ba> { _kernel_init + 0x8a }

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

peripheral_request: Peripheral 49 function 0 is already reserved by UNKNOWN !

bfin_mac bfin_mac.0: Requesting peripherals failed!

bfin_mac: probe of bfin_mac.0 failed with error -14

bfin-spi bfin-spi.0: Blackfin BF5xx on-chip SPI Controller Driver, Version 1.0, regs_base@ffc00500, dma channel@7

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

 

Follow-ups

 

--- Bryan Wu                                                 2008-11-03 22:19:08

should be fixed in my rev5563 commit.

 

-Bryan

 

--- Mingquan Pan                                             2008-11-03 22:41:20

Fixed. Close.

 

 

 

    Files

    Changes

    Commits

    Dependencies

    Duplicates

    Associations

    Tags

 

File Name     File Type     File Size     Posted By

No Files Were Found

Attachments

    Outcomes