* [ECOS] RedBoot Question
@ 2007-05-17 21:55 John Mills
2007-05-17 22:03 ` Gary Thomas
0 siblings, 1 reply; 3+ messages in thread
From: John Mills @ 2007-05-17 21:55 UTC (permalink / raw)
To: ecos-discuss
All -
I'm booting eCos with RedBoot and sometimes I need to abort the boot
script. This works fine with the serial console (^C during the delay
interval), but I also need to take control by telnet when serial comm is
not available.
If I issue 'channel -1' at the RedBoot prompt I can then open a telnet
session, but upon reboot the hardware channel setting is back to '0'
(serial) and I can't take control directly by telnet.
How can I configure the "first client gets the console" behavior from hard
reset? (I can reconfigure and rebuild RedBoot if necessary, but it would
be easier if there is just a persistent 'fconfig' setting I could use.)
Hardware is MIPS / AP30.
TIA.
- John Mills
john.m.mills@alum.mit.edu
--
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [ECOS] RedBoot Question
2007-05-17 21:55 [ECOS] RedBoot Question John Mills
@ 2007-05-17 22:03 ` Gary Thomas
2007-05-22 14:30 ` [ECOS] Resolved: " John Mills
0 siblings, 1 reply; 3+ messages in thread
From: Gary Thomas @ 2007-05-17 22:03 UTC (permalink / raw)
To: John Mills; +Cc: ecos-discuss
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
John Mills wrote:
> All -
>
> I'm booting eCos with RedBoot and sometimes I need to abort the boot
> script. This works fine with the serial console (^C during the delay
> interval), but I also need to take control by telnet when serial comm is
> not available.
>
> If I issue 'channel -1' at the RedBoot prompt I can then open a telnet
> session, but upon reboot the hardware channel setting is back to '0'
> (serial) and I can't take control directly by telnet.
>
> How can I configure the "first client gets the console" behavior from hard
> reset? (I can reconfigure and rebuild RedBoot if necessary, but it would
> be easier if there is just a persistent 'fconfig' setting I could use.)
What you're asking for is the default behaviour - RedBoot should accept
a telnet connection, even during a boot script. It allows for this by
checking for an incoming telnet connection if there are no serial characters
in the stream, while waiting for the ^C.
>
> Hardware is MIPS / AP30.
You might compare the sources - I know that this configuration uses
a pretty old version of RedBoot. It may also be modified such that
what you're asking for is no longer working.
- --
- ------------------------------------------------------------
Gary Thomas | Consulting for the
MLB Associates | Embedded world
- ------------------------------------------------------------
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (GNU/Linux)
Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org
iD8DBQFGTM80maKbSsQGV8ARAiALAJ0UXcquHw6XElWRmui/CURCyYTvmQCgk564
/LysFyjjleQKIR3JscgMJXc=
=c10X
-----END PGP SIGNATURE-----
--
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss
^ permalink raw reply [flat|nested] 3+ messages in thread
* [ECOS] Resolved: [ECOS] RedBoot Question
2007-05-17 22:03 ` Gary Thomas
@ 2007-05-22 14:30 ` John Mills
0 siblings, 0 replies; 3+ messages in thread
From: John Mills @ 2007-05-22 14:30 UTC (permalink / raw)
To: ecos-discuss; +Cc: Gary Thomas
Gary, All -
Thanks for the feedback. I did a bit more digging and learned our default
had intentionally been configured to disable console port auto-detection
for good security reasons. If I append the following to my RedBoot script
I get my desired behavior, if and only if the other boot options are
unavailable or fail:
"ip_address -b
channel -1"
I must learn (or know) which IP will be awarded by the DHCP server and can
then open a telnet session to the monitor.
- John Mills
On Thu, 17 May 2007, Gary Thomas wrote:
> John Mills wrote:
> > All -
> >
> > I'm booting eCos with RedBoot and sometimes I need to abort the boot
> > script. This works fine with the serial console (^C during the delay
> > interval), but I also need to take control by telnet when serial comm is
> > not available.
...
> What you're asking for is the default behaviour - RedBoot should accept
> a telnet connection, even during a boot script. It allows for this by
> checking for an incoming telnet connection if there are no serial characters
> in the stream, while waiting for the ^C.
--
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2007-05-21 14:13 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-05-17 21:55 [ECOS] RedBoot Question John Mills
2007-05-17 22:03 ` Gary Thomas
2007-05-22 14:30 ` [ECOS] Resolved: " John Mills
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 read-only IMAP folder(s) and NNTP newsgroup(s).