[#5297] Kernel fails to boot in BF526-EZBRD with max core clock 600MHz

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

[#5297] Kernel fails to boot in BF526-EZBRD with max core clock 600MHz

Submitted By: Vivi Li

Open Date

2009-06-29 23:39:08     Close Date

2009-06-29 23:43:44

Priority:

Medium High     Assignee:

Nobody

Status:

Closed     Fixed In Release:

N/A

Found In Release:

N/A     Release:

Category:

N/A     Board:

N/A

Processor:

BF526     Silicon Revision:

Is this bug repeatable?:

Yes     Resolution:

Rejected

Uboot version or rev.:

    Toolchain version or rev.:

toolchain4.1_09r1-rc7

App binary format:

N/A     

Summary: Kernel fails to boot in BF526-EZBRD with max core clock 600MHz

Details:

 

Kernel fails to boot in BF526-EZBRD with maximum core clock 600MHz. u-boot and kernel are both in 09r1 branch. Kernel config is default.

 

--

U-Boot 2008.10-svn1952 (ADI-2009R1-rc2) (Jun 27 2009 - 22:53:19)

 

CPU:   ADSP bf526-0.0 (Detected Rev: 0.0) (parallel flash boot)

Board: ADI BF526 EZ-Board board

       Support: http://blackfin.uclinux.org/

Clock: VCO: 600 MHz, Core: 600 MHz, System: 50 MHz

RAM:   64 MB

Flash:  4 MB

In:    serial

Out:   serial

Err:   serial

Net:   Blackfin EMAC

MAC:   00:E0:FE:0F:1B:7F

Hit any key to stop autoboot:  0

bfin> tftp 0x1000000 uImage.policy

Using Blackfin EMAC device

TFTP from server 10.100.4.174; our IP address is 10.100.4.50

Filename 'uImage.policy'.

Load address: 0x1000000

Loading: #################################################################

         #################################################################

         #################################################################

         #################################################################

         ##################

done

Bytes transferred = 4074096 (3e2a70 hex)

bfin> bootm

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

   Image Name:   Linux-2.6.28.10-ADI-2009R1-svn68

   Created:      2009-06-29  19:05:49 UTC

   Image Type:   Blackfin Linux Kernel Image (gzip compressed)

   Data Size:    4074032 Bytes =  3.9 MB

   Load Address: 00001000

   Entry Point:  001c16bc

   Verifying Checksum ... OK

   Uncompressing Kernel Image ... OK

Starting Kernel at = 001c16bc

Linux version 2.6.28.10-ADI-2009R1-svn6864 (test@uclinux81-bf526) (gcc version 4.1.2 (ADI svn)) #14 Mon Jun 29 19:05:40 GMT 2009

console [early_BFuart0] enabled

early printk enabled on early_BFuart0

Board Memory: 64MB

Kernel Managed Memory: 64MB

Memory map:

  fixedcode = 0x00000400-0x00000490

  text      = 0x00001000-0x0012df80

  rodata    = 0x0012df80-0x0018e0bc

  bss       = 0x0018f000-0x0019ff20

  data      = 0x0019ff20-0x001b4000

    stack   = 0x001b2000-0x001b4000

  init      = 0x001b4000-0x00793000

  available = 0x00793000-0x03eff000

  DMA Zone  = 0x03f00000-0x04000000

Hardware Trace Active and Enabled

Boot Mode: 1

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

Compiled for ADSP-BF526 Rev 0.0

Warning: Compiled for Rev 0, but running on Rev 65535

Warning: Unsupported Chip Revision ADSP-BF526 Rev 0.65535 detected

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

Processor Speed: 600 MHz core clock and 50 MHz System Clock

NOMPU: setting up cplb tables

Instruction Cache Enabled for CPU0

Data Cache Enabled for CPU0 (write-back)

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

Kernel command line: root=/dev/mtdblock0 rw clkin_hz=25000000 earlyprintk=serial,uart1,57600 console=ttyBF0,57600

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: 56184k/65536k RAM, (6012k init code, 1203k kernel code, 537k data, 1024k dma, 572k reserved)

Calibrating delay loop... 1196.03 BogoMIPS (lpj=2392064)

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

net_namespace: 288 bytes

NET: Registered protocol family 16

Blackfin DMA Controller

ezbrd_init(): registering device resources

NULL pointer access

Kernel OOPS in progress

Deferred Exception context

CURRENT PROCESS:

COMM=khelper PID=6

CPU = 0

invalid mm

return address: [0x0000d7b2]; contents of:

0x0000d790:  2002  c803  1800  9202  9c02  9202  ac7a  9357

0x0000d7a0:  e539  0078  e53a  008c  b0b8  e639  00ac  e639

0x0000d7b0:  00a9 [a049] e410  0050  0981  116d  0000  61fa

0x0000d7c0:  0031  0042  6203  9108  5459  6408  0c01  9308

 

ADSP-BF526-0.0(Detected 0.65535) 600(MHz CCLK) 50(MHz SCLK) (mpu off)

Linux version 2.6.28.10-ADI-2009R1-svn6864

Built with gcc version 4.1.2 (ADI svn)

 

SEQUENCER STATUS:               Not tainted

SEQSTAT: 00060027  IPEND: 8030  SYSCFG: 0006

  EXCAUSE   : 0x27

  interrupts disabled

  physical IVG5 asserted : <0xffa00b90> { _evt_ivhw + 0x0 }

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

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

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

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

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

RETS: <0x0000d77a> { _copy_process + 0xbe }

PC  : <0x0000d7b2> { _copy_process + 0xf6 }

DCPLB_FAULT_ADDR: <0xef000014> /* kernel dynamic memory */

ICPLB_FAULT_ADDR: <0x00003e50> { _show_regs + 0x94 }

 

PROCESSOR STATE:

R0 : 00000002    R1 : 00000000    R2 : 00000000    R3 : 00000000

R4 : 00000000    R5 : 00804111    R6 : 0082c000    R7 : 0082e000

P0 : 0082e03c    P1 : ffffffff    P2 : 00826520    P3 : 0082abe0

P4 : 00194a6c    P5 : 0082a900    FP : 0082a900    SP : 0082dcf8

LB0: 00083090    LT0: 00083090    LC0: 00000000

LB1: 0000d792    LT1: 0000d792    LC1: 00000000

B0 : 00000000    L0 : 00000000    M0 : 00000000    I0 : 0082c03c

B1 : 00000000    L1 : 00000000    M1 : 00000000    I1 : 00000001

B2 : 00000000    L2 : 00000000    M2 : 00000000    I2 : 0000001f

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

A0.w: 003d08ba   A0.x: 00000000   A1.w: 00000934   A1.x: 00000000

USP : 00000000  ASTAT: 00003025

 

Hardware Trace:

   0 Target : <0x00004d50> { _trap_c + 0x0 }

     Source : <0xffa005ea> { _exception_to_level5 + 0x9e } CALL pcrel

   1 Target : <0xffa0054c> { _exception_to_level5 + 0x0 }

     Source : <0xffa0042c> { _bfin_return_from_exception + 0x18 } RTX

   2 Target : <0xffa00414> { _bfin_return_from_exception + 0x0 }

     Source : <0xffa004a2> { _ex_trap_c + 0x46 } JUMP.S

   3 Target : <0xffa0045c> { _ex_trap_c + 0x0 }

     Source : <0xffa006b4> { _trap + 0x58 } JUMP (P4)

   4 Target : <0xffa0065c> { _trap + 0x0 }

     Source : <0x0000d7ae> { _copy_process + 0xf2 } 0xe639

   5 Target : <0x0000d77a> { _copy_process + 0xbe }

     Source : <0x0007fb4e> { _prop_local_init_single + 0xa } RTS

   6 Target : <0x0007fb44> { _prop_local_init_single + 0x0 }

     Source : <0x0000d776> { _copy_process + 0xba } CALL pcrel

   7 Target : <0x0000d768> { _copy_process + 0xac }

     Source : <0x0000d23e> { _arch_dup_task_struct + 0x1a } RTS

   8 Target : <0x0000d224> { _arch_dup_task_struct + 0x0 }

     Source : <0x0000d766> { _copy_process + 0xaa } CALL (P2)

   9 Target : <0x0000d754> { _copy_process + 0x98 }

     Source : <0x00030696> { ___get_free_pages + 0x3a } RTS

  10 Target : <0x0003067a> { ___get_free_pages + 0x1e }

     Source : <0x00030562> { ___alloc_pages_internal + 0x1c6 } RTS

  11 Target : <0x00030556> { ___alloc_pages_internal + 0x1ba }

     Source : <0x00030404> { ___alloc_pages_internal + 0x68 } IF !CC JUMP

  12 Target : <0x00030400> { ___alloc_pages_internal + 0x64 }

     Source : <0x000302a2> { _get_page_from_freelist + 0x256 } RTS

  13 Target : <0x00030298> { _get_page_from_freelist + 0x24c }

     Source : <0x00030332> { _get_page_from_freelist + 0x2e6 } IF CC JUMP

  14 Target : <0x0003032c> { _get_page_from_freelist + 0x2e0 }

     Source : <0x00030296> { _get_page_from_freelist + 0x24a } IF CC JUMP

  15 Target : <0x00030290> { _get_page_from_freelist + 0x244 }

     Source : <0x00030254> { _get_page_from_freelist + 0x208 } IF CC JUMP

 

Kernel Stack

Stack info:

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

FP: (0x0082df74)

Memory from 0x0082df50 to 0082e000

0082df50:[ffffffff] 00000006 <0001b338> 03ef7720  00000000  0082dfb8  00000000  0082abe0

0082df70: 0019ff20 (00000000)<0001b7dc> 03ef7720  001a1544  0082c000  00000000 <0001c166>

0082df90: 03efea40  00000000 <0001c14a> 03efea40  00000000  00000000  03efea48  0000ffff

0082dfb0: 0082c000  0082c000  00000000  0082abe0  0001e934  0082dfc4  0082dfc4 <0001e530>

0082dfd0: 0001c0f0  03efea40  00000000  00000000  00000000  00000000 <0000145e> 00000000

0082dff0: 00000000  00000000  ffffffff  00000006  0082a900

Return addresses in stack:

    address : <0x0001b338> { ___call_usermodehelper + 0x24 }

   frame  1 : <0x0001b7dc> { _run_workqueue + 0x7c }

    address : <0x0001c166> { _worker_thread + 0x76 }

    address : <0x0001c14a> { _worker_thread + 0x5a }

    address : <0x0001e530> { _kthread + 0x50 }

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

Modules linked in:

Kernel panic - not syncing: Kernel exception

--

 

Follow-ups

 

--- Mike Frysinger                                           2009-06-29 23:43:44

the whole point of the BF526 line is lower power which means lower clock speeds.

the datasheets shows that the BF526 has a max CCLK of 400mhz and a max SCLK of

80mhz.

 

 

 

    Files

    Changes

    Commits

    Dependencies

    Duplicates

    Associations

    Tags

 

File Name     File Type     File Size     Posted By

No Files Were Found

Attachments

    Outcomes