[#5547] kernel fails to boot up at 350 cclk and 70 sclk on bf518f ezkit

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

[#5547] kernel fails to boot up at 350 cclk and 70 sclk on bf518f ezkit

Submitted By: Mingquan Pan

Open Date

2009-09-22 02:34:09     Close Date

2009-10-15 22:49:43

Priority:

Medium     Assignee:

Barry Song

Status:

Closed     Fixed In Release:

N/A

Found In Release:

2010R1     Release:

Category:

N/A     Board:

N/A

Processor:

BF518     Silicon Revision:

Is this bug repeatable?:

Yes     Resolution:

Out of Date

Uboot version or rev.:

    Toolchain version or rev.:

09r1-rc9

App binary format:

N/A     

Summary: kernel fails to boot up at 350 cclk and 70 sclk on bf518f ezkit

Details:

 

kernel fails to boot up at 350 cclk and 70 sclk on bf518f ezkit now.

 

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

   Image Name:   bf518-2.6.31-ADI-2010R1-pre-svn7

   Created:      2009-09-20   0:08:03 UTC

   Image Type:   Blackfin Linux Kernel Image (gzip compressed)

   Data Size:    3826316 Bytes =  3.6 MB

   Load Address: 00001000

   Entry Point:  0018bb84

   Verifying Checksum ... OK

   Uncompressing Kernel Image ... OK

Starting Kernel at = 0018bb84

Linux version 2.6.31-ADI-2010R1-pre-svn7385 (test@uclinux80-518f) (gcc version 4.1.2 (ADI svn)) #40 Sun Sep 20 00:07:51 GMT 2009

bootconsole [early_shadow0] enabled

bootconsole [early_BFuart0] enabled

early printk enabled on early_BFuart0

Board Memory: 64MB

Kernel Managed Memory: 64MB

Memory map:

  fixedcode = 0x00000400-0x00000490

  text      = 0x00001000-0x00108450

  rodata    = 0x00108450-0x0015ef5c

  bss       = 0x0015f000-0x0016fd1c

  data      = 0x0016fd1c-0x00182000

    stack   = 0x00180000-0x00182000

  init      = 0x00182000-0x00701000

  available = 0x00701000-0x03eff000

  DMA Zone  = 0x03f00000-0x04000000

Hardware Trace Active and Enabled

Boot Mode: 1

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

Compiled for ADSP-BF518 Rev 0.0

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

Processor Speed: 350 MHz core clock and 70 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: 16001

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.100.4.174:255.255.255.0:bf518f-ezbrd:eth0:off

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: 56768k/65536k RAM, (5628k init code, 1053k kernel code, 487k data, 1024k dma, 572k reserved)

NR_IRQS:119

Configuring Blackfin Priority Driven Interrupts

console [ttyBF0] enabled, bootconsole disabled

console [ttyBF0] enabled, bootconsole disabled

Calibrating delay loop... 696.32 BogoMIPS (lpj=1392640)

Security Framework initialized

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 (42 KB free)

NET: Registered protocol family 16

Blackfin DMA Controller

ezbrd_init(): registering device resources

bio: create slab <bio-0> at 0

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 110

io scheduler noop registered (default)

Serial: Blackfin serial driver

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

brd: module loaded

bfin_mii_bus: probed

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

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

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

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

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

i2c /dev entries driver

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

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

TCP cubic registered

NET: Registered protocol family 17

rtc-bfin rtc-bfin: setting system clock to 2004-05-31 09:54:31 UTC (1085997271)

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

IP-Config: Complete:

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

     host=bf518f-ezbrd, domain=, nis-domain=(none),

     bootserver=10.100.4.174, rootserver=10.100.4.174, rootpath=

Freeing unused kernel memory: 5628k freed

BUG: soft lockup - CPU#0 stuck for 61s! [swapper:1]

Modules linked in:

 

ADSP-BF518-0.0 350(MHz CCLK) 70(MHz SCLK) (mpu off)

Linux version 2.6.31-ADI-2010R1-pre-svn7385 (test@uclinux80-518f) (gcc version 4.1.2 (ADI svn)) #40 Sun Sep 20 00:07:51 GMT 2009

 

SEQUENCER STATUS:               Not tainted

SEQSTAT: 00002026  IPEND: c050  IMASK: 0000  SYSCFG: 0006

  Global Interrupts Disabled (IPEND[4])

  Peripheral interrupts masked off

  Kernel interrupts masked off

  EXCAUSE   : 0x26

  interrupts disabled

  physical IVG6 asserted : <0xffa00ca4> { _evt_timer + 0x0 }

  physical IVG14 asserted : <0xffa00990> { _evt_evt14 + 0x0 }

  physical IVG15 asserted : <0xffa00e84> { _evt_system_call + 0x0 }

  logical irq   6 mapped  : <0xffa00300> { _timer_interrupt + 0x0 }

  logical irq  21 mapped  : <0x000b0340> { _bfin_rtc_interrupt + 0x0 }

  logical irq  27 mapped  : <0x000b3544> { _bfin_twi_interrupt_entry + 0x0 }

  logical irq  29 mapped  : <0x0009d16c> { _bfin_serial_dma_rx_int + 0x0 }

  logical irq  35 mapped  : <0x000a5efc> { _bfin_mac_interrupt + 0x0 }

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

RETN: <0x0201be4c> /* kernel dynamic memory */

RETX: <0x0008ae50> { _memset + 0x28 }

RETS: <0xffa002ce> { _asm_do_IRQ + 0x36 }

PC  : <0x00013a6a> { ___do_softirq + 0x3e }

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

ICPLB_FAULT_ADDR: <0x00000000> /* Maybe null pointer? */

PROCESSOR STATE:

R0 : 0000ffff    R1 : 00000100    R2 : 00000100    R3 : 00000000

R4 : 0000ffff    R5 : 0000001d    R6 : 00000000    R7 : 00000102

P0 : 00171d64    P1 : 00168da8    P2 : 001712a8    P3 : 0201a000

P4 : 001748c0    P5 : 00178980    FP : 0000000a    SP : 0201bb20

LB0: 0008ae50    LT0: 0008ae50    LC0: 00000000

LB1: 00009568    LT1: 00009550    LC1: 00000000

B0 : 0016a27c    L0 : 00000000    M0 : 00000068    I0 : ffffffff

B1 : 00173da8    L1 : 00000000    M1 : 00000000    I1 : ffffffff

B2 : 0201bec0    L2 : 00000000    M2 : 00000000    I2 : 00000000

B3 : 00000000    L3 : 00000000    M3 : 00000000    I3 : 00000000

A0.w: 00000000   A0.x: 00000000   A1.w: 00000000   A1.x: 00000000

USP : 00000000  ASTAT: 02002040

 

Fail to tftp download linux image.Reboot the linux kernel timeout!

 

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

 

 

Last passed time: 2009_Sep_01_14_25. Revision is not found!

 

 

Follow-ups

 

--- Barry Song                                               2009-09-30 01:54:23

The current trunk head has not this problem again.

 

--- Mingquan Pan                                             2009-10-15 22:49:43

Yes,so close.

 

 

 

    Files

    Changes

    Commits

    Dependencies

    Duplicates

    Associations

    Tags

 

File Name     File Type     File Size     Posted By

No Files Were Found

Attachments

    Outcomes