* ppcboot, ebony , change baudrate function has bug.
@ 2002-11-26 1:44 caixupeng
2002-11-26 8:31 ` Wolfgang Denk
0 siblings, 1 reply; 2+ messages in thread
From: caixupeng @ 2002-11-26 1:44 UTC (permalink / raw)
To: linuxppc-embedded
when you set a new baudrate,
=> setenv baudrate 38400
## Switch baudrate to 38400 bps and press ENTER ...
it will hang .
I find a way to avoid it.
first, clear the baudrate with "setenv baudrate=xxxx"----it's wrong ,
but it can clear it.
and then "setenv baudrate 38400"
"saveenv"
reset and change the hyperterminal baudrate, it's run , and ok.
because it doesn't invoke the baudrate changing function.
edmoon
** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/
^ permalink raw reply [flat|nested] 2+ messages in thread* Re: ppcboot, ebony , change baudrate function has bug.
2002-11-26 1:44 ppcboot, ebony , change baudrate function has bug caixupeng
@ 2002-11-26 8:31 ` Wolfgang Denk
0 siblings, 0 replies; 2+ messages in thread
From: Wolfgang Denk @ 2002-11-26 8:31 UTC (permalink / raw)
To: caixupeng; +Cc: linuxppc-embedded
In message <001d01c294ed$569cecc0$92690b0a@DBKQW41X> you wrote:
>
> when you set a new baudrate,
>
> => setenv baudrate 38400
> ## Switch baudrate to 38400 bps and press ENTER ...
>
>
> it will hang .
It does not hang. It waits for you to switch the baudrate and press
ENTER.
> I find a way to avoid it.
> first, clear the baudrate with "setenv baudrate=xxxx"----it's wrong ,
This is an ugly hack,and strongly discouraged.
The way the baudrate change is implemented in PPCBoot is intentional
- it prevents you to enter a baudrate which you cannot use with your
terminal. If you cannot type the enter and the "saveenv" command
necessary to store the new baudrate permanently, you can always reset
the board ans it will come up with the old, working baudrate.
Best regards,
Wolfgang Denk
--
Software Engineering: Embedded and Realtime Systems, Embedded Linux
Phone: (+49)-8142-4596-87 Fax: (+49)-8142-4596-88 Email: wd@denx.de
For every problem there is one solution which is simple, neat, and
wrong. - H. L. Mencken
** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2002-11-26 8:31 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-11-26 1:44 ppcboot, ebony , change baudrate function has bug caixupeng
2002-11-26 8:31 ` Wolfgang Denk
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).