D-Link DSL-2640B H/W T1

D-Link DSL-2640B H/W T1

Supported Versions

unsupported, but possible, not being worked on.

Hardware Highlights

SoC Ram Flash Network Wireless USB Serial JTag
D-Link DSL-2640B 16MiB 4MiB 4 x 1 + ADSL Yes No Yes ?

Info

Architecture: MIPS 32 bits
Vendor: Broadcom
Bootloader: CFE (version 1.0.37-10.3 for BCM96338)
Board Id: 96333W
System-On-Chip: BCM6333KFBG
CPU/Speed 240 MHz
Flash-Chip: 25X32VSIG (Serial flash SPI)
Flash size: 4 MB
RAM-Chip: ESMT M12L128168A- 7T
RAM size: 16 MB
Wireless: BCM4312KFBG
Ethernet: BCM5325EKQMG
Internet: ADSL2+
ASDL Line driver: BCM6301KSG
USB: No
Serial: Yes
JTAG: No ?

Board

CFE startup output

CFE version 1.0.37-10.3 for BCM96338 (32bit,SP,BE) 
Build Date: Tue May 31 14:36:37 EDT 2011 (root@localhost.localdomain) 
Copyright (C) 2000-2006 Broadcom Corporation. 

Boot Address 0xbfc00000 

Initializing Arena. 
Initializing Devices. 
max_op_len=63 
flash=W25X32 size=4MB id=0xef3016  sector=64k 
st_reg1_3c|Serial flash device: name W25X32, id 0xef3016, size 4096KB 
Flash Layout: Boot[63,0xbfff0000] Kern[1,0xbfc10000] 
              AuxFS[61,0xbffd0000] Misc[61,0xbffd0000] PSI[63,0xbfff0000] 
Flash RootFS Partition Length: 3932160 
100 MB Full-Duplex (auto-neg) 
CPU type 0x29010: 240MHz 
Total memory: 16777216 bytes (16MB) 

Total memory used by CFE:  0x80401000 - 0x80526390 (1201040) 
Initialized Data:          0x8041DB60 - 0x8041FB90 (8240) 
BSS Area:                  0x8041FB90 - 0x80424390 (18432) 
Local Heap:                0x80424390 - 0x80524390 (1048576) 
Stack Area:                0x80524390 - 0x80526390 (8192) 
Text (code) segment:       0x80401000 - 0x8041DB5C (117596) 
Boot area (physical):      0x00527000 - 0x00567000 
Relocation Factor:         I:00000000 - D:00000000 


Board IP address                  : 192.168.1.1:ffffff00 
Host IP address                   : 192.168.1.100 
Gateway IP address                : 
Run from flash/host (f/h)         : f 
Default host run file name        : vmlinux 
Default host flash file name      : bcm963xx_fs_kernel 
Boot delay (0-9 seconds)          : 1 
Board Id (0-9)                    : 96333W 
Number of MAC Addresses (1-32)    : 11 
Base MAC Address                  : 00:26:5a:55:36:d6 
PSI Size (1-64) KBytes            : 24 
Flash Block Size (1-128) in KBytes: 0 
Auxillary File System Size Percent: 0 

udp_send finished 
No answer .auto boot ... 
*** Press any key to stop auto run (1 seconds) ***

Serial port

From link

J3 is the console. DSL-2640B H/W T1 The pinout is : 1-VCC 2-GND 3-TX 4-RX ( pin 1 is marked with a dot ) Console ports uses 3.3 V signaling

Software

OEM source code

D-linkD-link source code

Search by DSL-2640B.

Source is: GPL: DSL-2640B T1 F/W BCM-3.10L.NA.20100623

Terminal/Web access

Web can be accessed by: http://192.168.1.1

Telnet access from linux: telnet 192.168.1.1

Serial access from linux: minicom -D /dev/ttyUSB0 -8 -b 115200

CFE access

To connect to the CFE, you have:

  1. Connect the serial cable.
  2. Access the following command in linux: minicom -D /dev/ttyUSB0 -8 -b 115200
  3. Power-on the router.
  4. Press key enter in the terminal minicom.

Bootlogs

OEM bootlog

