[#7234] kernel xip fail to boot in bf561-ezkit smp kernel for latest kernel 3.5.0

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

[#7234] kernel xip fail to boot in bf561-ezkit smp kernel for latest kernel 3.5.0

Submitted By: Vivi Li

Open Date

2012-08-09 06:01:05     Close Date

2012-09-20 03:53:02

Priority:

Medium     Assignee:

steven miao

Status:

Closed     Fixed In Release:

N/A

Found In Release:

N/A     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-2012_Feb_15

App binary format:

N/A     

Summary: kernel xip fail to boot in bf561-ezkit smp kernel for latest kernel 3.5.0

Details:

 

kernel xip fail to boot in bf561-ezkit smp kernel for latest kernel 3.5.0.

 

--

U-Boot 2011.09-svn2739 (ADI-2011R1) (Nov 07 2011 - 18:54:48)

 

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:  5 ^H^H^H 0

bfin> successful reset attemp

tftpboot 0x1000000 vmImage

SMC91111: MAC 00:e0:22:fe:ba:29

Using SMC91111-0 device

TFTP from server 10.100.4.174; our IP address is 10.100.4.50

Filename 'vmImage'.

Load address: 0x1000000

Loading: *^H#################################################################

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

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

done

Bytes transferred = 2299472 (231650 hex)

bfin> Image size is 0x231650

 

Case 8 ...PASS

 

Case 8 ...PASS

protect off 20040000 207effff

Un-Protected 123 sectors

bfin>

Case 9 ...PASS

erase 20040000 207effff

 

........................................................................................................................... done

Erased 123 sectors

bfin>

Case 10 ...PASS

 

Case 10 ...PASS

cp.b 0x1000000 20040000 0x231650

Copy to Flash... 9....8....7....6....5....4....3....2....1....done

bfin>

Case 11 ...PASS

 

Case 11 ...PASS

set bootargs root=/dev/nfs rw nfsroot=10.100.4.174:/tftpboot/romfs,tcp,nfsvers=3 rootdelay=1 earlyprintk=serial,uart0,57600 console=ttyBF0,57600

bfin> run addip

bfin> printenv bootargs

bootargs=root=/dev/nfs rw nfsroot=10.100.4.174:/tftpboot/romfs,tcp,nfsvers=3 rootdelay=1 earlyprintk=serial,uart0,57600 console=ttyBF0,57600 ip=10.100.4.50:10.100.4.174:10.100.4.174:255.255.255.0:bf561-ezkit:eth0:off

bfin> bootm 20040000

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

   Image Name:   bf561-0.5-3.5.0-ADI-2012R1-pre-0

   Image Type:   Blackfin Linux Kernel Image (uncompressed)

   Data Size:    2299408 Bytes = 2.2 MiB

   Load Address: 20040040

   Entry Point:  201e8018

   Verifying Checksum ... OK

   XIP Kernel Image ... OK

OK

Starting Kernel at = 201e8018

Linux version 3.5.0-ADI-2012R1-pre-00806-g8528770 (test@uclinux65-561-SMP) (gcc version 4.3.5 (ADI-trunk/svn-5764) ) #22 SMP Wed Aug 8 16:01:29 GMT 2012

register early platform devices

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      = 0x20040040-0x201f644c

  rodata    = 0x201f6460-0x2023ee80

  bss       = 0x00001000-0x00015be8

  data      = 0x00015c00-0x0002c000

    stack   = 0x0002a000-0x0002c000

  init      = 0x0002c000-0x00034000

  available = 0x00034000-0x03f00000

  DMA Zone  = 0x03f00000-0x04000000

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 @000b9000 s5440 r8192 d15040 u32768

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

Kernel command line: root=/dev/nfs rw nfsroot=10.100.4.174:/tftpboot/romfs,tcp,nfsvers=3 rootdelay=1 earlyprintk=serial,uart0,57600 console=ttyBF0,57600 ip=10.100.4.50:10.100.4.174:10.100.4.174:255.255.255.0:bf561-ezkit:eth0:off

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: 63664k/65536k RAM, (32k init code, 1753k kernel code, 4294965715k data, 1024k dma, 644k reserved)

Hierarchical RCU implementation.

NR_IRQS:153

Configuring Blackfin Priority Driven Interrupts

start_kernel(): bug: interrupts were enabled early

console [ttyBF0] enabled, bootconsole disabled

console [ttyBF0] enabled, bootconsole disabled

Calibrating delay loop... 1112.06 BogoMIPS (lpj=2224128)

pid_max: default: 32768 minimum: 301

Mount-cache hash table entries: 512

Booting Core B.

Brought up 2 CPUs

Instruction Cache Enabled for CPU1

  External memory: cacheable in instruction cache

  L2 SRAM        : uncacheable in instruction cache

Data Cache Enabled for CPU1

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

  L2 SRAM        : uncacheable in data cache

SMP: Total of 2 processors activated (2224.12 BogoMIPS).

Blackfin Scratchpad data SRAM: 4 KB

Blackfin Scratchpad data SRAM: 4 KB

Blackfin L1 Data A SRAM: 16 KB (16 KB free)

Blackfin L1 Data A SRAM: 16 KB (16 KB free)

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

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

Blackfin L1 Instruction SRAM: 16 KB (15 KB free)

Blackfin L1 Instruction SRAM: 16 KB (15 KB free)

Blackfin L2 SRAM: 128 KB (127 KB free)

NET: Registered protocol family 16

Blackfin DMA Controller

ezkit_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: 2, 16384 bytes)

TCP: Hash tables configured (established 2048 bind 2048)

TCP: reno registered

UDP hash table entries: 256 (order: 1, 8192 bytes)

UDP-Lite hash table entries: 256 (order: 1, 8192 bytes)

NET: Registered protocol family 1

RPC: Registered named UNIX socket transport module.

RPC: Registered udp transport module.

RPC: Registered tcp transport module.

RPC: Registered tcp NFSv4.1 backchannel transport module.

debug-mmrs: setting up Blackfin MMR debugfs

msgmni has been set to 124

io scheduler noop registered (default)

bfin-uart: Blackfin serial driver

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

--

 

Follow-ups

 

--- steven miao                                              2012-09-07 05:08:41

fixed coreb boot

 

--- Vivi Li                                                  2012-09-20 04:54:01

OK in trunk. Close it.

 

 

 

    Files

    Changes

    Commits

    Dependencies

    Duplicates

    Associations

    Tags

 

File Name     File Type     File Size     Posted By

config.config.kernel_xip.fdpic    application/octet-stream    48361    Vivi Li

config.linux.kernel_xip.fdpic    application/octet-stream    29141    Vivi Li

Outcomes