This is the mail archive of the ecos-discuss@sources.redhat.com mailing list for the eCos project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: PowerPC SMC serial port drivers.


I connects but after a few packets it goes out to lunch and I have to reboot 
the target to get it to do anything.  The same thing happens with pings.  
When I ping the box it always replies to the first three packets but then 
never responds to anything again.

I've attached the output of the packet debug from the serial console and 
what I typed in.

It appears that the TCP implementation is overflowing or something and 
crapping out after a few packets.  I may try rebuilding redboot, but I'm a 
little nervous reflashing the thing as it would be a boat anchor if it 
doesn't work.  Maybe I'll just run another redboot out of RAM....




>
>Can you connect to it via the network without GDB?  Just use 'telnet':
>   % telnet 192.168.0.78 9000
>and you should get a RedBoot prompt.

Here's my telnet session.  The help never returns with anything.  After that 
the board is unresponsive to ethernet packets and is no longer alive at the 
serial console.  On reboot it again accepts a few packets.

$ telnet 192.168.0.69 9000
Trying 192.168.0.69...
Connected to 192.168.0.69.
Escape character is '^]'.
RedBoot> help


Here is what happens with packet debugging turned on at the target.  
Sometimes after the pings the serial portion will still be responsive even 
with the dead ehternet seems kind of random like a pointer has run amok 
somewhere... :


RedBoot>  +FLASH: 0xfe000000 - 0xfe100000, 16 blocks of 0x00010000 bytes 
each.
IP: 192.168.0.69, Default server: 192.168.0.2

RedBoot(tm) bootstrap and debug environment - built 10:35:19, May  1 2001

Platform: A&M VIPER (PowerPC 860)
Copyright (C) 2000, 2001, Red Hat, Inc.

RAM: 0x00000000-0x00800000, 0x0001bb08-0x007e0000 available
RedBoot> Ethernet recv:
0x0000D34C: 0800 3E28 7AB8 0002  3F70 0977 0800        |..>(z...?p.w..  |
0x0000D35A: 4500 0030 03A4 4000  8006 758C C0A8 0002   |E..0..@...u.....|
0x0000D36A: C0A8 0045 0464 2328  6936 709F 0000 0000   |...E.d#(i6p.....|
0x0000D37A: 7002 4000 C025 0000  0204 05B4 0101 0402   |p.@..%..........|
0x0000D38A: 9524 BEE0                                  |.$..            |
Ethernet send:
0x000051EC: 0002 3F70 0977 0800  3E28 7AB8 0800        |..?p.w..>(z...  |
0x0000CBB4: 4500 002C 0000 0000  4006 F934 C0A8 0045   |E..,....@..4...E|
0x0000CBC4: C0A8 0002 2328 0464  0000 0000 6936 70A0   |....#(.d....i6p.|
0x0000CBD4: 6012 05B4 0F68 0000  0204 05B4             |`....h......    |
Ethernet recv:
0x0000D95C: 0800 3E28 7AB8 0002  3F70 0977 0800        |..>(z...?p.w..  |
0x0000D96A: 4500 0028 03A5 4000  8006 7593 C0A8 0002   |E..(..@...u.....|
0x0000D97A: C0A8 0045 0464 2328  6936 70A0 0000 0001   |...E.d#(i6p.....|
0x0000D98A: 5010 4470 E868 0000  2020 2020 2020 AF83   |P.Dp.h..      ..|
0x0000D99A: 06D9                                       |..              |
Ethernet send:
0x00005234: 0002 3F70 0977 0800  3E28 7AB8 0800        |..?p.w..>(z...  |
0x0000CBB4: 4500 0031 0001 0000  4006 F92E C0A8 0045   |E..1....@......E|
0x0000CBC4: C0A8 0002 2328 0464  0000 0001 6936 70A0   |....#(.d....i6p.|
0x0000CBD4: 5018 05B4 6CBE 0000  5265 6442 6F6F 743E   |P...l...RedBoot>|
0x0000CBE4: 20                                         |                |
Ethernet recv:
0x0000DF6C: 0800 3E28 7AB8 0002  3F70 0977 0800        |..>(z...?p.w..  |
0x0000DF7A: 4500 0028 03AC 4000  8006 758C C0A8 0002   |E..(..@...u.....|
0x0000DF8A: C0A8 0045 0464 2328  6936 70A0 0000 000A   |...E.d#(i6p.....|
0x0000DF9A: 5010 4467 E868 0000  2020 2020 2020 4170   |P.Dg.h..      Ap|
0x0000DFAA: A6C3                                       |..              |



_________________________________________________________________
Chat with friends online, try MSN Messenger: http://messenger.msn.com


-- 
Before posting, please read the FAQ: http://sources.redhat.com/fom/ecos
and search the list archive: http://sources.redhat.com/ml/ecos-discuss


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]