Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
Next revisionBoth sides next revision
toh:thomson:tg582n [2018/03/31 23:22] – ↷ Links adapted because of a move operation bobafetthotmailtoh:thomson:tg582n [2023/03/20 23:21] – [Basic Information] AGTWI is not the device name, it is firmware release codename lukepicci
Line 1: Line 1:
 ====== Technicolor TG582n ====== ====== Technicolor TG582n ======
 +
 +{{section>meta:infobox:broadcom_wifi#infobox_for_dataentries&noheader&nofooter&noeditbutton}}
 +
 +{{section>meta:infobox:broadcom_dsl#infobox_for_dataentries&noheader&nofooter&noeditbutton}}
 +===== Supported Versions =====
 +---- datatable ----
 +cols    : Brand, Model, Versions, Supported Current Rel, OEM device homepage URL_url, OWrt Forum Topic URL_url, Device Techdata_pageid
 +headers : Brand, Model, Version, Current Release, OEM Info, Forum Topic, Technical Data
 +align   : c,c,c,c,c,c,c
 +filter  : Model=TG582n
 +----
 +
 +---- datatable ----
 +cols    : Unsupported Functions_unsupporteds
 +filter  : Model=TG582n
 +----
 +
 +As with all devices using the ''b43'' driver for WiFi, this model **[[https://wireless.wiki.kernel.org/en/users/drivers/b43#known_problems_limitations|won't support HT/5GHz "n" modes]] unless/until the ''b43'' driver does**.
 +
 +Manufacturer's Data Sheet: [[https://github.com/hack-technicolor/hack-technicolor/blob/master/datasheets/technicolor-tg582n-datasheet.pdf|Technicolor MediaAccess TG582n]]\\
 +Forum Thread: [[https://forum.openwrt.org/viewtopic.php?pid=214844]|Technicolor TG582n (BCM63281) and OpenWrt]]\\
 +
 +Maybe one of the DANT-* boards in this page is actually a different model like TG582n PRO instead. In case, you can find more datasheets at [[https://github.com/hack-technicolor/hack-technicolor/tree/master/datasheets|github.com/hack-technicolor]]\\
 +===== Hardware Highlights =====
 +---- datatable ----
 +cols    : Model, Versions, CPU, CPU MHz, Flash MB_mbflashs, RAM MB_mbram, WLAN Hardware, WLAN 2.4GHz, WLAN 5.0GHz, Ethernet 100M ports_, Ethernet Gbit ports_, Modem, USB ports_
 +header  : Model, Version,SoC,CPU MHz,Flash MB,RAM MB,WLAN Hardware,WLAN2.4,WLAN5.0,100M ports,Gbit ports,Modem,USB
 +align   : c,c,c,c,c,c,c,c,c,c,c,c,c
 +filter  : Model=TG582n
 +----
 +
 ===== Basic Information ===== ===== Basic Information =====
  
-The Technicolor Gateway TG582n (also referred to as the 582n or "BE Box v2") is manufactured by Technicolor (formerly Thomson, a spin-off of Alcatel) who describes it as a "Wireless n Multi-User ADSL2+ Gateway".+The Technicolor MediaAccess TG582n Gateway (also referred to as different ISP-specific names, like the "BE Box v2" or "Modem Telecom Wi-Fi") is a product by Technicolor (formerly Thomson, a spin-off of Alcatel) and is marketed as a "Wireless n Multi-User ADSL2+ Gateway".
  
-Branding of this router (custom TR069 provisioning, web interface, packaging...) is generally commissioned to Technicolor/Thomson by many ISPs, such as Telecom Italia, BT/PlusNet, TalkTalk, Spark and many more.+Branding of this router (product names, custom TR-069 and default WAN settings, web interface, packaging...) is generally commissioned to Technicolor by many ISPs from different countries, such as Telecom Italia (IT), BT/PlusNet (UK), TalkTalk, Spark and many more
 + 
 +This device is supported by OpenWrt since Chaos Calmer 15.05 official release. Supported features include Ethernet, USB, and Wi-Fi partially. As usual with Broadcom devices, the integrated DSL modem is not supported, and Wi-Fi functionality is limited to 802.11b/g only modes. If you need the DSL modem or the Wi-Fi 802.1n to be functional, please, don't flash this box with OpenWrt
  
-This router is fully compatible with OpenWrt Chaos Calmer 15.05 official release. Everything is supported (Ethernet, USB, wifi) with the exception of ADSL modem. If you need the ADSL modem part don't upgrade this box to OpenWrt.  
 ==== Board Versions & Hardware Differences ==== ==== Board Versions & Hardware Differences ====
  
-The TG582n comes in at least three distinct hardware variants distinguished by their board name (DANT-1, DANT-T, DANT-V). The only difference seems to be flash chip, which is either 8 MiB or 16 MiB. Other than this, testing so far indicates that the PCB layout is identical for all boards.+The TG582n comes in at least three distinct hardware variants distinguished by their board name (DANT-1, DANT-T, DANT-V). The only hardware difference seems to be flash chip, which is either 8 MiB or 16 MiB depending on whether the device supports "dual bank" setup or not. Other than this, testing so far indicates that the PCB layout is identical for all boards. Each of them do only accept flashing its own firmware images as long as the stock bootloader is in place. 
 + 
 +When the flash chip is large enough, two firmware images (kernel+rootfs) can be kept flashed on the chip, and the bootloader automatically attempts to boot the "active bank" first. On a brand new device, only the first bank_1 contains a firmware. You can switch the active bank to the second bank_2 and get the stock bootloader attempt to boot that one by default. During a firmware upgrade, the new image gets flashed into the "passive" bank directly from a network download stream. On success, the active bank gets switched to the former passive one. The process of switching active bank is called "switchover"
 + 
 +This "dual bank" setup so provides a simple rollback feature: if the upgrade fails (eg. power cut during flashing, corrupted download), no active bank switch occurs. Also, if the active bank fails to boot 3 times in a row (e.g. because of corrupted configs, failed overlay migration), boot from the passive one is attempted for 3 times as well. Please note, during "failboot" the bootloader never switches active and passive bank. If all boot attempts fail, the stock bootloader automatically enters BOOTP mode for TFTP firmware flashing. Please note, in BOOTP mode the bootloader will always try flashing the uploaded firmware into bank_1 first.
  
 The board variant as well as basic info such as firmware version, bootloader, etc can be accessed via the web interface of the stock firmware, which is usually at 192.168.1.1 or 192.168.1.254 and which is branded by the provider. There are no management protocols available (e.g. telnet/ssh) other than the web UI. The board variant as well as basic info such as firmware version, bootloader, etc can be accessed via the web interface of the stock firmware, which is usually at 192.168.1.1 or 192.168.1.254 and which is branded by the provider. There are no management protocols available (e.g. telnet/ssh) other than the web UI.
Line 28: Line 64:
 === DANT-1 Boards === === DANT-1 Boards ===
  
-The DANT-1 boards come with 16 MiB Flash. This chip is dual bank and able to store 2 firmware images and switch between them when the TG582n runs on stock firmwareThis is done to implement a failsafe featureif an image fails to boot (e.gcorrupted flash or failed upgrade), boot from the recovery one is attempted.+The board layout is identical to the others for this same modelThe only hardware difference seems to be the flash chip[[http://pdf1.alldatasheet.com/datasheet-pdf/view/458190/EON/EN25Q128-104FIP.html|cFeon EN25Q128-104FIP (16MiB)]]
  
-The board layout is identical to the DANT-T one and the only difference seems to be the flash chip: [[http://pdf1.alldatasheet.com/datasheet-pdf/view/458190/EON/EN25Q128-104FIP.html|cFeon EN25Q128-104FIP]] +Here's a DANT-1 board (from a Telecom Italia AGTWI) receiving some love:
- +
-Here's a Telecom Italia DANT-1 board receiving some love:+
  
 {{media:technicolor:tg582n_dant-hacking.jpg?400|}} {{media:technicolor:tg582n_dant-hacking.jpg?400|}}
Line 38: Line 72:
 === DANT-V boards === === DANT-V boards ===
  
-This seems to be the latest hardware revision, mostly in use by Telecom Italia and Alice/o2/Telefónica Germany:+This seems to be the latest board version for this model, mostly in use by Telecom Italia and Alice/o2/Telefónica Germany:
  
 {{media:technicolor:tg582n_dant-v.png}} {{media:technicolor:tg582n_dant-v.png}}
  
-The main difference from DANT-1 and DANT-T is in the flash chip, which is a 16 MiB [[http://www.spansion.com/Support/Datasheets/S25FL129P_00.pdf|Spansion S25FL129P]] SPI flash chip.+Once again, the main hardware difference from the others is in the flash chip[[http://www.spansion.com/Support/Datasheets/S25FL129P_00.pdf|Spansion S25FL129P (16MiB)]]
  
-===== Supported Versions ===== 
  
-As with all devices using the ''b43'' driver for WiFi, this model **[[https://wireless.wiki.kernel.org/en/users/drivers/b43#known_problems_limitations|won't support HT/5GHz "n" modes]] unless/until the ''b43'' driver does**.+===== Installation =====
  
-Prerequisite for OpenWrt installation is a bootloader upgrade. The factory bootloader is not compatible with OpenWrt, CFE is required. 
  
-^ Board   OpenWrt Version Supported   ^ Image file   ^ +Prerequisite for OpenWrt installation is a bootloader upgrade
-| DANT-T          | Chaos Calmer 15.05.1 - A4001N image   | https://downloads.openwrt.org/chaos_calmer/15.05.1/brcm63xx/generic/openwrt-15.05.1-brcm63xx-generic-A4001N-squashfs-cfe.bin| +
-| DANT-1          |    Chaos Calmer 15.05.1 - A4001N1 image   | https://downloads.openwrt.org/chaos_calmer/15.05.1/brcm63xx/generic/openwrt-15.05.1-brcm63xx-generic-A4001N1-squashfs-cfe.bin | +
- +
-LEDE (The factory bootloader is not compatible with LEDE, CFE is required) +
- +
-^ Board   ^ OpenWrt Version Supported   ^ Image file   ^ +
-| DANT-T          | Chaos Calmer 15.05 - A4001N image   | https://downloads.lede-project.org/releases/17.01.1/targets/brcm63xx/smp/lede-17.01.1-brcm63xx-smp-A4001N-squashfs-cfe.bin| +
-| DANT-1          |    Chaos Calmer 15.05 - A4001N1 image   | https://downloads.lede-project.org/releases/17.01.1/targets/brcm63xx/smp/lede-17.01.1-brcm63xx-smp-A4001N1-squashfs-cfe.bin | +
-===== Hardware Highlights ===== +
-^ Board Name   ^ SoC        ^ Ram     ^ Flash   ^ Network   ^ USB    ^ Serial   ^ JTag   ^ +
-| DANT-T       | BCM63281   | 64MiB   | 8MiB    | 4 x 1     | Varies | Yes      | Yes    | +
-| DANT-1       | BCM63281   | 64MiB   | 16MiB   | 4 x 1     | Yes    | Yes      | Yes    | +
- +
-Manufacturer's Data Sheet: [[http://www.provu.co.uk/products/technicolor/TG582NPro/TG582NPro.pdf|Technicolor TG582n PRO Router - Data Sheet]]\\ +
-Forum Thread: [[https://forum.openwrt.org/viewtopic.php?pid=214844]|Technicolor TG582n (BCM63281) and OpenWRT]] +
- +
-===== Installation =====+
 Native Alcatel/Thomson bootloader is not compatible with OpenWrt. To successfully run OpenWrt we need to replace the factory bootloader with a clean CFE able to launch OpenWrt. This procedure requires direct access to flash memory to erase it and flash CFE on it. Native Alcatel/Thomson bootloader is not compatible with OpenWrt. To successfully run OpenWrt we need to replace the factory bootloader with a clean CFE able to launch OpenWrt. This procedure requires direct access to flash memory to erase it and flash CFE on it.
  
Line 128: Line 143:
 **For Eon (cFeon) EN25Q128 flash**, execute: **For Eon (cFeon) EN25Q128 flash**, execute:
 <code>C:\SPIPGM\SPIPGMW.EXE /e</code> <code>C:\SPIPGM\SPIPGMW.EXE /e</code>
 +
 +=== Alternatively using USBasp programmer and solderless clip(s) ===
 +The connection to the 16 pin flash IC can also be made without soldering by using a sop16 clip.
 +Actually, when you do not have such a clip, but two pieces of a sop8 clip, the two can be used side by side.
 +The latter is doable because as it happens on either side of the IC only the two first pins need to be connected (see schematic).
 +The center 4 pins on opposite sides give room for the extra width of the 8 pin clips, and 2x2 pins of either clip stick out beyond the IC and touch nothing.
 +Connection between the flash IC and the the low cost USBasp programmer is as follows, the number being the IC pin starting at 1 at the dot and going ccw.
 +1 <> Vcc, 2 <> Vcc, 7 <> RST, 8 <> MISO, 9 <> Vcc, 10 <> GND , 15 <> MOSI, 16 <> SCK.
 +Used AsProgrammer as software to flash on a Win10 platform. It readily recognizes the flash of both tg582n board types.
 +
 Now that the memory is clean, we flash the bootloader. In the bootloader archive there are two versions of CFE. cfe.bin is completely unconfigured, and you’ll need to set some basic parameters via serial console at first boot before being able to connect to it. cfe_conf.bin is already configured and its webserver will answer on **192.168.2.50/24**. Now that the memory is clean, we flash the bootloader. In the bootloader archive there are two versions of CFE. cfe.bin is completely unconfigured, and you’ll need to set some basic parameters via serial console at first boot before being able to connect to it. cfe_conf.bin is already configured and its webserver will answer on **192.168.2.50/24**.
 Please keep in mind that the CFE IP addres has nothing to do with the real router management IP address, which will entirely depend on the firmware configuration. As soon as the firmware boot proces starts, the bootloader dies and so its IP address. Please keep in mind that the CFE IP addres has nothing to do with the real router management IP address, which will entirely depend on the firmware configuration. As soon as the firmware boot proces starts, the bootloader dies and so its IP address.
Line 138: Line 163:
 \\ \\
 {{http://tastiere.altervista.org/TG582n/Openwrt%20installation/cfe_web.png?400x300}}\\ {{http://tastiere.altervista.org/TG582n/Openwrt%20installation/cfe_web.png?400x300}}\\
 +
 +
 ==== Installing OpenWrt ==== ==== Installing OpenWrt ====
 +---- datatable ----
 +cols    : Model, Versions, Supported Current Rel, Firmware OpenWrt Install URL_url, Firmware OpenWrt Upgrade URL_url, Firmware OEM Stock URL_url
 +headers : Model, Version, Current Release, Firmware OpenWrt Install, Firmware OpenWrt Upgrade, Firmware OEM Stock
 +align   : c,c,c
 +filter  : Model=TG582n
 +----
 +
 +^ Board   ^ OpenWrt Version Supported   ^ Image file   ^
 +| DANT-T          | Chaos Calmer 15.05.1 - A4001N image   | https://downloads.openwrt.org/chaos_calmer/15.05.1/brcm63xx/generic/openwrt-15.05.1-brcm63xx-generic-A4001N-squashfs-cfe.bin|
 +| DANT-1          |    Chaos Calmer 15.05.1 - A4001N1 image   | https://downloads.openwrt.org/chaos_calmer/15.05.1/brcm63xx/generic/openwrt-15.05.1-brcm63xx-generic-A4001N1-squashfs-cfe.bin |
 +
 +LEDE (The factory bootloader is not compatible with LEDE, CFE is required)
 +
 +^ Board   ^ OpenWrt Version Supported   ^ Image file   ^
 +| DANT-T          | Chaos Calmer 15.05 - A4001N image   | https://downloads.lede-project.org/releases/17.01.1/targets/brcm63xx/smp/lede-17.01.1-brcm63xx-smp-A4001N-squashfs-cfe.bin|
 +| DANT-1          |    Chaos Calmer 15.05 - A4001N1 image   | https://downloads.lede-project.org/releases/17.01.1/targets/brcm63xx/smp/lede-17.01.1-brcm63xx-smp-A4001N1-squashfs-cfe.bin |
 +
 +
 If you haven't done it yet, download OpenWrt 15.05 Chaos Calmer A4001N image [[https://downloads.openwrt.org/chaos_calmer/15.05/brcm63xx/generic/openwrt-15.05-brcm63xx-generic-A4001N-squashfs-cfe.bin]].\\  If you haven't done it yet, download OpenWrt 15.05 Chaos Calmer A4001N image [[https://downloads.openwrt.org/chaos_calmer/15.05/brcm63xx/generic/openwrt-15.05-brcm63xx-generic-A4001N-squashfs-cfe.bin]].\\ 
-Then connect to the CFE web interface, click browse and select openwrt-15.05-brcm63xx-generic-A4001N-squashfs-cfe.bin as firmware. Once you proceed, the flashing process starts and in few minutes your new openwrt-powered TG582n will come online. If you're monitoring the board with serial port, you'll see the process in details. The management IP address will be 192.168.1.1 (if your PC interface is still on 192.168.2.x you have to change it to 192.168.1.x - a DHCP server might be already running on openwrt so you might try to put it back to DHCP mode straight away).+Then connect to the CFE web interface, click browse and select openwrt-15.05-brcm63xx-generic-A4001N-squashfs-cfe.bin as firmware. Once you proceed, the flashing process starts and in few minutes your new openwrt-powered TG582n will come online. If you're monitoring the board with serial port, you'll see the process in details. The management IP address will be 192.168.1.1 (if your PC interface is still on 192.168.2.x you have to change it to 192.168.1.x - a DHCP server might be already running on OpenWrt so you might try to put it back to DHCP mode straight away).
  
 +You can also compile your own firmware. The tg582n is present under the brcm63xx section. After compilation let CFE upload the image openwrt-bcm63xx-generic-technicolor_tg582n-squashfs-cfe.bin
  
 ===== Basic configuration ===== ===== Basic configuration =====
Line 201: Line 247:
 ===== Hardware ===== ===== Hardware =====
 ==== Info ==== ==== Info ====
-| **[[wp>Instruction set]]:**               | [[wp>MIPS architecture|MIPS]] +[[wp>Instruction set]]               | [[wp>MIPS architecture|MIPS]] 
-| **Vendor:**                               | [[wp>Broadcom]]                | +Vendor                               | [[wp>Broadcom]]                | 
-| **[[docs:techref:bootloader]]:**           | CUSTOM Thomson/Technicolor     | +[[docs:techref:bootloader]]          | CUSTOM Thomson/Technicolor     | 
-| **[[docs:techref:hardware:soc|System-On-Chip]]:**  | BCM63281KFBG                   +[[docs:techref:hardware:soc|System-On-Chip]]  | BCM63281KFBG          
-| **[[docs:techref:hardware:cpu|CPU]] @Frq**                                        +[[docs:techref:hardware:cpu|CPU]] @Frq                              
-| **Flash size:**               | 8MB for [[:toh:thomson/tg582n#dant-t.boards|DANT-T]] / 16MB for [[:toh:thomson/tg582n#dant-1.boards|DANT-1]] | +Flash size   | 8MB for [[:toh:thomson/tg582n#dant-t.boards|DANT-T]] / 16MB for [[:toh:thomson/tg582n#dant-1.boards|DANT-1]] | 
-| **Flash Chip:**               | [[http://www.mxic.com.tw/QuickPlace/hq/PageLibrary4825740B00298A3B.nsf/h_Index/3F21BAC2E121E17848257639003A3146/%24File/MX25L6445E,%203V,%2064Mb,%20v1.8.pdf| MX25L6445EMI for DANT-T]] /  [[http://pdf1.alldatasheet.com/datasheet-pdf/view/458190/EON/EN25Q128-104FIP.html|cFeon EN25Q128-104FIP for DANT-1 ]] | +Flash Chip   | [[http://www.mxic.com.tw/QuickPlace/hq/PageLibrary4825740B00298A3B.nsf/h_Index/3F21BAC2E121E17848257639003A3146/%24File/MX25L6445E,%203V,%2064Mb,%20v1.8.pdf| MX25L6445EMI for DANT-T]] /  [[http://pdf1.alldatasheet.com/datasheet-pdf/view/458190/EON/EN25Q128-104FIP.html|cFeon EN25Q128-104FIP for DANT-1 ]] | 
-| **RAM size:**                 | 64 MiB    | +RAM size  | 64 MiB    | 
-| **RAM Chip:**                 | [[http://www.winbond.com/NR/rdonlyres/54848106-3243-4720-A223-18CFB79A9F37/0/W9751G6KB.pdf|Winbond W9751G6KB-25]] (512Mb) 64MB DDR2 | +RAM Chip  | [[http://www.winbond.com/NR/rdonlyres/54848106-3243-4720-A223-18CFB79A9F37/0/W9751G6KB.pdf|Winbond W9751G6KB-25]] (512Mb) 64MB DDR2 | 
-| **Wireless No1:**             | BCM43227 +Wireless No1    | BCM43227 
-| **Wireless No2:**             |           | +Wireless No2    |           | 
-| **[[docs:techref:hardware:switch]]:**            | +[[docs:techref:hardware:switch]]  |           | 
-| **[[docs:techref:hardware:internet.access.technologies|Modem]]:**  | xDSL | +[[docs:techref:hardware:internet.access.technologies|Modem]]  | xDSL | 
-| **USB:**                                  | Yes 1 x 2.0       | +USB             | Yes 1 x 2.0       | 
-| **[[docs:techref:hardware:port.serial|Serial]]:**  | [[#Serial|Yes]]   | +[[docs:techref:hardware:port.serial|Serial]]  | [[#Serial|Yes]]   | 
-| **[[docs:techref:hardware:port.jtag|JTAG]]:**      | [[#JTAG|Yes]]     |+[[docs:techref:hardware:port.jtag|JTAG]]      | [[#JTAG|Yes]]     |
  
 ==== Photos ==== ==== Photos ====
Line 1112: Line 1158:
 ===== Tags ===== ===== Tags =====
 [[meta:tags|How to add tags]] [[meta:tags|How to add tags]]
-{{tag>bcm63xx bcm6328 FastEthernet 1NIC 1WNIC 4Port USB 64RAM 8Flash 16Flash MIPS}}+{{tag>bcm63xx bcm6328 8Flash 16Flash 64RAM 4Port FastEthernet 802.11bgn 1NIC 1WNIC USB MIPS}}
  • Last modified: 2024/02/12 08:58
  • by 127.0.0.1