<span class="gmail_quote"></span>
<div><span class="q" id="q_11b72d826e627a6a_0">
<div>Hello all,</div>
<div> </div>
<div>I have mpc8313erdb board and trying to boot kernel from NAND flash ... Everything is fine but finally it stops and says;</div>
<div><em><strong></strong></em> </div>
<div><strong><em>Warning: unable to open an initial console.<br>Kernel panic - not syncing: No init found. Try passing init= option to kernel</em></strong></div>
<div><strong><em></em></strong> </div>
<div>following is the log of the booting sequence;</div>
<div> </div>
<div>############################################ LOG ##################################################################################</div>
<div>
<p><em>NAND SPL - U-Boot 1.1.6 (Jul 28 2008 - 21:40:02) MPC83XX<br>Loading from NAND : ........................</em></p>
<p><em>U-Boot 1.1.6 (Jul 28 2008 - 21:39:41) MPC83XX</em></p>
<p><em>Clock configuration:<br> Coherent System Bus: 166 MHz<br> Core: 333 MHz<br> Local Bus Controller: 166 MHz<br> Local Bus: 41 MHz<br> DDR: 333 MHz<br> SEC: 55 MHz<br>
I2C1: 166 MHz<br> I2C2: 166 MHz<br> TSEC1: 166 MHz<br> TSEC2: 166 MHz<br> USB MPH: 0 MHz<br> USB DR: 55 MHz<br>CPU: MPC8313E, Rev: 10 at 333.333 MHz<br>
Board: Freescale MPC8313ERDB<br>I2C: ready<br>DRAM: Initializing<br> DDR RAM: 128 MB<br>FLASH: 8 MB<br>NAND: 32 MiB<br>In: serial<br>Out: serial<br>Err: serial<br>Net: TSEC0, TSEC1 [PRIME]<br>Hit any key to stop autoboot: 0</em></p>
<p><em>Loading from NAND 32MiB 3,3V 8-bit, offset 0x100000<br> Image Name: Linux-2.6.20<br> Created: 2008-07-28 16:15:15 UTC<br> Image Type: PowerPC Linux Kernel Image (gzip compressed)<br> Data Size: 1716719 Bytes = 1.6 MB<br>
Load Address: 00000000<br> Entry Point: 00000000<br>## Booting image at 00200000 ...<br> Image Name: Linux-2.6.20<br> Created: 2008-07-28 16:15:15 UTC<br> Image Type: PowerPC Linux Kernel Image (gzip compressed)<br>
Data Size: 1716719 Bytes = 1.6 MB<br> Load Address: 00000000<br> Entry Point: 00000000<br> Verifying Checksum ... OK<br> Uncompressing Kernel Image ... OK<br> Booting using flat device tree at 0x400000<br>
setup_arch: bootmem<br>mpc8313_rdb_setup_arch()<br>arch: exit</em></p>
<p><em>Using MPC8313 RDB machine description<br>Linux version 2.6.20 (</em><a onclick="return top.js.OpenExtLink(window,event,this)" href="mailto:vijay@localhost.localdomain" target="_blank"><em>vijay@localhost.localdomain</em></a><em>) (gcc version 4.0.2 20060628 (Wasabi)) #8 Mon Jul 28 21:45:12 IST 2008<br>
Found MPC83xx PCI host bridge at 0x00000000e0008500. Firmware bus number: 0->0<br>Zone PFN ranges:<br> DMA 0 -> 32768<br> Normal 32768 -> 32768<br>early_node_map[1] active PFN ranges<br> 0: 0 -> 32768<br>
Built 1 zonelists. Total pages: 32512<br>Kernel command line: root=/dev/mtdblock3 rootfstype=jffs2 rw console=ttyS0,115200 mtdparts=nand0:1M(u-boot),3M(kernel),256K(devtb),-(jffs)<br>IPIC (128 IRQ sources) at fdefa700<br>
PID hash table entries: 512 (order: 9, 2048 bytes)<br>Dentry cache hash table entries: 16384 (order: 4, 65536 bytes)<br>Inode-cache hash table entries: 8192 (order: 3, 32768 bytes)<br>Memory: 126164k/131072k available (2988k kernel code, 4764k reserved, 464k data, 96k bss, 144k init)<br>
Mount-cache hash table entries: 512<br>NET: Registered protocol family 16<br>PCI: Probing PCI hardware<br>Generic PHY: Registered new driver<br>SCSI subsystem initialized<br>usbcore: registered new interface driver usbfs<br>
usbcore: registered new interface driver hub<br>usbcore: registered new device driver usb<br>NET: Registered protocol family 2<br>IP route cache hash table entries: 1024 (order: 0, 4096 bytes)<br>TCP established hash table entries: 4096 (order: 2, 16384 bytes)<br>
TCP bind hash table entries: 2048 (order: 1, 8192 bytes)<br>TCP: Hash tables configured (established 4096 bind 2048)<br>TCP reno registered<br>JFFS2 version 2.2. (NAND) (C) 2001-2006 Red Hat, Inc.<br>io scheduler noop registered<br>
io scheduler anticipatory registered (default)<br>io scheduler deadline registered<br>io scheduler cfq registered<br>Generic RTC Driver v1.07<br>WDT driver for MPC83xx initialized. mode:reset timeout=65535 (25 seconds)<br>
Serial: 8250/16550 driver $Revision: 1.90 $ 2 ports, IRQ sharing disabled<br>serial8250.0: ttyS0 at MMIO 0xe0004500 (irq = 16) is a 16550A<br>serial8250.0: ttyS1 at MMIO 0xe0004600 (irq = 17) is a 16550A<br>RAMDISK driver initialized: 16 RAM disks of 32768K size 1024 blocksize<br>
loop: loaded (max 8 devices)<br>Intel(R) PRO/1000 Network Driver - version 7.3.15-k2-NAPI<br>Copyright (c) 1999-2006 Intel Corporation.<br>Gianfar MII Bus: probed<br>eth0: Gianfar Ethernet Controller Version 1.4, 00:04:9f:ef:23:33<br>
eth0: MTU = 1500 (frame size=1540,truesize=2296)<br>eth0: Running with NAPI enabled<br>eth0: 64/64 RX/TX BD ring size<br>eth0: Socket buffer recycling mode enabled<br>eth1: Gianfar Ethernet Controller Version 1.4, 00:e0:0c:00:7e:21<br>
eth1: MTU = 1500 (frame size=1540,truesize=2296)<br>eth1: Running with NAPI enabled<br>eth1: 64/64 RX/TX BD ring size<br>eth1: Socket buffer recycling mode enabled<br>SKB Handler initialized(max=64)<br>Marvell 88E1101: Registered new driver<br>
Marvell 88E1111: Registered new driver<br>Marvell 88E1145: Registered new driver<br>MPC8313ERDB Ethernet Switch: Registered new driver<br>MPC8313RDB flash device: 800000 at fe000000 Partition number 4<br>MPC8313RDB Flash Map Info: Found 1 x16 devices at 0x0 in 16-bit bank<br>
Amd/Fujitsu Extended Query Table at 0x0040<br>MPC8313RDB Flash Map Info: Swapping erase regions for broken CFI table.<br>number of CFI chips: 1<br>cfi_cmdset_0002: Disabling erase-suspend-program due to code brokenness.<br>
Creating 4 MTD partitions on "MPC8313RDB Flash Map Info":<br>0x00000000-0x00100000 : "U-Boot"<br>0x00100000-0x00300000 : "Kernel"<br>0x00300000-0x00700000 : "JFFS2"<br>0x00700000-0x00800000 : "dtb"<br>
MPC8313RDB flash device (MPC8313RDB Flash Map Info) initialized<br>Freescale eLBC NAND Driver (C) 2006 Freescale<br>NAND device: Manufacturer ID: 0xec, Chip ID: 0x75 (Samsung NAND 32MiB 3,3V 8-bit)<br>Scanning device for bad blocks<br>
4 cmdlinepart partitions found on MTD device nand0<br>Creating 4 MTD partitions on "nand0":<br>0x00000000-0x00100000 : "u-boot"<br>0x00100000-0x00400000 : "kernel"<br>0x00400000-0x00440000 : "devtb"<br>
0x00440000-0x02000000 : "jffs"<br>usbmon: debugfs is not available<br>fsl-ehci fsl-ehci.0: Freescale On-Chip EHCI Host Controller<br>fsl-ehci fsl-ehci.0: new USB bus registered, assigned bus number 1<br>fsl-ehci fsl-ehci.0: irq 38, io base 0xe0023000<br>
fsl-ehci fsl-ehci.0: USB 2.0 started, EHCI 1.00, driver 10 Dec 2004<br>usb usb1: configuration #1 chosen from 1 choice<br>hub 1-0:1.0: USB hub found<br>hub 1-0:1.0: 1 port detected<br>Initializing USB Mass Storage driver...<br>
usbcore: registered new interface driver usb-storage<br>USB Mass Storage support registered.<br>Freescale High-Speed USB SOC Device Controller driver (Feb 5, 2007)<br>i2c /dev entries driver<br>TCP cubic registered<br>NET: Registered protocol family 1<br>
NET: Registered protocol family 17<br>VFS: Mounted root (jffs2 filesystem).<br>Freeing unused kernel memory: 144k init<br>Warning: unable to open an initial console.<br>Kernel panic - not syncing: No init found. Try passing init= option to kernel.<br>
<0>Rebooting in 180 seconds..<br></em> <em>################################################################## LOG END #################################################################</em></p>
<p>I tried with init=linuxrc (symbolic link to bin/busybox) but still says the same error as mentioned above ...</p>
<p>What argument I should pass init= xxxx ... </p>
<p>Kindly please acknowledge ... thank you ...</p>
<p>Kind Regards,</p>
<p>Vijay Nikam </p>
<p><br> </p></div>
<div> </div></span></div>