Hangs after "booting the kernel"

Pascal
I'm trying to set up a TFTP/NFS according to various totos I found on the
web.
My problem is that the system hangs after the "booting the kernel" message
(see below).
The TUX image is displayed on the mini2440 screen and the 4 leds turn on,
but then nothing happens on the display (except that the screen is cleared
after a few minutes) nor on the terminal.
Is it a kernel problem or is it linked to the root fs on the NFS share ?
I've tried different root fs with same results.

Here is the environment :

MINI2440 # printenv
bootdelay=3
baudrate=115200
ethaddr=08:08:11:18:12:27
netmask=255.255.255.0
usbtty=cdc_acm
mini2440=mini2440=0tb
bootargs_base=console=ttySAC0,115200 noinitrd
bootargs_init=init=/sbin/init
root_nand=root=/dev/mtdblock3 rootfstype=jffs2
root_mmc=root=/dev/mmcblk0p2 rootdelay=2
root_nfs=/mnt/nfs
set_root_nfs=setenv root_nfs root=/dev/nfs rw
nfsroot=${serverip}:${root_nfs}
ifconfig_static=run setenv ifconfig
ip=${ipaddr}:${serverip}::${netmask}:mini2440:eth0
ifconfig_dhcp=run setenv ifconfig ip=dhcp
ifconfig=ip=dhcp
set_bootargs_mmc=setenv bootargs ${bootargs_base} ${bootargs_init}
${mini2440} ${root_mmc}
set_bootargs_nand=setenv bootargs ${bootargs_base} ${bootargs_init}
${mini2440} ${root_nand}
set_bootargs_nfs=run set_root_nfs; setenv bootargs ${bootargs_base}
${bootargs_init} ${mini2440} ${root_nfs} ${ifconfig}
mtdids=nand0=mini2440-nand
mtdparts=mtdparts=mini2440-nand:0x00040000(u-boot),0x00020000(u-boot_env),0x0050
0000(kernel),0x3faa0000(rootfs)
serverip=192.168.1.22
bootfile=uImage
serverip=192.168.1.22
bootargsconsole=ttySAC0,115200 noinitrd init=/sbin/init mini2440=0tb
ip=192.168.1.205 root=/dev/nfs rw nfsroot=192.168.1.200:/mini2440/root_fs
bootargs=console=ttySAC01,115200 noinitrd init=/sbin/init mini2440=0tb
ip=192.168.1.205 root=/dev/nfs rw nfsroot=192.168.1.200:/mini2440/nfs_root
ipaddr=192.168.1.205
bootcmd=tftp;bootm 30008000
partition=nand0,0
mtddevnum=0
mtddevname=u-boot

and the booting sequence :

U-Boot 1.3.2-mini2440 (Feb 24 2010 - 13:04:49)

I2C:   ready
DRAM:  64 MB
Flash:  2 MB
NAND:  1024 MiB
Found Environment offset in OOB..
USB:   S3C2410 USB Deviced
In:    serial
Out:   serial
Err:   serial
MAC: 08:08:11:18:12:27
Hit any key to stop autoboot:  0 
dm9000 i/o: 0x20000300, id: 0x90000a46 
DM9000: running in 16 bit mode
MAC: 08:08:11:18:12:27
TFTP from server 192.168.1.22; our IP address is 192.168.1.205
Filename 'uImage'.
Load address: 0x32000000
Loading: T
#################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #########################################################
done
Bytes transferred = 2288376 (22eaf8 hex)
## Booting kernel from Legacy Image at 32000000 ...
   Image Name:   
   Created:      2011-07-10  14:58:04 UTC
   Image Type:   ARM Linux Kernel Image (uncompressed)
   Data Size:    2288312 Bytes =  2.2 MB
   Load Address: 30008000
   Entry Point:  30008000
   Verifying Checksum ... OK
   Loading Kernel Image ... OK
OK

Starting kernel ...

Uncompressing
Linux...........................................................................
.........................................................................
done, booting the kernel.



Many thanks for your help,
Pascal

Pascal
Some additional information :
The TFTP server run on my Debian machine
The NFS share is on a QNAP NAS
The kernel comes from this site (download area)

sheers,
Pascal

Pascal
I fixed my problem by moving the root fs to my debian machine.
It's much better, now !

Braghadees
Hi Pascal....I'm having a similar problem while booting linux kernel from 
SD/MMC memory card onto a ARM-9based kit. I'd only rootfs and kernel image
but it stops at "done,booting the kernel".
Wat could  be done over it?


Thanks in advance.

serg_io
A problem can be here:
bootargs=console=ttySAC01,115200 noinitrd init=/sbin/init mini2440=0tb

why ttySAC01? If I remember correctly should be ttySAC0

GZieba
Hi Guys, I have tha same problem, but with OMAP3 Ti, TD3730.

Booting hangs after "booting the kernel"

But connsole settings are ok.

What might be wrong?

Have anybody any idea?

yoo yoon shoo
Attachment: mini2440.h (10.52 KB)
Hi All,

I faced this problem. Now my board works fine. I think that a define is
commented out. It is the problem.

//#define CONFIG_USE_IRQ    0  /* Needed for USB device! */

==> should remove //
#define CONFIG_USE_IRQ    1  /* Needed for USB device! */


You can refer my files.