[#5196] sdiommc kernel failed to boot up in BF518F-EZBRD

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

[#5196] sdiommc kernel failed to boot up in BF518F-EZBRD

Submitted By: Vivi Li

Open Date

2009-06-03 04:17:56     Close Date

2009-06-21 22:06:25

Priority:

Medium High     Assignee:

Cliff Cai

Status:

Closed     Fixed In Release:

N/A

Found In Release:

N/A     Release:

Category:

uClinux-dist applications     Board:

N/A

Processor:

BF518     Silicon Revision:

Is this bug repeatable?:

Yes     Resolution:

Duplicate

Uboot version or rev.:

    Toolchain version or rev.:

gcc4.1-09r1_rc6

App binary format:

N/A     

Summary: sdiommc kernel failed to boot up in BF518F-EZBRD

Details:

 

sdiommc kernel failed to boot up in BF518F-EZBRD with dump info. This should happen on both trunk and 09r1 branch.

 

The last passed result is not known. The earliest sdio image I can check is on 2009_Apr_24 and it also failed.

 

Bellow is the log:

--

Linux version 2.6.28.10-ADI-2009R1-svn6498 (test@uclinux80-518f) (gcc version 4.1.2 (ADI svn)) #12 Sat May 30 09:33:36 GMT 2009^M

console [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-0x00112440^M

  rodata    = 0x00112440-0x001677e4^M

  bss       = 0x00168000-0x001787d4^M

  data      = 0x001787d4-0x0018a000^M

    stack   = 0x00188000-0x0018a000^M

  init      = 0x0018a000-0x007ea000^M

  available = 0x007ea000-0x03eff000^M

  DMA Zone  = 0x03f00000-0x04000000^M

Hardware Trace Active and Enabled^M

Boot Mode: 1^M

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

Compiled for ADSP-BF518 Rev 0.0^M

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

Processor Speed: 400 MHz core clock and 80 MHz System Clock^M

NOMPU: setting up cplb tables^M

Instruction Cache Enabled for CPU0^M

Data Cache Enabled for CPU0 (write-back)^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:bf518f-ezbrd:eth0:off^M

Configuring Blackfin Priority Driven Interrupts^M

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

console handover: boot [early_BFuart0] -> real [ttyBF0]^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: 55836k/65536k RAM, (6528k init code, 1093k kernel code, 479k data, 1024k dma, 572k reserved)^M

Calibrating delay loop... 796.67 BogoMIPS (lpj=1593344)^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 (15 KB free)^M

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

Blackfin L1 Instruction SRAM: 48 KB (42 KB free)^M

net_namespace: 288 bytes^M

NET: Registered protocol family 16^M

Blackfin DMA Controller^M

ezbrd_init(): registering device resources^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 109^M

io scheduler noop registered (default)^M

Serial: Blackfin serial driver^M

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

brd: module loaded^M

bfin_mii_bus: probed^M

bfin_mac: attached PHY driver [Generic PHY] (mii_bus:phy_addr=0:03, irq=-1, mdc_clk=2500000Hz(mdc_div=15)@sclk=80MHz)^M

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

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

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

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

i2c /dev entries driver^M

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

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

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

NULL pointer access^M

Kernel OOPS in progress^M

Deferred Exception context^M

CURRENT PROCESS:^M

COMM=swapper PID=1^M

CPU = 0^M

invalid mm^M

return address: [0x0000a330]; contents of:^M

0x0000a310:  0004  e10a  ac3c  3220  9110  4830  3032  6000 ^M

0x0000a320:  3039  0730  304f  3044  67e1  e3ff  fa47  3228 ^M

0x0000a330: [9120] 5438  0c00  141f  6007  3046  4d68  4f68 ^M

0x0000a340:  3208  914a  e410  0015  e411  0016  e611  001c ^M

^M

ADSP-BF518-0.0 400(MHz CCLK) 80(MHz SCLK) (mpu off)^M

Linux version 2.6.28.10-ADI-2009R1-svn6498^M

Built with gcc version 4.1.2 (ADI svn)^M

^M

SEQUENCER STATUS:               Not tainted^M

SEQSTAT: 00062027  IPEND: 80b0  SYSCFG: 0006^M

  EXCAUSE   : 0x27^M

  interrupts disabled^M

  physical IVG5 asserted : <0xffa00b68> { _evt_ivhw + 0x0 }^M

  physical IVG7 asserted : <0xffa00c84> { _evt_evt7 + 0x0 }^M

  physical IVG15 asserted : <0xffa00db8> { _evt_system_call + 0x0 }^M

  logical irq   6 mapped  : <0xffa00328> { _timer_interrupt + 0x0 }^M

  logical irq  21 mapped  : <0x000b2f38> { _bfin_rtc_interrupt + 0x0 }^M

  logical irq  24 mapped  : <0x000bd570> { _sdh_dma_irq + 0x0 }^M

  logical irq  27 mapped  : <0x000b5d50> { _bfin_twi_interrupt_entry + 0x0 }^M

  logical irq  35 mapped  : <0x000a94dc> { _bfin_mac_interrupt + 0x0 }^M

  logical irq  58 mapped  : <0x000bd594> { _sdh_stat_irq + 0x0 }^M

RETE: <0x00000000> /* Maybe null pointer? */^M

RETN: <0x03ee5bd8> /* kernel dynamic memory */^M

RETX: <0x00000480> /* Maybe fixed code section */^M

RETS: <0x0000a32e> { _try_to_wake_up + 0x26 }^M

PC  : <0x0000a330> { _try_to_wake_up + 0x28 }^M

DCPLB_FAULT_ADDR: <0x00000000> /* Maybe null pointer? */^M

ICPLB_FAULT_ADDR: <0x0000a330> { _try_to_wake_up + 0x28 }^M

^M

PROCESSOR STATE:^M

R0 : 0016d670    R1 : 0000ffff    R2 : 00000000    R3 : 03eb9820^M

R4 : 00000000    R5 : 0000003a    R6 : 00000000    R7 : 0000000f^M

P0 : 00000366    P1 : 00000000    P2 : 03ee5be4    P3 : 039947bc^M

P4 : 00000000    P5 : 0016d670    FP : 03ee5be8    SP : 03ee5afc^M

LB0: 000917a8    LT0: 000917a8    LC0: 00000000^M

LB1: 00047c00    LT1: 00047bee    LC1: 00000000^M

B0 : 00000000    L0 : 00000000    M0 : 00000000    I0 : 03ee5c88^M

B1 : 00000000    L1 : 00000000    M1 : 00000000    I1 : 03ee5c84^M

B2 : 00000000    L2 : 00000000    M2 : 00000000    I2 : 00000000^M

B3 : 00000000    L3 : 00000000    M3 : 00000000    I3 : 00000000^M

A0.w: 00000000   A0.x: 00000000   A1.w: 00000000   A1.x: 00000000^M

USP : 00000000  ASTAT: 00003004^M

^M

Hardware Trace:^M

   0 Target : <0x00004ca0> { _trap_c + 0x0 }^M

     Source : <0xffa005da> { _exception_to_level5 + 0x9e } CALL pcrel^M

   1 Target : <0xffa0053c> { _exception_to_level5 + 0x0 }^M

     Source : <0xffa00420> { _bfin_return_from_exception + 0x18 } RTX^M

   2 Target : <0xffa00408> { _bfin_return_from_exception + 0x0 }^M

     Source : <0xffa00496> { _ex_trap_c + 0x46 } JUMP.S^M

   3 Target : <0xffa00450> { _ex_trap_c + 0x0 }^M

     Source : <0xffa006a4> { _trap + 0x58 } JUMP (P4)^M

   4 Target : <0xffa0064c> { _trap + 0x0 }^M

     Source : <0x0000a32e> { _try_to_wake_up + 0x26 } 0x3228^M

   5 Target : <0x0000a32e> { _try_to_wake_up + 0x26 }^M

     Source : <0x000097d2> { _task_rq_lock + 0x1a } RTS^M

   6 Target : <0x000097b8> { _task_rq_lock + 0x0 }^M

     Source : <0x0000a32a> { _try_to_wake_up + 0x22 } CALL pcrel^M

   7 Target : <0x0000a308> { _try_to_wake_up + 0x0 }^M

     Source : <0x0000a3e4> { _wake_up_process + 0xc } JUMP.L^M

   8 Target : <0x0000a3d8> { _wake_up_process + 0x0 }^M

     Source : <0x000bd70c> { _sdh_stat_irq + 0x178 } CALL pcrel^M

   9 Target : <0x000bd708> { _sdh_stat_irq + 0x174 }^M

     Source : <0x000bd344> { _sdh_enable_sdio_irq + 0x0 } RTS^M

  10 Target : <0x000bd344> { _sdh_enable_sdio_irq + 0x0 }^M

     Source : <0x000bd706> { _sdh_stat_irq + 0x172 } CALL (P2)^M

  11 Target : <0x000bd6f2> { _sdh_stat_irq + 0x15e }^M

     Source : <0x0001b8e2> { _queue_work_on + 0x3a } RTS^M

  12 Target : <0x0001b8a8> { _queue_work_on + 0x0 }^M

     Source : <0x0001b950> { _queue_work + 0x8 } JUMP.L^M

  13 Target : <0x0001b948> { _queue_work + 0x0 }^M

     Source : <0x0001be7c> { _queue_delayed_work + 0x10 } JUMP.L^M

  14 Target : <0x0001be6c> { _queue_delayed_work + 0x0 }^M

     Source : <0x000b6d4c> { _mmc_schedule_delayed_work + 0x10 } JUMP.L^M

  15 Target : <0x000b6d3c> { _mmc_schedule_delayed_work + 0x0 }^M

     Source : <0x000b6d56> { _mmc_detect_change + 0x6 } JUMP.L^M

^M

Kernel Stack^M

Stack info:^M

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

FP: (0x03ee5bfc)^M

Memory from 0x03ee5bb0 to 03ee6000^M

03ee5bb0: 00000000  0000003a  00000000 [03eb9820] 00000000  0000ffff  0016d670  0016d670 ^M

03ee5bd0: 00000366  00000006  0017d610  0000003a  0000ffff  0000ffff  0017a8b0 <000bd710>^M

03ee5bf0: 03994600  ffc038c0  00000012 (00000000)<ffa002b4> 001759d8  000061a4  03ec63e0 ^M

03ee5c10:<00028bce> 039a2540  0000003a  0017ac10  00000000  00000000  03ee5c50  039a2540 ^M

03ee5c30: 03ee5c3c <0002a250> 0017d610  0000003a  00000000  00182160  0017a8b0 <000132fe>^M

03ee5c50:<0000618e><ffa002b4> 001759d8  039947bc  000917a8  00047bee  000917a8 <ffa00afc>^M

03ee5c70: 03994600  00000000  00001000  00000000  00000000  00000000  000666b0 <00002020>^M

03ee5c90: 00002026  00000000  00000000  00000000  000666b0 <00110f38> 00000007 <00002020>^M

03ee5cb0: 00047c00  000917a8  00047bee  000917a8  00000000  00000000  00000000  00000000 ^M

03ee5cd0: 00000000  00000000  00000000  00000000  00000000  00000000  00000000  00000000 ^M

03ee5cf0: 00000000  00000000  00000000  00000000  00000000  00000000  00000000  00000000 ^M

03ee5d10: 03ee5c84  00000003  00000000  0017a8b0  03994600  039947bc  0017ac10  ffc038c8 ^M

03ee5d30: 00144929  00168af0  00000000  00001000  00182160  00000000  000002c0  00000000 ^M

03ee5d50: 00000180  00151eb4  00151eb4  00168af0  00000006  00182160 <0006b396> 03970c40 ^M

03ee5d70: 00151f48  039947bc  00182160 <000a42e8> 0017a8b0  00182160  001763c4  0017a95c ^M

03ee5d90: 000000ac  00000000 <0010f934><0010f95c> 0017a7c4 <000a4454> 0017a8b0  00182160 ^M

03ee5db0: 001a48b4  0017a95c  00181000  001a48b4  00000000 <000a3b06> 000a43e8  00181000 ^M

03ee5dd0: 00000000  03ee5de4  039a3f20 <0008d3b0> 00168024  03efb5d8  0017a8f8 <000a419e>^M

03ee5df0: 00168024  00000000  039a3f20  00000000  03ee5e24  03ee5e24 <000a3eb8> 000a43e8 ^M

03ee5e10:<000a3ed6> 00000000 <000a45a4> 00168024  0013e6a0  00144920  00000000 <000a45a4>^M

03ee5e30: 00168024  00182160  001a48b4  00000000  00000000  0019d6ec  00000000  00000000 ^M

03ee5e50:<00001028> 00168024  0019d740  00000000  00000000  00000000  03ee1bc0  001866e4 ^M

03ee5e70: 00000010  03ee4000  000040d0  00000000  00000001  000240d0  00000000  00000000 ^M

03ee5e90: 001866e4  00000001  00000044  03ee4000  03ee4000  03ee4000  000240d0  03ee4000 ^M

03ee5eb0: 00000010  00869a20  00000000  00000000  00000000  00000000  00000000  00000020 ^M

03ee5ed0: 00000001  00000000  ffffffff  03ee5f0c <0008c65c> 03ed1940  03ed0a40  001744ec ^M

03ee5ef0:<0008c6d0> 03efb6a4  00000000  000000fc  001744ec  0000003f  03ee5f0c  03ee0e10 ^M

03ee5f10: 00000000 <0008c842> 001744ec  03ed0a40  001a48b4  000000d0  00000000 <000664c8>^M

03ee5f30: 03ed1940  03ed0a40  001a48b4  03ee5f60  00004000  00000000  00000000  00000000 ^M

03ee5f50: 001a48b4  03ee5f60 <000666ec> 0017e420  000000fc <000666fa> 0017e420  001739f8 ^M

03ee5f70: 03ed1940  03ed0a40  03ee5f9c  7fffff00  00000001 <0002a8c6> 03ee5f9c  00000076 ^M

03ee5f90: 0000000e <000667be> 03ed0a40  00383131  00000000  00190000 <0002a922> 0017c874 ^M

03ee5fb0: 001a4680  00000076  0017e420 <0018a3a0> 001a485c  001a4680  00000000  00000000 ^M

03ee5fd0: 00000000  00000000  00000000  00000000  00000000 <0000145e> 00000000  00000000 ^M

03ee5ff0: 00000000  00000000  ffffffff  00000006  03ef74a8 ^M

Return addresses in stack:^M

    address : <0x000bd710> { _sdh_stat_irq + 0x17c }^M

   frame  1 : <0xffa002b4> { _asm_do_IRQ + 0x34 }^M

    address : <0x00028bce> { _handle_IRQ_event + 0x36 }^M

    address : <0x0002a250> { _handle_simple_irq + 0x48 }^M

    address : <0x000132fe> { _irq_enter + 0xa }^M

    address : <0x0000618e> { _peripheral_request + 0xd6 }^M

    address : <0xffa002b4> { _asm_do_IRQ + 0x34 }^M

    address : <0xffa00afc> { __common_int_entry + 0x64 }^M

    address : <0x00002020> { _show_cpuinfo + 0x58 }^M

    address : <0x00110f38> { _sdh_probe + 0x214 }^M

    address : <0x00002020> { _show_cpuinfo + 0x58 }^M

    address : <0x0006b396> { _create_dir + 0x3a }^M

    address : <0x000a42e8> { _driver_probe_device + 0x78 }^M

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

    address : <0x0010f95c> { _klist_next + 0x48 }^M

    address : <0x000a4454> { ___driver_attach + 0x6c }^M

    address : <0x000a3b06> { _bus_for_each_dev + 0x3a }^M

    address : <0x0008d3b0> { _kobject_init_and_add + 0x24 }^M

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

    address : <0x000a3eb8> { _bus_add_driver + 0x64 }^M

    address : <0x000a3ed6> { _bus_add_driver + 0x82 }^M

    address : <0x000a45a4> { _driver_register + 0x40 }^M

    address : <0x000a45a4> { _driver_register + 0x40 }^M

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

    address : <0x0008c65c> { _ida_get_new_above + 0x94 }^M

    address : <0x0008c6d0> { _ida_get_new_above + 0x108 }^M

    address : <0x0008c842> { _ida_pre_get + 0xe }^M

    address : <0x000664c8> { _proc_register + 0x30 }^M

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

    address : <0x000666fa> { _create_proc_entry + 0x4a }^M

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

    address : <0x000667be> { _proc_mkdir_mode + 0x2e }^M

    address : <0x0002a922> { _init_irq_proc + 0x42 }^M

    address : <0x0018a3a0> { _kernel_init + 0x84 }^M

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

Modules linked in:^M

Kernel panic - not syncing: Kernel exception^M

--

 

Follow-ups

 

--- Cliff Cai                                                2009-06-05 03:01:01

this problem is the same to bug #5066

 

--- Cliff Cai                                                2009-06-18 23:51:13

fixed it by disabling SDIO irq by default

 

--- Vivi Li                                                  2009-06-21 22:06:25

It can boot up now. Close it.

 

 

 

    Files

    Changes

    Commits

    Dependencies

    Duplicates

    Associations

    Tags

 

File Name     File Type     File Size     Posted By

config.sdiommc    application/octet-stream    29375    Vivi Li

Attachments

Outcomes