[#5492] bf538-ezkit kernel boot up with peripheral request error info in SPI driver

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

[#5492] bf538-ezkit kernel boot up with peripheral request error info in SPI driver

Submitted By: Vivi Li

Open Date

2009-09-03 19:37:39     Close Date

2009-09-13 23:38:09

Priority:

Medium     Assignee:

Barry Song

Status:

Closed     Fixed In Release:

N/A

Found In Release:

2010R1     Release:

Category:

N/A     Board:

N/A

Processor:

BF538     Silicon Revision:

Is this bug repeatable?:

Yes     Resolution:

Duplicate

Uboot version or rev.:

    Toolchain version or rev.:

gcc4.1-09r1-rc9

App binary format:

N/A     

Summary: bf538-ezkit kernel boot up with peripheral request error info in SPI driver

Details:

 

bf538-ezkit kernel boot up with peripheral request error info.

 

--

Linux version 2.6.30.5-ADI-2010R1-pre-svn7263 (test@linux70-bf538) (gcc version 4.1.2 (ADI svn)) #14 Fri Sep 4 08:29:55 CST 2009^M

bootconsole [early_shadow0] enabled^M

bootconsole [early_BFuart0] enabled^M

early printk enabled on early_BFuart0^M

Board Memory: 64MB^M

Kernel Managed Memory: 64MB^M

Memory map:^M

  fixedcode = 0x00000400-0x00000490^M

  text      = 0x00001000-0x00105520^M

  rodata    = 0x00105520-0x0015d048^M

  bss       = 0x0015e000-0x0016ec24^M

  data      = 0x0016ec24-0x00180000^M

    stack   = 0x0017e000-0x00180000^M

  init      = 0x00180000-0x006f1000^M

  available = 0x006f1000-0x03eff000^M

  DMA Zone  = 0x03f00000-0x04000000^M

Hardware Trace Active and Enabled^M

Boot Mode: 0^M

Reset caused by Software reset^M

Blackfin support (C) 2004-2009 Analog Devices, Inc.^M

Compiled for ADSP-BF538 Rev 0.4^M

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

Processor Speed: 525 MHz core clock and 131 MHz System Clock^M

NOMPU: setting up cplb tables^M

Instruction Cache Enabled for CPU0^M

  External memory: cacheable in instruction cache^M

Data Cache Enabled for CPU0^M

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

Built 1 zonelists in Zone order, mobility grouping off.  Total pages: 16001^M

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:bf538f-ezkit:eth0:off^M

NR_IRQS:87^M

Configuring Blackfin Priority Driven Interrupts^M

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

console [ttyBF0] enabled, bootconsole disabled^M

console [ttyBF0] enabled, bootconsole disabled^M

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

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

Memory available: 56832k/65536k RAM, (5572k init code, 1041k kernel code, 491k data, 1024k dma, 572k reserved)^M

Calibrating delay loop... 1046.52 BogoMIPS (lpj=2093056)^M

Security Framework initialized^M

Mount-cache hash table entries: 512^M

Blackfin Scratchpad data SRAM: 4 KB^M

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

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

Blackfin L1 Instruction SRAM: 64 KB (53 KB free)^M

net_namespace: 296 bytes^M

NET: Registered protocol family 16^M

Blackfin DMA Controller^M

ezkit_init(): registering device resources^M

bio: create slab <bio-0> at 0^M

NET: Registered protocol family 2^M

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

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

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

TCP: Hash tables configured (established 2048 bind 2048)^M

TCP reno registered^M

NET: Registered protocol family 1^M

msgmni has been set to 111^M

io scheduler noop registered^M

io scheduler anticipatory registered (default)^M

io scheduler cfq registered^M

Serial: Blackfin serial driver^M

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

bfin-uart.1: ttyBF1 at MMIO 0xffc02000 (irq = 48) is a BFIN-UART^M

bfin-uart.1: ttyBF2 at MMIO 0xffc02100 (irq = 50) is a BFIN-UART^M

brd: module loaded^M

smc91x.c: v1.1, sep 22 2004 by Nicolas Pitre <nico@cam.org>^M

eth0: SMC91C11xFD (rev 2) at 20310300 IRQ 71 [nowait]^M

eth0: Ethernet addr: 00:e0:22:fe:bc:8b^M

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

Hardware Trace:^M

   0 Target : <0x00004d2c> { _dump_stack + 0x0 }^M

     Source : <0x000061ba> { _peripheral_request + 0xc6 } CALL pcrel^M

   1 Target : <0x000061a8> { _peripheral_request + 0xb4 }^M

     Source : <0x00005f98> { _cmp_label + 0x30 } RTS^M

   2 Target : <0x00005f90> { _cmp_label + 0x28 }^M

     Source : <0x00005f88> { _cmp_label + 0x20 } IF !CC JUMP^M

   3 Target : <0x00005f68> { _cmp_label + 0x0 }^M

     Source : <0x000061a4> { _peripheral_request + 0xb0 } CALL pcrel^M

   4 Target : <0x0000619c> { _peripheral_request + 0xa8 }^M

     Source : <0x0000616a> { _peripheral_request + 0x76 } IF !CC JUMP^M

   5 Target : <0x00006148> { _peripheral_request + 0x54 }^M

     Source : <0x0000612a> { _peripheral_request + 0x36 } IF CC JUMP^M

   6 Target : <0x00006116> { _peripheral_request + 0x22 }^M

     Source : <0x00006110> { _peripheral_request + 0x1c } IF !CC JUMP^M

   7 Target : <0x0000610e> { _peripheral_request + 0x1a }^M

     Source : <0x00006102> { _peripheral_request + 0xe } IF !CC JUMP^M

   8 Target : <0x000060f4> { _peripheral_request + 0x0 }^M

     Source : <0x0000625c> { _peripheral_request_list + 0x24 } CALL pcrel^M

   9 Target : <0x0000625a> { _peripheral_request_list + 0x22 }^M

     Source : <0x0000624a> { _peripheral_request_list + 0x12 } JUMP.S^M

  10 Target : <0x00006238> { _peripheral_request_list + 0x0 }^M

     Source : <0x001932ba> { _bfin_spi_probe + 0x22a } CALL pcrel^M

  11 Target : <0x001932b0> { _bfin_spi_probe + 0x220 }^M

     Source : <0x0001c316> { _queue_work_on + 0x5e } RTS^M

  12 Target : <0x0001c30e> { _queue_work_on + 0x56 }^M

     Source : <0x0001c292> { ___queue_work + 0x2e } RTS^M

  13 Target : <0x0001c278> { ___queue_work + 0x14 }^M

     Source : <0x0001c10a> { _insert_work + 0x3e } RTS^M

  14 Target : <0x0001c104> { _insert_work + 0x38 }^M

     Source : <0x0000cdd6> { ___wake_up + 0x32 } RTS^M

  15 Target : <0x0000cdd0> { ___wake_up + 0x2c }^M

     Source : <0x0000cdc2> { ___wake_up + 0x1e } IF !CC JUMP^M

Stack info:^M

SP: [0x03eebdd8] <0x03eebdd8> /* kernel dynamic memory */^M

FP: (0x03eebdd8)^M

Memory from 0x03eebdd0 to 03eec000^M

03eebdd0: 03eebdd8  001786a0 [00000000]<000061be> 00000002  00008022  00000000  00000000 ^M

03eebdf0: 00170740 <0001c104> 0000ffff <00006260> 00170dc8  03bc1cbc  03bc1c00  00000000 ^M

03eebe10: 00000000  0013952c  00000000 <000acc5e><0001c30e> 00000000 <001932be> 03bc1ce4 ^M

03eebe30: 00000000  00170748  001786a0  00000001 <00071cfc> 00170748  00000000  00000000 ^M

03eebe50: 00000000  03eebecc  00000000  0019307c <000a1d9c> 00170748  0016c744  001786a0 ^M

03eebe70: 0017077c  03eebecc  001786a0  00000000  03ef0b28  00000000 <00103980> 00000000 ^M

03eebe90:<000a1e60> 00170748  001786a0  00177dfc  0017077c  00177dfc  00000000  03eebecc ^M

03eebeb0:<000a1518> 000a1e00  001786a0  00000000  03bf1ae0  001710a0 <0001f17a> 03ef85d8 ^M

03eebed0: 03ed6150 <000a1bf6> 03bf1ae0  00000000  00000000  00000000  03eebf0c  03eebf0c ^M

03eebef0:<000a19ac> 000a1e00 <000a19ca> 03ea16a0  00000000  0000ffff  001315a8  0013952c ^M

03eebf10:<000a2110> 001786a0  0019a960  0015e00c  00000000  00000000 <00192ef8> 00000001 ^M

03eebf30:<000a2b3e> 00178684  00000000  0019a90c  0019a960  0015e00c <00001030> 0019a910 ^M

03eebf50:<0013c800><0006c4f4> 00174e44  00169514 <0013c800> 0006c500  00174e44  00169514 ^M

03eebf70: 00169514  03eebf98  7fffffff  00000001 <0002e916> 03eebf98  00000056  00000000 ^M

03eebf90: 00000000  03ed6480  00003638  00000000  00000000  00000000 <00180256> 0019a910 ^M

03eebfb0: 0019a960  00000000  00000000  00000000  00000000  00000000  0015e018  00000000 ^M

03eebfd0: 00001468 <0018045a> 0015e018  00000000  00000000  00000000  00000000 <0000146e>^M

03eebff0: 00000000  00000000  ffffffff  00000006 ^M

Return addresses in stack:^M

   frame  1 : <0x000061be> { _peripheral_request + 0xca }^M

    address : <0x0001c104> { _insert_work + 0x38 }^M

    address : <0x00006260> { _peripheral_request_list + 0x28 }^M

    address : <0x000acc5e> { _spi_alloc_master + 0x36 }^M

    address : <0x0001c30e> { _queue_work_on + 0x56 }^M

    address : <0x001932be> { _bfin_spi_probe + 0x22e }^M

    address : <0x00071cfc> { _sysfs_create_link + 0xc }^M

    address : <0x000a1d9c> { _really_probe + 0xdc }^M

    address : <0x00103980> { _klist_next + 0x20 }^M

    address : <0x000a1e60> { ___driver_attach + 0x60 }^M

    address : <0x000a1518> { _bus_for_each_dev + 0x3c }^M

    address : <0x0001f17a> { _kthread_create + 0x96 }^M

    address : <0x000a1bf6> { _driver_attach + 0x1a }^M

    address : <0x000a19ac> { _bus_add_driver + 0x60 }^M

    address : <0x000a19ca> { _bus_add_driver + 0x7e }^M

    address : <0x000a2110> { _driver_register + 0x4c }^M

    address : <0x00192ef8> { _init_mtd + 0x1c }^M

    address : <0x000a2b3e> { _platform_driver_probe + 0xe }^M

    address : <0x00001030> { _do_one_initcall + 0x24 }^M

    address : <0x0013c800> /* kernel dynamic memory */^M

    address : <0x0006c4f4> { _create_proc_entry + 0x3c }^M

    address : <0x0013c800> /* kernel dynamic memory */^M

    address : <0x0002e916> { _register_irq_proc + 0x76 }^M

    address : <0x00180256> { _do_initcalls + 0x2a }^M

    address : <0x0018045a> { _kernel_init + 0x3e }^M

    address : <0x0000146e> { _kernel_thread_helper + 0x6 }^M

peripheral_request: Peripheral 34 function 0 is already reserved by UNKNOWN !^M

bfin-spi bfin-spi.1: : Requesting Peripherals failed^M

bfin-spi: probe of bfin-spi.1 failed with error -16^M

bfin-spi bfin-spi.2: No DMA channel specified^M

bfin-spi: probe of bfin-spi.2 failed with error -2^M

ad7879 spi0.1: Failed to probe AD7879 Touchscreen^M

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

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

TCP cubic registered^M

NET: Registered protocol family 17^M

rtc-bfin rtc-bfin: setting system clock to 2004-05-31 05:03:05 UTC (1085979785)^M

eth0: link down^M

IP-Config: Complete:^M

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

     host=bf538f-ezkit, domain=, nis-domain=(none),^M

     bootserver=10.100.4.174, rootserver=10.100.4.174, rootpath=^M

Freeing unused kernel memory: 5572k freed^M

dma_alloc_init: dma_page @ 0x03e80000 - 256 pages at 0x03f00000^M

eth0: link up, 100Mbps, full-duplex, lpa 0x41E1^M

                           _____________________________________^M

        a8888b.           / Welcome to the uClinux distribution \^M

       d888888b.         /       _     _                         \^M

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

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

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

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

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

     dP   .    Y8b.       \   For embedded processors including   |^M

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

   d8"         'Y88b        \___________________________________/^M

  :8P    '      :888^M

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

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

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

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

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

^M

Have a lot of fun...^M

^M

^M

BusyBox v1.15.0 (2009-09-04 01:54:28 CST) hush - the humble shell^M

^M

root:/> version^M

kernel:    Linux release 2.6.30.5-ADI-2010R1-pre-svn7263, build #14 Fri Sep 4 08:29:55 CST 2009^M

toolchain: bfin-uclinux-gcc release gcc version 4.1.2 (ADI svn)^M

user-dist: release svn-8819, build #106 Fri Sep 4 08:29:19 CST 2009^M

root:/>

--

 

Follow-ups

 

--- Barry Song                                               2009-09-11 05:17:27

Duplicate with bug[#5493], and will be fixed by task [#5193].

 

--- Vivi Li                                                  2009-09-13 23:38:09

OK now. Close it.

 

 

 

    Files

    Changes

    Commits

    Dependencies

    Duplicates

    Associations

    Tags

 

File Name     File Type     File Size     Posted By

config.bf538    application/octet-stream    33278    Vivi Li

Attachments

Outcomes