2008-03-21 02:19:14     uImage booting problem

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

2008-03-21 02:19:14     uImage booting problem

Manokaran Loganathan (INDIA)

Message: 52868   




I have downloaded the uClinux-dist-2007R1-RC3.tar.tar file  from the www.blakfin.uclinux.org and modified according to my board specification and build the uImage.When i am trying to load the kernel it shows the  Kernel panic - not syncing: No init found.  Try passing init= option to kernel error.The teraterm output is as follows.




## Booting image at 01000000 ...

   Image Name:   uClinux Kernel and ext2

   Created:      2008-03-21   6:16:24 UTC

   Image Type:   Blackfin Linux Kernel Image (gzip compressed)

   Data Size:    3063496 Bytes =  2.9 MB

   Load Address: 00300000

   Entry Point:  00300000

   Verifying Checksum ... OK

   Uncompressing Kernel Image ... OK

Starting Kernel at = 300000

Linux version (loganathan@linux-hms) (gcc version

4.1.1 (ADI 07R1)) #8 Fri Mar 21 11:38:34 IST 2008

Blackfin support (C) 2004-2006 Analog Devices, Inc.

Compiled for ADSP-BF533 Rev. 0.5

Blackfin uClinux support by http://blackfin.uclinux.org/

Processor Speed: 594 MHz core clock and 118 Mhz System Clock

Board Memory: 64MB

Kernel Managed Memory: 64MB

Memory map:

  text      = 0x00300000-0x0040c1b8

  init      = 0x0040d000-0x0041b7b8

  data      = 0x0041d8e8-0x00451da0

  stack     = 0x0041e000-0x00420000

  bss       = 0x00451da0-0x0045f9e4

  available = 0x0045f9e4-0x03700000

  rootfs    = 0x03700000-0x03f00000

  DMA Zone  = 0x03f00000-0x04000000

Instruction Cache Enabled

Data Cache Enabled (write-through)

Hardware Trace Enabled

Built 1 zonelists.  Total pages: 13970

Kernel command line: root=/dev/mtdblock0 rw, console=ttyBF0,57600

Configuring Blackfin Priority Driven Interrupts

PID hash table entries: 256 (order: 8, 1024 bytes)

Dentry cache hash table entries: 8192 (order: 3, 32768 bytes)

Inode-cache hash table entries: 4096 (order: 2, 16384 bytes)

Physical pages: 3700

Memory available: 51200k/61321k RAM, (57k init code, 1072k kernel code, 55k data

, 1024k dma)

Blackfin Scratchpad data SRAM: 4 KB

Blackfin DATA_A SRAM: 16 KB

Blackfin DATA_B SRAM: 16 KB

Blackfin Instruction SRAM: 64 KB

Security Framework v1.0.0 initialized

Capability LSM initialized

Mount-cache hash table entries: 512

NET: Registered protocol family 16

Blackfin GPIO Controller

Blackfin DMA Controller

ezkit_init(): registering device resources

NET: Registered protocol family 2

IP route cache hash table entries: 512 (order: -1, 2048 bytes)

TCP established hash table entries: 2048 (order: 1, 8192 bytes)

TCP bind hash table entries: 1024 (order: 0, 4096 bytes)

TCP: Hash tables configured (established 2048 bind 1024)

TCP reno registered

io scheduler noop registered

io scheduler anticipatory registered (default)

io scheduler cfq registered

timer_initialize: module loaded

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

Serial: Blackfin serial driver

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

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

ret value from smsc911x_drv_probe Func is 0

uclinux[mtd]: RAM probe address=0x3700000 size=0x800000

Creating 1 MTD partitions on "RAM":

0x00000000-0x00800000 : "ROMfs"

uclinux[mtd]: set ROMfs:EXT2  to be root filesystem

rtc-bfin rtc-bfin: rtc intf: sysfs

rtc-bfin rtc-bfin: rtc intf: proc

rtc-bfin rtc-bfin: rtc intf: dev (254:0)

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

TCP cubic registered

NET: Registered protocol family 1

NET: Registered protocol family 17

rtc-bfin rtc-bfin: setting the system clock to 2036-09-07 21:50:21 (2104437021)

VFS: Mounted root (ext2 filesystem) readonly.

Freeing unused kernel memory: 56k freed (0x40d000 - 0x41a000)

dma_alloc_init: dma_page @ 0x00416000 - 256 pages at 0x03f00000

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




Kindly advise me what could be the problem.


Best Regards,










2008-03-21 02:43:15     Re: uImage booting problem

Mike Frysinger (UNITED STATES)

Message: 52869    please use 2008R1 instead of 2007R1


if init isnt found in the rootfs, check the root filesystem images created in your images/ dir and romfs/