User Tools

Site Tools


toh:draytek:vigor2830_series

Draytek Vigor2830 Series

Supported Versions

Version/Model Launch Date S/N OpenWrt Version Supported Model Specific Notes
Vigor2830 2012 - - NO WLAN, PSTN/VoIP
Vigor2830n 2012 - - 2.4GHz N
Vigor2830Vn 2012 - - 2.4GHz N and PSTN/VoIP
Vigor2830n plus 2012 - - switchable 2.4GHz - 5GHz N
Vigor2830Vn plus 2012 - - switchable 2.4GHz - 5GHz N and PSTN/VoIP

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
Danube/Danube-S platform 32MiB 8MiB 4 x 1 Yes Yes ?

Manufacturer's site: http://www.draytek.co.uk/products/business/vigor-2830

Flash Layout

Please check out the article Flash.Layout. It contains an example and a couple of explanations.

start	        end	        what
00000000	0FFFFFFF	RAM (up to 256MB address space)
10000000	13FFFFFF	ROM (up to 64MB address space)
14000000	14000FFF	external bus general purpose i/o
18000300	180003FF	general purpose timer
1E100400	1E1007FF	first serial port
1E100800	1E1008FF	SSC (what's that)
1E100B10	1E100B3F	GPIO bank 0
1E100B40	1E100B6F	GPIO bank 0
1E100B70	1E100B9F	GPIO bank 0
1E100BB0	1E100BEF	serial/parallel converter
1E100C00	1E100FFF	second serial port
1E103100	1E1031FF	hardware crypto
1E104100	1E1041FF	dma controller
1E105300	1E1053FF	external bus controller
1E105400	1E1057FF	PCI bus controller
1E116000	1E117000	DSL interface
1E180000	1E1BFFFF	ethernet controller
1F101000	1F101FFF	external interrupt controller
1F102000	1F102FFF	power management controller
1F103000	1F103FFF	clock generator
1F107000	1F107FFF	multi-processsing
1F203000	1F203FFF	reset controller
1F880200	1F8802FF	interrupt controller
1F8803F0	1F8803FF	watchdog timer

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 Vigor2830 series has two buttons. They are Reset and Wifi Toggle. Here, we merely name the buttons, so we can use them in the above Howto:

BUTTON Event
Reset reset
Wifi Toggle wifitoggle

Hardware

Vigor2830 Series, n ,Vn

Instruction set: MIPS
Vendor: Lantiq
Bootloader: U-Boot
System-On-Chip: Danube/Danube-S platform FIXME
CPU @Frq FIXME
Flash size: 8192 KiB
Flash Chip:
RAM size: 32 MiB
RAM Chip: Nanya NT5DS16M16CS-5T
Wireless No1: distinct Chip: Ralink RT28xx (RT2860) w/ 2T3R MIMO for 2.4GHz 802.11b/g/n
Switch: GigabitEthernet
Modem: ADSL/ADSL2+
USB: Yes 1 x 2.0
Serial: Yes
JTAG: No

Vigor2830n H/W:V1 MODULE:6 (single band)

Instruction set: MIPS
Vendor page: DRAYTEK
Vendor support page: FIRMWARE
Bootloader: Dray-Boot
System-On-Chip: AMAZON-S PSB 50610 E V1.4
CPU @Frq 333 Mhz
Flash size: 8192 KiB
Flash Chip: Macronix MX29LV640EBTI-70G
RAM size: 32 MiB
RAM Chip: Nanya NT5DS32M16CS-5T
Wireless No1: RT2860 (RT2860T)
Switch: AR8316 (AR8316-AK1E)
Modem: ADSL/ADSL2+
USB: Yes 1 x 2.0
Serial: Yes
JTAG: Yes

LED & BUTTON

Gpio Expander U39 cascading U53 74x595 (74HC595) 
Linux driver gpio-74x164.c ?

U39 to Led:
ACT-(Q1) WLAN -(Q8) DoS-(Q5)
USB-(Q6) DSL  -(??) VPN-(Q3)
CSM-(Q2) WLAN2-(??) QoS-(Q4)

U39 to Cpu:
IN   - (gpio ??)
CLK  - (gpio ??)
LATCH- (gpio ??)
RST  - (gpio ??)

U39 to U53:
OUT  - IN
CLK  - CLK  
LATCH- LATCH
RST  - RST  

Button:
WPS (gpio ??) Reset (gpio ??)
----------------
74HCT595 74LV595
74HCT594 74LV594 74x594 74HC594
74HCT164 74LV164 74x164 74HC164

CPU INFO

chipid = 0x50110083
CPU revision = 0x00019641
prom.c:
case SOC_ID_AMAZON_S:
lantiq_soc.h:
#define SOC_ID_AMAZON_S		0x110 /* 50610 */

FW update & flash information

The loader accepts the following file names:
V2830_xxxxx.all kernel + fs
V2830_xxxxx.rst kernel + fs + settings
V2830_xxxxx.000 ???
V2830_xxxxx.bin ???
V2830_xxxxx.web ???
V2830_xxxxx.cfg ???
V2830_xxxxx.mdm ???
V2830_xxxxx.xxx ???

fw update structure:
0x000: xx xx xx xx part length
0x004: ufo byte 0x50 or 0x10
0x005: xx xx xx    part length - 0xС
0x006: magic "rDkmfaaryTedecz"
....
0x100: kernel
xx xx xx xx ....
last 16 bytes of file
00 00 00 44 5C 00 11 00 ¦ 00 00 30 21 A1 94 6E D0
00 00 00 A0 5C 00 11 00 ¦ 00 14 AC E6 E3 3E 7D 2C
00 00 00 41 5C 00 11 00 ¦ 00 BF 00 10 B2 34 B4 10
11 00 00 lzo end + last 7 bytes check sum unknown format

flash layout:
0x000000 0x007FCF boot        0x007FD0 boot
0x007FD0 0x009FFF boardconfig 0x002030 boardconfig
--> 0x007FD8 wpsk password
--> 0x007FF8 mac address
0x00A000 0x2FFFFF settings    0x026000 settings
0x300000 0x52FFFF fw part 1   0x500000 kernel
0x530000 0x74FFFF fw part 2   0x220000 fs
0x750000 0x7FFFFF fw part 3   0x0B0000 ufo

I have flash dump

Vigor2830n plus, Vn plus

Instruction set: MIPS
Vendor: Lantiq
Bootloader: U-Boot
System-On-Chip: Danube/Danube-S platform FIXME
CPU @Frq FIXME
Flash size: 8192 KiB
Flash Chip:
RAM size: 32 MiB
RAM Chip: Nanya NT5DS16M16CS-5T
Wireless No1: distinct Chip: Ralink RT28xx (RT2860) w/ 2T3R MIMO for 2.4GHz 802.11b/g/n
Wireless No2: distinct Chip: FIXME 2T3R MIMO for 5GHz 802.11b/g/n
Switch: GigabitEthernet
Modem: ADSL/ADSL2+
USB: Yes 1 x 2.0
Serial: Yes
JTAG: No

Photos

Model Number

Front:

Photo of front of the casing FIXME

Back:

Photo of back of the casing FIXME

Opening the case

Main PCB Vigor2830n H/W:V1 MODULE:6 (single band) Top: Bottom:

BootSel

found only BootSel2, there is no way to find BootSel0

Bootstrap:
boot_sel2 boot_sel1 boot_sel0
0 0 1 external parallel flash (default)
1 0 0 UART1
1 0 1 serial SPI (found)

Serial

JTAG

  
  J3
X X X X 1
X X X X
TMS TDO TDI TRST
TCK ??? 3.3 GND

Debricking

Bootloader Mods

Currently none.

Bootlogs

OEM bootlog

PUT HERE YOUR BOOTLOG


OEM bootlog Vigor2830n H/W:V1 MODULE:6 (single band)

ROM VER: 1.0.3 CFG 01 Readà ROM VER: 1.0.3 CFG 01 Read EEPROMX X relocate_code start relocate code finish Go... IO_Port_Init!! Detect existed devices!!Modes: __STDC__ 32-bit mwDWORD==(unsigned long) mwROUNDALLOC==4 sizeof(mwData)==24 mwDataSize==24 statistics: now collecting on a line basis ============= Memwatch Auto Self Test ============= Normal Free...DETECTED Double Free...DETECTED NULL Free.....DETECTED Wild Free.....DETECTED Underflow.....DETECTED Overflow......DETECTED Unfree 1......DETECTED Unfree 2......DETECTED ALL TEST OK! Please be assured that all test buffers have freed. Slab kmalloc range: [0x80A4EDE8:0x8114FDE7](size=7344127 bytes) Linear malloc range: [0x8219A670:0x83EFF000](size=30820752 bytes) !!! Maxi malloc size =2072598040 (st=86699e8, end=83eff000)!!!! init cpu_wait to r4k_wait()!! trap_init() doneTODO: chip version danube_setup() donemips_hpt_frequency:166666667 r4k_offset: 00196e6a(1666666) Using 166.667 MHz high precision timer. c0_hpt_timer_init()..count=-2086036903. time_init()... dma_init() done init_IRQ() partial done skb_init() doneCPU revision is: 00019641 cpu_report() donePrimary instruction cache 16kB, physically tagged, 4-way, linesize 32 bytes. Primary data cache 16kB, 4-way, linesize 32 bytes. cache_init() donePCI: Probing PCI hardware on host bus 0. Autoconfig PCI channel 0x808f4b80 Scanning bus 00, I/O 0x1ae00000:0x1b000001, Mem 0x18000000:0x1a000001 00:0e.0 Class 0280: 1814:0601 Mem at 0x18000000 [size=0x10000] Scanning bus 00 Found 00:70 [1814/0601] 000280 00 slot:func=00:0e.0 PCI device 1814:0601 PCI_HEADER_TYPE_NORMAL sub vid=1814 did=2860 Fixups for bus 00 Bus scan for 00 returning with max=00 pci_init()...<6>led: misc_register on minor = 151 danube_led_init() done!!!<5>IFX DEU DES initialized (multiblock) (DMA). Copyright (c) 2007-2008 Infineon. <5>IFX DEU AES initialized (multiblock) (DMA). Copyright (c) 2007-2008 Infineon. <3>IFX AES initialization failed! <5>IFX DEU SHA1 initialized (DMA). <3>IFX SHA1 initialization failed! <5>IFX DEU MD5 initialized (DMA). <3>IFX MD5 initialization failed! DEU init done!! Enable IE!!! ISDN:StartUp>ISDN H/W Initialize ....Fail to write ISDN register : R_RAM_DATA >>>>>> ISDN detected Fail !!! vendor_id: 1814,device_id: 601 === pAd = 82e578d0, size = 631584 === <-- RTMPAllocAdapterBlock, Status=0 danube MAC driver loaded! switch_devs=0 name =eth%d . danube_switch_init() ok. Initial_wlan_request_irq....RX DESC a2f03660 size = 4096 <-- RTMPAllocTxRxRingMemory, Status=0 <<<pAd->CommonCfg.PhyMode=9>>> **************wds_init************** 1. Phy Mode = 9 2. Phy Mode = 9 3. Phy Mode = 9 MCS Set = ff ff ff 00 01 Main bssid = 00:50:7f:e8:91:98 <==== rt28xx_init, Status=0 0x1300 = 00064300 IFX MEI Version 3.05.00 <3>[IFX_MEI_InitProcFS 3226]: Failed to create /proc/ danube_mei <6>../usb/usb.c: registered new driver hub usb_init() done!! usb_host_init[0]!! run usb otg driver!! DANUBE_MPS_CHIPID=50110083, Chip Version Number=5, Part Number=110, Manufacturer ID=41 ** VpnCapabilities() is 1 ** Linear free(0x82f04870), Ln:56! @@@@@ Inside InitIpAddrTable() @@@@@ Vigor2830 by DrayTek Corp.==========================LAN MAC Address : 00-50-7F-E8-91-98IP Address : 192.168.1.1IP Subnet Mask : 255.255.255.0Firmware Version : 3.6.6.2_sb_2471201-------- Main Menu --------1 : Change IP Address and Subnet Mask2 : Change Administrator Password3 : Reboot System4 : Enable TFTP Server5 : Restore to Default Management Port Please Select Item : athrs16_reg_init complete. c0_hpt_timer_init()..count=-1667284.<6>dwc_otg: version 2.2-RC3 usb_alloc_buf, size=64, totalsize=76, cached=80a51e80<6>dwc_otg_hcd: irq 54, addr be101000 <6>../usb/usb.c: new USB bus registered, assigned bus number 1 Manufacturer: Linux 2.4.31-Danube-3.0.5-G0432V30_BSP dwc_otg_hcd Product: dwc_otg_hcd SerialNumber: dwc_otg_hcd hub_probe <6>../usb/hub.c: USB hub found usb_hub_configure() <6>../usb/hub.c: 1 port detected FILL_INT_URB()usb_hub_power_on() New device : Vendor=0x0, Product=0x0 exit usb_hub_configure()USB device 1 (vend/prod 0x0/0x0) is claimed.<6>DWC_otg: Init: Power Port (0) usb host init done!! <6>../usb/usb.c: registered new driver usblp <6>../usb/printer.c: v0.13: USB Printer Device Class driver usblp_init() done!!!! <6>../usb/usb.c: registered new driver usbminivigor usb_minidrv_init() done!!!! <7>../usb/CDCEther.c: ../usb/CDCEther.c: 0.98.6 7 Jan 2002 Brad Hards and another <6>../usb/usb.c: registered new driver CDCEther <6>../usb/usb.c: registered new driver serial ----------------> usb_serial_register <6>../usb/usbserial.c: USB Serial support registered for Generic <6>../usb/usbserial.c: USB Serial Driver core v1.4 ../usb/wimaxdrv.c: v1.0.0 2009/07/15 Samsung SWC-U200 Wimax driver <6>../usb/usb.c: registered new driver WiMAX/LTE <6>../usb/usb.c: registered new driver Usb Mass Storage ----------------> usb_register cfparse(0) cf_post_config(0) 1 INFO: Server addr pool not properly configured ERR: failed to parse configuration fileppe: ATM init succeeded (firmware version 1.1.0.2.1.13) amazon_set_vpivci: channel=0,vpi=0,vci=26 port=0 amazon_set_qos_aal: channel=0,qos=0,aal_type=6000000 dsl_init() IFXXDSL.C: SetSarConnParam(), ConnNum=0 ======================================= conn->VPI=0, conn->VCI=38, conn->Sar_Port=0, conn->Qos=0x0, conn->AAL_type= 0x6000000 conn->PCR=0, conn->SCR=0, conn->MBS=0 ======================================= -----------yyy--------------------------- tx PCR=0 tx SCR=0 tx MBS=0 tx CDV=0, 0 xdsl drop tick= 501 <6>OC INTERRUPT~~<3>DWC_otg: Device Not Supported <3>../usb/hub.c: port 1 over-current change usb_hub_power_on() <6>OC INTERRUPT~~<3>DWC_otg: Device Not Supported <3>../usb/hub.c: port 1 over-current change usb_hub_power_on() <6>OC INTERRUPT~~<3>DWC_otg: Device Not Supported <3>../usb/hub.c: port 1 over-current change usb_hub_power_on() <6>OC INTERRUPT~~<3>DWC_otg: Device Not Supported <3>../usb/hub.c: port 1 over-current change usb_hub_power_on() <6>OC INTERRUPT~~<3>DWC_otg: Device Not Supported <3>../usb/hub.c: port 1 over-current change usb_hub_power_on() <6>OC INTERRUPT~~<3>DWC_otg: Device Not Supported <3>../usb/hub.c: port 1 over-current change usb_hub_power_on()


OpenWrt bootlog

PUT HERE YOUR BOOTLOG


Notes

Tags

toh/draytek/vigor2830_series.txt · Last modified: 2017/09/18 22:12 by AndyI