[prev in list] [next in list] [prev in thread] [next in thread]
List: uclinux-dev
Subject: [uClinux-dev] MCF5282 console on ttyS1 no worky
From: Allon Stern <allon.stern () argonst ! com>
Date: 2008-09-30 19:31:34
Message-ID: 10D51BBF-0BFE-4495-86DC-1CE44FCA175E () argonst ! com
[Download RAW message or body]
[Attachment #2 (multipart/alternative)]
Custom 5282 board, similar to the Avnet 5282.
When I pass "console=ttyS0,115200n8" to my kernel (2.6, 8.8.8
distribution patched to 8.11.08), everything works happy.
If I try "console=ttyS1,115200n8", or even "console=ttyMTD1", then
the boot seems to fail or stall somewhere around where it starts init.
The last thing I see in the __log_buf (via BDM) is:
<6>TCP cubic registered
<6>NET: Registered protocol family 17
<6>RPC: Registered udp transport module.
<6>RPC: Registered tcp transport module.
<5>Sending DHCP requests ., OK
<4>IP-Config: Got DHCP answer from 10.18.1.36, my address is 10.18.12.4
<4>IP-Config: Complete:
<4> device=eth0, addr=10.18.12.4, mask=255.255.0.0, gw=10.18.1.36,
<4> host=BPD4, domain=dev-va.sdrcinc.local, nis-domain=(none),
<4> bootserver=10.18.1.36, rootserver=10.18.1.36, rootpath=/home/
cashwell/netboot/BPD
<5>Looking up port of RPC 100003/2 on 10.18.1.36
<5>Looking up port of RPC 100005/1 on 10.18.1.36
<4>VFS: Mounted root (nfs filesystem) readonly.
<5>Freeing unused kernel memory: 76k freed (0x1ba000 - 0x1cc000)
<4>Warning: unable to open an initial console.
Then I can't get anything much else out of the machine; no net, no
nothing. When I break in the debugger, I see we're in "default_idle",
so I don't think it's crashed, just not running what I expected it to
run.
There is a /dev/console in my root filesystem; if I boot using ttyS0
I don't get the "unable to open an initial console" message.
Note that I do not actually have a transceiver hooked to ttyS1 at
this point in time; I'm just trying to boot with it flapping in the
breeze, so we can use the serial port for an embedded application
without the console interfering.
I have the serial ports all set up by u-boot.
any idea?
-
allon
[Attachment #5 (unknown)]
<html><body style="word-wrap: break-word; -webkit-nbsp-mode: space; \
-webkit-line-break: after-white-space; "><div>Custom 5282 board, similar to the Avnet \
5282.</div><div><br></div>When I pass "console=ttyS0,115200n8" to my kernel (2.6, \
8.8.8 distribution patched to 8.11.08), everything works happy.<div>If I try \
"console=ttyS1,115200n8", or even "console=ttyMTD1", then the boot seems to fail or \
stall somewhere around where it starts init.</div><div><br></div><div>The last thing \
I see in the __log_buf (via BDM) is:</div><div><br></div><div><div style="margin-top: \
0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "><font face="Monaco" \
size="2" style="font: 10.0px Monaco"><6>TCP cubic registered</font></div><div \
style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; \
"><font face="Monaco" size="2" style="font: 10.0px Monaco"><6>NET: Registered \
protocol family 17</font></div><div style="margin-top: 0px; margin-right: 0px; \
margin-bottom: 0px; margin-left: 0px; "><font face="Monaco" size="2" style="font: \
10.0px Monaco"><6>RPC: Registered udp transport module.</font></div><div \
style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; \
"><font face="Monaco" size="2" style="font: 10.0px Monaco"><6>RPC: Registered tcp \
transport module.</font></div><div style="margin-top: 0px; margin-right: 0px; \
margin-bottom: 0px; margin-left: 0px; "><font face="Monaco" size="2" style="font: \
10.0px Monaco"><5>Sending DHCP requests ., OK</font></div><div style="margin-top: \
0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "><font face="Monaco" \
size="2" style="font: 10.0px Monaco"><4>IP-Config: Got DHCP answer from \
10.18.1.36, my address is 10.18.12.4</font></div><div style="margin-top: 0px; \
margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "><font face="Monaco" \
size="2" style="font: 10.0px Monaco"><4>IP-Config: Complete:</font></div><div \
style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; \
"><font face="Monaco" size="2" style="font: 10.0px Monaco"><4> device=eth0, \
addr=10.18.12.4, mask=255.255.0.0, gw=10.18.1.36,</font></div><div style="margin-top: \
0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "><font face="Monaco" \
size="2" style="font: 10.0px Monaco"><4> host=BPD4, \
domain=dev-va.sdrcinc.local, nis-domain=(none),</font></div><div style="margin-top: \
0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "><font face="Monaco" \
size="2" style="font: 10.0px Monaco"><4> bootserver=10.18.1.36, \
rootserver=10.18.1.36, rootpath=/home/cashwell/netboot/BPD</font></div><div \
style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; \
"><font face="Monaco" size="2" style="font: 10.0px Monaco"><5>Looking up port of \
RPC 100003/2 on 10.18.1.36</font></div><div style="margin-top: 0px; margin-right: \
0px; margin-bottom: 0px; margin-left: 0px; "><font face="Monaco" size="2" \
style="font: 10.0px Monaco"><5>Looking up port of RPC 100005/1 on \
10.18.1.36</font></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: \
0px; margin-left: 0px; "><font face="Monaco" size="2" style="font: 10.0px \
Monaco"><4>VFS: Mounted root (nfs filesystem) readonly.</font></div><div \
style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; \
"><font face="Monaco" size="2" style="font: 10.0px Monaco"><5>Freeing unused \
kernel memory: 76k freed (0x1ba000 - 0x1cc000)</font></div><div style="margin-top: \
0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "><font face="Monaco" \
size="2" style="font: 10.0px Monaco"><4>Warning: unable to open an initial \
console.</font></div><div><font class="Apple-style-span" face="Monaco" size="2"><span \
class="Apple-style-span" style="font-size: \
10px;"><br></span></font></div></div><div><br></div><div>Then I can't get anything \
much else out of the machine; no net, no nothing. When I break in the debugger, I see \
we're in "default_idle", so I don't think it's crashed, just not running what I \
expected it to run.</div><div><br></div><div>There is a /dev/console in my root \
filesystem; if I boot using ttyS0 I don't get the "unable to open an initial console" \
message.</div><div><br></div><div>Note that I do not actually have a transceiver \
hooked to ttyS1 at this point in time; I'm just trying to boot with it flapping in \
the breeze, so we can use the serial port for an embedded application without the \
console interfering.</div><div><br></div><div>I have the serial ports all set up by \
u-boot.</div><div><br></div><div>any \
idea?</div><div>-</div><div>allon</div></body></html>
_______________________________________________
uClinux-dev mailing list
uClinux-dev@uclinux.org
http://mailman.uclinux.org/mailman/listinfo/uclinux-dev
This message was resent by uclinux-dev@uclinux.org
To unsubscribe see:
http://mailman.uclinux.org/mailman/options/uclinux-dev
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic