Skip to contentSkip to conversation

Serial terminal & u-Boot

U-Boot-Users Brian S. Park 3 participants 6 messages Jul 18, 2003 – Jul 24, 2003

lore
Share & tools
lore
#0 lore raw

Hi all,
I'm using u-Boot 0.4.0 with our custom board based on IBM walnut. I noticed that if I do not have the HyperTerminal running, the boot process never proceeds.

If I power up the target with out HyperTerminal running, it never comes up. As soon as start HyperTerminal, I see print out for Kernel download and the board boots up. It looks as though it was waiting for the serial communication before it starts downloading the kernel over the ethernet.

Is this normal behavior? Is there a way to make it boot up regardless of whether a serial terminal is connected or not?

Thank you

Brian

===============================================================
Brian S. Park brian at corelis.com (562) 926-6727 x143
---------------------------------------------------------------
Everything we do helps our customers get to market FASTER with HIGHER quality and LOWER cost
===============================================================

#1 lore raw

I see this as well. I am running on a custom pxa255 board. I get around this problem by setting the bootdelay to 0.

Michael

Quoted 38 lines · Brian S. Park

Hi all,
I'm using u-Boot 0.4.0 with our custom board based on IBM walnut. I noticed that if I do not have the HyperTerminal running, the boot process never proceeds.

If I power up the target with out HyperTerminal running, it never comes up. As soon as start HyperTerminal, I see print out for Kernel download and the board boots up. It looks as though it was waiting for the serial communication before it starts downloading the kernel over the ethernet.

Is this normal behavior? Is there a way to make it boot up regardless of whether a serial terminal is connected or not?

Thank you

Brian

===============================================================
Brian S. Park brian at corelis.com (562) 926-6727 x143
---------------------------------------------------------------
Everything we do helps our customers get to market FASTER with HIGHER quality and LOWER cost
===============================================================

-------------------------------------------------------
This SF.net email is sponsored by: VM Ware
With VMware you can run multiple operating systems on a single machine. WITHOUT REBOOTING! Mix Linux / Windows / Novell virtual machines at the same time. Free trial click here: http://www.vmware.com/wl/offer/345/0
_______________________________________________
U-Boot-Users mailing list
U-Boot-Users at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/u-boot-users

#2 lore raw

Michael,
Thanks for your reply.
Setting bootdelay to 0 does not work for me.

Does any one know a solution for this problem? When we ship our product, it should come up whether it's connected to serial terminal or not.

Thank you.

Brian

Quoted 47 lines · Michael Frey

I see this as well. I am running on a custom pxa255 board. I get around this problem by setting the bootdelay to 0.

Michael

Quoted 28 lines · Brian S. Park

Hi all,
I'm using u-Boot 0.4.0 with our custom board based on IBM walnut. I noticed that if I do not have the HyperTerminal running, the boot process never proceeds.

If I power up the target with out HyperTerminal running, it never comes up. As soon as start HyperTerminal, I see print out for Kernel download and the board boots up. It looks as though it was waiting for the serial communication before it starts downloading the kernel over the ethernet.

Is this normal behavior? Is there a way to make it boot up regardless of whether a serial terminal is connected or not?

Thank you

Brian

===============================================================
Brian S. Park brian at corelis.com (562) 926-6727 x143
---------------------------------------------------------------
Everything we do helps our customers get to market FASTER with HIGHER quality and LOWER cost
===============================================================

Quoted 9 lines

-------------------------------------------------------
This SF.net email is sponsored by: VM Ware
With VMware you can run multiple operating systems on a single machine. WITHOUT REBOOTING! Mix Linux / Windows / Novell virtual machines at the same time. Free trial click here: http://www.vmware.com/wl/offer/345/0
_______________________________________________
U-Boot-Users mailing list
U-Boot-Users at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/u-boot-users

Quoted 9 lines

-------------------------------------------------------
This SF.net email is sponsored by: VM Ware
With VMware you can run multiple operating systems on a single machine. WITHOUT REBOOTING! Mix Linux / Windows / Novell virtual machines at the same time. Free trial click here: http://www.vmware.com/wl/offer/345/0
_______________________________________________
U-Boot-Users mailing list
U-Boot-Users at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/u-boot-users

===============================================================
Brian S. Park brian at corelis.com (562) 926-6727 x143
---------------------------------------------------------------
Everything we do helps our customers get to market FASTER with HIGHER quality and LOWER cost
===============================================================

#3 lore raw
In reply to Brian S. Park

"Brian S. Park" <[email protected]> schreibt:

Quoted 13 lines

Hi all,
I'm using u-Boot 0.4.0 with our custom board based on IBM walnut. I noticed that if I do not have the HyperTerminal running, the boot process
never proceeds.

If I power up the target with out HyperTerminal running, it never comes up.
As soon as start HyperTerminal, I see print out for Kernel download and the
board boots up. It looks as though it was waiting for the serial communication before it starts downloading the kernel over the ethernet.

Quoted 2 lines

Is this normal behavior? Is there a way to make it boot up regardless of whether a serial terminal is connected or not?

Hi,

did you by any chance enable CONFIG_SERIAL_SOFTWARE_FIFO ? In that case the driver uses CTS/RTS handshake, which would explain your problem.

HTH
Cheers
Anders

#4 lore raw

Thank you for your reply.

Though I don't remember where, I saw somewhere that I need to enable CONFIG_SERIAL_SOFTWARE_FIFO for 405gp processor.

I tried disabling it and serial terminal does not work any more. It looks like I have to figure out a way to use interrupt driven serial port without the hand shake.

Thank you for the info.

Brian

Quoted 29 lines · Anders Larsen

"Brian S. Park" <[email protected]> schreibt:

Quoted 13 lines

Hi all,
I'm using u-Boot 0.4.0 with our custom board based on IBM walnut. I noticed that if I do not have the HyperTerminal running, the boot process
never proceeds.

If I power up the target with out HyperTerminal running, it never comes up.
As soon as start HyperTerminal, I see print out for Kernel download and the
board boots up. It looks as though it was waiting for the serial communication before it starts downloading the kernel over the ethernet.

Quoted 2 lines

Is this normal behavior? Is there a way to make it boot up regardless of whether a serial terminal is connected or not?

Hi,

did you by any chance enable CONFIG_SERIAL_SOFTWARE_FIFO ? In that case the driver uses CTS/RTS handshake, which would explain your problem.

HTH
Cheers
Anders

Quoted 9 lines

-------------------------------------------------------
This SF.net email is sponsored by: VM Ware
With VMware you can run multiple operating systems on a single machine. WITHOUT REBOOTING! Mix Linux / Windows / Novell virtual machines at the same time. Free trial click here: http://www.vmware.com/wl/offer/345/0
_______________________________________________
U-Boot-Users mailing list
U-Boot-Users at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/u-boot-users

===============================================================
Brian S. Park brian at corelis.com (562) 926-6727 x143
---------------------------------------------------------------
Everything we do helps our customers get to market FASTER with HIGHER quality and LOWER cost
===============================================================

#5 lore raw

"Brian S. Park" <[email protected]> schreibt:

Quoted 8 lines

Thank you for your reply.

Though I don't remember where, I saw somewhere that I need to enable CONFIG_SERIAL_SOFTWARE_FIFO for 405gp processor.

I tried disabling it and serial terminal does not work any more. It looks like I have to figure out a way to use interrupt driven serial port without the hand shake.

Hi,

reading the code I guess it would suffice to comment out the tests for CTS in cpu/ppc4xx/serial.c - see enclosed patch
(CAVEAT: It's completely untested - I don't have access to corresponding hardware!)

HTH
Cheers
Anders

-------------- next part --------------
A non-text attachment was scrubbed...
Name: serial.c.patch
Type: application/octet-stream
Size: 855 bytes
Desc: not available
Url : http://lists.denx.de/pipermail/u-boot/attachments/20030724/5fcf408f/attachment.obj