Hi,
I've come across some Logilink wl0038 routers. It's quite cheap to get, but it seems it won't be able to get openwrt on it as of now?
There was some GPL statement sent with it, so I started to experiment with it a bit.
- CPU is Realtek 8186
- 2M Flash (Spansion chip)
- 8M RAM (Hynix chip)
- Serial port (header J1, down right), works (see below)
- J2 seems to be a JTAG port (2x6 pin, lower line seems to be GND)
If anyone's interested I have photos.
I've checked the J1 header to go to the UART1 of the RTL8186. Pin layout (Pins of the CPU - btw, maybe the serial signals are mixed, so RTS/CTS and TXD/RXD could be swapped). These have TTL signal, I've put them to a MAX232 level converter:
1 - Vcc
2 - GND
3 - CTS (Pin 80)
4 - RTS (Pin 73)
5 - RXD (Pin 79)
6 - TXD (Pin 58)
I've connected GND, TX/RX, set hyperterm to 38400,8,N,1, and got the console output of it:
UART1 output test ok
Uart init
mfid=00000001 devid=00002249
Found 1 x 2M flash memory
---RealTek(RTL8186)at 2006.09.28-17:00+0800 version 1.4 [16bit](180MHz)
no sys signature at 00010000!
Jump to image start=0x80300000...
decompressing kernel:
Uncompressing Linux... done, booting the kernel.
done decompressing kernel.
early printk enabled
Determined physical RAM map:
memory: 00800000 @ 00000000 (usable)
On node 0 totalpages: 2048
zone(0): 2048 pages.
zone(1): 0 pages.
zone(2): 0 pages.
Kernel command line: root=/dev/mtdblock1 console=0 single
***i11111* mtdblock3
Calibrating delay loop... 178.99 BogoMIPS
Memory: 6240k/8192k available (1457k kernel code, 1952k reserved, 128k data, 48k init, 0k highmem)
Dentry-cache hash table entries: 1024 (order: 1, 8192 bytes)
Inode-cache hash table entries: 512 (order: 0, 4096 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: 2048 (order: 1, 8192 bytes)
check_wait... unavailable.
POSIX conformance testing by UNIFIX
Linux NET4.0 for Linux 2.4
Based upon Swansea University Computer Society NET3.039
Initializing RT netlink socket
Starting kswapd
Serial driver version 6.02 (2003-03-12) with no serial options enabled
ttyS00 at 0x00c3 (irq = 3) is a rtl_uart1
state->flags=00000000
Realtek GPIO Driver for Flash Reload Default
block: 64 slots per queue, batch=16
PPP generic driver version 2.4.1
PPP MPPE Compression module registered
RealTek E-Flash System Driver. (C) 2002 RealTek Corp.
Found 1 x 2M Byte AMD AM29LV160DB at 0xbe000000
Creating 5 MTD partitions on "DiskOnChip Millennium":
0x00000000-0x00010000 : "boot"
0x00010000-0x00020000 : "nvram"
0x00020000-0x000a0000 : "kernel"
0x000a0000-0x00200000 : "rootfs"
0x00020000-0x00200000 : "upgrade"
RTL8185 driver version 1.9 (2006-03-16)
8186NIC Ethernet driver v0.0.5 (Mar 3, 2006)
eth0: RTL8186-NIC at 0xbd200000, 00:01:02:03:04:05, IRQ 4
eth1: RTL8186-NIC at 0xbd300000, 04:05:06:07:08:09, IRQ 5
fast_nat v1.3
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 512 bind 1024)
ip_conntrack version 2.1 (64 buckets, 512 max) - 312 bytes per conntrack
PPTP netfilter connection tracking: registered
PPTP netfilter NAT helper: registered
ipt_time loading
ip_tables: (C) 2000-2002 Netfilter core team
NET4: Unix domain sockets 1.0/SMP for Linux NET4.0.
NET4: Ethernet Bridge 008 for NET4.0
VFS: Mounted root (squashfs filesystem) readonly.
Freeing unused kernel memory: 48k freed
mount /proc file system ok!
mount /var file system ok!
Hit enter to continue...eth0:phy is 8305
eth1:phy is 8305
00 e0 46 49 05 c1 00 00
Start...
device wlan0 entered promiscuous mode
device wlan0-wds0 entered promiscuous mode
device wlan0-wds1 entered promiscuous mode
device wlan0-wds2 entered promiscuous mode
device wlan0-wds3 entered promiscuous mode
device eth0 entered promiscuous mode
br0: port 6(eth0) entering listening state
br0: port 6(eth0) entering learning state
br0: port 6(eth0) entering forwarding state
br0: topology change detected, propagating
info, udhcp server (v0.9.8) started
time.windows.com: Unknown host
START IPMACBIND
info, udhcp client (v0.9.8) started
info, Sending discover... (3)
br0: port 2(wlan0-wds0) entering listening state
br0: port 2(wlan0-wds0) entering learning state
br0: port 2(wlan0-wds0) entering forwarding state
br0: topology change detected, propagating
br0: port 3(wlan0-wds1) entering listening state
br0: port 3(wlan0-wds1) entering learning state
br0: port 3(wlan0-wds1) entering forwarding state
br0: topology change detected, propagating
info, Sending discover... (5)
auth uses obsolete (PF_INET,SOCK_PACKET)
IEEE 802.1x (WPA) daemon, version 1.7
info, Sending discover... (7)
br0: port 1(wlan0) entering listening state
br0: port 1(wlan0) entering learning state
br0: port 1(wlan0) entering forwarding state
br0: topology change detected, propagating
IEEE 802.11f (IAPP) using interface br0 (v1.6)
TIMER
IDLE
Hit enter to continue...info, Sending discover... (17)
info, Sending discover... (19)
info, Sending discover... (21)If you press enter here you will get a (busybox) shell. No login requred.
I've already requested the source code, let's see what happens.
But is there anything happening on the RTL ports? Haven't seen anything useful?
(edit: put in better boot messages, hyperterm obviously mangles the scrollback ...)
(Last edited by j345 on 21 Jun 2009, 15:15)
