Hi <div><br></div><div>Please find the entire boot sequence here </div><div><br></div><div><div><i><font class="Apple-style-span" color="#000099">RomBOOT</font></i></div><div><i><font class="Apple-style-span" color="#000099"><br>
</font></i></div><div><i><font class="Apple-style-span" color="#000099"><br></font></i></div><div><i><font class="Apple-style-span" color="#000099">U-Boot 1.3.4 (Mar 9 2010 - 19:35:35)</font></i></div><div><i><font class="Apple-style-span" color="#000099"><br>
</font></i></div><div><i><font class="Apple-style-span" color="#000099">DRAM: 64 MB</font></i></div><div><i><font class="Apple-style-span" color="#000099">NAND: 256 MiB</font></i></div><div><i><font class="Apple-style-span" color="#000099">In: serial</font></i></div>
<div><i><font class="Apple-style-span" color="#000099">Out: serial</font></i></div><div><i><font class="Apple-style-span" color="#000099">Err: serial</font></i></div><div><i><font class="Apple-style-span" color="#000099">Net: macb0</font></i></div>
<div><i><font class="Apple-style-span" color="#000099">macb0: Starting autonegotiation...</font></i></div><div><i><font class="Apple-style-span" color="#000099">macb0: Autonegotiation complete</font></i></div><div><i><font class="Apple-style-span" color="#000099">macb0: link up, 100Mbps full-duplex (lpa: 0xc5e1)</font></i></div>
<div><i><font class="Apple-style-span" color="#000099">Hit any key to stop autoboot: 0</font></i></div><div><i><font class="Apple-style-span" color="#000099">U-Boot></font></i></div><div><i><font class="Apple-style-span" color="#000099">U-Boot> set bootcmd 'tftp 0x22200000 uImage; bootm 0x22200000'</font></i></div>
<div><i><font class="Apple-style-span" color="#000099">U-Boot> set bootargs 'root=/dev/nfs nfsroot=10.0.0.1:/nfs ip=10.220.4.200::10.220.4.35:::eth0:off console=ttyS0,115200'</font></i></div><div><i><font class="Apple-style-span" color="#000099">U-Boot> print</font></i></div>
<div><i><font class="Apple-style-span" color="#000099">ethaddr=3a:1f:34:08:54:54</font></i></div><div><i><font class="Apple-style-span" color="#000099">bootdelay=3</font></i></div><div><i><font class="Apple-style-span" color="#000099">baudrate=115200</font></i></div>
<div><i><font class="Apple-style-span" color="#000099">ethact=macb0</font></i></div><div><i><font class="Apple-style-span" color="#000099">ipaddr=10.0.0.2</font></i></div><div><i><font class="Apple-style-span" color="#000099">serverip=10.0.0.1</font></i></div>
<div><i><font class="Apple-style-span" color="#000099">stdin=serial</font></i></div><div><i><font class="Apple-style-span" color="#000099">stdout=serial</font></i></div><div><i><font class="Apple-style-span" color="#000099">stderr=serial</font></i></div>
<div><i><font class="Apple-style-span" color="#000099">bootcmd=tftp 0x22200000 uImage; bootm 0x22200000</font></i></div><div><i><font class="Apple-style-span" color="#000099">bootargs=root=/dev/nfs nfsroot=10.0.0.1:/nfs ip=10.220.4.200::10.220.4.35:::eth0:off console=ttyS0,115200</font></i></div>
<div><i><font class="Apple-style-span" color="#000099"><br></font></i></div><div><i><font class="Apple-style-span" color="#000099">Environment size: 297/131067 bytes</font></i></div><div><i><font class="Apple-style-span" color="#000099">U-Boot> boot</font></i></div>
<div><i><font class="Apple-style-span" color="#000099">macb0: link up, 100Mbps full-duplex (lpa: 0xc5e1)</font></i></div><div><i><font class="Apple-style-span" color="#000099">Using macb0 device</font></i></div><div><i><font class="Apple-style-span" color="#000099">TFTP from server 10.0.0.1; our IP address is 10.0.0.2</font></i></div>
<div><i><font class="Apple-style-span" color="#000099">Filename 'uImage'.</font></i></div><div><i><font class="Apple-style-span" color="#000099">Load address: 0x22200000</font></i></div><div><i><font class="Apple-style-span" color="#000099">Loading: #################################################################</font></i></div>
<div><i><font class="Apple-style-span" color="#000099"> #####################################################</font></i></div><div><i><font class="Apple-style-span" color="#000099">done</font></i></div><div><i><font class="Apple-style-span" color="#000099">Bytes transferred = 1720076 (1a3f0c hex)</font></i></div>
<div><i><font class="Apple-style-span" color="#000099">## Booting kernel from Legacy Image at 22200000 ...</font></i></div><div><i><font class="Apple-style-span" color="#000099"> Image Name: Linux-2.6.37</font></i></div>
<div><i><font class="Apple-style-span" color="#000099"> Image Type: ARM Linux Kernel Image (uncompressed)</font></i></div><div><i><font class="Apple-style-span" color="#000099"> Data Size: 1720012 Bytes = 1.6 MB</font></i></div>
<div><i><font class="Apple-style-span" color="#000099"> Load Address: 20008000</font></i></div><div><i><font class="Apple-style-span" color="#000099"> Entry Point: 20008000</font></i></div><div><i><font class="Apple-style-span" color="#000099"> Verifying Checksum ... OK</font></i></div>
<div><i><font class="Apple-style-span" color="#000099"> Loading Kernel Image ... OK</font></i></div><div><i><font class="Apple-style-span" color="#000099">OK</font></i></div><div><i><font class="Apple-style-span" color="#000099"><br>
</font></i></div><div><i><font class="Apple-style-span" color="#000099">Starting kernel ...</font></i></div><div><i><font class="Apple-style-span" color="#000099"><br></font></i></div><div><i><font class="Apple-style-span" color="#000099">Uncompressing Linux... done, booting the kernel.</font></i></div>
<div><i><font class="Apple-style-span" color="#000099">Linux version 2.6.37 (prajosh@prajosh) (gcc version 4.3.5 (Buildroot 2011.02) ) #2 Sun Jun 19 15:27:13 IST 2011</font></i></div><div><i><font class="Apple-style-span" color="#000099">CPU: ARM926EJ-S [41069265] revision 5 (ARMv5TEJ), cr=00053177</font></i></div>
<div><i><font class="Apple-style-span" color="#000099">CPU: VIVT data cache, VIVT instruction cache</font></i></div><div><i><font class="Apple-style-span" color="#000099">Machine: Atmel AT91SAM9G20-EK</font></i></div><div>
<i><font class="Apple-style-span" color="#000099">Memory policy: ECC disabled, Data cache writeback</font></i></div><div><i><font class="Apple-style-span" color="#000099">Clocks: CPU 396 MHz, master 132 MHz, main 18.432 MHz</font></i></div>
<div><i><font class="Apple-style-span" color="#000099">Built 1 zonelists in Zone order, mobility grouping on. Total pages: 16256</font></i></div><div><i><font class="Apple-style-span" color="#000099">Kernel command line: root=/dev/nfs nfsroot=10.0.0.1:/nfs ip=10.220.4.200::10.220.4.35:::eth0:off console=ttyS0,115200</font></i></div>
<div><i><font class="Apple-style-span" color="#000099">PID hash table entries: 256 (order: -2, 1024 bytes)</font></i></div><div><i><font class="Apple-style-span" color="#000099">Dentry cache hash table entries: 8192 (order: 3, 32768 bytes)</font></i></div>
<div><i><font class="Apple-style-span" color="#000099">Inode-cache hash table entries: 4096 (order: 2, 16384 bytes)</font></i></div><div><i><font class="Apple-style-span" color="#000099">Memory: 64MB = 64MB total</font></i></div>
<div><i><font class="Apple-style-span" color="#000099">Memory: 61416k/61416k available, 4120k reserved, 0K highmem</font></i></div><div><i><font class="Apple-style-span" color="#000099">Virtual kernel memory layout:</font></i></div>
<div><i><font class="Apple-style-span" color="#000099"> vector : 0xffff0000 - 0xffff1000 ( 4 kB)</font></i></div><div><i><font class="Apple-style-span" color="#000099"> fixmap : 0xfff00000 - 0xfffe0000 ( 896 kB)</font></i></div>
<div><i><font class="Apple-style-span" color="#000099"> DMA : 0xffc00000 - 0xffe00000 ( 2 MB)</font></i></div><div><i><font class="Apple-style-span" color="#000099"> vmalloc : 0xc4800000 - 0xfee00000 ( 934 MB)</font></i></div>
<div><i><font class="Apple-style-span" color="#000099"> lowmem : 0xc0000000 - 0xc4000000 ( 64 MB)</font></i></div><div><i><font class="Apple-style-span" color="#000099"> modules : 0xbf000000 - 0xc0000000 ( 16 MB)</font></i></div>
<div><i><font class="Apple-style-span" color="#000099"> .init : 0xc0008000 - 0xc0028000 ( 128 kB)</font></i></div><div><i><font class="Apple-style-span" color="#000099"> .text : 0xc0028000 - 0xc032e0f8 (3097 kB)</font></i></div>
<div><i><font class="Apple-style-span" color="#000099"> .data : 0xc0330000 - 0xc0350fe0 ( 132 kB)</font></i></div><div><i><font class="Apple-style-span" color="#000099">NR_IRQS:192</font></i></div><div><i><font class="Apple-style-span" color="#000099">AT91: 96 gpio irqs in 3 banks</font></i></div>
<div><i><font class="Apple-style-span" color="#000099">Console: colour dummy device 80x30</font></i></div><div><i><font class="Apple-style-span" color="#000099">console [ttyS0] enabled</font></i></div><div><i><font class="Apple-style-span" color="#000099">Calibrating delay loop... 197.83 BogoMIPS (lpj=989184)</font></i></div>
<div><i><font class="Apple-style-span" color="#000099">pid_max: default: 32768 minimum: 301</font></i></div><div><i><font class="Apple-style-span" color="#000099">Mount-cache hash table entries: 512</font></i></div><div><i><font class="Apple-style-span" color="#000099">CPU: Testing write buffer coherency: ok</font></i></div>
<div><i><font class="Apple-style-span" color="#000099">NET: Registered protocol family 16</font></i></div><div><i><font class="Apple-style-span" color="#000099">AT91: Power Management</font></i></div><div><i><font class="Apple-style-span" color="#000099">AT91: Starting after user reset</font></i></div>
<div><i><font class="Apple-style-span" color="#000099">bio: create slab <bio-0> at 0</font></i></div><div><i><font class="Apple-style-span" color="#000099">SCSI subsystem initialized</font></i></div><div><i><font class="Apple-style-span" color="#000099">usbcore: registered new interface driver usbfs</font></i></div>
<div><i><font class="Apple-style-span" color="#000099">usbcore: registered new interface driver hub</font></i></div><div><i><font class="Apple-style-span" color="#000099">usbcore: registered new device driver usb</font></i></div>
<div><i><font class="Apple-style-span" color="#000099">Advanced Linux Sound Architecture Driver Version 1.0.23.</font></i></div><div><i><font class="Apple-style-span" color="#000099">Switching to clocksource pit</font></i></div>
<div><i><font class="Apple-style-span" color="#000099">NET: Registered protocol family 2</font></i></div><div><i><font class="Apple-style-span" color="#000099">IP route cache hash table entries: 1024 (order: 0, 4096 bytes)</font></i></div>
<div><i><font class="Apple-style-span" color="#000099">TCP established hash table entries: 2048 (order: 2, 16384 bytes)</font></i></div><div><i><font class="Apple-style-span" color="#000099">TCP bind hash table entries: 2048 (order: 1, 8192 bytes)</font></i></div>
<div><i><font class="Apple-style-span" color="#000099">TCP: Hash tables configured (established 2048 bind 2048)</font></i></div><div><i><font class="Apple-style-span" color="#000099">TCP reno registered</font></i></div><div>
<i><font class="Apple-style-span" color="#000099">UDP hash table entries: 256 (order: 0, 4096 bytes)</font></i></div><div><i><font class="Apple-style-span" color="#000099">UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)</font></i></div>
<div><i><font class="Apple-style-span" color="#000099">NET: Registered protocol family 1</font></i></div><div><i><font class="Apple-style-span" color="#000099">RPC: Registered udp transport module.</font></i></div><div><i><font class="Apple-style-span" color="#000099">RPC: Registered tcp transport module.</font></i></div>
<div><i><font class="Apple-style-span" color="#000099">RPC: Registered tcp NFSv4.1 backchannel transport module.</font></i></div><div><i><font class="Apple-style-span" color="#000099">NetWinder Floating Point Emulator V0.97 (double precision)</font></i></div>
<div><i><font class="Apple-style-span" color="#000099">JFFS2 version 2.2. (NAND) (SUMMARY) © 2001-2006 Red Hat, Inc.</font></i></div><div><i><font class="Apple-style-span" color="#000099">msgmni has been set to 119</font></i></div>
<div><i><font class="Apple-style-span" color="#000099">io scheduler noop registered (default)</font></i></div><div><i><font class="Apple-style-span" color="#000099">atmel_usart.0: ttyS0 at MMIO 0xfefff200 (irq = 1) is a ATMEL_SERIAL</font></i></div>
<div><i><font class="Apple-style-span" color="#000099">atmel_usart.1: ttyS1 at MMIO 0xfffb0000 (irq = 6) is a ATMEL_SERIAL</font></i></div><div><i><font class="Apple-style-span" color="#000099">atmel_usart.2: ttyS2 at MMIO 0xfffb4000 (irq = 7) is a ATMEL_SERIAL</font></i></div>
<div><i><font class="Apple-style-span" color="#000099">brd: module loaded</font></i></div><div><i><font class="Apple-style-span" color="#000099">loop: module loaded</font></i></div><div><i><font class="Apple-style-span" color="#000099">NAND device: Manufacturer ID: 0xec, Chip ID: 0xda (Samsung )</font></i></div>
<div><i><font class="Apple-style-span" color="#000099">Scanning device for bad blocks</font></i></div><div><i><font class="Apple-style-span" color="#000099">Bad eraseblock 532 at 0x000004280000</font></i></div><div><i><font class="Apple-style-span" color="#000099">Bad eraseblock 1572 at 0x00000c480000</font></i></div>
<div><i><font class="Apple-style-span" color="#000099">Creating 3 MTD partitions on "atmel_nand":</font></i></div><div><i><font class="Apple-style-span" color="#000099">0x000000000000-0x000000400000 : "Bootstrap"</font></i></div>
<div><i><font class="Apple-style-span" color="#000099">0x000000400000-0x000004000000 : "Partition 1"</font></i></div><div><i><font class="Apple-style-span" color="#000099">0x000004000000-0x000010000000 : "Partition 2"</font></i></div>
<div><i><font class="Apple-style-span" color="#000099">atmel_spi atmel_spi.0: Atmel SPI Controller at 0xfffc8000 (irq 12)</font></i></div><div><i><font class="Apple-style-span" color="#000099">atmel_spi atmel_spi.1: Atmel SPI Controller at 0xfffcc000 (irq 13)</font></i></div>
<div><i><font class="Apple-style-span" color="#000099">MACB_mii_bus: probed</font></i></div><div><i><font class="Apple-style-span" color="#000099">eth0: Atmel MACB at 0xfffc4000 irq 21 (3a:1f:34:08:54:54)</font></i></div>
<div><i><font class="Apple-style-span" color="#000099">eth0: attached PHY driver [Generic PHY] (mii_bus:phy_addr=ffffffff:00, irq=-1)</font></i></div><div><i><font class="Apple-style-span" color="#000099">usbmon: debugfs is not available</font></i></div>
<div><i><font class="Apple-style-span" color="#000099">ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver</font></i></div><div><i><font class="Apple-style-span" color="#000099">at91_ohci at91_ohci: AT91 OHCI</font></i></div>
<div><i><font class="Apple-style-span" color="#000099">at91_ohci at91_ohci: new USB bus registered, assigned bus number 1</font></i></div><div><i><font class="Apple-style-span" color="#000099">at91_ohci at91_ohci: irq 20, io mem 0x00500000</font></i></div>
<div><i><font class="Apple-style-span" color="#000099">hub 1-0:1.0: USB hub found</font></i></div><div><i><font class="Apple-style-span" color="#000099">hub 1-0:1.0: 2 ports detected</font></i></div><div><i><font class="Apple-style-span" color="#000099">Initializing USB Mass Storage driver...</font></i></div>
<div><i><font class="Apple-style-span" color="#000099">usbcore: registered new interface driver usb-storage</font></i></div><div><i><font class="Apple-style-span" color="#000099">USB Mass Storage support registered.</font></i></div>
<div><i><font class="Apple-style-span" color="#000099">udc: at91_udc version 3 May 2006</font></i></div><div><i><font class="Apple-style-span" color="#000099">mice: PS/2 mouse device common for all mice</font></i></div><div>
<i><font class="Apple-style-span" color="#000099">input: gpio-keys as /devices/platform/gpio-keys/input/input0</font></i></div><div><i><font class="Apple-style-span" color="#000099">rtc-at91sam9 at91_rtt.0: rtc core: registered at91_rtt as rtc0</font></i></div>
<div><i><font class="Apple-style-span" color="#000099">rtc-at91sam9 at91_rtt.0: rtc0: SET TIME!</font></i></div><div><i><font class="Apple-style-span" color="#000099">usbcore: registered new interface driver usbhid</font></i></div>
<div><i><font class="Apple-style-span" color="#000099">usbhid: USB HID core driver</font></i></div><div><i><font class="Apple-style-span" color="#000099">ALSA device list:</font></i></div><div><i><font class="Apple-style-span" color="#000099"> No soundcards found.</font></i></div>
<div><i><font class="Apple-style-span" color="#000099">TCP cubic registered</font></i></div><div><i><font class="Apple-style-span" color="#000099">NET: Registered protocol family 17</font></i></div><div><i><font class="Apple-style-span" color="#000099">rtc-at91sam9 at91_rtt.0: hctosys: unable to read the hardware clock</font></i></div>
<div><i><font class="Apple-style-span" color="#000099">IP-Config: Guessing netmask 255.0.0.0</font></i></div><div><i><font class="Apple-style-span" color="#000099">IP-Config: Complete:</font></i></div><div><i><font class="Apple-style-span" color="#000099"> device=eth0, addr=10.220.4.200, mask=255.0.0.0, gw=10.220.4.35,</font></i></div>
<div><i><font class="Apple-style-span" color="#000099"> host=10.220.4.200, domain=, nis-domain=(none),</font></i></div><div><i><font class="Apple-style-span" color="#000099"> bootserver=255.255.255.255, rootserver=10.0.0.1, rootpath=</font></i></div>
<div><i><font class="Apple-style-span" color="#000099">eth0: link up (100/Full)</font></i></div><div><i><font class="Apple-style-span" color="#000099">VFS: Mounted root (nfs filesystem) on device 0:12.</font></i></div><div>
<i><font class="Apple-style-span" color="#000099">Freeing init memory: 128K</font></i></div><div><i><font class="Apple-style-span" color="#000099">Starting network...</font></i></div><div><i><font class="Apple-style-span" color="#000099">ip: RTNETLINK answers: File exists</font></i></div>
<div><i><font class="Apple-style-span" color="#000099">Starting dropbear sshd: generating rsa key... generating dsa key... OK</font></i></div></div><div><br></div><div><br></div><div>I have put down the entire sequence. I have also shown the u-boot parameters. </div>
<div><br></div><div>Could anybody please tell me why the board stops after the command. I have the same file system flashed on my NAND flash and if i show that path for the boot operation every thing works fine. (i.e. i load the kernel on tftp and boot from that.)</div>
<div><br></div><div>Regards</div><div>Prajosh Premdas</div><div><br></div><div><br><div class="gmail_quote">On Wed, Jun 15, 2011 at 12:10 PM, Raseel Bhagat <span dir="ltr"><<a href="mailto:raseelbhagat@gmail.com">raseelbhagat@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;"><br><br><div class="gmail_quote"><div><div></div><div class="h5">On Tue, Jun 14, 2011 at 7:22 PM, Prajosh Premdas <span dir="ltr"><<a href="mailto:premdas.prajosh@gmail.com" target="_blank">premdas.prajosh@gmail.com</a>></span> wrote:<br>
</div></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div></div><div class="h5">
<div>Hi Dave</div><div><br></div>I tried booting with the root file system in my flash and uImage i copy using TFTP everything is fine. <div><div></div><div><br><br><div class="gmail_quote">On Tue, Jun 14, 2011 at 10:49 PM, Dave Hylands <span dir="ltr"><<a href="mailto:dhylands@gmail.com" target="_blank">dhylands@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi Prajosh,<br>
<div><div></div><div><br>
On Tue, Jun 14, 2011 at 10:07 AM, Prajosh Premdas<br>
<<a href="mailto:premdas.prajosh@gmail.com" target="_blank">premdas.prajosh@gmail.com</a>> wrote:<br>
> Hi<br>
> I am stuck with a problem. inittab is not executing after my Linux box boots<br>
> up.<br>
> The problem in detail. I have a linux box, i load the Linux image uImage<br>
> using TFTP and my root file system is configured in NFS. After the security<br>
> key is generated, my box just waits there infinity. Its not starting a new<br>
> terminal.<br>
> The new terminal has been specified in the inittab as<br>
> ttyS0::respawn:/sbin/getty -L ttyS0 115200 vt100 # GENERIC_SERIAL<br>
> Can anybody help me out with this problem?<br>
> Since i am not able to set password i cannot do a secure shell access too.<br>
<br>
</div></div>If I had to guess (since you didn't include any boot logs, that's<br>
pretty much all I can do), I'd say that your NFS mount of the root<br>
file system isn't working.<br>
<br>
You can always try and see if you can even boot into a shell manually,<br>
by adding init=/bin/sh to the kernel command line.<br>
<br>
Have you tried booting without using NFS, and verifying that you can<br>
mount the NFS volume?<br>
<font color="#888888"><br>
--<br>
Dave Hylands<br>
Shuswap, BC, Canada<br>
<a href="http://www.davehylands.com" target="_blank">http://www.davehylands.com</a><br>
</font></blockquote></div><br><br clear="all"><br></div></div>-- <br>Regards,<br><font color="#888888"><br>Prajosh Premdas<br>
</font><br></div></div>_______________________________________________<br>
Kernelnewbies mailing list<br>
<a href="mailto:Kernelnewbies@kernelnewbies.org" target="_blank">Kernelnewbies@kernelnewbies.org</a><br>
<a href="http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies" target="_blank">http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies</a><br>
<br></blockquote><div><br><br>Hi Prajosh,<br><br>Could you post what exact error are you getting.<br>I had a very similar problem recently when trying to boot the kernel using tftp and then mounting the Rootfs over NFS.<br>
The issue I faced was that the Rootfs' /dev directory was not correctly populated and was missing the /dev/console device.<br><br>I was getting an error on the lines of "Unable to start init console" and I too spent time mucking about in my inittab.<br>
<br><br>Thanks,<br>Raseel<br></div></div>
<br>_______________________________________________<br>
Kernelnewbies mailing list<br>
<a href="mailto:Kernelnewbies@kernelnewbies.org">Kernelnewbies@kernelnewbies.org</a><br>
<a href="http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies" target="_blank">http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies</a><br>
<br></blockquote></div><br><br clear="all"><br>-- <br>Regards,<br><br>Prajosh Premdas<br>
</div>