Garbage output of Collie 2.6 kernel in serial console

Jason Miu <[email protected]>
Newsgroups gmane.comp.handhelds.openzaurus.devel
Message-ID <[email protected]>
Hello all,

I am trying to start a kernel 2.6 development on my SL5500 but have a 
problem with my serial console. My 2.6 kernel is compiled from OE and 
the tmp/work directory shows it has the version 
"collie-linux/linux-rp-2.6.18-r7". I connected my sharp serial console 
cable to my host, and fire up the kermit as my terminal. The startup 
messages looks fine, but become all the garbages finally. Screen shot here:

C-Kermit>connect
Connecting to /dev/ttyS0, speed 115200
 Escape character: Ctrl-\ (ASCII 28, FS): enabled
Type the escape character followed by C to get back,
or followed by ? to see other options.
----------------------------------------------------
Linux version 2.6.18-.dev-snapshot-20070106 
([email protected]) (gcc version 3.4.4) #1 PREEMPT Sat Jan 27 
14:56:14 HKT 2007
CPU: StrongARM-1110 [6901b119] revision 9 (ARMv4), cr=c000717f
Machine: Sharp-Collie
Memory policy: ECC disabled, Data cache writeback
On node 0 totalpages: 8192
  DMA zone: 8192 pages, LIFO batch:1
Built 1 zonelists.  Total pages: 8192
Kernel command line: console=ttySA0,115200n8 console=tty1 noinitrd 
root=/dev/mtdblock2 rootfstype=jffs2 mem=32M fbcon=rotate:1 
dyntick=enable debug
PID hash table entries: 256 (order: 8, 1024 bytes)
Warning: uninitialized Real Time Clock
start_kernel(): bug: interrupts were enabled early
Console: colour dummy device 80x30
Dentry cache hash table entries: 4096 (order: 2, 16384 bytes)
Inode-cache hash table entries: 2048 (order: 1, 8192 bytes)
Memory: 32MB = 32MB total
Memory: 30232KB available (1720K code, 379K data, 88K init)
Calibrating delay loop... 137.21 BogoMIPS (lpj=686080)
Mount-cache hash table entries: 512
CPU: Testing write buffer coherency: ok
NET: Registered protocol family 16
< a lot of garbage codes >
... power.c: Adding power management to input layer
< a lot of garbage codes >
... Registered protocol family 1

I am pretty sure my serial port on my host has no problem, since I am 
using it for another device without problem. The LCD on my Collie shows 
the same messages but without garbage. When I press the "cancel" button 
the LCD will print the line: "power.c: device-level power management is 
not supported yet". The host terminal will print the same line as well, 
but with a lot of garbage characters.

Here are the commands I used in the kermit:
C-Kermit>set line /dev/ttyS0
C-Kermit>set modem type none
C-Kermit>set carrier-watch off
C-Kermit>set flow-control none
C-Kermit>set speed 115200
/dev/ttyS0, 115200 bps
C-Kermit>connect

My host system is FC4 with kermit ver. 8.0.211. I have tired minicom 
also, but with no luck, same garbage output. Would anyone give me a 
helping hand or a pointer? I have googled the net and read the 
FAQ/Howtos but they do not give me any cue. Please let me know if I have 
missed any info. Thanks.


--
Jason Miu

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.