AnsweredAssumed Answered

Kernel panic - not syncing: No init found.

Question asked by zhangzhihua on Sep 17, 2012
Latest reply on Sep 19, 2012 by Aaronwu

Hi,

    My board is bf518f-ezbrd,when used we found that three of the board is can't start,We store the u-boot,kernel,filesystem on the m25p128,it's sure that the m25p128 is OK,why "Kernel panic - not syncing: No init found.",is BF518 broken?the debug message is:

 

U-Boot 2010.06 (ADI-2010R1-RC2) (Mar 15 2011 - 01:30:52)

CPU:   ADSP bf518-0.0 (Detected Rev: 0.2) (spi flash boot)
Board: NARI PDZ800 CPU board
       Support: http://www.naritech.cn/
Clock: VCO: 400 MHz, Core: 400 MHz, System: 80 MHz
RAM:   32 MiB
Flash: 4 MiB
MMC:  Blackfin SDH: 0
SF: Detected M25P128 with page size 256, total 16 MiB
In:    serial
Out:   serial
Err:   serial
KGDB:  [on serial] ready
Net:   bfin_mac
Please press a A to stop the auto boot:  0
bfin> boot
SF: Detected M25P128 with page size 256, total 16 MiB
16384 KiB M25P128 at 0:2 is now current device
## Booting kernel from Legacy Image at 01000000 ...
   Image Name:   Linux-2.6.28.10-ADI-2009R1
   Created:      2012-09-12  11:46:19 UTC
   Image Type:   Blackfin Linux Kernel Image (gzip compressed)
   Data Size:    1216736 Bytes = 1.2 MiB
   Load Address: 00001000
   Entry Point:  0023abac
   Verifying Checksum ... OK
   Uncompressing Kernel Image ... OK
Starting Kernel at = 0023abac
Linux version 2.6.28.10-ADI-2009R1 (root@ubuntu) (gcc version 4.1.2 (ADI svn)) #
688 Wed Sep 12 04:46:06 PDT 2012
bootconsole [early_shadow0] enabled
bootconsole [early_BFuart0] enabled
early printk enabled on early_BFuart0
Board Memory: 32MB
Kernel Managed Memory: 32MB
Memory map:
  fixedcode = 0x00000400-0x00000490
  text      = 0x00001000-0x0017b140
  rodata    = 0x0017b140-0x001ea090
  bss       = 0x001eb000-0x00217fec
  data      = 0x00217fec-0x0022e000
    stack   = 0x0022c000-0x0022e000
  init      = 0x0022e000-0x0024c000
  available = 0x0024c000-0x01eff000
  DMA Zone  = 0x01f00000-0x02000000
