OpenWrt Forum Archive

Topic: ADSL2+Router Comtrend CT-5367

The content of this topic has been archived on 22 Apr 2018. There are no obvious gaps in this topic, but there may still be some posts missing at the end.

hi all....... and sorry for my bad english
google translator
I dont know where to ask. Hope to help me. I got this router and want to have it working normal not via ADSL through LAN1 for example .I hope that OpenWRT can do that but I do not know whether it is compatible. I have a photo of him and his chips(chips are:Broadcom BCM5325EKQMG; BCM6338KFBG). Or if there is another way please tell.
thanks in advance.

(Last edited by komara on 11 Aug 2010, 15:14)

Hello there.
I have D-Link router with same chips, and I think your router can work with OpenWrt but with some limitations:
1. No ADSL.
2. No Wi-Fi at this moment (if present in your router).
If this is ok with you, then OpenWrt can be built for your hardware pretty easily. You need to solder serial cable, get name of your board, make patch for OpenWrt and it will work. Also place photos and description of your device in OpenWrt wiki - this will help community and you.
For reference you can look there - http://wiki.openwrt.org/toh/d-link/dsl-2640u-bru-c
Boot logs kinda obsolete - router works ok now, but no ADSL and Wi-Fi.

(Last edited by takuto on 17 Aug 2010, 07:07)

Hello

I tried to flash the D-Link firmware on the Comtrend CT5367. It did not work. After a lot of flashing of wrong firmwares, I lost the bootloader as well. I'ts a 4port switch now smile (bricked)

The board-id is
96338A-122 (Bulgarian Vivacom)
and in other parts of the world also exist
96338A-222, I don't know what the difference is.

I used the tftp flash command from the telnet command prompt of the Modem:
>tftp -g [ip of tftp server] -t i -f [wrong firmware binary lol]

It seems the software that was running on this small machine checked only if the firmware binary passes some broadcom identification (as seen from messages on the screen).

I think I lost the bootloader after I fed it an OpenWRT binary from the download site smile I bet it was a totally wrong one for this board tongue

Here is a picture of the board
http://www.picvalley.net/u/1648/185039245516414232101262499922uqX9askwkInroRpRaxEF_m.JPG

If anyone has any ideas what to try or what I should have done, please post smile Thank you. (like how to connect with RS-232, how to re-program bootloader and so on, you could also post links to how-tos)

(Last edited by NetworkPro on 9 Nov 2011, 07:25)

NetworkPro
About the bootloader -> PM me.
With the original bootloader OpenWrt doesn't start.I ,ll give you also d-link boot loader and jtag configuration so you will be able
to flash openwrt.WIFI will not work - it is gpio based.
So if you need wholeflash can give you too but it is bulgarian firmware.

Is it possible to hijack some binary from the Comtrend firmware to use for Wireless ?

Trying 192.168.1.1...
Connected to 192.168.1.1.
Escape character is '^]'.
ADSL Router Model CT-5367 Sw.Ver. C01_R12
Login: root
Password: 
> help

?
help
logout
reboot
adsl
atm
ddns
dumpcfg
ping
siproxd
sntp
sysinfo
tftp
wlan
version
build
ipfilter

> sh
sh: not found
> version ;sh
A111-312BTC-C01_R12
> sysinfo ;sh
Number of processes: 23
  3:36pm  up  1:04, 
load average: 1 min:0.01, 5 min:0.00, 15 min:0.00
              total         used         free       shared      buffers
  Mem:        14012        13272          740            0         1380
 Swap:            0            0            0
Total:        14012        13272          740


BusyBox v1.00 (2009.12.08-09:42+0000) Built-in shell (msh)
Enter 'help' for a list of built-in commands.

