Sitecom DC-230

The Sitecom DC 230 is a "network storage router" with a 4 port switch and two USB ports. The Hardware is based on the wl_176 wihtout the wireless components.

CPU

Board is based on the RDC3210 (System-on-Chip).

SDRAM Memory

2x PSC A2V28S40CTP Total: 2x16MB SDRAM = 32MB

Flash Memory

Macronics - MX T063321 29LV320CBTC-70G (32Mbit = 4Mbyte)

Serial Port

4 pin serial connector is labeled with T1 on the board:

                           |==>
                           | S
[ VCC | TX | GND | RX ]    | W
                           | I
                           | T
                           | C
                           | H
                           |==>

Speed is 38400. (Note: You need a 3.3V to 12V converter to use this with the rs232 connector at your pc! Search for MAX3232 with google, if you need more info.)

Software

Bootloader

It is a very simple red boot loader with only a few options:

RedBoot> help
Display/switch console channel
   channel []
Help about help?
   help []
Set/change IP addresses
   ip_address [-l ] [-h ]
Execute a Linux image
   linux [-w timeout] [-b  [-l ]]
        [-r  [-s ]]
        [-c "kernel command line"]
Load a file
   load [-r] [-v] [-h ] [-m ] [-c ]
        [-b ] 
cat switch value
   switch no
set watchdog
   wdog no
flash upgrade
   flash [-s ][-d ][-l ]

Original Firmware

Bootlog

+Ethernet eth0: MAC address 00:50:fc:02:03:04
IP: 192.168.12.142/255.255.240.0, Gateway: 192.168.12.14
Default server: 0.0.0.0
RedBoot(tm) bootstrap and debug environment [ROM]
Non-certified release, version v2_0 - built 22:17:05, Dec 22 2005
Platform: PC (I386)
Copyright (C) 2000, 2001, 2002, Red Hat, Inc.R1
RAM: 0x00000000-0x000f0000, 0x00070470-0x000a0000 available
linux -b 0x400000 -l 0x0010f9cc -s 0x001f4de2 -c "console=ttyS0,38400"
== Executing boot script in 1.000 seconds - enter ^C to abort
RedBoot> IP: 192.168.12.142/255.255.240.0, Gateway: 192.168.12.14
Default server: 192.168.12.148
RedBoot>
mem_size: 2000000
initrd 1deb000 len 1f4de2
Linux version 2.4.25-386 (root@Fedora) (gcc version 3.3.1) #1469 Wed Feb 7 12:47:24 CST 2007
BIOS-provided physical RAM map:
 BIOS-e801: 0000000000000000 - 000000000009f000 (usable)
 BIOS-e801: 0000000000100000 - 0000000002000000 (usable)
