Skip to contentSkip to conversation

Prevent dropping into a shell triggered by serial port

U-Boot sunimohan 3 participants 3 messages Oct 21, 2010

lore
Share & tools
lore

sunimohan

author
#0 lore raw

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

Signature · 2 lines
View this message in context: http://old.nabble.com/Prevent-dropping-into-a-shell-triggered-by-serial-port-tp30015548p30015548.html
Sent from the Uboot - Users mailing list archive at Nabble.com.
#1 lore raw
Quoted 11 lines · sunimohan

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.

Quoted 7 lines

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

RTFM

see the main README, doc/README.silent, doc/README.modem, doc/README.autoboot in u-boot. There are lots of ways to handle this.

#2 lore raw
In reply to sunimohan

Dear sunimohan,

Quoted 3 lines · In message <[email protected]> you wrote:

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

If this happens even if you don't transmit data over the serial line tht you should fix your hardware. Seems you have floating signals, so add appropriate pull-up or pull-down resistors.

Quoted 2 lines

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

Sounds like a hardware-related issue to me.

Best regards,

Wolfgang Denk

Signature · 5 lines
DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
"We learn from history that we learn nothing from history."
- George Bernard Shaw