# dmesg Linux version 2.6.8.1 (root@localhost.localdomain) (gcc version 3.4.2) #1 Wed Aug 12 19:26:00 CST 2009 Serial flash device: name NX25P32, id 0xef15, size 4096KB 96333W prom init CPU revision is: 00029010 Determined physical RAM map: memory: 00fa0000 @ 00000000 (usable) On node 0 totalpages: 4000 DMA zone: 4000 pages, LIFO batch:1 Normal zone: 0 pages, LIFO batch:1 HighMem zone: 0 pages, LIFO batch:1 Built 1 zonelists Kernel command line: root=31:0 ro noinitrd console=ttyS0,115200 brcm mips: enabling icache and dcache... Primary instruction cache 16kB, physically tagged, 2-way, linesize 16 bytes. Primary data cache 8kB 2-way, linesize 16 bytes. PID hash table entries: 64 (order 6: 512 bytes) Using 120.000 MHz high precision timer. Dentry cache hash table entries: 4096 (order: 2, 16384 bytes) Inode-cache hash table entries: 2048 (order: 1, 8192 bytes) Memory: 13932k/16000k available (1431k kernel code, 2048k reserved, 208k data, 68k init, 0k highmem) Calibrating delay loop... 239.20 BogoMIPS Mount-cache hash table entries: 512 (order: 0, 4096 bytes) Checking for 'wait' instruction... unavailable. NET: Registered protocol family 16 Total Flash size: 4096K with 64 sectors File system address: 0xbfc10100 Can't analyze prologue code at 80174604 Initializing Cryptographic API PPP generic driver version 2.4.2 NET: Registered protocol family 24 Using noop io scheduler bcm963xx_mtd driver v1.0 brcmboard: brcm_board_init entry XXXXXXX: wifiBtn_mapIntr Enter XXXXXX: WIFI: Button Interrupt 0xffff is not enabled Serial: BCM63XX driver $Revision: 3.00 $ ttyS0 at MMIO 0xfffe0300 (irq = 10) is a BCM63XX NET: Registered protocol family 2 IP: routing cache hash table of 512 buckets, 4Kbytes TCP: Hash tables configured (established 512 bind 1024) Initializing IPsec netlink socket NET: Registered protocol family 1 NET: Registered protocol family 17 NET: Registered protocol family 15 Ebtables v2.0 registered NET: Registered protocol family 8 NET: Registered protocol family 20 802.1Q VLAN Support v1.8 Ben Greear All bugs added by David S. Miller VFS: Mounted root (squashfs filesystem) readonly. Freeing unused kernel memory: 68k freed Algorithmics/MIPS FPU Emulator v1.5 atmapi: module license 'Proprietary' taints kernel. adsl: adsl_init entry blaadd: blaa_detect entry BCMPROCFS v1.0 initialized BCM6338A2 Ethernet Network Device v0.3 Aug 12 2009 19:24:10 Config Internal PHY Plus Switch Through GPIO2MDIO Link up, time=0(ms) BCM63xx_ENET: 100 MB Full-Duplex (auto-neg) switch type = BCM5325E. dgasp: kerSysRegisterDyingGaspHandler: eth0 registered eth0: MAC Address: 00:26:5A:55:36:D6 SDIOH mode switch from 1 to 2 available commands: sdio sdioh ---SDIO init SUCCEEDED--- blockmode capable chipid 0x4014312 chip is bcm4312, use 512 bytes blksize bcmsdh_attach, sdioh_attach successful, bcmsdh->sdioh 0x80f89c00 wl: srom not detected, using main memory mapped srom info (wombo board) eth0 Link UP. wl0: wlc_attach: use mac addr from the system pool by id: 0x776c0000 wl0: MAC Address: 00:26:5A:55:36:D7 wl0: Broadcom BCM4318 802.11 Wireless Controller 4.174.64.19.cpe1.0sd-s2 dgasp: kerSysRegisterDyingGaspHandler: wl0 registered Trying to free free IRQ25 BcmAdsl_Initialize=0xC00613D8, g_pFnNotifyCallback=0xC007A294 AnnexCParam=0x7FFF7EA8 AnnexAParam=0x00000980 adsl2=0x00000000 pSdramPHY=0xA0FFFFF8, 0x2640008 0x40122004 AdslCoreHwReset: AdslOemDataAddr = 0xA0FFB214 AnnexCParam=0x7FFF7EA8 AnnexAParam=0x00000980 adsl2=0x00000000 dgasp: kerSysRegisterDyingGaspHandler: dsl0 registered ATM proc init !!! ip_tables: (C) 2000-2002 Netfilter core team ip_conntrack version 2.1 (125 buckets, 0 max) - 376 bytes per conntrack ip_conntrack_pptp version 2.1 loaded ip_nat_pptp version 2.0 loaded ip_ct_h323: init success ip_nat_h323: init success ip_conntrack_rtsp v0.01 loading ip_nat_rtsp v0.01 loading device eth0 entered promiscuous mode br0: port 1(eth0) entering learning state br0: topology change detected, propagating br0: port 1(eth0) entering forwarding state ____________0x0______ device wl0 entered promiscuous mode br0: port 2(wl0) entering learning state br0: topology change detected, propagating br0: port 2(wl0) entering forwarding state device nas_0_0_35 entered promiscuous mode br0: port 3(nas_0_0_35) entering learning state br0: topology change detected, propagating br0: port 3(nas_0_0_35) entering forwarding state device eth0 left promiscuous mode br0: port 1(eth0) entering disabled state device wl0 left promiscuous mode br0: port 2(wl0) entering disabled state device eth0 entered promiscuous mode br0: port 1(eth0) entering learning state br0: topology change detected, propagating br0: port 1(eth0) entering forwarding state device wl0 entered promiscuous mode br0: port 2(wl0) entering learning state br0: topology change detected, propagating br0: port 2(wl0) entering forwarding state

Forum links

Tags

Back to top

toh/d-link/dsl-2640b.txt · Last modified: 2014/04/26 20:45 (external edit)