32MB LOWMEM available.
On node 0 totalpages: 8192
zone(0): 4096 pages.
zone(1): 4096 pages.
zone(2): 0 pages.
DMI not present.
Kernel command line: console=ttyS0,38400
No local APIC present or hardware disabled
Initializing CPU#0
Calibrating delay loop... 50.79 BogoMIPS
Memory: 27708k/32768k available (1411k kernel code, 4672k reserved, 565k data, 96k init, 0k highmem)
Checking if this processor honours the WP bit even in supervisor mode... Ok.
Dentry cache hash table entries: 4096 (order: 3, 32768 bytes)
Inode cache hash table entries: 2048 (order: 2, 16384 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: 8192 (order: 3, 32768 bytes)
CPU: Cyrix Cx486SLC
Checking 'hlt' instruction... OK.
Checking for popad bug... OK.
POSIX conformance testing by UNIFIX
mtrr: v1.40 (20010327) Richard Gooch (rgooch@atnf.csiro.au)
mtrr: detected mtrr type: none
PCI: Using configuration type 1
PCI: Probing PCI hardware
PCI: Probing PCI hardware (bus 00)
Linux NET4.0 for Linux 2.4
Based upon Swansea University Computer Society NET3.039
Initializing RT netlink socket
LED & GPIO & LAN Status Driver LED_VERSION
IA-32 Microcode Update Driver: v1.13 <tigran@veritas.com>
Starting kswapd
Journalled Block Device driver loaded
NTFS driver v1.1.22 [Flags: R/O]
pty: 256 Unix98 ptys configured
Serial driver version 5.05c (2001-07-08) with MANY_PORTS SHARE_IRQ SERIAL_PCI enabled
ttyS00 at 0x03f8 (irq = 4) is a 16550A
HDLC line discipline: version $Revision: 3.7 $, maxframe=4096
N_HDLC line discipline registered.
RAMDISK driver initialized: 16 RAM disks of 16000K size 1024 blocksize
loop: loaded (max 8 devices)
r6040: RDC R6040 net driver, version 0.8 (28March2005)
r6040: RDC R6040 net driver, version 0.8 (28March2005)
r6040: RDC R6040 net driver, version 0.8 (28March2005)
PPP generic driver version 2.4.2
PPP Deflate Compression module registered
PPP BSD Compression module registered
SCSI subsystem driver Revision: 1.00
kmod: failed to exec /sbin/modprobe -s -k scsi_hostadapter, errno = 2
kmod: failed to exec /sbin/modprobe -s -k scsi_hostadapter, errno = 2
MX29LV320B flash device: 400000 at ffc00000
 Amd/Fujitsu Extended Query Table v1.1 at 0x0040
number of CFI chips: 1
cfi_cmdset_0002: Disabling fast programming due to code brokenness.
Creating 1 MTD partitions on "MX29LV320B flash device":
0x00000000-0x003f0000 : "Flash Disk 1"
MX29LV320B flash device initialized
usb.c: registered new driver usbdevfs
usb.c: registered new driver hub
ehci_hcd 00:0a.1: PCI device 17f3:6061
ehci_hcd 00:0a.1: irq 14, pci mem c2c01000
usb.c: new USB bus registered, assigned bus number 1
ehci_hcd 00:0a.1: USB 2.0 enabled, EHCI 1.00, driver 2003-Dec-29/2.4
hub.c: USB hub found
hub.c: 2 ports detected
host/usb-ohci.c: USB OHCI at membase 0xc2c03000, IRQ 15
host/usb-ohci.c: usb-00:0a.0, PCI device 17f3:6060
usb.c: new USB bus registered, assigned bus number 2
hub.c: USB hub found
hub.c: 2 ports detected
usb.c: registered new driver usblp
printer.c: v0.13: USB Printer Device Class driver
Initializing USB Mass Storage driver...
usb.c: registered new driver usb-storage
USB Mass Storage support registered.
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 2048 bind 4096)
ip_conntrack version 2.1 (256 buckets, 2048 max) - 336 bytes per conntrack
ip_tables: (C) 2000-2002 Netfilter core team
ipt_recent v0.2.3: Stephen Frost <sfrost@snowman.net>.  http://snowman.net/projects/ipt_recent/
ipt_time loading
NET4: Unix domain sockets 1.0/SMP for Linux NET4.0.
NET4: Ethernet Bridge 008 for NET4.0
aaaaaaaaaaa
bbbbbbbbbbb
RAMDISK: LZMA image found at block 0
RAMDISK: LZMA lc=3,lp=0,pb=2,dictSize=8388608,origSize=10240000
.............................................................................................................................................................
LZMA initrd loaded successfully
Freeing initrd memory: 2003k freed
VFS: Mounted root (ext2 filesystem).
dddddddddd
Freeing unused kernel memory: 96k freed
run_init_process:/sbin/init, env PATH=/bin:/usr/bin:/sbin
insmod: islp
Please press Enter to activate this console. Sat Jan  1 00:00:00 UTC 2000
Invalid hw setting signature or version number [sig=œ, ver=-1, len=36242]!
HW configuration invalid, reset default!
Invalid hw setting signature or version number [sig=œ, ver=-1, len=36242]!
PuTTYPuTTYInvalid default setting signature or version number [sig=CS, ver=-1, len=63948, APMIB_T=24569]!
 R6040 phyAddr=5, Link at Full duplex
 R6040 phyAddr=4, Link at Full duplex
killall: pptp.sh: no process killed
killall: pppoe.sh: no process killed
Setup BRIDGE interface
SIOCGIFFLAGS: No such device
SIOCGIFFLAGS: No such device
SIOCGIFFLAGS: No such device
SIOCGIFFLAGS: No such device
SIOCGIFFLAGS: No such device
bridge br0 doesn't exist; can't delete it
Setup bridge...
device eth0 entered promiscuous mode
 R6040 phyAddr=5, Link at Full duplex
SIOCDELRT: No such process
interface ra0 does not exist!
SIOCSIFADDR: No such device
SIOCDELRT: No such device
br0: port 1(eth0) entering learning state
br0: port 1(eth0) entering forwarding state
br0: topology change detected, propagating
SIOCDELRT: No such process
SIOCDELRT: No such process
SIOCDELRT: No such process
udhcp server (v0.9.9-pre) started
Setup WAN interface
********** run Diagd **********
setting: port: 31727
running in daemon mode
udhcp client (v0.9.9-pre) started
into eth1.deconfig
-----> PrintServer
killall: ftpd: no process killed
start confftp
get account name
get account password
end of get account info
start write the ftp config
end of vsftpd configure file

Flashlayout

from original firmware:

// sam 6-4-2005 for MX29LV160
static struct mtd_erase_region_info regions[4]={ {0l, 0x4000, 1},
                                          {0x4000,  0x2000, 2},
                                          {0x8000, 0x8000, 1},
                                          {0x10000, 0x10000, 31}
                                        };

base address of the flash in redboot for flashing is 0xffc00000

Unbrick (aka go back to original)

  • connect serial port and network cable with the device and your pc
  • power on the device and cancel boot with Ctrl+C
  • assign your pc a static ip like 192.168.1.2 (and the gateway ip 192.168.12.14) and start a tftpd server serving a directory containing the firmware
  • execute the following commands in redboot
    • load -h 192.168.1.2 DC230_2.13.bin -b 0x400000 -r
    • flash -s 0x400000 -l 0x3047c2 -d 0xffc08000
  • reboot the device

Back to top

inbox/sitecom.dc.230.txt · Last modified: 2011/08/30 00:39 (external edit)