[#4286] BF561-EZKIT SMP kernel sometimes fails to reboot in 2008R1 branch

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

[#4286] BF561-EZKIT SMP kernel sometimes fails to reboot in 2008R1 branch

Submitted By: Vivi Li

Open Date

2008-07-28 07:00:41     Close Date

2008-08-11 22:39:32


Medium High     Assignee:

Graf Yang


Closed     Fixed In Release:


Found In Release:

N/A     Release:


Kernel Functions     Board:



BF561     Silicon Revision:

Is this bug repeatable?:

No     Resolution:


Uboot version or rev.:

    Toolchain version or rev.:

App binary format:


Summary: BF561-EZKIT SMP kernel sometimes fails to reboot in 2008R1 branch



In jffs2 test, boot image from flash and reboot. Sometimes it fails to reboot in 2008R1 branch for BF561-EZKIT SMP kernel.



U-Boot 1.1.6-svn1258 (ADI-2008R1.5) (Jul 11 2008 - 10:12:30)^M


CPU:   ADSP bf561-0.3 (Detected Rev: 0.5)^M

Board: ADI BF561 EZ-Kit Lite board^M

       Support:   blackfin.uclinux.org/^M

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

RAM:   64 MB^M

Flash:  8 MB^M

In:    serial^M

Out:   serial^M

Err:   serial^M

Net:   SMC91111 at 0x2C010300^M

MAC:   00:E0:22:FE:B1:3C^M

Hit any key to stop autoboot:  5 ^H^H^H 4 ^H^H^H 0 ^M

bfin> bootm 0x20040000^M

## Booting image at 20040000 ...^M

   Image Name:   Linux-^M

   Image Type:   Blackfin Linux Kernel Image (gzip compressed)^M

   Data Size:    898611 Bytes = 877.5 kB^M

   Load Address: 00001000^M

   Entry Point:  00174000^M

   Verifying Checksum ... OK^M

   Uncompressing Kernel Image ... OK^M

Starting Kernel at = 174000^M

Linux version (test@uclinux47-bf561ezkit) (gcc version 4.1.2 (ADI svn)) #73 SMP Sun Jul 27 05:16:12 CST 2008^M

early printk enabled on early_BFuart0^M

Hardware Trace Active and Enabled^M

Warning: limiting memory to 56MB due to hardware anomaly 05000263^M

Reset caused by Software reset^M

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

Compiled for ADSP-BF561 Rev 0.3^M

Warning: Compiled for Rev 3, but running on Rev 5^M

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

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

Board Memory: 64MB^M

Kernel Managed Memory: 64MB^M

Memory map:^M

  text      = 0x00001000-0x00118c80^M

  rodata    = 0x00119000-0x001619cc^M

  data      = 0x00162000-0x00174000^M

    stack   = 0x00162000-0x00164000^M

  init      = 0x00174000-0x0018c000^M

  bss       = 0x0018c000-0x0019bbac^M

  available = 0x0019bbac-0x037ff000^M

  DMA Zone  = 0x03f00000-0x04000000^M

Instruction Cache Enabled for CPU0^M

Data Cache Enabled for CPU0 (write-through)^M

Built 1 zonelists.  Total pages: 14224^M

Kernel command line: root=/dev/mtdblock2 rw rootfstype=jffs2 earlyprintk=serial,uart0,57600^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: 55080k/65536k RAM, (96k init code, 1119k kernel code, 427k data, 1024k dma, 7792k reserved)^M

Blackfin Scratchpad data SRAM: 4 KB^M

PDA for CPU0 reserved at ffb00000^M

Blackfin DATA_A SRAM: 16 KB^M

Blackfin DATA_B SRAM: 16 KB^M

Blackfin Instruction SRAM: 16 KB^M

Security Framework v1.0.0 initialized^M

Mount-cache hash table entries: 512^M

CoreB bootstrap code to SRAM ff600000 via DMA.^M

Booting Core B.^M

Instruction Cache Enabled for CPU1^M

Data Cache Enabled for CPU1 (write-through)^M

PDA for CPU1 reserved at ff700000^M

Brought up 2 CPUs^M

SMP: Total of 2 processors activated (1191.93 BogoMIPS).^M


NET: Registered protocol family 16^M

Blackfin GPIO Controller^M

Blackfin DMA Controller^M

ezkit_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, 24576 bytes)^M

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

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

TCP reno registered^M

JFFS2 version 2.2. (NAND) © 2001-2006 Red Hat, Inc.^M

io scheduler noop registered^M

io scheduler anticipatory registered (default)^M

io scheduler cfq registered^M

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

Serial: Blackfin serial driver^M

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

RAMDISK driver initialized: 16 RAM disks of 4096K size 1024 blocksize^M

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

eth0: SMC91C11xFD (rev 1) at 2c010300 IRQ 82 [nowait]^M

eth0: Ethernet addr: 00:e0:22:fe:b1:3c^M

physmap platform flash device: 00800000 at 20000000^M

physmap-flash.0: Found 1 x16 devices at 0x0 in 16-bit bank^M

Amd/Fujitsu Extended Query Table at 0x0040^M

physmap-flash.0: Swapping erase regions for broken CFI table.^M

number of CFI chips: 1^M

cfi_cmdset_0002: Disabling erase-suspend-program due to code brokenness.^M

RedBoot partition parsing not available^M

Using physmap partition information^M

Creating 3 MTD partitions on "physmap-flash.0":^M

0x00000000-0x00040000 : "Bootloader"^M

0x00040000-0x00200000 : "Kernel"^M

0x00200000-0x00800000 : "RootFS"^M

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

TCP cubic registered^M

NET: Registered protocol family 1^M

NET: Registered protocol family 17^M

VFS: Mounted root (jffs2 filesystem).^M

Freeing unused kernel memory: 96k freed^M

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

eth0: link down^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|            -   blackfin.uclinux.org/^M

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

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

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


Have a lot of fun...^M



BusyBox v1.4.1 (2008-07-27 01:16:20 CST) Built-in shell (msh)^M

Enter 'help' for a list of built-in commands.^M



Case 2 ...PASS


Case 2 ...PASS

Wait for 1 minutes before reboot.^Meth0: link up, 100Mbps, full-duplex, lpa 0xC5E1^M


root:/> ^M

root:/> reboot^M






--- Graf Yang                                                2008-08-04 03:21:13

This bug have the same reason like [#4283], and had been fixed.


--- Graf Yang                                                2008-08-08 02:01:44

Vivi found this issue again, so set the resolution to none.


--- Graf Yang                                                2008-08-09 02:30:29

The bug found in this turn test can be duplicated on the first reboot when

flahed the jffs2 images.


--- Graf Yang                                                2008-08-09 21:45:53

Sorry, I draw back my previous submmit. In the first boot after flashed jffs2

images, there are some erase and flush work for the super block, it may take

more than 30 seconds. So the jffs2_test.exp will send reboot command after 1

minutes. I changed the wait time to be 5 seconds, so I can saw some reboot

problems, in fact, it's normal.


My self build image can reboot more than 380 times.


--- Graf Yang                                                2008-08-10 22:14:06

Vivi's images have failed test after reboot 127, 89, 14, 4.

My image ran 380 times, 400 times, and stopped by manually.


--- Graf Yang                                                2008-08-11 05:40:44

I built the lasted uclinux-dist use Vivi's toolchain, Vivi's kernel config, have

ran 2 turns, can't dup this issue.


--- Vivi Li                                                  2008-08-11 23:39:36

It can't be reproduced now. So close it.












File Name     File Type     File Size     Posted By

No Files Were Found