User Tools

Site Tools


toh:comtrend:ar5381u

Differences

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

Link to this comparison view

Both sides previous revision Previous revision
Previous revision
toh:comtrend:ar5381u [2012/11/29 18:04]
toh:comtrend:ar5381u [2015/06/23 16:40] (current)
The_Loko [Comtrend AR-5381u] New Trunk Link
Line 1: Line 1:
 ====== Comtrend AR-5381u ====== ====== Comtrend AR-5381u ======
 +
 +  * [[http://​us.comtrend.com/​products/​public/​product/​ipv-6/​ar-5381u.html|AR-5381u OEM website]]
 +
 Supported since [[https://​dev.openwrt.org/​changeset/​33895|R33895]]. Supported since [[https://​dev.openwrt.org/​changeset/​33895|R33895]].
  
 +<color crimson>​ADSL NOT SUPPORTED</​color>​
  
 +^ Firmware ^ download link ^ notes ^
 +| Trunk | https://​downloads.openwrt.org/​snapshots/​trunk/​brcm63xx/​generic/​openwrt-brcm63xx-generic-AR-5381u-squashfs-cfe.bin | LuCI web interface not installed |
 +| Barrier Breaker 14.07 | https://​downloads.openwrt.org/​barrier_breaker/​14.07/​brcm63xx/​generic/​openwrt-AR-5381u-squashfs-cfe.bin | wifi unsupported |
  
 ===== Installation ===== ===== Installation =====
 ==== Flashing ANY Firmware ==== ==== Flashing ANY Firmware ====
-You must set your TCP/IP v4 protocol to:+You must set your TCP/IP v4 protocol ​at your computer ​to:
   - IP: 192.168.1.2   - IP: 192.168.1.2
   - Netmask: 255.255.255.0   - Netmask: 255.255.255.0
Line 17: Line 24:
   - Acces to http://​192.168.1.1 and upload binary file.   - Acces to http://​192.168.1.1 and upload binary file.
   - Wait until router reboots.   - Wait until router reboots.
 +
 +
 +===== Specific Configuration =====
 +==== Interfaces ====
 +
 +The default network configuration is:
 +^ Interface Name ^ Description ^ Default configuration ^
 +| br-lan | LAN & WiFi | 192.168.1.1/​24 | 
 +| eth0 | LAN ports (0 to 3) | bridged |
 +| wlan0 | WiFi | bridged (disabled) | 
 +
 +==== Switch Ports (for VLANs) ====
 +This is an example to configure the switch: numbers 0-2 will be lan, labeled as Ports LAN1X, LAN2X, LAN3X on the unit, number 3 (LAN4X) will be the Internet (WAN), 8 is the internal connection to the router itself. Don't be fooled: vlan1 = eth0.1, vlan2 = eth0.2 and so on.
 +^ Port ^ Switch port ^ Mode ^
 +| LAN1X | 0 | lan |
 +| LAN2X | 1 | lan |
 +| LAN3X | 2 | lan | 
 +| LAN4X | 3 | Internet (WAN) |
 +
 +<​HTML>​
 +<p style="​padding:​ 10px;​border:​1px dashed grey;​height:​410px;​font:​9px/​11px Georgia, Garamond, Serif;​overflow:​Auto">​
 +<​code># ​
 +config interface '​loopback'​
 +        option ifname '​lo'​
 +        option proto '​static'​
 +        option ipaddr '​127.0.0.1'​
 +        option netmask '​255.0.0.0'​
 +
 +config globals '​globals'​
 +        option ula_prefix '​fda5:​ace8:​376d::/​48'​
 +
 +config interface '​lan'​
 +        option ifname '​eth0.1'​
 +        option type '​bridge'​
 +        option proto '​static'​
 +        option ipaddr '​192.168.1.1'​
 +        option netmask '​255.255.255.0'​
 +        option ip6assign '​60'​
 +
 +config interface '​wan'​
 +        option ifname '​eth0.2'​
 +        option proto '​dhcp'​
 +        ​
 +config switch
 +        option name '​eth0'​
 +        option reset '​1'​
 +        option enable_vlan '​1'​
 +
 +config switch_vlan
 +        option device '​eth0'​
 +        option vlan '​1'​
 +        option ports '0 1 2 8t'
 +
 +config switch_vlan
 +        option device '​eth0'​
 +        option vlan '​2'​
 +        option ports '3 8t'
 +
 +</​code>​
 +</p>
 +</​HTML>​
  
  
Line 22: Line 90:
 ===== Hardware ===== ===== Hardware =====
 ==== Info ==== ==== Info ====
-| **[[wp>​Instruction set|Architecture]]:**    | [[wp>​MIPS architecture|MIPS]] |+| **[[wp>​Instruction set|Instruction set]]:**    | [[wp>​MIPS architecture|MIPS]] |
 | **Vendor:​** ​         | [[wp>​Broadcom]] | | **Vendor:​** ​         | [[wp>​Broadcom]] |
 | **[[doc:​techref:​Bootloader]]:​** ​    | [[doc:​techref:​bootloader:​CFE]] | | **[[doc:​techref:​Bootloader]]:​** ​    | [[doc:​techref:​bootloader:​CFE]] |
-| Bootloader version | 1.0.37-106.5-9 | 
-| **[[doc:​hardware:​soc|System-On-Chip]]:​** ​ | Broadcom BCM6328 | 
-| **[[doc:​hardware:​cpu|CPU]]/​Speed** ​       | BMIPS4350 / 320 MHz | 
 | **Board ID:**      | 96328A-1241N | | **Board ID:**      | 96328A-1241N |
-| **Flash-Chip:​** ​     | MX25L128 ​+| **[[doc:​hardware:​soc|System-On-Chip]]:​** ​ | Broadcom BCM6328 | 
-| Flash size | 16 MiB | +| **[[doc:​hardware:​cpu|CPU]] @Frq** ​       | BMIPS4350 V7.5 @320 MHz | 
-| RAM | 64 MiB | +| **Flash-Chip:​** ​     | MX25L12845EMI-10G (SPI) / 64KB block size x 256 main blocks ​
-| Wireless | BCM43225 (14e4:a8d8) 802.11b/​g/​n ​+**Flash size** | 16 MiB | 
-| Wireless power | ? mW +**RAM-Chip** | [[http://​pdf1.alldatasheet.com/​datasheet-pdf/​view/​312992/​ETRON/​EM68B16CWPA-25H.html|EM68B16CWPA-25H]] / DDR2-800 | 
-| **Ethernet:​** ​       | Internal BRCM6328 Switch | +| **RAM size** ​| 64 MiB | 
-| USB | yes | +**Wireless** | BCM43225 (14e4:a8d8) 802.11b/​g/​n ​(onboard) ​
-| Power adapter | ? | +| **Ethernet:​** ​       | Internal BRCM6328 Switch, 4x 100M + ADSL2+ ​
-| Power margin | ? | +**USB** 1x 2.0 |
-| Antenna | 2x | +
-| Antenna gain | ? dBi |+
 | **[[doc:​hardware:​port.serial|Serial]]:​** ​         | [[#​Serial|Yes]] | | **[[doc:​hardware:​port.serial|Serial]]:​** ​         | [[#​Serial|Yes]] |
 | **[[doc:​hardware:​port.jtag|JTAG]]:​** ​           | [[#​JTAG|?​]] ​ | | **[[doc:​hardware:​port.jtag|JTAG]]:​** ​           | [[#​JTAG|?​]] ​ |
Line 50: Line 113:
 === Board down === === Board down ===
 {{:​toh:​comtrend:​ar5381u_board_down.jpg?​500x300|}} {{:​toh:​comtrend:​ar5381u_board_down.jpg?​500x300|}}
 +
 +==== Wifi ====
 +**BCM43225** 802.11b/g/n onboard wifi, 2x PCB non-detachable antennas inside the case. 
 +
 +No physical EEPROM at the board, nor partition reserverd for this data at the flash chip. In theory, in the original firmware, the EEPROM is taken from the file ///​etc/​wlan/​bcm43225_map.bin//,​ although some bytes differ when comparing with wlctl dumps.
 +
 +Dumps from the OEM firmware:
 +<​HTML>​
 +<p style="​padding:​ 10px;​border:​1px solid grey;​height:​600px;​font:​12px/​14px Georgia, Garamond, Serif;​overflow:​Auto;​background-color:#​FFFFFF">​
 +<​code>​ > > wlctl revinfo
 +vendorid 0x14e4
 +deviceid 0x4357
 +radiorev 0xb2056000
 +chipnum 0xa8d9
 +chiprev 0x1
 +chippackage 0xa
 +corerev 0x17
 +boardid 0xa8d8
 +boardvendor 0x14e4
 +boardrev P200
 +driverrev 0x5647b00
 +ucoderev 0x2930000
 +bus 0x1
 +phytype 0x4
 +phyrev 0x6
 +anarev 0x0
 + > wlctl srdump ​
 +
 +  srom[000]: ​ 0x2801 ​ 0x0000 ​ 0x04da ​ 0x14e4 ​ 0x0078 ​ 0xedbe ​ 0x0000 ​ 0x2bc4  ​
 +  srom[008]: ​ 0x2a64 ​ 0x2964 ​ 0x2c64 ​ 0x3ce7 ​ 0x46ff ​ 0x47ff ​ 0x0c00 ​ 0x0820  ​
 +  srom[016]: ​ 0x0030 ​ 0x1002 ​ 0x9f28 ​ 0x5d44 ​ 0x8080 ​ 0x1d8f ​ 0x0032 ​ 0x0100  ​
 +  srom[024]: ​ 0xdf00 ​ 0x71f5 ​ 0x8400 ​ 0x0083 ​ 0x8500 ​ 0x2010 ​ 0x0001 ​ 0xffff  ​
 +  srom[032]: ​ 0xffff ​ 0xffff ​ 0xffff ​ 0xffff ​ 0xffff ​ 0xffff ​ 0xffff ​ 0xffff  ​
 +  srom[040]: ​ 0xffff ​ 0xffff ​ 0x1008 ​ 0x0005 ​ 0xffff ​ 0xffff ​ 0xffff ​ 0xffff  ​
 +  srom[048]: ​ 0x4357 ​ 0x8000 ​ 0x0002 ​ 0x0000 ​ 0x1f30 ​ 0x1800 ​ 0x0000 ​ 0x0000  ​
 +  srom[056]: ​ 0xffff ​ 0xffff ​ 0xffff ​ 0xffff ​ 0xffff ​ 0xffff ​ 0xffff ​ 0xffff  ​
 +  srom[064]: ​ 0x5372 ​ 0x1200 ​ 0x0200 ​ 0x0000 ​ 0x1000 ​ 0x0000 ​ 0x0000 ​ 0x0000  ​
 +  srom[072]: ​ 0x0000 ​ 0x0000 ​ 0x0000 ​ 0x88ff ​ 0xffff ​ 0xffff ​ 0x0303 ​ 0x0202  ​
 +  srom[080]: ​ 0xffff ​ 0x0033 ​ 0xffff ​ 0xffff ​ 0xffff ​ 0xffff ​ 0xffff ​ 0x0325  ​
 +  srom[088]: ​ 0xffff ​ 0x7800 ​ 0xffff ​ 0xffff ​ 0xffff ​ 0xffff ​ 0xffff ​ 0xffff  ​
 +  srom[096]: ​ 0x204e ​ 0xfed6 ​ 0x172e ​ 0xfaab ​ 0xffff ​ 0xffff ​ 0xffff ​ 0xffff  ​
 +  srom[104]: ​ 0xffff ​ 0xffff ​ 0xffff ​ 0xffff ​ 0xffff ​ 0xffff ​ 0xffff ​ 0xffff  ​
 +  srom[112]: ​ 0x204e ​ 0xfecc ​ 0x1665 ​ 0xfaac ​ 0xffff ​ 0xffff ​ 0xffff ​ 0xffff  ​
 +  srom[120]: ​ 0xffff ​ 0xffff ​ 0xffff ​ 0xffff ​ 0xffff ​ 0xffff ​ 0xffff ​ 0xffff  ​
 +  srom[128]: ​ 0xffff ​ 0xffff ​ 0xffff ​ 0xffff ​ 0xffff ​ 0xffff ​ 0xffff ​ 0xffff  ​
 +  srom[136]: ​ 0xffff ​ 0xffff ​ 0xffff ​ 0xffff ​ 0xffff ​ 0xffff ​ 0xffff ​ 0xffff  ​
 +  srom[144]: ​ 0xffff ​ 0xffff ​ 0xffff ​ 0xffff ​ 0xffff ​ 0xffff ​ 0xffff ​ 0xffff  ​
 +  srom[152]: ​ 0xffff ​ 0xffff ​ 0xffff ​ 0xffff ​ 0xffff ​ 0xffff ​ 0xffff ​ 0xffff  ​
 +  srom[160]: ​ 0x0000 ​ 0x5555 ​ 0x5555 ​ 0x0000 ​ 0x0000 ​ 0x0000 ​ 0x0000 ​ 0x0000  ​
 +  srom[168]: ​ 0x0000 ​ 0x5555 ​ 0x7555 ​ 0x5555 ​ 0x7555 ​ 0x5555 ​ 0x7555 ​ 0x5555  ​
 +  srom[176]: ​ 0x7555 ​ 0x0000 ​ 0x0000 ​ 0x0000 ​ 0x0000 ​ 0x0000 ​ 0x0000 ​ 0x0000  ​
 +  srom[184]: ​ 0x0000 ​ 0x0000 ​ 0x0000 ​ 0x0000 ​ 0x0000 ​ 0x0000 ​ 0x0000 ​ 0x0000  ​
 +  srom[192]: ​ 0x0000 ​ 0x0000 ​ 0x0000 ​ 0x0000 ​ 0x0000 ​ 0x0000 ​ 0x0000 ​ 0x0000  ​
 +  srom[200]: ​ 0x0000 ​ 0x0000 ​ 0x0000 ​ 0x0002 ​ 0x0000 ​ 0xffff ​ 0xffff ​ 0xffff  ​
 +  srom[208]: ​ 0xffff ​ 0xffff ​ 0xffff ​ 0xffff ​ 0xffff ​ 0xffff ​ 0xffff ​ 0xffff  ​
 +  srom[216]: ​ 0xffff ​ 0xffff ​ 0xffff ​ 0x0008  ​
 + > wlctl nvram_dump
 +sromrev=8
 +boardrev=0x1200
 +boardflags=0x200
 +boardflags2=0x1000
 +boardtype=0x4da
 +boardnum=0
 +regrev=0
 +ledbh1=136
 +pa0b0=0xfed6
 +pa0b1=0x172e
 +pa0b2=0xfaab
 +pa0itssit=32
 +pa0maxpwr=78
 +opo=85
 +aa2g=3
 +aa5g=3
 +ag0=2
 +ag1=2
 +ag2=255
 +ag3=255
 +pa1b0=0xffff
 +pa1b1=0xffff
 +pa1b2=0xffff
 +pa1lob0=0xffff
 +pa1lob1=0xffff
 +pa1lob2=0xffff
 +pa1hib0=0xffff
 +pa1hib1=0xffff
 +pa1hib2=0xffff
 +pa1itssit=255
 +pa1maxpwr=255
 +pa1lomaxpwr=255
 +pa1himaxpwr=255
 +bxa2g=3
 +rssisav2g=7
 +rssismc2g=15
 +rssismf2g=15
 +bxa5g=3
 +rssisav5g=7
 +rssismc5g=15
 +rssismf5g=15
 +tri2g=255
 +tri5g=255
 +tri5gl=255
 +tri5gh=255
 +rxpo2g=-1
 +rxpo5g=-1
 +txchain=3
 +rxchain=3
 +antswitch=0
 +tssipos2g=1
 +extpagain2g=2
 +pdetrange2g=4
 +triso2g=3
 +antswctl2g=0
 +tssipos5g=1
 +extpagain5g=3
 +pdetrange5g=31
 +triso5g=7
 +antswctl5g=31
 +ccode=
 +macaddr=38:​72:​c0:​99:​54:​7e
 +tempthresh=120
 +tempoffset=0
 +rawtempsense=0x1ff
 +measpower=0x7f
 +tempsense_slope=0xff
 +tempcorrx=0x3f
 +tempsense_option=0x3
 +freqoffset_corr=0xf
 +iqcal_swp_dis=0x1
 +hw_iqcal_en=0x1
 +elna2g=255
 +elna5g=255
 +phycal_tempdelta=255
 +temps_period=15
 +temps_hysteresis=15
 +measpower1=0x7f
 +measpower2=0x7f
 +cck2gpo=0
 +ofdm2gpo=1431655765
 +ofdm5gpo=0
 +ofdm5glpo=0
 +ofdm5ghpo=0
 +mcs2gpo0=21845
 +mcs2gpo1=30037
 +mcs2gpo2=21845
 +mcs2gpo3=30037
 +mcs2gpo4=21845
 +mcs2gpo5=30037
 +mcs2gpo6=21845
 +mcs2gpo7=30037
 +mcs5gpo0=0
 +mcs5gpo1=0
 +mcs5gpo2=0
 +mcs5gpo3=0
 +mcs5gpo4=0
 +mcs5gpo5=0
 +mcs5gpo6=0
 +mcs5gpo7=0
 +mcs5glpo0=0
 +mcs5glpo1=0
 +mcs5glpo2=0
 +mcs5glpo3=0
 +mcs5glpo4=0
 +mcs5glpo5=0
 +mcs5glpo6=0
 +mcs5glpo7=0
 +mcs5ghpo0=0
 +mcs5ghpo1=0
 +mcs5ghpo2=0
 +mcs5ghpo3=0
 +mcs5ghpo4=0
 +mcs5ghpo5=0
 +mcs5ghpo6=0
 +mcs5ghpo7=0
 +cddpo=0
 +stbcpo=0
 +bw40po=2
 +bwduppo=0
 +pcieingress_war=15
 +rxgainerr2ga0=63
 +rxgainerr2ga1=31
 +rxgainerr2ga2=31
 +rxgainerr5gla0=63
 +rxgainerr5gla1=31
 +rxgainerr5gla2=31
 +rxgainerr5gma0=63
 +rxgainerr5gma1=31
 +rxgainerr5gma2=31
 +rxgainerr5gha0=63
 +rxgainerr5gha1=31
 +rxgainerr5gha2=31
 +rxgainerr5gua0=63
 +rxgainerr5gua1=31
 +rxgainerr5gua2=31
 +noiselvl2ga0=31
 +noiselvl2ga1=31
 +noiselvl2ga2=31
 +noiselvl5gla0=31
 +noiselvl5gla1=31
 +noiselvl5gla2=31
 +noiselvl5gma0=31
 +noiselvl5gma1=31
 +noiselvl5gma2=31
 +noiselvl5gha0=31
 +noiselvl5gha1=31
 +noiselvl5gha2=31
 +noiselvl5gua0=31
 +noiselvl5gua1=31
 +noiselvl5gua2=31
 +maxp2ga0=78
 +itt2ga0=32
 +itt5ga0=255
 +pa2gw0a0=0xfed6
 +pa2gw1a0=0x172e
 +pa2gw2a0=0xfaab
 +maxp5ga0=255
 +maxp5gha0=255
 +maxp5gla0=255
 +pa5gw0a0=0xffff
 +pa5gw1a0=0xffff
 +pa5gw2a0=0xffff
 +pa5glw0a0=0xffff
 +pa5glw1a0=0xffff
 +pa5glw2a0=0xffff
 +pa5ghw0a0=0xffff
 +pa5ghw1a0=0xffff
 +pa5ghw2a0=0xffff
 +maxp2ga1=78
 +itt2ga1=32
 +itt5ga1=255
 +pa2gw0a1=0xfecc
 +pa2gw1a1=0x1665
 +pa2gw2a1=0xfaac
 +maxp5ga1=255
 +maxp5gha1=255
 +maxp5gla1=255
 +pa5gw0a1=0xffff
 +pa5gw1a1=0xffff
 +pa5gw2a1=0xffff
 +pa5glw0a1=0xffff
 +pa5glw1a1=0xffff
 +pa5glw2a1=0xffff
 +pa5ghw0a1=0xffff
 +pa5ghw1a1=0xffff
 +pa5ghw2a1=0xffff
 +maxp2ga2=255
 +itt2ga2=255
 +itt5ga2=255
 +pa2gw0a2=0xffff
 +pa2gw1a2=0xffff
 +pa2gw2a2=0xffff
 +maxp5ga2=255
 +maxp5gha2=255
 +maxp5gla2=255
 +pa5gw0a2=0xffff
 +pa5gw1a2=0xffff
 +pa5gw2a2=0xffff
 +pa5glw0a2=0xffff
 +pa5glw1a2=0xffff
 +pa5glw2a2=0xffff
 +pa5ghw0a2=0xffff
 +pa5ghw1a2=0xffff
 +pa5ghw2a2=0xffff
 +maxp2ga3=255
 +itt2ga3=255
 +itt5ga3=255
 +pa2gw0a3=0xffff
 +pa2gw1a3=0xffff
 +pa2gw2a3=0xffff
 +maxp5ga3=255
 +maxp5gha3=255
 +maxp5gla3=255
 +pa5gw0a3=0xffff
 +pa5gw1a3=0xffff
 +pa5gw2a3=0xffff
 +pa5glw0a3=0xffff
 +pa5glw1a3=0xffff
 +pa5glw2a3=0xffff
 +pa5ghw0a3=0xffff
 +pa5ghw1a3=0xffff
 +pa5ghw2a3=0xffff
 +devid=0x4357
 +
 + >
 +
 +</​code>​
 +</p>
 +</​HTML>​
 +
 +
  
 ==== JTAG ==== ==== JTAG ====
Line 86: Line 438:
 ==== OEM Bootlog ==== ==== OEM Bootlog ====
 <​HTML>​ <​HTML>​
-<p style="​padding:​ 10px;​border:​1px solid grey;​height:​600px;​font:​10px/14px Georgia, Garamond, Serif;​overflow:​Auto;​background-color:#​FFFFFF">​ +<p style="​padding:​ 10px;​border:​1px solid grey;​height:​600px;​font:​12px/14px Georgia, Garamond, Serif;​overflow:​Auto;​background-color:#​FFFFFF">​ 
-<​code>​ +<​code>​CFE version 1.0.37-106.5-9 for BCM96328 (32bit,​SP,​BE)
-CFE version 1.0.37-106.5-9 for BCM96328 (32bit,​SP,​BE)+
 Build Date: 2010-12-20 22:52:56 (tony@broadcom_eu) Build Date: 2010-12-20 22:52:56 (tony@broadcom_eu)
 Copyright (C) 2000-2009 Broadcom Corporation. Copyright (C) 2000-2009 Broadcom Corporation.
Line 584: Line 935:
 </​HTML>​ </​HTML>​
  
-==== Openwrt Bootlog ​====+==== OpenWrt ​====
 <​HTML>​ <​HTML>​
-<p style="​padding:​ 10px;​border:​1px solid grey;​height:​600px;​font:​10px/14px Georgia, Garamond, Serif;​overflow:​Auto;​background-color:#​FFFFFF">​+<p style="​padding:​ 10px;​border:​1px solid grey;​height:​600px;​font:​12px/14px Georgia, Garamond, Serif;​overflow:​Auto;​background-color:#​FFFFFF">​
 <​code>​[ ​   0.000000] Linux version 3.3.8 (noltari@skynet) (gcc version 4.6.3 20120201 (prerelease) (Linaro GCC 4.6-2012.02) ) #1 Sun Sep 9 20:22:25 CEST 2012 <​code>​[ ​   0.000000] Linux version 3.3.8 (noltari@skynet) (gcc version 4.6.3 20120201 (prerelease) (Linaro GCC 4.6-2012.02) ) #1 Sun Sep 9 20:22:25 CEST 2012
 [    0.000000] Detected Broadcom 0x6328 CPU revision 10b0 [    0.000000] Detected Broadcom 0x6328 CPU revision 10b0
toh/comtrend/ar5381u.1354208653.txt.bz2 · Last modified: 2012/11/29 18:04 (external edit)