pudeev (pudeev) wrote,
pudeev
pudeev

ADSL модем D-Link DSL-2640U. Часть II. Подключаем консольный кабель.

Маркировка разъема


В шкафу нашел завалявшийся кабель CA-42 для Nokia (USB -> UART на чипе CP2102):



Обрезал штекер, зачистил три провода - белый (земля), синий (Tx), красный (Rx). Припаял к ним три штырька, все, кабель готов!


Подключил консольный кабель к модему


Установил драйвера для кабеля CA-42


Настроил COM порт


Настроил PuTTY

Включил модем и запустил терминал:



CFE version 1.0.37-6.5.17 for BCM96348 (32bit,SP,BE)
Copyright (C) 2000-2005 Broadcom Corporation.

Boot Address 0xbfc00000

Initializing Arena.
Initializing Devices.
Parallel flash device: name MX29LV320AB, id 0x22a8, size 4096KB
Unknown PHY type
CPU type 0x29107: 256MHz, Bus: 128MHz, Ref: 32MHz
Total memory: 16777216 bytes (16MB)

Total memory used by CFE:  0x80401000 - 0x805257C0 (1198016)
Initialized Data:          0x8041CE20 - 0x8041EDF0 (8144)
BSS Area:                  0x8041EDF0 - 0x804237C0 (18896)
Local Heap:                0x804237C0 - 0x805237C0 (1048576)
Stack Area:                0x805237C0 - 0x805257C0 (8192)
Text (code) segment:       0x80401000 - 0x8041CE20 (114208)
Boot area (physical):      0x00526000 - 0x00566000
Relocation Factor:         I:00000000 - D:00000000

Board IP address                  : 192.168.1.1
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)          : 3
Board Id Name                     : D-4P-W
Psi size in KB                    : 24
Number of MAC Addresses (1-32)    : 24
Base MAC Address                  : 00:19:5b:c7:58:01
Ethernet PHY Type                 : External Switch Using Reverse MII
Memory size in MB                 : 16
CMT Thread Number                 : 0
Dying Gasp Enable (0:Disable 1:Enable)  : 1

*** Press Enter to stop auto run (3 seconds) ***
Auto run second count down: 0
Code Address: 0x80010000, Entry Address: 0x801a9018
Decompression OK!
Entry at 0x801a9018
Closing network.
Starting program at 0x801a9018
Linux version  (@) ()
Parallel flash device: name MX29LV320AB, id 0x22a8, size 4096KB
Total Flash size: 4096K with 71 sectors
D-4P-W prom init
CPU revision is: 00029107
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
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 128.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: 13948k/16000k available (1420k kernel code, 2032k reserved, 211k data, 72k init, 0k highmem)
Calibrating delay loop... 255.59 BogoMIPS
Mount-cache hash table entries: 512 (order: 0, 4096 bytes)
Checking for 'wait' instruction...  unavailable.
NET: Registered protocol family 16
MPI: No Card is in the PCMCIA slot
Can't analyze prologue code at 80171a04
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
bcm963xx_serial driver v2.0
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 <greearb@candelatech.com>
All bugs added by David S. Miller <davem@redhat.com>
VFS: Mounted root (squashfs filesystem) readonly.
Freeing unused kernel memory: 72k freed
init started:  BusyBox v1.00 (2005.04.12-18:11+0000) multi-call binary
Algorithmics/MIPS FPU Emulator v1.5
mount: Mounting none on /proc/bus/usb failed: No such file or directory


BusyBox v1.00 (2005.04.12-18:11+0000) Built-in shell (msh)
Enter 'help' for a list of built-in commands.


Loading drivers and kernel modules...

