[#3847] kernel boot with jffs fs fails for no jffs partition

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

[#3847] kernel boot with jffs fs fails for no jffs partition

Submitted By: Mingquan Pan

Open Date

2008-01-22 02:03:15     Close Date

2008-01-24 03:35:12


Medium     Assignee:



Closed     Fixed In Release:


Found In Release:

N/A     Release:


N/A     Board:



N/A     Silicon Revision:

Is this bug repeatable?:

Yes     Resolution:


Uboot version or rev.:

    Toolchain version or rev.:

Oct 07

App binary format:


Summary: kernel boot with jffs fs fails for no jffs partition



kernel boot with jffs fs fails for no jffs partition for both bf537 and bf533 from about Jan 20.


bfin> bootm 0x20020000^M

## Booting image at 20020000 ...^M

   Image Name:   Linux-^M

   Created:      2008-01-19  21:58:33 UTC^M

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

   Data Size:    850533 Bytes = 830.6 kB^M

   Load Address: 00001000^M

   Entry Point:  00162000^M

   Verifying Checksum ... OK^M

   Uncompressing Kernel Image ... OK^M

Starting Kernel at = 162000^M

Linux version (test@uclinux51-ad9960-ad1836) (gcc version 4.1.2 (ADI svn)) #122 Sun Jan 20 05:58:29 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-BF537 Rev 0.2^M

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

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

Board Memory: 64MB^M

Kernel Managed Memory: 64MB^M

Memory map:^M

  text      = 0x00001000-0x001040c0^M

  rodata    = 0x00105000-0x00150e34^M

  data      = 0x00151000-0x00162000^M

    stack   = 0x00152000-0x00154000^M

  init      = 0x00162000-0x0017a000^M

  bss       = 0x0017a000-0x00189450^M

  available = 0x00189450-0x037ff000^M

  DMA Zone  = 0x03f00000-0x04000000^M

Instruction Cache Enabled^M

Data Cache Enabled (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

Physical pages: 37ff^M

Memory available: 55124k/64188k RAM, (96k init code, 1036k kernel code, 61k data, 1024k dma)^M

Blackfin Scratchpad data SRAM: 4 KB^M

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

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

Blackfin Instruction SRAM: 48 KB (39 KB free)^M

Security Framework v1.0.0 initialized^M

Mount-cache hash table entries: 512^M

NET: Registered protocol family 16^M

Blackfin GPIO Controller^M

Blackfin DMA Controller^M

stamp_init(): registering device resources^M

Generic PHY: Registered new driver^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

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

io scheduler noop registered^M

io scheduler anticipatory registered (default)^M

io scheduler cfq registered^M

Dynamic Power Management Controller Driver v0.1: major=10, minor = 254^M

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

Serial: Blackfin serial driver^M

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

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

SMSC LAN83C185: Registered new driver^M

bfin_mac_mdio: probed^M

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

bfin_mac: Version 1.1, Blackfin BF53[67] BF527 on-chip Ethernet MAC driver^M

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

rtc-bfin rtc-bfin: rtc core: registered rtc-bfin as rtc0^M

TCP cubic registered^M

NET: Registered protocol family 1^M

NET: Registered protocol family 17^M

rtc-bfin rtc-bfin: setting the system clock to 1970-01-01 03:42:55 (13375)^M

List of all partitions:^M

No filesystem could mount root, tried:  jffs2^M

Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(0,0)^M


Case 1 ...FAIL





--- Mike Frysinger                                           2008-01-22 04:18:36

you'll need to update your kernel configuration to select the generic CFI mtd



--- Mingquan Pan                                             2008-01-24 05:38:22

Yes, I am updating the scripts. Close.












File Name     File Type     File Size     Posted By

No Files Were Found