[#5838] XIP kernel hangs during boot up in latest trunk

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

[#5838] XIP kernel hangs during boot up in latest trunk

Submitted By: Vivi Li

Open Date

2010-01-20 22:44:41     Close Date

2010-03-11 01:23:48

Priority:

Medium     Assignee:

Barry Song

Status:

Closed     Fixed In Release:

N/A

Found In Release:

2010R1     Release:

Category:

N/A     Board:

N/A

Processor:

ALL     Silicon Revision:

Is this bug repeatable?:

Yes     Resolution:

Out of Date

Uboot version or rev.:

    Toolchain version or rev.:

gcc4.3_trunk3771

App binary format:

N/A     

Summary: XIP kernel hangs during boot up in latest trunk

Details:

 

XIP kernel hangs during boot up in latest trunk.

 

Bellow is the log and config file is attached.

--

U-Boot 2009.08-svn2195 (ADI-2009R2-pre) (Dec 28 2009 - 11:32:07)

 

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

Board: ADI BF518F EZ-Board board

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

Clock: VCO: 400 MHz, Core: 400 MHz, System: 80 MHz

RAM:   64 MB

Flash:  4 MB

MMC:  Blackfin SDH: 0

In:    serial

Out:   serial

Err:   serial

Net:   Blackfin EMAC

Hit any key to stop autoboot:  1 ^H^H^H 0

bfin>

bfin> tftpboot 0x1000000 vmImage

Using Blackfin EMAC 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 = 1313112 (140958 hex)

bfin>

bfin> protect off 20040000 201fffff

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

Un-Protected 28 sectors

bfin>

bfin> erase 20040000 201fffff

 

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

Erased 28 sectors

bfin>

bfin> cp.b 0x1000000 20040000 0x140958

Copy to Flash... done

bfin>

bfin> tftpboot 0x1000000 rootfs.romfs

Using Blackfin EMAC device

TFTP from server 10.100.4.174; our IP address is 10.100.4.50

Filename 'rootfs.romfs'.

Load address: 0x1000000

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

         #####

done

Bytes transferred = 1013760 (f7800 hex)

bfin>

bfin> protect off 20200000 203fffff

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

Un-Protected 32 sectors

bfin>

bfin> erase 20200000 203fffff

 

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

Erased 32 sectors

bfin>

bfin> cp.b 0x1000000 20200000 0xf7800

Copy to Flash... done

bfin>

bfin> set bootargs root=/dev/mtdblock2 rootfstype=romfs ro console=ttyBF0,57600

bfin>

bfin> bootm 20040000

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

   Image Name:   bf518-2.6.32.4-ADI-2010R1-pre-sv

   Created:      2010-01-20  22:32:01 UTC

   Image Type:   Blackfin Linux Kernel Image (uncompressed)

   Data Size:    1313048 Bytes =  1.3 MB

   Load Address: 20040000

   Entry Point:  20040040

   Verifying Checksum ... OK

   XIP Kernel Image ... OK

OK

Starting Kernel at = 20040040

console [ttyBF0] enabled, bootconsole disabled

Calibrating delay loop... 796.67 BogoMIPS (lpj=1593344)

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: 32 KB (26 KB free)

Blackfin DMA Controller

ezbrd_init(): registering device resources

bio: create slab <bio-0> at 0

Switching to clocksource jiffies

ROMFS MTD (C) 2007 Red Hat, Inc.

msgmni has been set to 124

io scheduler noop registered (default)

bfin-otp: initialized

bfin-uart: Blackfin serial driver

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

brd: module loaded

physmap platform flash device: 00400000 at 20000000

(kernel boot hangs here)

--

 

Follow-ups

 

--- Vivi Li                                                  2010-03-11 01:22:44

Out of date. Close it.

 

 

 

    Files

    Changes

    Commits

    Dependencies

    Duplicates

    Associations

    Tags

 

File Name     File Type     File Size     Posted By

config.xip.shared-flat    application/octet-stream    24820    Vivi Li

Outcomes