[#5134] kernle can not boot up in bf537-stamp/bf527-ezkit for jffs2 test

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

[#5134] kernle can not boot up in bf537-stamp/bf527-ezkit for jffs2 test

Submitted By: Vivi Li

Open Date

2009-05-15 07:07:18     Close Date

2009-05-19 22:22:45

Priority:

Medium     Assignee:

Mingquan Pan

Status:

Closed     Fixed In Release:

N/A

Found In Release:

N/A     Release:

Category:

Tests     Board:

N/A

Processor:

BF537     Silicon Revision:

Is this bug repeatable?:

Yes     Resolution:

Assigned (Not Start)

Uboot version or rev.:

    Toolchain version or rev.:

gcc4.1-09r1_rc6

App binary format:

N/A     

Summary: kernle can not boot up in bf537-stamp/bf527-ezkit for jffs2 test

Details:

 

For jffs2 test, kernle can not boot up for bf537-stamp and bf527-ezkit.

 

Config file is attached. Bellow is the log:

--

U-Boot 2008.10-svn1706 (ADI-2009R1-pre) (Mar 18 2009 - 16:57:35)^M

^M

CPU:   ADSP bf537-0.2 (Detected Rev: 0.2) (bypass boot)^M

Board: ADI BF537 stamp board^M

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

Clock: VCO: 500 MHz, Core: 500 MHz, System: 125 MHz^M

RAM:   64 MB^M

Flash:  4 MB^M

In:    serial^M

Out:   serial^M

Err:   serial^M

Net:   Blackfin EMAC^M

MAC:   00:E0:22:FE:47:E0^M

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

bfin> *********************************^MStart JFFS2 TEST^M*********************************^Mreset^M

^M

^M

U-Boot 2008.10-svn1706 (ADI-2009R1-pre) (Mar 18 2009 - 16:57:35)^M

^M

CPU:   ADSP bf537-0.2 (Detected Rev: 0.2) (bypass boot)^M

Board: ADI BF537 stamp board^M

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

Clock: VCO: 500 MHz, Core: 500 MHz, System: 125 MHz^M

RAM:   64 MB^M

Flash:  4 MB^M

In:    serial^M

Out:   serial^M

Err:   serial^M

Net:   Blackfin EMAC^M

MAC:   00:E0:22:FE:47:E0^M

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

bfin> bootm 20040000^M

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

   Image Name:   Linux-2.6.28.10-ADI-2009R1-pre-s^M

   Created:      2009-05-12   4:51:07 UTC^M

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

   Data Size:    900732 Bytes = 879.6 kB^M

   Load Address: 00001000^M

   Entry Point:  0018daf4^M

   Verifying Checksum ... OK^M

   Uncompressing Kernel Image ... OK^M

Starting Kernel at = 0018daf4^M

Linux version 2.6.28.10-ADI-2009R1-pre-svn6346 (test@uclinux52-ad73311-lcd) (gcc version 4.1.2 (ADI svn)) #33 Tue May 12 12:50:56 CST 2009^M

console [early_BFuart0] enabled^M

early printk enabled on early_BFuart0^M

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

Board Memory: 64MB^M

Kernel Managed Memory: 64MB^M

Memory map:^M

  fixedcode = 0x00000400-0x00000490^M

  text      = 0x00001000-0x0010e6b0^M

  rodata    = 0x0010e6b0-0x0015ffe8^M

  bss       = 0x00160000-0x00171020^M

  data      = 0x00171020-0x00182000^M

    stack   = 0x00180000-0x00182000^M

  init      = 0x00182000-0x0019e000^M

  available = 0x0019e000-0x037ff000^M

  DMA Zone  = 0x03f00000-0x04000000^M

Hardware Trace Active and Enabled^M

Boot Mode: 0^M

Reset caused by Software reset^M

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

Compiled for ADSP-BF537 Rev 0.2^M

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

Processor Speed: 500 MHz core clock and 125 MHz System Clock^M

NOMPU: setting up cplb tables^M

Instruction Cache Enabled for CPU0^M

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

Built 1 zonelists in Zone order, mobility grouping off.  Total pages: 14223^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: 55116k/65536k RAM, (112k init code, 1077k kernel code, 463k data, 1024k dma, 7744k reserved)^M

Calibrating delay loop... 997.37 BogoMIPS (lpj=1994752)^M

Security Framework initialized^M

Mount-cache hash table entries: 512^M

Blackfin Scratchpad data SRAM: 4 KB^M

Blackfin L1 Data A SRAM: 16 KB (15 KB free)^M

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

Blackfin L1 Instruction SRAM: 48 KB (38 KB free)^M

PDA for CPU0 reserved at 00162000^M

net_namespace: 288 bytes^M

NET: Registered protocol family 16^M

Blackfin DMA Controller^M

stamp_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, 16384 bytes)^M

TCP bind hash table entries: 2048 (order: 1, 8192 bytes)^M

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

TCP reno registered^M

NET: Registered protocol family 1^M

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

msgmni has been set to 107^M

io scheduler noop registered^M

io scheduler anticipatory registered (default)^M

io scheduler cfq registered^M

Serial: Blackfin serial driver^M

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

brd: module loaded^M

bfin_mii_bus: probed^M

bfin_mac: attached PHY driver [SMSC LAN83C185] (mii_bus:phy_addr=0:01, irq=-1, mdc_clk=2500000Hz(mdc_div=24)@sclk=125MHz)^M

bfin_mac bfin_mac.0: Blackfin on-chip Ethernet MAC driver, Version 1.1^M

physmap platform flash device: 00400000 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

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 4 MTD partitions on "physmap-flash.0":^M

0x00000000-0x00040000 : "bootloader(nor)"^M

0x00040000-0x001c0000 : "linux kernel(nor)"^M

0x001c0000-0x003f0000 : "file system(nor)"^M

0x003f0000-0x00400000 : "MAC Address(nor)"^M

TCP cubic registered^M

NET: Registered protocol family 17^M

VFS: Mounted root (jffs2 filesystem).^M

Freeing unused kernel memory: 112k freed^M

Warning: unable to open an initial console.^M

Kernel panic - not syncing: No init found.  Try passing init= option to kernel.^M

--

 

Follow-ups

 

--- Mike Frysinger                                           2009-05-15 13:25:55

did you flash the right jffs2 file in u-boot ?  did the jffs2 file system image

get generated properly ?

 

--- Mingquan Pan                                             2009-05-18 05:18:37

the generated rootfs image is over-sized again. I would move more utils out from

the image.

 

--- Mingquan Pan                                             2009-05-19 22:22:45

Passed after shrink the rootfs size on the two boards. Close.

 

 

 

    Files

    Changes

    Commits

    Dependencies

    Duplicates

    Associations

    Tags

 

File Name     File Type     File Size     Posted By

config.jffs2    application/octet-stream    26917    Vivi Li

Attachments

Outcomes