Thomson TG789vn
Not supported
Supported Versions
Version/Model | Launch Date | S/N | OpenWrt Version Supported | Model Specific Notes |
---|---|---|---|---|
v1 | - | - | - | - |
v2 | - | - | - | - |
NOTE: Anything not included in model specific notes, or where a short comment couldn't be included on the notes.
OEM source code available at: (add URL)
Hardware Highlights
SoC | Ram | Flash | Network | USB | Serial | JTag |
---|---|---|---|---|---|---|
BCM6368 | 128 MB | 64 MB | 4 + 1 | Yes | Yes | Yes |
Manufacturer's site: https://www.broadcom.com/products/broadband/xdsl/bcm6368
Keep the articles modular
Please include only model specific information, omit bla,bla and put everything generic into separate articles |
docs if you have no time to write certain stuff link to this |
checks_and_troubleshooting should lead the way, do not explain this again |
DO NOT provide a complete howto here! Instead groom the general HowTos. |
Installation
- → »»»»here»»»»Latest OpenWrt release««««here«««« DO NOT PROVIDE OWN LINKS to http://downloads.openwrt.org/
Flash Layout
Please check out the article flash.layout. It contains an example and a couple of explanations.
OEM easy installation
The instructions below are for Broadcom devices and only serve as an example. Don't leave them in place if they do not apply to a particular device! |
This section deals with how you install OpenWrt from a device freshly opened. Plus the steps required such as reset to factory defaults if the device has already been configured
Note: Reset router to factory defaults if it has been previously configured.
- Browse to http://192.168.1.1/Upgrade.asp
- Upload .bin file to router
- Wait for it to reboot
- Telnet to 192.168.1.1 and set a root password, or browse to http://192.168.1.1 if LuCI is installed.
OEM installation using the TFTP method
Specific values you need
Bootloader tftp server IPv4 address | FILL-IN |
Bootloader MAC address (special) | FILL-IN |
Firmware tftp image | Latest OpenWrt release (NOTE: Name must contain “tftp”) |
TFTP Transfer Window | FILL-IN seconds |
TFTP Window Start | approximately FILL-IN seconds after power on |
TFTP Client Required IP Address | FILL-IN |
Upgrading OpenWrt
If you have already installed OpenWrt and like to reflash for e.g. upgrading to a new OpenWrt version you can upgrade using the mtd command line tool. It is important that you put the firmware image into the ramdisk (/tmp) before you start flashing.
LuCI Web Upgrade Process
- Browse to http://192.168.1.1/cgi-bin/luci/mini/system/upgrade/ LuCI Upgrade URL
- Upload image file for sysupgrade to LuCI
- Wait for reboot
Terminal Upgrade Process
- Login as root via SSH on 192.168.1.1
- Use the following commands to upgrade.
cd /tmp/ wget http://http://downloads.openwrt.org/snapshots/trunk/XXX/xxx.abc sysupgrade /tmp/xxx.abc
- If sysupgrade does not support this router, use the following commands.
cd /tmp/ wget http://http://downloads.openwrt.org/snapshots/trunk/XXX/xxx.abc mtd write /tmp/xxx.abc linux && reboot
Basic configuration
→ Basic configuration After flashing, proceed with this.
Set up your Internet connection, configure wireless, configure USB port, etc.
Specific Configuration
Interfaces
The default network configuration is:
Interface Name | Description | Default configuration |
---|---|---|
br-lan | LAN & WiFi | 192.168.1.1/24 |
vlan0 (eth0.0) | LAN ports (1 to 4) | None |
vlan1 (eth0.1) | WAN port | DHCP |
wl0 | WiFi | Disabled |
Switch Ports (for VLANs)
Numbers 0-3 are Ports 1-4 as labeled on the unit, number 4 is the Internet (WAN) on the unit, 5 is the internal connection to the router itself. Don't be fooled: Port 1 on the unit is number 3 when configuring VLANs. vlan0 = eth0.0, vlan1 = eth0.1 and so on.
Port | Switch port |
---|---|
Internet (WAN) | 4 |
LAN 1 | 3 |
LAN 2 | 2 |
LAN 3 | 1 |
LAN 4 | 0 |
Failsafe mode
Buttons
→ hardware.button on howto use and configure the hardware button(s).
The Linksys WRT54GL has two buttons. They are Reset and Secure Easy Setup. Here, we merely name the buttons, so we can use them in the above Howto:
BUTTON | Event |
---|---|
Reset | reset |
Secure Easy Setup | ses |
Hardware
Info
Instruction set | MIPS |
---|---|
Vendor | Broadcom |
bootloader | CUSTOM thomson |
System-On-Chip | BCM6368 |
CPU @Frq | BMIPS4350@400MHz |
Flash size | 65536 KiB |
Flash Chip | S29GL512P |
RAM size | 128 MiB |
RAM Chip | |
Wireless No1 | BCM43222 2×2 MIMO for 2.4GHz 802.11b/g/n |
switch | 4×10/100 + 1×10/100/1000 |
Modem | xDSL |
USB | Yes, 2 x 2.0 |
Serial | Yes |
JTAG | Yes |
Photos
Model Number
Front:
Photo of front of the casing
Back:
Photo of back of the casing
Opening the case
Serial
→ port.serial general information about the serial port, serial port cable, etc.
How to connect to the Serial Port of this specific device:
Photo of PCB with markings
JTAG
→ port.jtag general information about the JTAG port, JTAG cable, etc.
How to connect to the JTAG Port of this specific device:
Photo of PCB with markings
It matches a standard 14 pin header
Debricking
Bootlogs
OEM bootlog
DDR2 test... OK VCDL test... OK UBUS setup... OK Decompressing Bootloader............................... Thomson Gateway initialization sequence started. Version BL: 1.0.9Booting bank 1 Multicore enable; Booting Linux kernel pfuncjmp = A0001840 Thomson Gateway initialization sequence started. JTAG select tp0 BOOTING THE THOMSON LINUX KERNEL Starting the kernel @ 0x80201000 Extra parameters passed to Linux: [0]: Thomson bootloader [1]: memsize=0x7EDD000 [2]: btab=0xb8041e80 [3]: btab_bootid=1 Linux version 2.6.21.5 (gcc version 3.4.6) #1 Fri Oct 15 16:16:40 CST 2010 BCM63XX prom init CPU revision is: 0002a031 physical memory available : 129908 Kb memory reserved for GOMP core : 24576 Kb Determined physical RAM map: memory: 066db000 @ 00002000 (usable) Wasting 64 bytes for tracking 2 unused pages On node 0 totalpages: 26333 DMA zone: 32 pages used for memmap DMA zone: 0 pages reserved DMA zone: 4064 pages, LIFO batch:0 Normal zone: 173 pages used for memmap Normal zone: 22064 pages, LIFO batch:3 Built 1 zonelists. Total pages: 26128 Kernel command line: root=31:0 ro noinitrd memsize=0x7EDD000 btab=0xb8041e80 btab_bootid=1 root=/dev/mtdblock0 rootfstype=squashfs brcm mips: enabling icache and dcache... Primary instruction cache 64kB, physically tagged, 4-way, linesize 16 bytes. Primary data cache 32kB, 2-way, linesize 16 bytes. Synthesized TLB refill handler (21 instructions). Synthesized TLB load handler fastpath (33 instructions). Synthesized TLB store handler fastpath (33 instructions). Synthesized TLB modify handler fastpath (32 instructions). PID hash table entries: 512 (order: 9, 2048 bytes) Using 200.000 MHz high precision timer. Dentry cache hash table entries: 16384 (order: 4, 65536 bytes) Inode-cache hash table entries: 8192 (order: 3, 32768 bytes) Allocated NMON module memory - CORE=0x810e8d80 SIZE=2097152, INIT=0x0 SIZE=0 Memory: 100052k/105324k available (1691k kernel code, 5212k reserved, 292k data, 84k init, 0k highmem) Calibrating delay loop... 397.31 BogoMIPS (lpj=198656) Mount-cache hash table entries: 512 NET: Registered protocol family 16 Total Flash size: 0K with -1 sectors Failed to read image tag from flash registering PCI controller with io_map_base unset usbcore: registered new interface driver usbfs usbcore: registered new interface driver hub usbcore: registered new device driver usb Bluetooth: Core ver 2.11 NET: Registered protocol family 31 Bluetooth: HCI device and connection manager initialized Bluetooth: HCI socket layer initialized Time: MIPS clocksource has been installed. NET: Registered protocol family 2 IP route cache hash table entries: 1024 (order: 0, 4096 bytes) TCP established hash table entries: 4096 (order: 3, 32768 bytes) TCP bind hash table entries: 4096 (order: 2, 16384 bytes) TCP: Hash tables configured (established 4096 bind 4096) TCP reno registered squashfs: version 3.3 (2007/10/31) Phillip Lougher squashfs: LZMA suppport for slax.org by jro JFFS2 version 2.2. (NAND) (C) 2001-2006 Red Hat, Inc. io scheduler noop registered (default) Broadcom 6368 RNG detected Thomson Gateway flash mapping flash: Found 1 x16 devices at 0x0 in 16-bit bank Amd/Fujitsu Extended Query Table at 0x0040 flash: CFI does not contain boot bank location. Assuming top. number of CFI chips: 1 cfi_cmdset_0002: Disabling erase-suspend-program due to code brokenness. flash mapping initialized parse_btab: num_banks (5) bank #0: 80000, 1780000 (userfs) bank #1: 1800000, 1400000 (bank_1) bank #2: 2c00000, 1400000 (bank_2) bank #3: 20000, 20000 (mtdss) bank #4: 40000, 40000 (rawstorage) Creating 1 MTD partitions on "flash": 0x01a00000-0x02c00000 : "rootfs" Creating 5 MTD partitions on "flash": 0x00080000-0x01800000 : "userfs" 0x01800000-0x02c00000 : "bank_1" 0x02c00000-0x04000000 : "bank_2" 0x00020000-0x00040000 : "mtdss" 0x00040000-0x00080000 : "rawstorage" Bluetooth: HCI UART driver ver 2.2 Bluetooth: HCI H4 protocol initialized Bluetooth: HCI BCSP protocol initialized brcmboard: brcm_board_init entry ERROR - Invalid number of MAC addresses (1073741824) is configured. Serial: BCM63XX driver $Revision: 3.00 $ ttyS0 at MMIO 0xb0000100 (irq = 10) is a BCM63XX ttyS1 at MMIO 0xb0000100 (irq = 10) is a BCM63XX ttyS2 at MMIO 0xb0000120 (irq = 11) is a BCM63XX TCP cubic registered NET: Registered protocol family 1 NET: Registered protocol family 17 NET: Registered protocol family 15 VFS: Mounted root (squashfs filesystem) readonly. Freeing unused kernel memory: 84k freed init started: BAlgorithmics/MIPS FPU Emulator v1.5 nmon module: wasting memory! core_size=1210704 reserved=2097152 nmon: module license 'unspecified' taints kernel. Thomson geniodb driver: Loading ... Thomson geniodb driver: Loading finished with SUCCESS usyBox v1.00 (2010.10.15-08:18+00 ### Get board version form RIP: 2 ### 00) multi-call bButton: Character device registered successfully. inary init started: BusyBox v1.00 (2010.10.15[BCM ADSL] BcmAdsl_SetOverlayMode = 85 new=0 -08:18+0000) multi-call binary Starting pid 71Loading GOMP firmware : /nmon/firmware/gomp.firm , console /dev/ttyS0: '/etc/init.d/rcS' Using /nmon/nmon.ko loading geniodb kernel modules... Using /lib/modules/geniodb.ko loaded 3186 Kb @ 0x8696A5E4 Kicking off Forward Core at entry point 0x8696A5E4... Wait for completion.... Thomson Gateway GOMP -- CORE ID 1 initialization sequence started. [BCM ADSL] ------ dslFileLoadImage : OverlayMode = 0 fname=ZYNCAA [BCM ADSL] Firmware load : 834356 834356 LMEM=(0xB0F80000, 27896) SDRAM=(0xA7F00000, 806452) b6w_init Calibrating delay loop... 398.95 BogoMIPS mpi: Detected 3.3 & x.x 16-bit PCMCIA card mpi: device 0xa8d6 found in PCI slot 1, function 0 (base 0x09000000) tmm_osl_init: forwarding_core = 0 wl: srom not detected, using main memory mapped srom info (wombo board) Linux Driver Relay v0.1 Oct 15 2010 17:57:46 loaded Forwarding Adaptation Layer v0.1 Oct 15 2010 17:57:48 NET: Registered protocol family 3 NET: Registered protocol family 9 NET: Registered protocol family 6 NET: Registered protocol family 4 NET: Registered protocol family 5 NET: Registered protocol family 18 NET: Registered protocol family 25 Using /lib/modules/endpointdd.ko Endpoint: endpoint_init entry Endpoint: endpoint_init COMPLETED Using /lib/modules/2.6.21.5/extra/pwrmngtd.ko modprobe: module l2cap not found. modprobe: failed to load module l2cap Using /lib/modules/2.6.21.5/extra/rawstorage.ko Device ipsec not present. Device ikanos not present. Starting pid 249, console /dev/ttyS0: '/etc/init.d/rc' Switching to RUNLEVEL 1 ... route: SIOC[ADD|DEL]RT: File exists linux application start ... wait for linux_appl to initialize (1) wait for linux_appl to initialize (2) ************* ERROR RECORD ************* 000000:00:00.000000 Application NMON started after POWERON. ****************** END ***************** appl_init: BUILD VERIFIED! wait for linux_appl to initialize (3) dip_init() : button[FACTORY_RESET] has number[1] End of initialisation start storagepl ... storagepl is started start vfspl ... vfspl is started Using /lib/modules/2.6.21.5/kernel/drivers/usb/host/ohci-hcd.ko ohci_hcd: 2006 August 04 USB 1.1 'Open' Host Controller (OHCI) Driver PCI: Enabling device 0000:00:09.0 (0000 -> 0002) PCI: Setting latency timer of device 0000:00:09.0 to 64 ohci_hcd 0000:00:09.0: OHCI Host Controller ohci_hcd 0000:00:09.0: new USB bus registered, assigned bus number 1 ohci_hcd 0000:00:09.0: irq 13, io mem 0x10001600 usb usb1: configuration #1 chosen from 1 choice hub 1-0:1.0: USB hub found hub 1-0:1.0: 2 ports detected Using /lib/modules/2.6.21.5/kernel/drivers/usb/host/ehci-hcd.ko PCI: Enabling device 0000:00:0a.0 (0000 -> 0002) PCI: Setting latency timer of device 0000:00:0a.0 to 64 ehci_hcd 0000:00:0a.0: EHCI Host Controller ehci_hcd 0000:00:0a.0: new USB bus registered, assigned bus number 2 ehci_hcd 0000:00:0a.0: irq 15, io mem 0x10001500 ehci_hcd 0000:00:0a.0: USB f.f started, EHCI 1.00, driver 10 Dec 2004 usb usb2: configuration #1 chosen from 1 choice hub 2-0:1.0: USB hub found hub 2-0:1.0: 2 ports detected Using /lib/modules/2.6.21.5/kernel/drivers/usb/class/usblp.ko usbcore: registered new interface driver usblp drivers/usb/class/usblp.c: v0.13: USB Printer Device Class driver Using /lib/modules/2.6.21.5/kernel/drivers/usb/serial/usbserial.ko usbcore: registered new interface driver usbserial drivers/usb/serial/usb-serial.c: USB Serial support registered for generic usbcore: registered new interface driver usbserial_generic drivers/usb/serial/usb-serial.c: USB Serial Driver core Using /lib/modules/2.6.21.5/kernel/drivers/usb/serial/cp2101.ko drivers/usb/serial/usb-serial.c: USB Serial support registered for cp2101 usbcore: registered new interface driver cp2101 drivers/usb/serial/cp2101.c: Silicon Labs CP2101/CP2102 RS232 serial adaptor driver v0.07 Using /lib/modules/2.6.21.5/kernel/drivers/scsi/scsi_mod.ko SCSI subsystem initialized Using /lib/modules/2.6.21.5/kernel/drivers/scsi/sd_mod.ko Using /lib/modules/2.6.21.5/kernel/drivers/usb/storage/usb-storage.ko Initializing USB Mass Storage driver... usbcore: registered new interface driver usb-storage USB Mass Storage support registered. Using /lib/modules/2.6.21.5/kernel/fs/fat/fat.ko Using /lib/modules/2.6.21.5/kernel/fs/vfat/vfat.ko modprobe: module msdos not found. modprobe: failed to load module msdos Using /lib/modules/2.6.21.5/kernel/fs/nls/nls_cp437.ko Using /lib/modules/2.6.21.5/kernel/fs/nls/nls_iso8859-1.ko Using /lib/modules/2.6.21.5/kernel/fs/nls/nls_cp850.ko mount all usbdisks not implemented ! Name: /etc/usbmgr/usbmgr.conf Load_from_file: /etc/usbmgr/preload.conf cifs plug-in: initializing ... cifs plug-in is started start upnpavpl ... upnpavpl is started. start longops ... longops is started. /usr/bin/fusermount Loading fuse modulefuse init (API version 7.8) . Mounting fuse control filesystem. start cpfs ... cpfs is started. linuxappl: start loading after [ 5622ms ] WARNING: Unknown Parameter Type ifmfilter WARNING: Unknown Parameter Type ifmfilter S67stopload: wait until configuration load reaches phase 9... S67stopload: wait until configuration load reaches phase 9 (now -1, 1s) S67stopload: wait until configuration load reaches phase 9 (now -1, 2s) S67stopload: wait until configuration load reaches phase 9 (now -1, 3s) S67stopload: wait until configuration load reaches phase 9 (now -1, 4s) S67stopload: wait until configuration load reaches phase 9 (now -1, 5s) S67stopload: wait until configuration load reaches phase 9 (now -1, 6s) S67stopload: wait until configuration load reaches phase 9 (now -1, 7s) kernel::endpoint_open kernel::endpoint_open COMPLETED ioctl_copy_to_user() illegal kernel ptr = 0x00000000 WARNING: Unknown Parameter Type brgroup WARNING: Unknown Parameter Type brgroup adsl: adsl_open entry ADSL Line state is: DOWN [adsl] trace = 5 0 S67stopload: wait until configuration load reaches phase 9 (now -1, 8s) S67stopload: wait until configuration load reaches phase 9 (now -1, 9s) The OBC bridge interface cannot be removed from this VLAN, because OBC is defined as untagged. S67stopload: wait until configuration load reaches phase 9 (now -1, 10s) S67stopload: wait until configuration load reaches phase 9 (now 3, 11s) S67stopload: wait until configuration load reaches phase 9 (now 3, 12s) S67stopload: wait until configuration load reaches phase 9 (now 3, 13s) S67stopload: wait until configuration load reaches phase 9 (now 3, 14s) S67stopload: wait until configuration load reaches phase 9 (now 3, 15s) S67stopload: wait until configuration load reaches phase 9 (now 3, 16s) Failed to delete Efm Qos Failed to delete EFM QOS Interface. DyingGasp RIP BIT is set! ADSL configuration: adslmultimode = adsl2plus vdslmultimode = vdsl2 syslog = disabled S67stopload: wait until configuration load reaches phase 9 (now 3, 17s) S67stopload: wait until configuration load reaches phase 9 (now 3, 18s) S67stopload: wait until configuration load reaches phase 9 (now 3, 19s) The OBC bridge interface cannot be removed from this VLAN, because OBC is defined as untagged. S67stopload: wait until configuration load reaches phase 9 (now 3, 20s) parameter physintf has wrong setting. Bad value for parameter 'physintf flashing' Failed to set invalid IP interface Failed to add host 00:26:44:6f:61:b1 Failed to set invalid IP interface S67stopload: wait until configuration load reaches phase 9 (now 3, 21s) stopping the pureftp-server ... the pureftp-server is stopped stopping the pure-authd ... the pure-authd is stopped Service code already in use for another service mbus error: (set object) error for parameter 'Voice.Services.Service.bargein.ActivationCode': Invalid parameter value (Invalid parameter value) mbus error: parameter(s) set failed (no error) Service code already in use for another service mbus error: (set object) error for parameter 'Voice.Services.Service.internalcall.ActivationCode': Invalid parameter value (Invalid parameter value) mbus error: parameter(s) set failed (no error) Service code already in use for another service mbus error: (set object) error for parameter 'Voice.Services.Service.mce.ActivationCode': Invalid parameter value (Invalid parameter value) mbus error: parameter(s) set failed (no error) Service code already in use for another service mbus error: (set object) error for parameter 'Voice.Services.Service.vmnr.ActivationCode': Invalid parameter value (Invalid parameter value) mbus error: parameter(s) set failed (no error) gInterruptCounter = 0xC0463D90 gInterruptErrors = 0xC0463D94 gNextRxDesc = 0xC0463D84 gNextTxDesc = 0xC0463D80 64 ms ECAN tail-length 208 ms BD *** gStartRxDesc[0] = 0xA0201000 *** gBufferSizeBytes = 1280 *** gStartTxDesc[0] = 0xA022F000 hal6368PcmInit 314 nextTxDesc = 0xA022F000 hal6368PcmInit 314 nextTxDesc = 0xA022F008 hal6368PcmInit 318 Ownership for TX desc not set. Use this buffer. S67stopload: wait until configuration load reaches phase 9 (now 3, 22s) S67stopload: wait until configuration load reaches phase 9 (now 6, 23s) S67stopload: wait until configuration load reaches phase 9 (now 6, 24s) DSP: Interrupt Masks --------------- IrqMask_high = 0x000000FF IrqMask = 0x00006010 IrqMask1_high = 0x40000000 IrqMask1 = 0x000000A5 PCM_IUDMA->ctrl[0].intMask = 0x00000005 PCM_IUDMA->ctrl[1].intMask = 0x00000005 DSP: Interrupt Status ----------------- IrqStatus_high = 0x00000000 IrqStatus = 0x00000040 IrqStatus1_high = 0x80000000 IrqStatus1 = 0x00000040 PCM_IUDMA->ctrl[0].intStat = 0x00000000 PCM_IUDMA->ctrl[1].intStat = 0x00000000 dgasp: kerSysRegisterDyingGaspHandler: endpoint registered S67stopload: wait until configuration load reaches phase 9 (now 6, 25s) S67stopload: wait until configuration load reaches phase 9 (now 6, 26s) S67stopload: wait until configuration load reaches phase 9 (now 6, 27s) S67stopload: wait until configuration load reaches phase 9 (now 6, 28s) S67stopload: configuration load reached phase 9... Load_from_file: /etc/usbmgr/class/09/module Start to load end of loop really the end 5 (len 4) Module_load name: ˆ nlplugd start ... Initializing. Starting netlink plugin Daemonize netlink plugin Load_from_file: /etc/usbmgr/class/09/script Start to load end of loop really the end 11 (len 10) Path: /etc/usbmgr/usbledctrl Cmd2 : usbledctrl envp2 addr 0x7f87fef8 udhcpcd start ... Load_from_file: /etc/usbmgr/class/09/module Start to load end of loop really the end 5 (len 4) Module_load name: ˆ monitoripd start ... Load_from_file: /etc/usbmgr/class/09/script Start to load end of loop really the end 11 (len 10) Path: /etc/usbmgr/usbledctrl Cmd2 : usbledctrl envp2 addr 0x7f87fef8 anti_spoofd start ... anti_spoofd : process exit ! Starting OSGi framework... Starting dlistaccess ... dlistaccess: running Starting power manager... Username :
OpenWrt bootlog
PUT HERE YOUR BOOTLOG