Differences
This shows you the differences between two versions of the page.
| Both sides previous revision Previous revision Next revision | Previous revision Next revisionBoth sides next revision | ||
| toh:comtrend:ct5365 [2016/04/29 19:45] – [USB Mod] danitool | toh:comtrend:ct5365 [2021/01/08 18:23] – [Tags] danitool | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| + | ====== Comtrend CT-5365 ====== | ||
| + | {{section> | ||
| + | |||
| + | Comtrend CT 5365 is based on a Broadcom processor (brcm63xx/ | ||
| + | |||
| + | ===== Supported Versions ===== | ||
| + | ---- datatable ---- | ||
| + | cols : Brand, Model, Versions, Supported Current Rel, OEM device homepage URL_url, Forum Topic URL_url, Device Techdata_pageid | ||
| + | headers : Brand, Model, Version, Current Release, OEM Info, Forum Topic, Technical Data | ||
| + | align : c, | ||
| + | filter | ||
| + | ---- | ||
| + | |||
| + | ===== Installation ===== | ||
| + | Downloads: | ||
| + | * Chaos Calmer 15.05.1 [[https:// | ||
| + | * LEDE Stable Release [[https:// | ||
| + | ==== Flashing ANY Firmware ==== | ||
| + | You must set your TCP/IP v4 protocol to: | ||
| + | - IP: 192.168.1.2 | ||
| + | - Netmask: 255.255.255.0 | ||
| + | - Gateway: 192.168.1.1 | ||
| + | - DNS: (optional, can be blank). | ||
| + | Then: | ||
| + | - Power off the router. | ||
| + | - Press reset button near the antenna. | ||
| + | - Keep it pressed while powering up during ~20+ seconds. | ||
| + | - Acces to http:// | ||
| + | - Wait until router reboots. | ||
| + | |||
| + | ===== Hardware ===== | ||
| + | ==== Info ==== | ||
| + | | **[[wp> | ||
| + | | **Vendor: | ||
| + | | **[[docs: | ||
| + | | **Board Id** | 96348A-122 | ||
| + | | **[[docs: | ||
| + | | **[[docs: | ||
| + | | **Flash-Chip: | ||
| + | | **Flash size** | ||
| + | | **RAM** | ||
| + | | **Wireless** | ||
| + | | **Ethernet: | ||
| + | | **USB** | ||
| + | | **Power adapter** | ||
| + | | **Antenna** | ||
| + | | **[[docs: | ||
| + | | **[[docs: | ||
| + | |||
| + | ==== BGA exposed ==== | ||
| + | |||
| + | {{: | ||
| + | ==== JTAG ==== | ||
| + | -> [[docs: | ||
| + | |||
| + | How to connect to the JTAG port of this specific device:\\ | ||
| + | **Insert photo of PCB with markings** | ||
| + | |||
| + | ==== Serial ==== | ||
| + | -> [[docs: | ||
| + | |||
| + | How to connect to the Serial Port of this specific device:\\ | ||
| + | {{media: | ||
| + | |||
| + | ==== Wifi Antennas ==== | ||
| + | {{media: | ||
| + | |||
| + | ===== GPIO ===== | ||
| + | ==== LEDs ==== | ||
| + | Read: [[docs: | ||
| + | ^ GPIO ^ Event ^ | ||
| + | | 0 | Power | | ||
| + | | 2 | Alarm | | ||
| + | | 6 | WPS | | ||
| + | |||
| + | ==== Buttons ==== | ||
| + | -> [[docs: | ||
| + | ^ GPIO ^ Event ^ | ||
| + | | 33 | Reset | | ||
| + | | 34 | Wifi | | ||
| + | | 35 | WPS | | ||
| + | |||
| + | |||
| + | ==== Other ==== | ||
| + | |||
| + | ^ GPIO ^ PCB markings ^ | ||
| + | | 1 | {{: | ||
| + | | 4 | ::: | | ||
| + | | 5 | ::: | | ||
| + | | 29 | ::: | | ||
| + | |||
| + | ===== Hardware mods ===== | ||
| + | As a beginner, you really should inform yourself about [[docs: | ||
| + | |||
| + | ==== USB Mod ==== | ||
| + | We will wire the 2nd USB port at the SoC externally to an USB socket: | ||
| + | |||
| + | {{: | ||
| + | |||
| + | Note: The USB1 PWRFLT VIA must be totally isolated from ground before soldering on that area the pullup resistor. | ||
| + | |||
| + | Now for making it work we need to patch the kernel. This is the patch for Backfire: | ||
| + | <code diff>--- a/ | ||
| + | +++ b/ | ||
| + | @@ -24,7 +24,6 @@ | ||
| + | * port 2 can be shared with USB slave, but all boards seem to | ||
| + | * have only one host port populated, so we can hardcode it | ||
| + | */ | ||
| + | - ohci-> | ||
| + | |||
| + | ret = ohci_init(ohci); | ||
| + | if (ret < 0) | ||
| + | @@ -80,7 +79,7 @@ | ||
| + | |||
| + | | ||
| + | | ||
| + | - bcm_rset_writel(RSET_OHCI_PRIV, | ||
| + | + bcm_rset_writel(RSET_OHCI_PRIV, | ||
| + | |||
| + | } else if (BCMCPU_IS_6358()) { | ||
| + | reg = bcm_rset_readl(RSET_USBH_PRIV, | ||
| + | </ | ||
| + | Build Openwrt with this patch and flash the new firmware, or just replace your ohci-hcd.ko module with the new one in the router. | ||
| + | |||
| + | The patch used for versions ≥ BB is a bit different. You need to define 2 USB ports on the board data, and touch a different file for OHCI_PRIV_REG register. FIXME | ||
| + | |||
| + | ===== Network ===== | ||
| + | ==== Interfaces ==== | ||
| + | Default network configuration: | ||
| + | ^ Interface Name ^ Description | ||
| + | | br-lan | ||
| + | | eth0 | LAN ports (1 to 4) | None | | ||
| + | | radio0 | ||
| + | |||
| + | ==== Switch ==== | ||
| + | ^ Switch Port ^ Ethernet Connector | ||
| + | | 0 | 4 | | ||
| + | | 1 | 3 | | ||
| + | | 2 | 2 | | ||
| + | | 3 | 1 | | ||
| + | | 4 | - | | ||
| + | | 5 | CPU | | ||
| + | |||
| + | ==== Example Network-VLAN Configuration (Movistar FTTH) ==== | ||
| + | Path: **/ | ||
| + | < | ||
| + | config ' | ||
| + | option ' | ||
| + | option ' | ||
| + | option ' | ||
| + | |||
| + | config ' | ||
| + | option ' | ||
| + | option ' | ||
| + | option ' | ||
| + | |||
| + | config ' | ||
| + | option ' | ||
| + | option ' | ||
| + | option ' | ||
| + | |||
| + | config ' | ||
| + | option ' | ||
| + | option ' | ||
| + | option ' | ||
| + | option ' | ||
| + | |||
| + | config ' | ||
| + | option ' | ||
| + | option ' | ||
| + | option ' | ||
| + | option ' | ||
| + | option ' | ||
| + | option ' | ||
| + | option ' | ||
| + | option ' | ||
| + | option ' | ||
| + | option ' | ||
| + | |||
| + | config ' | ||
| + | option ' | ||
| + | option ' | ||
| + | option ' | ||
| + | option ' | ||
| + | </ | ||
| + | |||
| + | ===== Bootlogs ===== | ||
| + | ==== OEM Bootlog ==== | ||
| + | <WRAP bootlog> | ||
| + | < | ||
| + | Build Date: äº 9æ 9 18:04:58 CST 2008 (tony@broadcom2.comtrend.com) | ||
| + | Copyright (C) 2000-2005 Broadcom Corporation. | ||
| + | |||
| + | Boot Address 0xbfc00000 | ||
| + | |||
| + | Initializing Arena. | ||
| + | Initializing Devices. | ||
| + | Parallel flash device: name MX29LV320AB, | ||
| + | CPU type 0x29107: 240MHz, Bus: 133MHz, Ref: 26MHz | ||
| + | Total memory: 16777216 bytes (16MB) | ||
| + | |||
| + | Total memory used by CFE: 0x80401000 - 0x80525830 (1198128) | ||
| + | Initialized Data: 0x8041CF50 - 0x8041EF50 (8192) | ||
| + | BSS Area: 0x8041EF50 - 0x80423830 (18656) | ||
| + | Local Heap: 0x80423830 - 0x80523830 (1048576) | ||
| + | Stack Area: 0x80523830 - 0x80525830 (8192) | ||
| + | Text (code) segment: | ||
| + | Boot area (physical): | ||
| + | Relocation Factor: | ||
| + | |||
| + | Board IP address | ||
| + | Host IP address | ||
| + | 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) | ||
| + | Board Id Name : 96348A-122 | ||
| + | Psi size in KB : 24 | ||
| + | Number of MAC Addresses (1-32) | ||
| + | Base MAC Address | ||
| + | Ethernet PHY Type : Internal | ||
| + | Memory size in MB : 16 | ||
| + | CMT Thread Number | ||
| + | |||
| + | *** Press any key to stop auto run (3 seconds) *** | ||
| + | Auto run second count down: 33210 | ||
| + | Code Address: 0x80010000, Entry Address: 0x801c8018 | ||
| + | Decompression OK! | ||
| + | Entry at 0x801c8018 | ||
| + | Closing network. | ||
| + | Starting program at 0x801c8018 | ||
| + | |||
| + | Linux version 2.6.8.1 (roger@broadcom2.comtrend.com) (gcc version 3.4.2) #1 Thu Jul 9 18:29:01 CST 2009 | ||
| + | Parallel flash device: name MX29LV320AB, | ||
| + | Total Flash size: 4096K with 71 sectors | ||
| + | 96348A-122 prom init | ||
| + | CPU revision is: 00029107 | ||
| + | Determined physical RAM map: | ||
| + | | ||
| + | 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 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: 13820k/ | ||
| + | Calibrating delay loop... 239.20 BogoMIPS | ||
| + | Mount-cache hash table entries: 512 (order: 0, 4096 bytes) | ||
| + | Checking for ' | ||
| + | NET: Registered protocol family 16 | ||
| + | MPI: No Card is in the PCMCIA slot | ||
| + | Can't analyze prologue code at 8018ccb4 | ||
| + | usbcore: registered new driver hub | ||
| + | Initializing Cryptographic API | ||
| + | PPP generic driver version 2.4.2 | ||
| + | NET: Registered protocol family 24 | ||
| + | Using noop io scheduler | ||
| + | bcm963xx_mtd driver v1.0 | ||
| + | ohci_hcd: 2004 Feb 02 USB 1.1 ' | ||
| + | ohci_hcd: block sizes: ed 64 td 64 | ||
| + | PCI: Enabling device 0000: | ||
| + | ohci_hcd 0000: | ||
| + | PCI: Setting latency timer of device 0000: | ||
| + | ohci_hcd 0000: | ||
| + | ohci_hcd 0000: | ||
| + | hub 1-0:1.0: USB hub found | ||
| + | hub 1-0:1.0: 2 ports detected | ||
| + | usbcore: registered new driver usblp | ||
| + | drivers/ | ||
| + | brcmboard: brcm_board_init entry | ||
| + | SES: Button GPIO 0x8006 is enabled | ||
| + | SES: Button Interrupt 0x3 is enabled | ||
| + | SES: LED GPIO 0x8006 is enabled | ||
| + | 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 < | ||
| + | All bugs added by David S. Miller < | ||
| + | VFS: Mounted root (squashfs filesystem) readonly. | ||
| + | Freeing unused kernel memory: 72k freed | ||
| + | |||
| + | init started: | ||
| + | Algorithmics/ | ||
| + | |||
| + | |||
| + | BusyBox v1.00 (2009.07.09-10: | ||
| + | Enter ' | ||
| + | |||
| + | Loading drivers and kernel modules... | ||
| + | atmapi: module license ' | ||
| + | blaadd: blaa_detect entry | ||
| + | adsl: adsl_init entry | ||
| + | Broadcom BCMPROCFS v1.0 initialized | ||
| + | Broadcom BCM6348B0 Ethernet Network Device v0.3 Jul 9 2009 18:28:13 | ||
| + | Config Ethernet Switch Through SPI Slave Select 0 | ||
| + | dgasp: kerSysRegisterDyingGaspHandler: | ||
| + | eth0: MAC Address: 64: | ||
| + | Broadcom BCM6348B0 USB Network Device v0.4 Jul 9 2009 18:28:15 | ||
| + | usb0: MAC Address: 64 68 0C 95 04 88 | ||
| + | usb0: Host MAC Address: 64 68 0C 95 04 89 | ||
| + | PCI: Setting latency timer of device 0000: | ||
| + | PCI: Enabling device 0000: | ||
| + | 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: 64: | ||
| + | wl0: Broadcom BCM4318 802.11 Wireless Controller 4.150.10.5.cpe2.0 | ||
| + | dgasp: kerSysRegisterDyingGaspHandler: | ||
| + | StartHandler | ||
| + | BcmAdsl_Initialize=0xC00734B8, | ||
| + | AnnexCParam=0x2AAF5140 AnnexAParam=0x10002984 adsl2=0x00000000 | ||
| + | pSdramPHY=0xA0FFFFF8, | ||
| + | AdslCoreSharedMemInit: | ||
| + | AdslCoreHwReset: | ||
| + | AnnexCParam=0x2AAF5140 AnnexAParam=0x10002984 adsl2=0x00000000 | ||
| + | dgasp: kerSysRegisterDyingGaspHandler: | ||
| + | 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: | ||
| + | ip_nat_h323: | ||
| + | ip_conntrack_rtsp v0.01 loading | ||
| + | ip_nat_rtsp v0.01 loading | ||
| + | |||
| + | ==> | ||
| + | device usb0 entered promiscuous mode | ||
| + | br0: port 1(usb0) entering learning state | ||
| + | br0: topology change detected, propagating | ||
| + | br0: port 1(usb0) entering forwarding state | ||
| + | device eth0 entered promiscuous mode | ||
| + | br0: port 2(eth0) entering learning state | ||
| + | br0: topology change detected, propagating | ||
| + | br0: port 2(eth0) entering forwarding state | ||
| + | wsc_del_ie: no valid ie was saved, len = -1 | ||
| + | wsc_del_ie: no valid ie was saved, len = -1 | ||
| + | killall: lld2d: no process killed | ||
| + | killall: wsccmd: no process killed | ||
| + | killall: wps_btn: no process killed | ||
| + | wlctl: Unsupported | ||
| + | Setting SSID " | ||
| + | Setting SSID " | ||
| + | Setting country code using abbreviation: | ||
| + | wl0: current channel 11 | ||
| + | device wl0 entered promiscuous mode | ||
| + | br0: port 3(wl0) entering learning state | ||
| + | br0: topology change detected, propagating | ||
| + | br0: port 3(wl0) entering forwarding state | ||
| + | device wl0.1 entered promiscuous mode | ||
| + | pvc2684d: Interface " | ||
| + | pvc2684d: Communicating over ATM 0.8.32, encapsulation: | ||
| + | device nas_8_32 entered promiscuous mode | ||
| + | br0: port 5(nas_8_32) entering learning state | ||
| + | br0: topology change detected, propagating | ||
| + | br0: port 5(nas_8_32) entering forwarding state | ||
| + | device eth0 left promiscuous mode | ||
| + | br0: port 2(eth0) entering disabled state | ||
| + | eth0.2: MAC Address: 64: | ||
| + | eth0.3: MAC Address: 64: | ||
| + | eth0.4: MAC Address: 64: | ||
| + | eth0.5: MAC Address: 64: | ||
| + | device usb0 left promiscuous mode | ||
| + | br0: port 1(usb0) entering disabled state | ||
| + | device usb0 entered promiscuous mode | ||
| + | br0: port 1(usb0) entering learning state | ||
| + | br0: topology change detected, propagating | ||
| + | br0: port 1(usb0) entering forwarding state | ||
| + | device eth0.2 entered promiscuous mode | ||
| + | br0: port 2(eth0.2) entering learning state | ||
| + | br0: topology change detected, propagating | ||
| + | br0: port 2(eth0.2) entering forwarding state | ||
| + | device eth0.3 entered promiscuous mode | ||
| + | br0: port 6(eth0.3) entering learning state | ||
| + | br0: topology change detected, propagating | ||
| + | br0: port 6(eth0.3) entering forwarding state | ||
| + | device eth0.4 entered promiscuous mode | ||
| + | br0: port 7(eth0.4) entering learning state | ||
| + | br0: topology change detected, propagating | ||
| + | br0: port 7(eth0.4) entering forwarding state | ||
| + | device eth0.5 entered promiscuous mode | ||
| + | br0: port 8(eth0.5) entering learning state | ||
| + | br0: topology change detected, propagating | ||
| + | br0: port 8(eth0.5) entering forwarding state | ||
| + | #### br_mc_fdb_add: | ||
| + | br0: port 2(eth0.2) entering disabled state | ||
| + | br0: port 6(eth0.3) entering disabled state | ||
| + | br0: port 7(eth0.4) entering disabled state | ||
| + | br0: port 8(eth0.5) entering disabled state | ||
| + | br0: port 1(usb0) entering disabled state | ||
| + | #### br_mc_fdb_add: | ||
| + | #### br_mc_fdb_add: | ||
| + | |||
| + | Login: 1234</ | ||
| + | </ | ||
| + | |||
| + | ===== Tags ===== | ||
| + | [[meta: | ||
| + | {{tag> | ||