Getting a serial console

Shortly after getting my WMA11b I noticed the unpopulated IC U2 and connector J6. After some poking around I discovered U2 should be fitted with a MAX213 serial line driver to get an RS232 serial connection on J6. The MAX213 IC needs to be in a SSOP package if you want to solder an IC directly onto the board. I didn't have such a device or the necessary soldering tools so used a MAX232 DIL IC on a separate circuit board.


Tapping serial data lines off circuit board. Uppermost is wma RX, lower is wma TX.


Tapping 5v power supply off circuit board. Red is VDD, black is GND.


Circuit board with MAX232 and DB9 connector with standard RS232 pinout.

Resources: MAX213 datasheet | DB9 pinout

The serial console is connected to the PXA255 standard UART (pins IRTXD/GPIO[47] and IRRXD/GPIO[46]). In Linux this appears as /dev/ttyS1.

Set your terminal to 115200-N-1 and turn the WMA11b to see the output from the bootloader and kernel:

 GreenLake bootloader v0.01

Implementation = Intel
Architecture = 5
xScale
Core version = 3
PXA250
Stepping = 6

ram test
a1000000
dmfe_probe()
 I/O: 10000000, VID: 90000a46
Resetting the device
MAC Read from Flash[6]:00:06:25:0e:cf:2e
Current MAC Address: 00:06:25:0e:cf:2e
Copying kernel from 10014 to a0200000
Kernel checksum...ok
Copying ramdisk from 9c014 to a0400000
Ramdisk checksum...ok
Now booting image...
booting addr a0200000
Uncompressing Linux.......................................... done, booting the
kernel.
Linux version 2.4.17-rmk3-cot1 (root@enterprise) (gcc version 2.95.3 20010315 (r
elease)) #5 Tue Aug 12 13:43:31 CST 2003
Processor: Intel XScale-Cotulla revision 6
Architecture: GreenLake Reference Platform
On node 0 totalpages: 4096
zone(0): 4096 pages.
zone(1): 0 pages.
zone(2): 0 pages.
Kernel command line: ramdisk_blocksize=4096 init=/linuxrc ip=off console=ttyS1,1
15200 panic=5
Console: colour dummy device 80x30
Calibrating delay loop... 198.65 BogoMIPS
Memory: 16MB = 16MB total
Memory: 6460KB available (1083K code, 275K data, 72K init)
Dentry-cache hash table entries: 2048 (order: 2, 16384 bytes)
Inode-cache hash table entries: 1024 (order: 1, 8192 bytes)
Mount-cache hash table entries: 512 (order: 0, 4096 bytes)
Buffer-cache hash table entries: 1024 (order: 0, 4096 bytes)
Page-cache hash table entries: 4096 (order: 2, 16384 bytes)
POSIX conformance testing by UNIFIX
lhg:made it to idle
Linux NET4.0 for Linux 2.4
Based upon Swansea University Computer Society NET3.039
Initializing RT netlink socket
Starting kswapd
Console: switching to colour frame buffer device 80x30
set_ctrlr_state = 1
FS450 PAL
Serial driver version 5.05c (2001-07-08) with no serial options enabled
ttyS00 at 0xfc100000x (irq = 14) is a Cotulla UART
ttyS01 at 0xfc700000x (irq = 12) is a Cotulla UART
block: 64 slots per queue, batch=16
RAMDISK driver initialized: 16 RAM disks of 4096K size 4096 blocksize
loop: loaded (max 8 devices)
set_ctrlr_state = 4
Disabling LCD controller
ac97_codec: AC97 Audio codec, id: 0x8384:0x7650 (Unknown)
Linux Kernel Card Services 3.1.22
  options:  none
SA-1100 PCMCIA (CS release 3.1.22)
NET4: Linux TCP/IP 1.0 for NET4.0
IP Protocols: ICMP, UDP, TCP
IP: routing cache hash table of 512 buckets, 4Kbytes
TCP: Hash tables configured (established 1024 bind 1024)
NET4: Unix domain sockets 1.0/SMP for Linux NET4.0.
NetWinder Floating Point Emulator V0.95 (c) 1998-1999 Rebel.com
FS450 PAL
RAMDISK: Compressed image found at block 0
Freeing initrd memory: 8192K
EXT2-fs warning: mounting unchecked fs, running e2fsck is recommended
VFS: Mounted root (ext2 filesystem).
Freeing init memory: 72K
Using /lib/modules/2.4.17-rmk3-cot1/switchdriver.o
switchdriver: init
Using /lib/modules/2.4.17-rmk3-cot1/glflash.o
GreenLake flash driver initialized
Using /lib/modules/2.4.17-rmk3-cot1/dm9000x.o
 I/O: f1000000, VID: 90000a46
Using /lib/modules/2.4.17-rmk3-cot1/pcmcia/p80211.o
Using /lib/modules/2.4.17-rmk3-cot1/remotedriver.o
remotedriver initializing
height 18, width 1164, offset 54
acquiring lock
release lock
========================
Old SSID: linksys_wma11b
========================
========================
New SSID: linksys_wma11b
========================
buffer count 0, struct size 172

RX FIFO OVERFLOW 0
RX CRC 0
RX LEN Err 0
RX LEN<64byte 0
RX LEN>1514byte 0
RESET 1
RESET: TX Timeout 1
RESET: RX Status Wrong 0
Jan  1 00:00:17 cardmgr[38]: starting, version is 3.1.22
Jan  1 00:00:17 cardmgr[38]: could not open './config.opts': No such file or dir
ectory
Jan  1 00:00:17 cardmgr[38]: watching 2 sockets
Jan  1 00:00:17 cardmgr[38]: socket 0: Anonymous Memory
Jan  1 00:00:17 cardmgr[38]: executing: 'modprobe memory_cs'
Jan  1 00:00:17 cardmgr[38]: + insmod: memory_cs.o: no module by that name found
Jan  1 00:00:17 cardmgr[38]: modprobe exited with status 1
Jan  1 00:00:17 cardmgr[38]: module /lib/modules/2.4.17-rmk3-cot1/pcmcia/memory_
cs.o not available
Jan  1 00:00:18 cardmgr[38]: get dev info on socket 0 failed: Try again
Jan  1 00:00:19 cardmgr[38]: exiting
InitFlashData
No active interface! Use interface eth0


BusyBox v0.60.2 (2003.08.12-05:46+0000) Built-in shell (ash)
Enter 'help' for a list of built-in commands.

#

You may download this output as a text file

[ Home Page ]

By Andrew Wild | Visitor Statistics | Portugal Holiday
This file last modified 27/03/2007 08:06pm