1 <!-- Copyright (C) 2003 Red Hat, Inc. -->
2 <!-- This material may be distributed only subject to the terms -->
3 <!-- and conditions set forth in the Open Publication License, v1.0 -->
4 <!-- or later (the latest version is presently available at -->
5 <!-- http://www.opencontent.org/openpub/). -->
6 <!-- Distribution of the work or derivative of the work in any -->
7 <!-- standard (paper) book form is prohibited unless prior -->
8 <!-- permission is obtained from the copyright holder. -->
13 ><meta name="MSSmartTagsPreventParsing" content="TRUE">
16 CONTENT="Modular DocBook HTML Stylesheet Version 1.76b+
19 TITLE="eCos Reference Manual"
20 HREF="ecos-ref.html"><LINK
22 TITLE="Common Commands"
23 HREF="common-commands.html"><LINK
26 HREF="cache-command.html"><LINK
29 HREF="cksum-command.html"></HEAD
40 SUMMARY="Header navigation table"
49 >eCos Reference Manual</TH
57 HREF="cache-command.html"
71 HREF="cksum-command.html"
82 NAME="CHANNEL-COMMAND">channel</H1
90 >channel -- Select the system console channel</DIV
92 CLASS="REFSYNOPSISDIV"
115 CLASS="INFORMALTABLE"
162 >Reset the console channel</TD
190 >Select a channel</TD
217 >With no arguments, the <B
220 > command displays the current console channel number.</P
222 >When passed an argument of 0 upward, this command switches the console
223 channel to that channel number. The mapping between channel numbers and
224 physical channels is platform specific but will typically be something like
225 channel 0 is the first serial port, channel 1 is the second, etc.</P
227 >When passed an argument of -1, this command reverts RedBoot to responding
228 to whatever channel receives input first, as happens when RedBoot initially
239 >Show the current channel.
255 Current console channel id: 0</PRE
261 >Change to an invalid channel.
277 **Error: bad channel number '99'</PRE
283 >Revert to the default channel setting (any console mode).
310 SUMMARY="Footer navigation table"
321 HREF="cache-command.html"
339 HREF="cksum-command.html"
355 HREF="common-commands.html"