# dmesg
Linux version 2.6.8.1 (wander@localhost.localdomain) (gcc version 3.4.2) #1 Tue Dec 8 17:40:39 CST 2009
Parallel flash device: name MX29LV320AB, id 0x22a8, size 4096KB
96338A-122 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: 13924k/16000k available (1438k kernel code, 2056k reserved, 210k data, 68k init, 0k highmem)
KLOB Pool 1 Initialized: 1048576 bytes <0x80e00000 ... 0x80f00000>
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 71 sectors
File system address: 0xbfc10100
Can't analyze prologue code at 80176164
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
SES: Button Interrupt 0x0 is enabled
SES: LED GPIO 0x8005 is enabled
Invalid External Interrupt definition 
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 <greearb@candelatech.com>
All bugs added by David S. Miller <davem@redhat.com>
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
Broadcom BCMPROCFS v1.0 initialized
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 0x80e58b40
wl: srom not detected, using main memory mapped srom info (wombo board)
wl0: wlc_attach: use mac addr from the system pool by id: 0x776c0000
wl0: MAC Address: 00:1D:20:EF:AC:49
wl0: Broadcom BCM4318 802.11 Wireless Controller 4.170.16.0.cpe2.1sd
dgasp: kerSysRegisterDyingGaspHandler: wl0 registered 
Trying to free free IRQ25
Broadcom BCM6338A2 Ethernet Network Device v0.3 Dec  8 2009 17:39:59
Config Ethernet Switch Through MDIO Pseudo PHY Interface
ethsw: found bcm5325e!
dgasp: kerSysRegisterDyingGaspHandler: eth0 registered 
eth0: MAC Address: 00:1D:20:EF:AB:4A
eth0 Link UP.
BcmAdsl_Initialize=0xC00663D8, g_pFnNotifyCallback=0xC0080FD4
AnnexCParam=0x7FFF7EB8 AnnexAParam=0x00003987 adsl2=0x00000003
pSdramPHY=0xA0FFFFF8, 0x1B78B7 0xDEADBEEF
AdslCoreHwReset:  AdslOemDataAddr = 0xA0FFBB64
AnnexCParam=0x7FFF7EB8 AnnexAParam=0x00003987 adsl2=0x00000003
dgasp: kerSysRegisterDyingGaspHandler: dsl0 registered 
ATM proc init !!!
device eth0 entered promiscuous mode
br0: port 1(eth0) entering learning state
br0: topology change detected, propagating
br0: port 1(eth0) entering forwarding state
ADSL G.994 training
device nas_0_0_35 entered promiscuous mode
br0: port 2(nas_0_0_35) entering learning state
br0: topology change detected, propagating
br0: port 2(nas_0_0_35) entering forwarding state
device eth0 left promiscuous mode
br0: port 1(eth0) entering disabled state
device nas_0_0_35 left promiscuous mode
br0: port 2(nas_0_0_35) 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 nas_0_0_35 entered promiscuous mode
br0: port 2(nas_0_0_35) entering learning state
br0: topology change detected, propagating
br0: port 2(nas_0_0_35) entering forwarding state
ADSL G.992 started
ADSL G.992 channel analysis
ADSL link up, interleaved, us=1984, ds=16511
ATM Soft SAR: ATM link connected.
OAM loopback response not received on PORT/VPI/VCI 0/0/35.
OAM loopback response not received on PORT/VPI/VCI 0/0/35.
OAM loopback response not received on PORT/VPI/VCI 0/0/35.
OAM loopback response not received on PORT/VPI/VCI 0/0/35.
#

Is there any safe remote way to switch to D-Link (or other) firmware and still use it as ADSL Router (in Bridge mode) ?

(Last edited by NetworkPro on 22 Oct 2011, 13:46)

CT-5367 could be the same as Broadtech 8186 IF the Board-ID is the same !

If someone can share a Turbonett firmware or firmware from another ISP for 96338A-122 that would be cool.

Looks like Wi-Fi would work with these broadcom drivers:
kmod-brcmfmac
kmod-brcmsmac

What is the easiest and fastest way to flash a D-Link CFE ?

Thanks.

swert wrote:

NetworkPro
About the bootloader -> PM me.
With the original bootloader OpenWrt doesn't start.I ,ll give you also d-link boot loader and jtag configuration so you will be able
to flash openwrt.WIFI will not work - it is gpio based.
So if you need wholeflash can give you too but it is bulgarian firmware.

Hi,
This forum doesn't support PMs, or I can't find it.
Can you provide me with jtag pinouts?
Thanks in advance,
Atanas

The discussion might have continued from here.