User Tools

Site Tools


toh:comtrend:ar5387un

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:ar5387un [2012/09/07 21:00]
toh:comtrend:ar5387un [2014/12/29 11:42] (current)
danitool
Line 1: Line 1:
 ====== Comtrend AR-5387un ====== ====== Comtrend AR-5387un ======
-**<color red>The AR-5387un is currently not supported!.</color>​** +Supported since Barrier Breaker [[https://​dev.openwrt.org/changeset/​33894|R33894]].
  
  
  
 ===== Installation ===== ===== Installation =====
 +
 +Barrier Breaker runs fine, but the wifi is not supported (linux 3.10): [[https://​downloads.openwrt.org/​barrier_breaker/​14.07/​brcm63xx/​generic/​openwrt-AR-5387un-squashfs-cfe.bin|openwrt-AR-5387un-squashfs-cfe.bin (BB)]]
 +
 +Trunk code (CC) has the wifi supported (linux 3.14): [[https://​downloads.openwrt.org/​snapshots/​trunk/​brcm63xx/​openwrt-AR-5387un-squashfs-cfe.bin|openwrt-AR-5387un-squashfs-cfe.bin (CC)]]
 +
 ==== Flashing ANY Firmware ==== ==== Flashing ANY Firmware ====
 You must set your TCP/IP v4 protocol to: You must set your TCP/IP v4 protocol to:
Line 23: Line 27:
 ===== 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#​bcm63xx_cfe|CFE]] | 
-Bootloader version ​1.0.37-110.11 ​|+**Board ID:**      ​96328A-1441N1  ​|
 | **[[doc:​hardware:​soc|System-On-Chip]]:​** ​ | Broadcom BCM6328 | | **[[doc:​hardware:​soc|System-On-Chip]]:​** ​ | Broadcom BCM6328 |
 | **[[doc:​hardware:​cpu|CPU]]/​Speed** ​       | BMIPS4350 / 320 MHz | | **[[doc:​hardware:​cpu|CPU]]/​Speed** ​       | BMIPS4350 / 320 MHz |
-| **Board ID:**      | 96328A-1441N1 ​ | 
 | **Flash-Chip:​** ​     | MX25L128 | | **Flash-Chip:​** ​     | MX25L128 |
-| Flash size | 16 MiB | +**Flash size** | 16 MiB | 
-| RAM | 64 MiB | +**RAM-Chip** | ProMOS V59C1512164QDJ25 / DDR2-800 | 
-| Wireless | BCM43225 (14e4:a8d8) 802.11b/g/n | +| **RAM size** ​| 64 MiB | 
-Wireless power ? mW +**Wireless** | BCM43225 (14e4:a8d8) 802.11b/g/n | 
-| **Ethernet:​** ​       | Internal ​BRCM6328 Switch | +**Antenna** ​2x 
-| USB | yes +| **Ethernet:​** ​       | Integrated ​BRCM6328 Switch | 
-| Power adapter | ? | +**USB** | yes |
-| Power margin | ? | +
-| 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|?​]] ​ |
  
 ==== Photos ==== ==== Photos ====
-=== Router ​===+=== Casing ​===
 {{:​toh:​comtrend:​ar5387un.jpg}} {{:​toh:​comtrend:​ar5387un.jpg}}
 +=== Board ===
 +{{:​media:​ar-5387un_board_t.jpg?​500|}}
 +
 +==== Wifi ====
 +**BCM43225** 802.11b/g/n onboard wifi, 2x external non-detachable antennas outside 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 comparing it 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 0x8
 +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 ​ 0xff11 ​ 0x1567 ​ 0xfb24 ​ 0xffff ​ 0xffff ​ 0xffff ​ 0xffff  ​
 +  srom[104]: ​ 0xffff ​ 0xffff ​ 0xffff ​ 0xffff ​ 0xffff ​ 0xffff ​ 0xffff ​ 0xffff  ​
 +  srom[112]: ​ 0x204e ​ 0xff03 ​ 0x154c ​ 0xfb27 ​ 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=0xff11
 +pa0b1=0x1567
 +pa0b2=0xfb24
 +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=f8:​8e:​85:​08:​dd:​cb
 +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=0xff11
 +pa2gw1a0=0x1567
 +pa2gw2a0=0xfb24
 +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=0xff03
 +pa2gw1a1=0x154c
 +pa2gw2a1=0xfb27
 +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 58: Line 348:
 How to connect to the Serial Port of this specific device: How to connect to the Serial Port of this specific device:
  
-{{:​toh:​comtrend:​ar5387un_serial.jpg}}+{{:​toh:​comtrend:​ar5387un_serial.jpg?500x300|}}
  
 **Photo of PCB with markings** **Photo of PCB with markings**
Line 66: Line 356:
 Read: [[doc:​uci:​system#​leds|System configuration:​ Leds]] to configure the leds Read: [[doc:​uci:​system#​leds|System configuration:​ Leds]] to configure the leds
 ^ Pin ^ Event ^ Active ^ ^ Pin ^ Event ^ Active ^
-power | High | +inet (red) | High | 
-alarm | High | +power (red) | High | 
-| inet | High |+| inet (green) ​| High 
 +| 8 | power (green) | High | 
 +| 11 | dsl (green) | Low |
  
 ==== Buttons ==== ==== Buttons ====
 -> [[doc:​howto:​hardware.button]] on howto use and configure the hardware button(s). -> [[doc:​howto:​hardware.button]] on howto use and configure the hardware button(s).
 ^ Pin ^ Event ^ Active ^ ^ Pin ^ Event ^ Active ^
-Wifi | Low | +23 reset | Low | 
-| ? | Reset | Low | +
-| ? | WPS | Low |+
  
 ===== Bootlogs ===== ===== Bootlogs =====
 ==== 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-110.11-2 for BCM96328 (32bit,​SP,​BE) CFE version 1.0.37-110.11-2 for BCM96328 (32bit,​SP,​BE)
Line 348: Line 639:
 </p> </p>
 </​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>​ <​code>​
 [    0.000000] Linux version 3.3.8 (noltari@skynet) (gcc version 4.6.3 20120201 (prerelease) (Linaro GCC 4.6-2012.02) ) #1 Wed Jul 18 13:38:05 CEST 2012 [    0.000000] Linux version 3.3.8 (noltari@skynet) (gcc version 4.6.3 20120201 (prerelease) (Linaro GCC 4.6-2012.02) ) #1 Wed Jul 18 13:38:05 CEST 2012
Line 541: Line 832:
 </​HTML>​ </​HTML>​
  
-===== Hardware Mods ===== + 
-N/A+ 
 +===== Tags ===== 
 +{{tag>​bcm63xx bcm6328}}
toh/comtrend/ar5387un.1347044425.txt.bz2 · Last modified: 2012/09/07 21:00 (external edit)