Hardware Trace Active and Enabled
Boot Mode: 3
Blackfin support (C) 2004-2009 Analog Devices, Inc.
Compiled for ADSP-BF518 Rev 0.0
Warning: Compiled for Rev 0, but running on Rev 2
Blackfin Linux support by http://blackfin.uclinux.org/
Processor Speed: 400 MHz core clock and 80 MHz System Clock
NOMPU: setting up cplb tables
Instruction Cache Enabled for CPU0
Data Cache Enabled for CPU0 (write-back)
Built 1 zonelists in Zone order, mobility grouping off.  Total pages: 7873
Kernel command line: root=/dev/mtdblock3 rw rootfstype=jffs2 clkin_hz=25000000 e
arlyprintk=serial,uart0,57600 console=ttyBF0,57600
Configuring Blackfin Priority Driven Interrupts
PID hash table entries: 128 (order: 7, 512 bytes)
I-pipe 1.10-00: pipeline enabled.
Console: colour dummy device 80x25
console [ttyBF0] enabled, bootconsole disabled
console [ttyBF0] enabled, bootconsole disabled
Dentry cache hash table entries: 4096 (order: 2, 16384 bytes)
Inode-cache hash table entries: 2048 (order: 1, 8192 bytes)
Memory available: 29096k/32768k RAM, (120k init code, 1512k kernel code, 716k da
ta, 1024k dma, 296k reserved)
Calibrating delay loop... 794.62 BogoMIPS (lpj=1589248)
Security Framework initialized
Mount-cache hash table entries: 512
Blackfin Scratchpad data SRAM: 4 KB
Blackfin L1 Data A SRAM: 16 KB (15 KB free)
Blackfin L1 Data B SRAM: 16 KB (16 KB free)
Blackfin L1 Instruction SRAM: 48 KB (42 KB free)
net_namespace: 288 bytes
NET: Registered protocol family 16
Blackfin DMA Controller
ezbrd_init(): registering device resources
NET: Registered protocol family 2
IP route cache hash table entries: 1024 (order: 0, 4096 bytes)
TCP established hash table entries: 1024 (order: 1, 8192 bytes)
TCP bind hash table entries: 1024 (order: 0, 4096 bytes)
TCP: Hash tables configured (established 1024 bind 1024)
TCP reno registered
NET: Registered protocol family 1
I-pipe: Domain Xenomai registered.
Xenomai: hal/blackfin started.
Xenomai: real-time nucleus v2.4.7 (Andalusia) loaded.
Xenomai: starting native API services.
Xenomai: starting POSIX services.
Xenomai: starting RTDM services.
NTFS driver 2.1.29 [Flags: R/O].
JFFS2 version 2.2. (NAND) © 2001-2006 Red Hat, Inc.
msgmni has been set to 56
io scheduler noop registered (default)
Registered character driver
The major of the test device is 253
Registered character driver
The major of the bluetooth device is 113
Registered character driver
The major of the test device is 112
Registered character driver
The major of the test device is 252
Serial: Blackfin serial driver
bfin-uart.1: ttyBF0 at MMIO 0xffc00400 (irq = 29) is a BFIN-UART
bfin-uart.1: ttyBF1 at MMIO 0xffc02000 (irq = 31) is a BFIN-UART
brd: module loaded
bfin_mii_bus: probed
bfin_mac: attached PHY driver [Generic PHY] (mii_bus:phy_addr=0:03, irq=-1, mdc_
clk=2500000Hz(mdc_div=15)@sclk=80MHz)
bfin_mac bfin_mac.0: Blackfin on-chip Ethernet MAC driver, Version 1.1
physmap platform flash device: 00300000 at 20000000
physmap-flash.0: Found 1 x16 devices at 0x0 in 16-bit bank
NOR chip too large to fit in mapping. Attempting to cope...
Amd/Fujitsu Extended Query Table at 0x0040
number of CFI chips: 1
cfi_cmdset_0002: Disabling erase-suspend-program due to code brokenness.
Reducing visibility of 4096KiB chip to 3072KiB
cmdlinepart partition parsing not available
RedBoot partition parsing not available
Using physmap partition information
Creating 1 MTD partitions on "physmap-flash.0":
0x00000000-0x00300000 : "file system(nor)"
m25p80 spi0.2: m25p128 (16384 Kbytes)
Creating 3 MTD partitions on "m25p80":
0x00000000-0x00080000 : "bootloader(spi)"
0x00080000-0x00240000 : "linux kernel(spi)"
0x00240000-0x01000000 : "file system(spi)"
bfin-spi bfin-spi.0: cs5 >= max 5
bfin-spi bfin-spi.0: Blackfin on-chip SPI Controller Driver, Version 1.0, regs_b
ase@ffc00500, dma channel@7
rtc-bfin rtc-bfin: rtc core: registered rtc-bfin as rtc0
bfin-wdt: initialized: timeout=20 sec (nowayout=0)
dma_alloc_init: dma_page @ 0x00390000 - 256 pages at 0x01f00000
TCP cubic registered
NET: Registered protocol family 17
Distributed Switch Architecture driver version 0.1
eth0: detected a KSZ8893M switch
dsa slave smi: probed
rtc-bfin rtc-bfin: setting system clock to 1970-08-09 13:50:30 UTC (19057830)
VFS: Mounted root (jffs2 filesystem).
Freeing unused kernel memory: 120k freed
Warning: unable to open an initial console.
Kernel panic - not syncing: No init found.  Try passing init= option to kernel.

Outcomes