Subject: Shark firmware serial-console access
To: None <port-arm32@netbsd.org>
From: Chuck Silvers <chuq@chuq.com>
List: port-arm32
Date: 11/25/2000 17:49:34
I'm having a strange problem with using my Shark with a serial console.
once netbsd running it's fine, but the firmware almost acts like it's using
a different baud rate.  here's the output of a reboot cycle (run thru "vis"=
):

syncing disks... done
rebooting...
f\M-N\M-Svv2vgwo\M-;7/\M-;\M-;:z\M-;2{von'\M-7\M-7\M-g\M-w_\M-;{\M-73\M-7j.=
S\M-7\M^?\M-{\M-ww+\M-S\M-7\M-;\M^S\M-;\M-g\M-k\M-7\M^?\M-{\M-7+\M-w\M-7\M-=
3\M-So\M-U\M-s\M-S\M-7\M-w\M-/\M-u\M-[\M^S\M-S\M-3s\M^S\M-.\M-z\M-n\M-r\M^S=
\M-.\M->\M-S\M^S\M-{\M-S\M^S\M-;{s5\M-S\M-w\M-k\M-m\M^?\M-3\M-s\M^S\M-w\M-[=
\M-{\M-~\M^S2\M-7\M-{\M-7_\M^?\M-k\M-/\M-o'\M-w\M-u{\M-7\M-_\M-3\M-S\M-o\M^=
Sk\M-7\M-o\M-7\M-k\M^?\M-7\M^Sw;{\M^?rgr\M-o\M-ovo\M-og\M-2wk\M-7\M^Yw\M-o\=
M-o+\M-o\M-/o\M-2\M-3\M^?\M^?\M-sw+\M^?f\M-o\M-/\M^S\M-3\M-7\M-{\M-7\M-/\M-=
7\M-9o{ww\M-owwzgsoww\M-2\M-;\M-Ssgw\M-ogoww{\M-;/K\M-oI\M-~))\M-m-o)I)oIoi=
-})o)oZI^-o-\M-/-\M-~-IoI\M-o-~J})o-\M-o)I)oJoI-Zo)o\M--I-o)\M-/-\M---/)o)}=
)-o-o---\M-m\M--o)-})o-o)-~)oI\M-o)}\M---/-o- })o-\M-o)\M-~--o\M--o---o-o\M=
--\M-M)/-o-\M---o)o-\M^?)\M--/-o\M--\M--}\M--/)[\M-z\M-~\M--m/-o\M--\M--}-o=
\M--\M-o\M--)~)/\M--o\M--\M--}\M--o)o)-~)/-o-))o)o\M--\M--}Joio\M--}--o\M--=
o\M--\M--~)/\M--\M-o\M--}\M--\M--/\M--o\M--\M-~\M--~)o)o\M--)\M--m)o)}\M--~=
-o\M-ko\M---}\M--o)o\M--~J})/\M--o\M--\M-~\M--\M--/Jo\M--}\M--}\M--/\M--o-)=
\M--/\M--o\M--}\M--})?\M--/JJ~)?)o\M--~)\M-})/\M--/\M--}I)o)o\M--\M--}\M--\=
M-ko\M--})\M--o\M--o\M--~)\M--/\M--o\M--\M--\M--o)o\M--\M--~\M--/\M--o\M--)=
\M--o\M--o)\M--}\M--/)o\M--\M--~\M--o\M--o)}\M--~)?\M--o\M--~)\M--/\M--o
             }J]\M--\M-?\M--/\M--}\M--~\M--/\M--o)\M--}\M--?\M--o\M--}\M--~=
\M--?\M--/\M--}-\M-])/\M--/\M--}\M--})/\M--o\M--}*])\M-?\M--o\M--~)*/\M--o\=
M--\M--^\M--/\M--o\M--}\M--\M--/\M--o*\M--}\M--/\M--o\M--}\M--}\M--/\M--/\M=
--}\M--~\M--m\M--/\M--}\M--\M--\M-?\M--/(\M--\M-]\M-)/\M--o\M--\M--}\M--/\M=
--/\M--}\M--\M-]\M--/\M--o\M--}h}\M--?\M--o\M--}\M--\M--?\M--/\M--}\M--\M-]=
\M--o\M--o\M--\M--\M--o\M--/\M--}\M--^*/\M--o\M--\M^?\M--}\M--\M-?\M--/\M--=
\M--~\M-)/\M--/\M--}\M--\M^?\M-)o\M--o\M--~\M--}\M--/\M--o\M-)}\M--~\M--/\M=
--/\M--\M-}\M--\M--bootpath=3D</vlbus/isa/ethernet@i300>, bootargs=3D<>
ddb: [ using 122244 bytes of netbsd a.out symbol table ]
Copyright (c) 1996, 1997, 1998, 1999, 2000
    The NetBSD Foundation, Inc.  All rights reserved.
Copyright (c) 1982, 1986, 1989, 1991, 1993
    The Regents of the University of California.  All rights reserved.


the box at the other end of the serial line is an annex box.
annex settings are the normal 8/N/1, no flow control.

it just occurred to me to try dropping back into OFW from ddb,
and that works fine too!  and it works when you halt from netbsd.
but it doesn't work at power-on before netbsd first loads,
or after a "reset-all" (again, until netbsd loads).

I think this started happening when I replaced the battery a while back.
anyone have any ideas what's going on and how I can fix it?

-Chuck