[#6626] SMP kernel failed to boot on bf561-ezkit on latest trunk

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

[#6626] SMP kernel failed to boot on bf561-ezkit on latest trunk

Submitted By: Vivi Li

Open Date

2011-06-07 06:18:19     Close Date

2011-06-15 06:07:25

Priority:

Medium High     Assignee:

Mike Frysinger

Status:

Closed     Fixed In Release:

N/A

Found In Release:

2011R1     Release:

Category:

N/A     Board:

N/A

Processor:

BF561     Silicon Revision:

Is this bug repeatable?:

Yes     Resolution:

Fixed

Uboot version or rev.:

    Toolchain version or rev.:

gcc4.3-2010_Dec_09

App binary format:

N/A     

Summary: SMP kernel failed to boot on bf561-ezkit on latest trunk

Details:

 

SMP kernel failed to boot on bf561-ezkit on latest trunk.

 

Last passed kernel version is 9909. It first failed on Jun 1st and kernel version is 9919.

 

Bellow is the error log:

--

U-Boot 2010.06 (ADI-2010R1-RC1) (Sep 29 2010 - 17:50:45)

 

CPU:   ADSP bf561-0.3 (Detected Rev: 0.5) (bypass boot)

Board: ADI BF561 EZ-Kit Lite board

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

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

RAM:   64 MiB

Flash: 8 MiB

In:    serial

Out:   serial

Err:   serial

KGDB:  [on serial] ready

Net:   SMC91111-0

Hit any key to stop autoboot:  0

bfin> run ramboot

SMC91111: MAC 00:e0:22:fe:ba:2a

Using SMC91111-0 device

TFTP from server 10.100.4.174; our IP address is 10.100.4.50

Filename 'uImage'.

Load address: 0x1000000

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

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

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

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

done

Bytes transferred = 3761548 (39658c hex)

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

   Image Name:   bf561-0.5-2.6.39-ADI-2011R1-pre-

   Image Type:   Blackfin Linux Kernel Image (gzip compressed)

   Data Size:    3761484 Bytes = 3.6 MiB

   Load Address: 00001000

   Entry Point:  001af0dc

   Verifying Checksum ... OK

   Uncompressing Kernel Image ... OK

Starting Kernel at = 001af0dc

Linux version 2.6.39-ADI-2011R1-pre-svn9919 (test@uclinux65-561-SMP) (gcc version 4.3.5 (ADI-trunk/svn-5013) ) #33 SMP Wed Jun 11

register early platform devices

bootconsole [early_shadow0] enabled

bootconsole [early_BFuart0] enabled

early printk enabled on early_BFuart0

Board Memory: 64MB

Kernel Managed Memory: 60MB

Memory map:

  fixedcode = 0x00000400-0x00000490

  text      = 0x00001000-0x0012a488

  rodata    = 0x0012a4a0-0x00183f04

  bss       = 0x00184000-0x001962e8

  data      = 0x00196300-0x001a8000

    stack   = 0x001a6000-0x001a8000

  init      = 0x001a8000-0x00711000

  available = 0x00711000-0x03b00000

  DMA Zone  = 0x03b00000-0x03c00000

Hardware Trace active and enabled

Boot Mode: 0

Reset caused by Software reset

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

Compiled for ADSP-BF561 Rev 0.5

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

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

NOMPU: setting up cplb tables

NOMPU: setting up cplb tables

Instruction Cache Enabled for CPU0

  External memory: cacheable in instruction cache

  L2 SRAM        : uncacheable in instruction cache

Data Cache Enabled for CPU0

  External memory: cacheable (write-through) in data cache

  L2 SRAM        : uncacheable in data cache

PERCPU: Embedded 7 pages/cpu @00796000 s4480 r8192 d16000 u32768

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

Kernel command line: root=/dev/mtdblock0 rw clkin_hz=30000000 earlyprintk=serial,uart0,57600 console=ttyBF0,57600 mem=60M max_mef

PID hash table entries: 256 (order: -2, 1024 bytes)

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

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

Memory available: 52540k/61440k RAM, (5540k init code, 1189k kernel code, 503k data, 1024k dma, 644k reserved)

Hierarchical RCU implementation.

NR_IRQS:153

Configuring Blackfin Priority Driven Interrupts

console [ttyBF0] enabled, bootconsole disabled

console [ttyBF0] enabled, bootconsole disabled

Calibrating delay loop... 1185.79 BogoMIPS (lpj=2371584)

pid_max: default: 32768 minimum: 301

Mount-cache hash table entries: 512

Booting Core B.

 

 

(Kernel hangs here. Then reset board, we get following log.)

 

 

U-Boot 2010.06 (ADI-2010R1-RC1) (Sep 29 2010 - 17:50:45)

 

CPU:   ADSP bf561-0.3 (Detected Rev: 0.5) (bypass boot)

Board: ADI BF561 EZ-Kit Lite board

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

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

RAM:   64 MiB

Flash: 8 MiB

In:    serial

Out:   serial

Err:   serial

KGDB:  [on serial] ready

Net:   SMC91111-0

 

Log buffer from operating system:

Linux version 2.6.39-ADI-2011R1-pre-svn9919 (test@uclinux65-561-SMP) (gcc version 4.3.5 (ADI-trunk/svn-5013) ) #33 SMP Wed Jun 11

arch/blackfin/kernel/early_printk.c : 176 [init_early_exception_vectors]

arch/blackfin/kernel/setup.c : 187 [bfin_relocate_l1_mem]

arch/blackfin/kernel/bfin_dma_5xx.c : 245 [blackfin_dma_early_init]

arch/blackfin/kernel/bfin_dma_5xx.c : 256 [early_dma_memcpy]

arch/blackfin/kernel/bfin_dma_5xx.c : 312 [early_dma_memcpy_done]

arch/blackfin/kernel/setup.c : 1356 [cmdline_init]

arch/blackfin/mm/init.c : 69 [init_pda]

Linux version 2.6.39-ADI-2011R1-pre-svn9919 (test@uclinux65-561-SMP) (gcc version 4.3.5 (ADI-trunk/svn-5013) ) #33 SMP Wed Jun 11

register early platform devices

bootconsole [early_shadow0] enabled

bootconsole [early_BFuart0] enabled

early printk enabled on early_BFuart0

Board Memory: 64MB

Kernel Managed Memory: 60MB

Memory map:

  fixedcode = 0x00000400-0x00000490

  text      = 0x00001000-0x0012a488

  rodata    = 0x0012a4a0-0x00183f04

  bss       = 0x00184000-0x001962e8

  data      = 0x00196300-0x001a8000

    stack   = 0x001a6000-0x001a8000

  init      = 0x001a8000-0x00711000

  available = 0x00711000-0x03b00000

  DMA Zone  = 0x03b00000-0x03c00000

Hardware Trace active and enabled

Boot Mode: 0

Reset caused by Software reset

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

Compiled for ADSP-BF561 Rev 0.5

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

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

NOMPU: setting up cplb tables

NOMPU: setting up cplb tables

Instruction Cache Enabled for CPU0

  External memory: cacheable in instruction cache

  L2 SRAM        : uncacheable in instruction cache

Data Cache Enabled for CPU0

  External memory: cacheable (write-through) in data cache

  L2 SRAM        : uncacheable in data cache

PERCPU: Embedded 7 pages/cpu @00796000 s4480 r8192 d16000 u32768

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

Kernel command line: root=/dev/mtdblock0 rw clkin_hz=30000000 earlyprintk=serial,uart0,57600 console=ttyBF0,57600 mem=60M max_mef

PID hash table entries: 256 (order: -2, 1024 bytes)

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

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

Memory available: 52540k/61440k RAM, (5540k init code, 1189k kernel code, 503k data, 1024k dma, 644k reserved)

Hierarchical RCU implementation.

NR_IRQS:153

Configuring Blackfin Priority Driven Interrupts

console [ttyBF0] enabled, bootconsole disabled

arch/blackfin/kernel/bfin_dma_5xx.c : 245 [blackfin_dma_early_init]

arch/blackfin/kernel/bfin_dma_5xx.c : 256 [early_dma_memcpy]

arch/blackfin/kernel/bfin_dma_5xx.c : 312 [early_dma_memcpy_done

Hit any key to stop autoboot:  0

bfin>

--

 

Follow-ups

 

--- Mike Frysinger                                           2011-06-07 10:19:28

ive already committed a fix for this.  upgrade to latest rev.

 

--- Vivi Li                                                  2011-06-15 06:06:05

Yes, it's OK now.

Close it.

 

 

 

    Files

    Changes

    Commits

    Dependencies

    Duplicates

    Associations

    Tags

 

File Name     File Type     File Size     Posted By

config.policy    application/octet-stream    29469    Vivi Li

Attachments

Outcomes