prevent uboot form dropping to a shell

sunitha
Hi

  I have connected my mini2440 to a Com device using serial port.

when I try to boot, uboot always drops into the shell. If I remove the
serial port connector, it boots happily.

Looks like the Com device is responding to the boot messages from uboot and
uboot is dropping into the shell.

1) Can I prevent messages from uboot  into serial port

2) Can I continue to boot even if I drop into a shell (like automatically
typing "boot" in the shell) with a script like .bashrc equivalent

3) can I totally shutoff the serial port for uboot only

Thanks
Sunitha

open-nandra
Don't understand. If you set bootdelay in u-boot to zero then u-boot
directly jump to kernel loading. Or you have different problem?

sunitha
Hi

  First, how do I set the delay to zero?

Also, I am worried that the serial port message and the response from the
Com device would trigger the uboot into the shell.

Does anyone know how to get out of the shell automatically.
Is there a script that uboot executes when it land in the shell

open-nandra
setenv bootdelay 0.

Read this (u-boot docu):
bootdelay: After reset, U-Boot will wait this number of seconds before it
executes the contents of the bootcmd variable. During this time a countdown
is printed, which can be interrupted by pressing any key. 
Set this variable to 0 boot without delay. Be careful: depending on the
contents of your bootcmd variable, this can prevent you from entering
interactive commands again forever! 
Set this variable to -1 to disable autoboot.