atmapi: module license 'Proprietary' taints kernel.
blaadd: blaa_detect entry
adsl: adsl_init entry
Broadcom BCMPROCFS v1.0 initialized
Broadcom BCM6348B0 Ethernet Network Device v0.3
Config Ethernet Switch Through SPI Slave Select 0
dgasp: kerSysRegisterDyingGaspHandler: eth0 registered
eth0: MAC Address: 00:19:5B:C7:58:01
PCI: Setting latency timer of device 0000:00:01.0 to 64
PCI: Enabling device 0000:00:01.0 (0004 -> 0006)
wl: srom not detected, using main memory mapped srom info (wombo board)
wl0: wlc_attach: using main board MAC address base in NVRAM (wombo board)
wl0 MAC Address: 02:19:5B:C7:58:01
wl0: Broadcom BCM4318 802.11 Wireless Controller 3.131.35.0.cpe2.3
dgasp: kerSysRegisterDyingGaspHandler: wl0 registered
eth0 Link UP.
BcmAdsl_Initialize=0xC00613B8, g_pFnNotifyCallback=0xC0078AC4
pSdramPHY=0xA0FFFFF8, 0x15582E 0xDEADBEEF
AdslCoreHwReset: AdslOemDataAddr = 0xA0FFA744
dgasp: kerSysRegisterDyingGaspHandler: dsl0 registered
ip_tables: (C) 2000-2002 Netfilter core team
ip_conntrack version 2.1 (125 buckets, 0 max) - 368 bytes per conntrack
ip_conntrack_pptp version 2.1 loaded
ip_nat_pptp version 2.0 loaded
ip_conntrack_h323: init
ip_nat_h323: initialize the module!
insmod: cannot open module `/lib/modules/2.6.8.1/kernel/net/ipv4/netfilter/broadcom/ip_conntrack_ipsec.ko': No such file or directory
insmod: cannot open module `/lib/modules/2.6.8.1/kernel/net/ipv4/netfilter/broadcom/ip_nat_ipsec.ko': No such file or directory
ip_conntrack_rtsp v0.01 loading
ip_nat_rtsp v0.01 loading
ADSL G.994 training

==>   Bcm963xx Software Version: RU_DSL-2640U_3-06-04-3B00.A2pB023g2.d19b.dlinkdleDSL-2640U  <==

device eth0 entered promiscuous mode
br0: port 1(eth0) entering learning state
br0: topology change detected, propagating
br0: port 1(eth0) entering forwarding state
Setting SSID "Morskaya33"
Setting SSID "Guest"
Setting country code using abbreviation: "RU"
wlctl: Undefined error
wl0: current channel 6
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 wl0.1 entered promiscuous mode
pvc2684d: Interface "nas_0_35" created sucessfully

pvc2684d: Communicating over ATM 0.0.35, encapsulation: LLC

device nas_0_35 entered promiscuous mode
br0: port 4(nas_0_35) entering learning state
br0: topology change detected, propagating
br0: port 4(nas_0_35) entering forwarding state
device eth0 left promiscuous mode
br0: port 1(eth0) 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 left promiscuous mode
br0: port 2(wl0) entering disabled 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
device wl0.1 left promiscuous mode
br0: port 3(wl0.1) entering disabled state
device wl0.1 entered promiscuous mode
sntp: host not found
ADSL G.992 started
Done
swapn task PID 549 for PC App
ADSL G.992 channel analysis
ADSL G.992 message exchange
ADSL link up, interleaved, us=1245, ds=9999
PPP: PPP0_35_1 Start to connect ...
PPP: PPP0_35_1 Start to connect ...
PPP: PPP0_35_1 Connection Up.
Primary DNS server = 212.48.193.38
Secondary DNS server = 212.48.193.37
tr69c: start with default interface ppp_0_35_1
connected to members.dyndns.org (63.208.196.96) on port 80.
GET /nic/update?hostname=test.test.test&myip=92.101.18.93&wildcard=ON HTTP/1.0
Authorization: Basic c45kZWV2rwenNrYXlhM89=
User-Agent: bcm-daemon-0.1 [Linux]
Host: members.dyndns.org

request successful

Login:


Оглавление:
Часть I. Описание, тех. характеристики
Часть II. Подключаем консольный кабель
Часть III. Boot Loader, OS Linux 2.6.8.1 и оболочка BusyBox 1.0
Часть IV. Собрал первую тестовую прошивку
Часть V. Процесс сборки/разборки и обновления firmware
Часть VI. Подключение JTAG кабеля
Tags: adsl, bcm6348, broadcom, busybox, ca-42, console, d-link, dlink, dsl-2640u, firmware, linux, linux embedded, modem, red hat
Subscribe
  • Post a new comment

    Error

    default userpic

    Your reply will be screened

    Your IP address will be recorded 

    When you submit the form an invisible reCAPTCHA check will be performed.
    You must follow the Privacy Policy and Google Terms of use.
  • 37 comments
Previous
← Ctrl ← Alt
Next
Ctrl → Alt →
Previous
← Ctrl ← Alt
Next
Ctrl → Alt →