User Tools

Site Tools


toh:astoria:arv752dpw22

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:astoria:arv752dpw22 [2012/10/07 19:50]
toh:astoria:arv752dpw22 [2015/08/01 11:44] (current)
äxl [run u-boot noninvasive via serial port] add infos
Line 1: Line 1:
 __This is mainly a draft. Will be completed soon.__ __This is mainly a draft. Will be completed soon.__
  
-mostly copied form [[http://​wiki.openwrt.org/​toh/​arcadyan/​arv752dpw|Arcadyan ARV752DPW]] +Please correct spelling and wordingI'm not a native speaker.
  
 ====== Astoria networks ARV752DPW22 ====== ====== Astoria networks ARV752DPW22 ======
  
-In Germany also sold as **<color red>​Vodafone DSL-EasyBox 803A</​color>​**.+In Germany also sold as **Arcor/<color red>​Vodafone DSL-EasyBox 803A</​color>​**.
  
  
Line 12: Line 11:
 ===== Hardware ===== ===== Hardware =====
 ==== Highlights ==== ==== Highlights ====
-^ CPU ^ Ram ^ Flash ^ Network ^ USB ^ Serial ^ UART ^ FXS ^ +^ CPU ^ Ram ^ Flash ^ Network ^ USB ^ Serial ^ UART mode ^ FXS ^ 
-| Lantiq Xway Danube @333Mhz Dual Core | 64MB | 8MB | 4 Ports | Yes | Yes | Yes | Yes |+|  [[doc:​Hardware:​soc:​soc.lantiq|Lantiq Xway Danube]] @333Mhz Dual Core   64MB   8MB   4 Ports   Yes   Yes   Yes  2xPOTS, 1xISDN ​|
  
  
-==== Details ​====+==== Overview ​====
 | **Architecture:​** | MIPS | | **Architecture:​** | MIPS |
 | **Target:** | [[doc:​hardware:​soc:​soc.lantiq|Lantiq]] Xway Danube | | **Target:** | [[doc:​hardware:​soc:​soc.lantiq|Lantiq]] Xway Danube |
 | **Vendor:** | Arcadyan | | **Vendor:** | Arcadyan |
 | **Bootloader:​** | [[doc:​techref:​bootloader:​brnboot]] | | **Bootloader:​** | [[doc:​techref:​bootloader:​brnboot]] |
-| **System-On-Chip:​** | |+| **System-On-Chip:​** |  |
 | **CPU/​Speed** | 333 Mhz | | **CPU/​Speed** | 333 Mhz |
 | **Flash-Chip:​** | | | **Flash-Chip:​** | |
 | **Flash size:** | 8MB | | **Flash size:** | 8MB |
-| **RAM:​** ​64MB | |+| **RAM:** | 64MB |
 | **RAM Chip:** | | | **RAM Chip:** | |
 | **Wireless:​** | RaLink RT3062F; 802.11b/​g/​n,​ 2 fixed internal antennas| | **Wireless:​** | RaLink RT3062F; 802.11b/​g/​n,​ 2 fixed internal antennas|
 | **Ethernet:​** | Atheros AR8216; 4x LAN 100MBit/s| | **Ethernet:​** | Atheros AR8216; 4x LAN 100MBit/s|
-| **Internet:​** | ADSL2+ (annex and B) |+| **Internet:​** | ADSL2+ (Annex AB, J) (Firmware 30.05.225) | 
 +| **ADSL standard:** | G.992.1 (G.DMT), G.992.3 (ADSL2), G.992.5 (ADSL2+), G.992.3 (Annex J), G.992.5 (Annex J) |
 | **FXS:** | 2x POTS + 1x ISDN S<​sub>​0</​sub>​| | **FXS:** | 2x POTS + 1x ISDN S<​sub>​0</​sub>​|
 +| **ISDN:** | Infineon T-SMINTO PEF 80902, [[http://​www.colognechip.com/​isdn/​controllers/​frame-xhfc-2su.htm|Cologne Chip XHFC-2SU ISDN 4511]] |
 | **USB:** | Yes 3 x 2.0 | | **USB:** | Yes 3 x 2.0 |
 | **Serial:** | [[doc:​hardware:​port.serial|Yes]] 3.3V | | **Serial:** | [[doc:​hardware:​port.serial|Yes]] 3.3V |
 | **JTAG:** | ? | | **JTAG:** | ? |
 | **Power:** | external PSU, 15V DC, max 1,6A (16W typical) polarity: -(+) | | **Power:** | external PSU, 15V DC, max 1,6A (16W typical) polarity: -(+) |
 +
 +
 +==== Details ====
 +
 +=== CPU ===
 +<​code>​
 +# cat /​proc/​cpuinfo ​
 +system type             : Danube rev 1.5
 +machine ​                : ARV752DPW22 - Arcor A803
 +processor ​              : 0
 +cpu model               : MIPS 24KEc V4.1
 +BogoMIPS ​               : 221.18
 +wait instruction ​       : yes
 +microsecond timers ​     : yes
 +tlb_entries ​            : 16
 +extra interrupt vector ​ : yes
 +hardware watchpoint ​    : yes, count: 4, address/irw mask: [0x0000, 0x07d0, 0x0b40, 0x0f50]
 +ASEs implemented ​       : mips16 dsp
 +shadow register sets    : 1
 +kscratch registers ​     : 0
 +core                    : 0
 +VCED exceptions ​        : not available
 +VCEI exceptions ​        : not available
 +</​code>​
 +
 +=== PCI ===
 +<​code>​
 +# lspci
 +00:0e.0 Network controller: Ralink corp. Device 3592
 +00:0f.0 USB controller: VIA Technologies,​ Inc. VT82xxxxx UHCI USB 1.1 Controller (rev 62)
 +00:0f.1 USB controller: VIA Technologies,​ Inc. VT82xxxxx UHCI USB 1.1 Controller (rev 62)
 +00:0f.2 USB controller: VIA Technologies,​ Inc. USB 2.0 (rev 65)
 +</​code>​
 +
 +=== USB ===
 +<​code>​
 +# lsusb
 +Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
 +Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
 +Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
 +Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
 +</​code>​
 +
 +The external USB ports are connected to the USB 2.0 root hubs.\\
 +The port behind the small cover (meant for an UMTS stick) is connected to bus 001 the other two are connected to bus 002.
 +
 +=== LAN ===
 +
 +eth0 is connected to port #0 of the Atheros AR8216 switch.\\
 +The switch has 6 ports. Port #1 is not connected.\\
 +The ports #2 to #5 are the ports LAN1 to LAN4 on the backside of the router.
 +
 +The max MTU size of eth0 is 1500.
 +
 +The switch can manage up to 16 [[doc:​networking:​network.interfaces#​vlan.and.bridging.concepts|VLANS]].
 +
 +<​code>​
 +# swconfig dev eth0 help
 +switch0: eth0(Atheros AR8216), ports: 6 (cpu @ 0), vlans: 16
 +     ​--switch
 +        Attribute 1 (int): enable_vlan (Enable VLAN mode)
 +        Attribute 2 (none): apply (Activate changes in the hardware)
 +        Attribute 3 (none): reset (Reset the switch)
 +     ​--vlan
 +        Attribute 1 (int): vid (VLAN ID (0-4094))
 +        Attribute 2 (ports): ports (VLAN port mapping)
 +     ​--port
 +        Attribute 1 (int): pvid (Primary VLAN ID)
 +        Attribute 2 (string): link (Get port link information)
 +</​code>​
 +
 +<​code>​
 +# swconfig dev eth0 show
 +Global attributes:
 +        enable_vlan:​ 0
 +Port 0:
 +        pvid: 0
 +        link: port:0 link:up speed:​100baseT full-duplex ​
 +Port 1:
 +        pvid: 0
 +        link: port:1 link:down
 +Port 2:
 +        pvid: 0
 +        link: port:2 link:down
 +Port 3:
 +        pvid: 0
 +        link: port:3 link:down
 +Port 4:
 +        pvid: 0
 +        link: port:4 link:down
 +Port 5:
 +        pvid: 0
 +        link: port:5 link:down
 +</​code>​
 +
 +== ascii layout ==
 +
 +<​code>​
 +                           ​_____________________________________________
 +                          /                 ​switch ​ AR8216 ​             \
 +                         | port0   ​port1 ​  ​port2 ​  ​port3 ​  ​port4 ​  port5 |
 +                          \_____________________________________________/​
 +                             ​| ​              ​| ​      ​| ​      ​| ​      |
 +WLAN---CPU---eth0-----------/ ​             LAN 1   LAN 2   LAN 3   LAN 4
 +</​code>​
 +
 +=== WLAN ===
 +
 +=== ISDN ===
 +
 +=== POTS ===
 +=== LEDs ===
 +^Symbol^Color^
 +|Power ​  | <color red>​red</​color>​ + <color blue>​blue</​color>​ |
 +|WAN     | <color red>​red</​color>​ + <color blue>​blue</​color>​ |
 +|VoIP    | <color red>​red</​color>​ + <color blue>​blue</​color>​ |
 +|WLan    | <color red>​red</​color>​ |
 +|UMTS USB\\ looks a bit like a mic symbol| <color red>​red</​color>​ |
 +|Mail    | <color red>​red</​color>​|
 +|LAN1    | <color green>​green</​color>​ |
 +|LAN2    | <color green>​green</​color>​ |
 +|LAN3    | <color green>​green</​color>​ |
 +|LAN4    | <color green>​green</​color>​ |
 +|ISDN    | <color green>​green</​color>​ |
 +|POTS 1  | <color green>​green</​color>​ |
 +|POTS 2  | <color green>​green</​color>​ |
 +
 +The following mapping is wrong [2012/​10/​11]:​
 +<​code>​
 +[    0.748000] Registered led device: soc:​blue:​power
 +[    0.748000] Registered led device: soc:​red:​internet
 +[    0.748000] Registered led device: soc:​red:​power
 +[    0.748000] Registered led device: soc:red:wps
 +[    0.752000] Registered led device: soc:red:fxo
 +[    0.752000] Registered led device: soc:​red:​voice
 +[    0.752000] Registered led device: soc:​green:​usb
 +[    0.752000] Registered led device: soc:​green:​wifi
 +[    0.752000] Registered led device: soc:​green:​wifi1
 +[    0.752000] Registered led device: soc:​blue:​wifi
 +[    0.756000] Registered led device: soc:​blue:​wifi1
 +[    0.756000] Registered led device: soc:​green:​eth1
 +[    0.756000] Registered led device: soc:​green:​eth2
 +[    0.756000] Registered led device: soc:​green:​eth3
 +[    0.756000] Registered led device: soc:​green:​eth4
 +</​code>​
 +
 +=== buttons ===
 +
 +There are 4 buttons on the device.\\
 +One on the side was originally meant to switch the WLan on and off.\\
 +One on the back was meant as a reset button.\\
 +A protected one on the back side was meant to get back to the original configuration.\\
 +And then there is a 4th button near the leds on the back side.
 +
 +=== serial port ===
 +Board voltage is 3.3V so you will need a cheap usb to serial adapter which are already at 3.3v.
 +
 +For compatible USB to serial cables see: [[doc:​hardware:​port.serial.cables]]
 +
 +Pinout:
 +
 +|4| GND |
 +|3| RX |
 +|2| TX |
 +|1| Vcc 3.3V |
 +{{:​toh:​astoria:​backside.803a-serial.jpg?​250|}}
 +
  
 ==== Opening the case ==== ==== Opening the case ====
Line 58: Line 226:
  
 {{:​toh:​astoria:​internal.antennas.803a.jpg?​250|}} {{:​toh:​astoria:​internal.antennas.803a.jpg?​250|}}
- 
-==== LEDs ==== 
-^Name^Colour^Gpio^ 
-|Power ​  | <color red>​red</​color>​ + <color blue>​blue</​color>​ ( +<color green>​green</​color>?​) | | 
-|WAN     | <color red>​red</​color>​ + <color blue>​blue</​color>​ ( +<color green>​green</​color>?​) | | 
-|VoIP    | <color red>​red</​color>​ (+<color blue>​blue</​color>​ + <color green>​green</​color>?​) ​ | | 
-|WLan    | <color red>​red</​color>​ | | 
-|UMTS USB| | | 
-|Mail    | | | 
- 
-==== Serial ==== 
-Board voltage is 3.3V so you will need a cheap usb to serial adapter which are already at 3.3v. 
- 
-For compatible USB to serial cables see: [[doc:​hardware:​port.serial.cables]] 
- 
-Pinout: 
- 
-|4| GND | 
-|3| RX | 
-|2| TX | 
-|1| Vcc 3.3V | 
-{{:​toh:​astoria:​backside.803a-serial.jpg?​250|}} 
  
 ===== 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:​500px;​font:​10px/​14px Georgia, Garamond, Serif;​overflow:​Auto;​background-color:#​FFFFFF">​
 <​code>​þ <​code>​þ
 ROM VER: 1.0.3 ROM VER: 1.0.3
Line 2532: Line 2678:
 </p> </p>
 </​HTML>​ </​HTML>​
 +
 +==== Linux bootlog ====
 +
 +booting from u-boot from original bootloader
 +
 +<​HTML>​
 +<p style="​padding:​ 10px;​border:​1px solid grey;​height:​500px;​font:​10px/​14px Georgia, Garamond, Serif;​overflow:​Auto;​background-color:#​FFFFFF">​
 +<​code>​
 +[DANUBE Boot]:y
 +               
 +Go to Memory Address: (default:​0x80002000) : 0x
 +Jump to address 0x80002000 ...
 +                              ​
 +
 +U-Boot 2010.03 (Sep 29 2012 - 18:24:13)
 +
 +Board: ARV752DPW22
 +SoC: Danube/​Twinpass/​Vinax-VE V1.5, DDR Speed 166 MHz, CPU Speed 333 MHz
 +DRAM:  64 MB
 +Flash: ​ 8 MB
 +*** Warning - bad CRC, using default environment
 +
 +Net:   bring up ebu gpio
 +initializing ar8216 switch... initialized
 +lq_cpe_eth
 +Hit any key to stop autoboot: ​ 0 
 +## Booting kernel from Legacy Image at b0020000 ...
 +   Image Name:   MIPS OpenWrt Linux-3.3.8
 +   ​Created: ​     2012-09-04 ​ 19:43:16 UTC
 +   Image Type:   MIPS Linux Kernel Image (lzma compressed)
 +   Data Size:    1011964 Bytes = 988.2 kB
 +   Load Address: 80002000
 +   Entry Point: ​ 80002000
 +   ​Verifying Checksum ... OK
 +   ​Uncompressing Kernel Image ... OK
 +
 +Starting kernel ...
 +
 +[    0.000000] Linux version 3.3.8 (blogic@Debian-60-squeeze-64-minimal) (gcc version 4.6.3 20120201 (prerelease) (Linaro GCC 4.6-2012.02) ) #4 Fri Aug 31 16:20:51 UTC 2012
 +[    0.000000] SoC: Danube rev 1.5
 +[    0.000000] bootconsole [early0] enabled
 +[    0.000000] CPU revision is: 00019641 (MIPS 24KEc)
 +[    0.000000] Determined physical RAM map:
 +[    0.000000] ​ memory: 04000000 @ 00000000 (usable)
 +[    0.000000] Initrd not found or empty - disabling initrd
 +[    0.000000] Zone PFN ranges:
 +[    0.000000] ​  ​Normal ​  ​0x00000000 -> 0x00004000
 +[    0.000000] Movable zone start PFN for each node
 +[    0.000000] Early memory PFN ranges
 +[    0.000000] ​    0: 0x00000000 -> 0x00004000
 +[    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 16256
 +[    0.000000] Kernel command line: console=ttyLTQ1,​115200 rootfstype=squashfs,​jffs2 machtype=ARV752DPW22
 +[    0.000000] PID hash table entries: 256 (order: -2, 1024 bytes)
 +[    0.000000] Dentry cache hash table entries: 8192 (order: 3, 32768 bytes)
 +[    0.000000] Inode-cache hash table entries: 4096 (order: 2, 16384 bytes)
 +[    0.000000] Primary instruction cache 16kB, VIPT, 4-way, linesize 32 bytes.
 +[    0.000000] Primary data cache 16kB, 4-way, VIPT, no aliases, linesize 32 bytes
 +[    0.000000] Writing ErrCtl register=00074f68
 +[    0.000000] Readback ErrCtl register=00074f68
 +[    0.000000] Memory: 61832k/​65536k available (2399k kernel code, 3704k reserved, 403k data, 176k init, 0k highmem)
 +[    0.000000] NR_IRQS:256
 +[    0.000000] CPU Clock: 333MHz
 +[    0.000000] Calibrating delay loop... 221.18 BogoMIPS (lpj=442368)
 +[    0.040000] pid_max: default: 32768 minimum: 301
 +[    0.044000] Mount-cache hash table entries: 512
 +[    0.052000] NET: Registered protocol family 16
 +[    0.060000] gpiochip_add:​ registered GPIOs 0 to 15 on device: ltq_gpio
 +[    0.064000] gpiochip_add:​ registered GPIOs 16 to 31 on device: ltq_gpio
 +[    0.068000] MIPS: machine is ARV752DPW22 - Arcor A803
 +[    0.072000] gpiochip_add:​ registered GPIOs 100 to 115 on device: ltq_ebu
 +[    0.104000] bio: create slab <​bio-0>​ at 0
 +[    0.112000] PCI host bridge to bus 0000:00
 +[    0.116000] pci_bus 0000:00: root bus resource [mem 0x18000000-0x19ffffff]
 +[    0.120000] pci_bus 0000:00: root bus resource [io  0x1ae00000-0x1affffff]
 +[    0.128000] pci 0000:​00:​0e.0:​ BAR 0: assigned [mem 0x18000000-0x1800ffff]
 +[    0.132000] pci 0000:​00:​0f.2:​ BAR 0: assigned [mem 0x18010000-0x180100ff]
 +[    0.136000] pci 0000:​00:​0f.0:​ BAR 4: assigned [io  0x1ae00000-0x1ae0001f]
 +[    0.140000] pci 0000:​00:​0f.1:​ BAR 4: assigned [io  0x1ae00020-0x1ae0003f]
 +[    0.144000] pci 0000:​00:​0e.0:​ SLOT:14 PIN:1 IRQ:30
 +[    0.148000] pci 0000:​00:​0f.0:​ SLOT:15 PIN:1 IRQ:135
 +[    0.152000] pci 0000:​00:​0f.1:​ SLOT:15 PIN:2 IRQ:135
 +[    0.156000] pci 0000:​00:​0f.2:​ SLOT:15 PIN:3 IRQ:135
 +[    0.160000] Switching to clocksource MIPS
 +[    0.168000] NET: Registered protocol family 2
 +[    0.176000] IP route cache hash table entries: 1024 (order: 0, 4096 bytes)
 +[    0.180000] TCP established hash table entries: 2048 (order: 2, 16384 bytes)
 +[    0.188000] TCP bind hash table entries: 2048 (order: 1, 8192 bytes)
 +[    0.196000] TCP: Hash tables configured (established 2048 bind 2048)
 +[    0.200000] TCP reno registered
 +[    0.204000] UDP hash table entries: 256 (order: 0, 4096 bytes)
 +[    0.212000] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
 +[    0.216000] NET: Registered protocol family 1
 +[    0.220000] PCI: Enabling device 0000:​00:​0f.0 (0000 -> 0001)
 +[    0.228000] PCI: Enabling device 0000:​00:​0f.1 (0000 -> 0001)
 +[    0.232000] PCI: Enabling device 0000:​00:​0f.2 (0000 -> 0002)
 +[    0.240000] gptu: totally 6 16-bit timers/​counters
 +[    0.244000] gptu: misc_register on minor 63
 +[    0.248000] gptu: succeeded to request irq 126
 +[    0.252000] gptu: succeeded to request irq 127
 +[    0.260000] gptu: succeeded to request irq 128
 +[    0.264000] gptu: succeeded to request irq 129
 +[    0.268000] gptu: succeeded to request irq 130
 +[    0.272000] gptu: succeeded to request irq 131
 +[    0.280000] squashfs: version 4.0 (2009/​01/​31) Phillip Lougher
 +[    0.284000] JFFS2 version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc.
 +[    0.296000] msgmni has been set to 120
 +[    0.300000] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 254)
 +[    0.308000] io scheduler noop registered
 +[    0.312000] io scheduler deadline registered (default)
 +[    0.320000] ltq_asc.1: ttyLTQ1 at MMIO 0x1e100c00 (irq = 112) is a ltq_asc
 +[    0.324000] console [ttyLTQ1] enabled, bootconsole disabled
 +[    0.324000] console [ttyLTQ1] enabled, bootconsole disabled
 +[    0.340000] ltq_nor: Found 1 x16 devices at 0x0 in 16-bit bank. Manufacturer ID 0x0000c2 Chip ID 0x0022cb
 +[    0.348000] Amd/Fujitsu Extended Query Table at 0x0040
 +[    0.352000] ​  ​Amd/​Fujitsu Extended Query version 1.1.
 +[    0.360000] number of CFI chips: 1
 +[    0.360000] Creating 4 MTD partitions on "​ltq_nor":​
 +[    0.368000] 0x000000000000-0x000000010000 : "​uboot"​
 +[    0.376000] 0x000000010000-0x000000020000 : "​uboot_env"​
 +[    0.380000] 0x000000020000-0x0000007f0000 : "​linux"​
 +[    0.388000] found squashfs behind kernel
 +[    0.392000] Creating 2 MTD partitions on "​ltq_nor":​
 +[    0.396000] 0x000000020000-0x00000011713c : "​kernel"​
 +[    0.400000] mtd: partition "​kernel"​ must either start or end on erase block boundary or be smaller than an erase block -- forcing read-only
 +[    0.416000] 0x00000011713c-0x0000007f0000 : "​rootfs"​
 +[    0.420000] mtd: partition "​rootfs"​ must either start or end on erase block boundary or be smaller than an erase block -- forcing read-only
 +[    0.432000] mtd: partition "​rootfs"​ set to be root filesystem
 +[    0.440000] mtd: partition "​rootfs_data"​ created automatically,​ ofs=270000, len=580000 ​
 +[    0.444000] 0x000000270000-0x0000007f0000 : "​rootfs_data"​
 +[    0.456000] 0x0000007f0000-0x000000800000 : "​board_config"​
 +[    0.464000] etop: invalid MAC, using random
 +[    0.612000] ltq_mii: probed
 +[    0.636000] eth0: Atheros AR8216 switch driver attached.
 +[    0.736000] eth0: attached PHY [Atheros AR8216/​AR8236/​AR8316] (phy_addr=ltq_etop-fffffff:​00,​ irq=-1)
 +[    0.760000] TCP cubic registered
 +[    0.760000] NET: Registered protocol family 17
 +[    0.764000] 8021q: 802.1Q VLAN Support v[    0.780000] VFS: Mounted root (squashfs filesystem) readonly on device 31:4.
 +[    0.788000] Freeing unused kernel memory: 176k freed
 +- preinit -
 +Press the [f] key and hit [enter] to enter failsafe mode
 +- regular preinit -
 +[    7.352000] JFFS2 notice: (420) jffs2_build_xattr_subsystem:​ complete building xattr subsystem, 1 of xdatum (1 unchecked, 0 orphan) and 5 of xref (0 dead, 2 orphan) found.
 +switching to jffs2
 +- init -
 +
 +Please press Enter to activate this console. [    8.580000] usbcore: registered new interface driver usbfs
 +[    8.584000] usbcore: registered new interface driver hub
 +[    8.592000] usbcore: registered new device driver usb
 +[    8.732000] NET: Registered protocol family 8
 +[    8.736000] NET: Registered protocol family 20
 +[    8.772000] Button Hotplug driver version 0.4.1
 +[    8.812000] PPP generic driver version 2.4.2
 +[    9.132000] ip_tables: (C) 2000-2006 Netfilter Core Team
 +[    9.404000] NET: Registered protocol family 24
 +[    9.428000] ehci_hcd: USB 2.0 '​Enhanced'​ Host Controller (EHCI) Driver
 +[    9.432000] ehci_hcd 0000:​00:​0f.2:​ EHCI Host Controller
 +[    9.440000] ehci_hcd 0000:​00:​0f.2:​ new USB bus registered, assigned bus number 1
 +[    9.444000] ehci_hcd 0000:​00:​0f.2:​ irq 135, io mem 0x18010000
 +[    9.464000] ehci_hcd 0000:​00:​0f.2:​ USB 2.0 started, EHCI 1.00
 +[    9.468000] hub 1-0:1.0: USB hub found
 +[    9.468000] hub 1-0:1.0: 4 ports detected
 +[    9.500000] nf_conntrack version 0.5.0 (968 buckets, 3872 max)
 +[   ​10.396000] IFX MEI Version 5.00.00
 +[   ​10.624000] ​
 +[   ​10.624000] Infineon CPE API Driver version: DSL CPE API V3.24.4.4
 +[   ​10.788000] ​    ATM (A1) firmware version 1.0.19
 +[   ​10.792000] ifxmips_atm:​ ATM init succeed
 +[   ​10.824000] dwc_otg: version 2.60a 22-NOV-2006
 +[   ​11.428000] DWC_otg: Using DMA mode
 +[   ​11.428000] dwc_otg dwc_otg.0: DWC OTG Controller
 +[   ​11.436000] dwc_otg dwc_otg.0: new USB bus registered, assigned bus number 2
 +[   ​11.440000] dwc_otg dwc_otg.0: irq 62, io mem 0xffffffffbe101000
 +[   ​11.452000] DWC_otg: Init: Port Power? op_state=1
 +[   ​11.452000] DWC_otg: Init: Power Port (0)
 +[   ​11.460000] hub 2-0:1.0: USB hub found
 +[   ​11.460000] hub 2-0:1.0: 1 port detected
 +[   ​11.564000] DISCONNECTED PORT
 +[   ​11.568000] uhci_hcd: USB Universal Host Controller Interface driver
 +[   ​11.572000] uhci_hcd 0000:​00:​0f.0:​ UHCI Host Controller
 +[   ​11.580000] uhci_hcd 0000:​00:​0f.0:​ new USB bus registered, assigned bus number 3
 +[   ​11.588000] uhci_hcd 0000:​00:​0f.0:​ irq 135, io base 0x1ae00000
 +[   ​11.592000] hub 3-0:1.0: USB hub found
 +[   ​11.596000] hub 3-0:1.0: 2 ports detected
 +[   ​11.600000] uhci_hcd 0000:​00:​0f.1:​ UHCI Host Controller
 +[   ​11.604000] uhci_hcd 0000:​00:​0f.1:​ new USB bus registered, assigned bus number 4
 +[   ​11.612000] uhci_hcd 0000:​00:​0f.1:​ irq 135, io base 0x1ae00020
 +[   ​11.620000] hub 4-0:1.0: USB hub found
 +[   ​11.620000] hub 4-0:1.0: 2 ports detected
 +[   ​11.640000] input: gpio-keys-polled as /​devices/​platform/​gpio-keys-polled/​input/​input0
 +[   ​16.276000] device eth0 entered promiscuous mode
 +[   ​16.288000] br-lan: port 1(eth0) entered forwarding state
 +[   ​16.292000] br-lan: port 1(eth0) entered forwarding state
 +[   ​18.296000] br-lan: port 1(eth0) entered forwarding state
 +</​code>​
 +</p>
 +</​HTML>​
 +
  
 ===== backup flash ===== ===== backup flash =====
-Please ​Backup ​your original firmware!+Please ​backup ​your original firmware! ​Not only that you might want to go back to the original state later, but your firmware may also contain data that is unique to your device like MAC addresses (not sure about that but though).
  
 You'll need: You'll need:
Line 2634: Line 2977:
 | Boot          | brnboot | | Boot          | brnboot |
 | Configuration | router OS parameters| | Configuration | router OS parameters|
-| Special Area  | ART Image |+| Special Area  | |
 | Code Image    | router OS | | Code Image    | router OS |
-| Boot Params ​  ​| ​brnboot parameters ​|+| Boot Params ​  ​| ​WLAN Firmware ​|
  
 ===== U-Boot ===== ===== U-Boot =====
-Downloads: [[http://​downloads.openwrt.org/​snapshots/trunk/​lantiq/​|OpenWrt ​Trunk uboot]]+Downloads: [[http://​downloads.openwrt.org/​attitude_adjustment/12.09-rc1/lantiq/danube/​|OpenWrt ​12.09-rc1 ​uboot]]
  
 There are 3 different possibilities to run u-boot: There are 3 different possibilities to run u-boot:
Line 2646: Line 2989:
    - **uboot-lantiq-arv752DPW22_ramboot** meant to be uploaded via UART by the cpu if flash'​s bootloader is broken, for rescue purposes \\ see [[arv752dpw22#​uart.mode|below]]    - **uboot-lantiq-arv752DPW22_ramboot** meant to be uploaded via UART by the cpu if flash'​s bootloader is broken, for rescue purposes \\ see [[arv752dpw22#​uart.mode|below]]
  
 +  * U-Boot is compatible with ARV7518PW according to [[https://​forum.openwrt.org/​viewtopic.php?​pid=225575#​p225575|this article]].
 +  * There are currently no U-Boots available in [[https://​downloads.openwrt.org/​snapshots/​trunk/​lantiq/​|trunk]] (20-Apr-2015).
 +  * For BarrierBreaker you can use [[https://​forum.openwrt.org/​viewtopic.php?​pid=272879#​p272879|this U-Boot]] (from SNK).
 +==== run u-boot noninvasive via serial port ====
  
-=== run u-boot noninvasive via serial port === +  ​- download [[http://​downloads.openwrt.org/​attitude_adjustment/12.09-rc1/lantiq/danube/​uboot-lantiq-arv752DPW22_brnboot/​u-boot.bin|u-boot.bin]]
- +
-  ​- download [[http://​downloads.openwrt.org/​snapshots/trunk/​lantiq/​uboot-lantiq-arv752DPW22_brnboot/​|u-boot.bin]]+
   - get into administrative mode of bootloader   - get into administrative mode of bootloader
   - choose\\ ''​[M] Upload to Memory''​\\ at default address 0x80002000   - choose\\ ''​[M] Upload to Memory''​\\ at default address 0x80002000
-  - exit terminal +  - exit terminal ​(kill screen as mentioned above) 
-  - send u-boot.bin via XMODEM protocoll:​\\ ''​sx u-boot.bin </​dev/​ttyUSB0 >/​dev/​ttyUSB0''​ +  - send u-boot.bin via XMODEM protocoll ​(you may have to add your user to group **dialout**):\\ ''​sx u-boot.bin </​dev/​ttyUSB0 >/​dev/​ttyUSB0''​ 
-  - get to the console via terminal ​egain & type **[Return]**+  - get to the console via terminal ​again & type **[Return]**
   - choose\\ ''​[Y] Go to Memory''​\\ to default address 0x80002000   - choose\\ ''​[Y] Go to Memory''​\\ to default address 0x80002000
  
Line 2682: Line 3027:
 http start http start
 ..........................................................................</​code>​ ..........................................................................</​code>​
 +
 +You can hit **[Ctrl]** + **[C]** to get to the command line or hitting a key at the requested time.
 +
 +==== install OpenWRT via serial port ====
 +
 +<color red>​**Attention**:​\\
 +In this paragraph you have to take action on **bootloader [bl]** cmd line and sometimes on **u-boot [ub]** cmd line and sometimes local **[lo]**.\\
 +Don't mix up!</​color>​
 +
 +Download the squash image [[http://​downloads.openwrt.org/​attitude_adjustment/​12.09/​lantiq/​danube/​openwrt-lantiq-danube-ARV752DPW22-squashfs.image|openwrt-lantiq-danube-ARV752DPW22-squashfs.image]].
 +
 +At first create a flash image that doesn'​t destroy the original bootloader.
 +
 +To do this take a copy of the original bootloader code (first 128k of the backup firmware) and attach the squash image to it:
 +
 +**[lo]**: ''​cat ARV752DPW22_boot.dump openwrt-lantiq-danube-ARV752DPW22-squashfs.image > flash.img''​
 +
 +Then erase all flash blocks not needed on the u-boot command line:
 +
 +**[ub]**: ''​ARV752DPW22 => erase 1:​9-134''​
 +
 +This takes some time.
 +
 +Then reset and write the just created ''​flash.img''​ via XMODEM to the flash at area 5 (whole flash):
 +
 +choose\\ ​
 +**[bl]**: ''​[U] Upload to Flash''​ \\ 
 +**[bl]**: ''​[5] Flash Image     ​0xB0000000 ​   8192K             ''​ and transmit via\\ 
 +**[lo]**: ''​sx flash.img </​dev/​ttyUSB0 >/​dev/​ttyUSB0''​
 +
 +This takes some more time to transmit and then takes some time again to get written to the flash. **Be patient!!**
 +
 +Wait until the bootloader command line is interactive again. **Be patient!!**
 +
 +The openwrt image is on the flash but it doesn'​t start automatically because u-boot isn't on flash yet.
 +
 +To boot OpenWRT put u-boot into ram again and start it. That's it.
 +
 +===== WLAN =====
 +
 +For Wifi to work, you must preserve the original board config partition. It consists of the last sector of your flash: 0xb07f000 - 0xb07ffff. ​ If your wifi doesn'​t work, you propably have accidently erased that data. Hopefully you created a backup of your original firmware. That backup should be 8MB (8388608 bytes) long. The last 65536 (0x10000) bytes are the ones we are needing here.
 +
 +You can extract them using dd. Assuming you are on the machine where the original firmware backup is stored and it is named original.dump:​
 +
 +<​code>​
 +dd if=original.dump bs=1 skip=$((0x7f0000)) count=$((0x10000)) of=board_config.image
 +</​code>​
 +
 +Now you need to get the contents of the new file board_config.image onto your device. You could use TFTP from the U-Boot prompt.
 +
 +Once you have managed to load the data into the device memory (propably at $loadaddr), you erase the target flash memory from U-Boot:
 +
 +<​code>​
 +erase 0xb07f0000 +0x10000
 +</​code>​
 +
 +Then write the board config partition from memory to the flash:
 +
 +<​code>​
 +cp.b $loadaddr 0xb07f0000 0x10000
 +</​code>​
 +
 +I don't know if it actually helps overwriting it ever again, but it hopefully won't hurt to protect that part of the flash:
 +
 +<​code>​
 +protect on 0xb07f0000 +0x10000
 +</​code>​
 +
 +For me at this point wifi still wouldn'​t work after restarting the box. OpenWRT still needs to apply the wifi EEPROM data from that partition. I tried that manually without success. What did work for me was doing an OpenWRT "reset to defaults"​ from LuCI. I can now successfully scan for nearby wifi networks.
 +
 +
 +These links provide information for older versions of OpenWRT:  ​
 +[[https://​lists.openwrt.org/​pipermail/​openwrt-devel/​2014-January/​023459.html]]
 +[[https://​lists.openwrt.org/​pipermail/​openwrt-devel/​2014-January/​023460.html]]
  
 ===== UART Mode ===== ===== UART Mode =====
Line 2695: Line 3114:
 {{:​toh:​astoria:​uart.3.3v.803a.jpg?​250|}} {{:​toh:​astoria:​uart.3.3v.803a.jpg?​250|}}
 {{:​toh:​astoria:​uart.closeup.803a.jpg?​250|}} {{:​toh:​astoria:​uart.closeup.803a.jpg?​250|}}
 +
 +In this mode the device will only prompt:
 +<​code>​ROM VER: 1.0.3 
 +CFG 04 
 +Read EEPROMX ​
 +X
 +UART
 +</​code>​
 +Once you see that prompt you may carefully remove the additional circuitry (just in case you are manually bridging the connectors and need your hands to do the following steps). The device will reenter UART mode with each soft reset until you power cylce it.
 +
 +If part of the prompt is repeatingly displayed, your bridging of R80 might be inaccurate.
 +
 +Than you can submit e.g. an u-boot in ASCII-format (uboot-lantiq-arv752DPW22_ramboot) with 
 +<​code>​HostPC:​~#​ cat u-boot.asc > /​dev/​ttyUSB0 </​code>​
 +which will be directly loaded. ​
 +In most cases you have to stop u-boot normal boot while pressing space, to get an u-boot console.
 +
 +Possibly problems to write sth to the flash is protection
 +turn it off in u-boot:
 +<​code>​ARV752DPW22 => protect off 1:0-134
 +Un-Protect Flash Sectors 0-134 in Bank #1 </​code> ​
 +
 +
 +
 +===== Running CC =====
 +
 +
 +1. compile firmware- AND u-boot-loader-images (find recipes galore in this Wiki)
 +
 +2. transfer new uboot into memory (find informations above - my example assumes, that's a running u-boot on the system avail)
 +
 +3. write new uboot to flash 
 +
 +-REBOOT-
 +
 +4. load new firmware into memory (tftp or bootp)
 +
 +5. write uploaded firmware into flash (checksums may differ, addresses should be similiar) ​
 +
 +-REBOOT-
 +
 +
 +<​code>​
 +
 +HostPC:~# python ./​ubootwrite.py --addr=0x80500000 --write=openwrt-lantiq-arv752dpw22_nor-u-boot.img --verbose
 +... ... ...
 +Ok, prompt received
 +Writing: mw 8052d4e0 ffffffff at: 0x8052d4e0
 +Waiting for prompt...
 +Ok, prompt received
 +File successfully written. You should run command 'crc32 80500000 0002d4e4'​ on the modem and the result must be 17ceed2d.
 +HostPC:​~# ​
 +
 +
 +
 +
 +
 +####################​ from serial-console ###############################################​
 +
 +crc32 80500000 0002d4e4
 +
 +##### check ! (17ceed2d in my case)
 +
 +protect off 0xb0000000 0xB002FFFF ​    
 +  ​
 +erase 0xb0000000 0xB002FFFF
 +
 +cp.b 0x80500000 0xb0000000 0x2d4e4
 +
 +protect on 0xb0000000 0xB002FFFF ​  
 +
 +
 +
 +
 +##################### ​  ​REBOOT ​ ##################################​
 +
 +
 +
 +
 +
 +
 +ARV752DPW22 # help
 +?       - alias for '​help'​
 +base    - print or set address offset
 +bdinfo ​ - print Board Info structure
 +bootm   - boot application image from memory
 +bootp   - boot image via network using BOOTP/TFTP protocol
 +cmp     - memory compare
 +cp      - memory copy
 +crc32   - checksum calculation
 +editenv - edit environment variable
 +env     - environment handling commands
 +erase   - erase FLASH memory
 +exit    - exit script
 +false   - do nothing, unsuccessfully
 +flinfo ​ - print FLASH memory information
 +go      - start application at address '​addr'​
 +help    - print command description/​usage
 +iminfo ​ - print header information for application image
 +loadb   - load binary file over serial line (kermit mode)
 +loadx   - load binary file over serial line (xmodem mode)
 +loady   - load binary file over serial line (ymodem mode)
 +loop    - infinite loop on address range
 +md      - memory display
 +mdio    - MDIO utility commands
 +mii     - MII utility commands
 +mm      - memory modify (auto-incrementing address)
 +mw      - memory write (fill)
 +nm      - memory modify (constant address)
 +ping    - send ICMP ECHO_REQUEST to network host
 +printenv- print environment variables
 +protect - enable or disable FLASH write protection
 +reset   - Perform RESET of the CPU
 +run     - run commands in an environment variable
 +saveenv - save environment variables to persistent storage
 +setenv ​ - set environment variables
 +showvar - print local hushshell variables
 +test    - minimal test like /bin/sh
 +tftpboot- boot image via network using TFTP protocol
 +true    - do nothing, successfully
 +version - print monitor, compiler and linker version
 +ARV752DPW22 # version
 +
 +U-Boot 2013.10-openwrt4 (Oct 05 2014 - 01:17:14) ARV752DPW22
 +mips-openwrt-linux-uclibc-gcc (OpenWrt/​Linaro GCC 4.8-2014.04 r42701) 4.8.3
 +GNU ld (GNU Binutils) 2.22
 +
 +
 +ARV752DPW22 # printenv
 +addconsole=setenv bootargs $bootargs console=$consoledev,​$baudrate
 +addeth=setenv bootargs $bootargs ethaddr=$ethaddr
 +addip=setenv bootargs $bootargs ip=$ipaddr:​$serverip::::​$netdev:​off
 +addmachtype=setenv bootargs $bootargs machtype=ARV752DPW22
 +baudrate=115200
 +bootcmd=bootm ${kernel_addr}
 +bootdelay=2
 +consoledev=ttyLTQ1
 +ethact=ltq-eth
 +ethaddr=00:​01:​02:​03:​04:​05
 +ipaddr=192.168.1.1
 +kernel_addr=0xB0040000
 +load-uboot-nor=tftpboot u-boot.bin
 +load-uboot-norspl=tftpboot u-boot.ltq.norspl
 +load-uboot-norspl-lzma=tftpboot u-boot.ltq.lzma.norspl
 +load-uboot-norspl-lzo=tftpboot u-boot.ltq.lzo.norspl
 +loadaddr=0x81000000
 +netdev=eth0
 +serverip=192.168.1.2
 +stderr=serial
 +stdin=serial
 +stdout=serial
 +update-uboot-nor=run load-uboot-nor write-uboot-nor
 +write-uboot-nor=protect off 0xB0000000 +$filesize && erase 0xB0000000 +$filesize && cp.b $fileaddr 0xB0000000 $filesize
 +
 +
 +
 +ARV752DPW22 # bootp
 +BOOTP broadcast 1
 +Using ltq-eth device
 +TFTP from server 192.168.1.50;​ our IP address is 192.168.1.21
 +Filename '​openwrt-lantiq-xway-ARV752DPW22-squashfs.image'​.
 +Load address: 0x81000000
 +Loading: #################################################################​
 +         #################################################################​
 +         #################################################################​
 +         #################################################################​
 +         #################################################################​
 +         #################################################################​
 +         #################################################################​
 +         #################################################################​
 +         #################################################################​
 +         #################################################################​
 +         #################################################################​
 +         #################################################################​
 +         #################################################################​
 +         ##########################​
 +         935.5 KiB/s
 +done
 +Bytes transferred = 4456452 (440004 hex)
 +ARV752DPW22 # crc32 81000000 440004 ​
 +CRC32 for 81000000 ... 81440003 ==> 6b5cb0b5
 +
 +ARV752DPW22 # flinfo
 +
 +Bank # 1: CFI conformant flash (16 x 16)  Size: 8 MB in 135 Sectors
 +  AMD Standard command set, Manufacturer ID: 0xC2, Device ID: 0x22CB
 +  Erase timeout: 16384 ms, write timeout: 1 ms
 +
 +  Sector Start Addresses:
 +  B0000000 ​  ​RO ​  ​B0002000 ​  ​RO ​  ​B0004000 ​  ​RO ​  ​B0006000 ​  ​RO ​  ​B0008000 ​  ​RO ​
 +  B000A000 ​  ​RO ​  ​B000C000 ​  ​RO ​  ​B000E000 ​  ​RO ​  ​B0010000 ​  ​RO ​  ​B0020000 ​  ​RO ​
 +  B0030000 ​  ​RO ​  ​B0040000 ​       B0050000 ​       B0060000 ​       B0070000 ​     ​
 +  B0080000 ​       B0090000 ​       B00A0000 ​       B00B0000 ​       B00C0000 ​     ​
 +  B00D0000 ​       B00E0000 ​       B00F0000 ​       B0100000 ​       B0110000 ​     ​
 +  B0120000 ​       B0130000 ​       B0140000 ​       B0150000 ​       B0160000 ​     ​
 +  B0170000 ​       B0180000 ​       B0190000 ​       B01A0000 ​       B01B0000 ​     ​
 +  B01C0000 ​       B01D0000 ​       B01E0000 ​       B01F0000 ​       B0200000 ​     ​
 +  B0210000 ​       B0220000 ​       B0230000 ​       B0240000 ​       B0250000 ​     ​
 +  B0260000 ​       B0270000 ​       B0280000 ​       B0290000 ​       B02A0000 ​     ​
 +  B02B0000 ​       B02C0000 ​       B02D0000 ​       B02E0000 ​       B02F0000 ​     ​
 +  B0300000 ​       B0310000 ​       B0320000 ​       B0330000 ​       B0340000 ​     ​
 +  B0350000 ​       B0360000 ​       B0370000 ​       B0380000 ​       B0390000 ​     ​
 +  B03A0000 ​       B03B0000 ​       B03C0000 ​       B03D0000 ​       B03E0000 ​     ​
 +  B03F0000 ​       B0400000 ​       B0410000 ​       B0420000 ​       B0430000 ​     ​
 +  B0440000 ​       B0450000 ​       B0460000 ​       B0470000 ​       B0480000 ​     ​
 +  B0490000 ​       B04A0000 ​       B04B0000 ​       B04C0000 ​       B04D0000 ​     ​
 +  B04E0000 ​       B04F0000 ​       B0500000 ​       B0510000 ​       B0520000 ​     ​
 +  B0530000 ​       B0540000 ​       B0550000 ​       B0560000 ​       B0570000 ​     ​
 +  B0580000 ​       B0590000 ​       B05A0000 ​       B05B0000 ​       B05C0000 ​     ​
 +  B05D0000 ​       B05E0000 ​       B05F0000 ​       B0600000 ​       B0610000 ​     ​
 +  B0620000 ​       B0630000 ​       B0640000 ​       B0650000 ​       B0660000 ​     ​
 +  B0670000 ​       B0680000 ​       B0690000 ​       B06A0000 ​       B06B0000 ​     ​
 +  B06C0000 ​       B06D0000 ​       B06E0000 ​       B06F0000 ​       B0700000 ​     ​
 +  B0710000 ​       B0720000 ​       B0730000 ​       B0740000 ​       B0750000 ​     ​
 +  B0760000 ​       B0770000 ​       B0780000 ​       B0790000 ​       B07A0000 ​     ​
 +  B07B0000 ​       B07C0000 ​       B07D0000 ​       B07E0000 ​       B07F0000 ​     ​
 +
 +ARV752DPW22 # erase 0xB0040000 0xB048FFFF
 +
 +..................................................................... done
 +Erased 69 sectors
 +ARV752DPW22 # cp.b 0x81000000 0xB0040000 0x440004
 +Copy to Flash... done
 +
 +##################### ​  ​REBOOT ​ ##################################​
 +
 +
 +ARV752DPW22 # 
 +ROM VER: 1.0.3
 +CFG 01
 +Reaä
 +ROM VER: 1.0.3
 +CFG 01
 +Read EEPROMX
 + X
 +
 +
 +U-Boot 2013.10-openwrt4 (Oct 05 2014 - 01:17:14) ARV752DPW22
 +
 +Board: Arcadyan ARV752DPW22
 +SoC:   ​Lantiq Danube-S v1.5
 +CPU:   ​333.333 MHz
 +IO:    166.667 MHz
 +BUS:   ​83.333 MHz
 +BOOT:  NOR
 +DRAM:  64 MiB
 +Flash: 8 MiB
 +In:    serial
 +Out:   ​serial
 +Err:   ​serial
 +Net:   ​ltq-eth
 +Hit any key to stop autoboot: ​ 0 
 +## Booting kernel from Legacy Image at b0040000 ...
 +   Image Name:   MIPS OpenWrt Linux-3.14.18
 +   ​Created: ​     2014-10-05 ​  ​0:​48:​52 UTC
 +   Image Type:   MIPS Linux Kernel Image (lzma compressed)
 +   Data Size:    1442704 Bytes = 1.4 MiB
 +   Load Address: 80002000
 +   Entry Point: ​ 80002000
 +   ​Verifying Checksum ... OK
 +   ​Uncompressing Kernel Image ... OK
 +
 +Starting kernel ...
 +
 +[    0.000000] Linux version 3.14.18 (zeissig@deb9470m) (gcc version 4.8.3 (OpenWrt/​Linaro GCC 4.8-2014.04 r42701) ) #1 Sun Oct 5 01:48:43 BST 2014
 +[    0.000000] SoC: Danube rev 1.5
 +[    0.000000] bootconsole [early0] enabled
 +[    0.000000] CPU0 revision is: 00019641 (MIPS 24KEc)
 +[    0.000000] MIPS: machine is ARV752DPW22 - Arcor 803
 +[    0.000000] Determined physical RAM map:
 +[    0.000000] ​ memory: 04000000 @ 00000000 (usable)
 +[    0.000000] Initrd not found or empty - disabling initrd
 +[    0.000000] Zone ranges:
 +[    0.000000] ​  ​Normal ​  [mem 0x00000000-0x03ffffff]
 +[    0.000000] Movable zone start for each node
 +[    0.000000] Early memory node ranges
 +[    0.000000] ​  ​node ​  0: [mem 0x00000000-0x03ffffff]
 +[    0.000000] Primary instruction cache 16kB, VIPT, 4-way, linesize 32 bytes.
 +[    0.000000] Primary data cache 16kB, 4-way, VIPT, no aliases, linesize 32 bytes
 +[    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 16256
 +[    0.000000] Kernel command line: console=ttyLTQ0,​115200 init=/​etc/​preinit
 +[    0.000000] PID hash table entries: 256 (order: -2, 1024 bytes)
 +[    0.000000] Dentry cache hash table entries: 8192 (order: 3, 32768 bytes)
 +[    0.000000] Inode-cache hash table entries: 4096 (order: 2, 16384 bytes)
 +[    0.000000] Writing ErrCtl register=0007a008
 +[    0.000000] Readback ErrCtl register=0007a008
 +[    0.000000] Memory: 60484K/​65536K available (3166K kernel code, 144K rwdata, 720K rodata, 176K init, 190K bss, 5052K reserved)
 +[    0.000000] NR_IRQS:256
 +[    0.000000] CPU Clock: 333MHz
 +[    0.000000] Calibrating delay loop... 221.18 BogoMIPS (lpj=442368)
 +[    0.036000] pid_max: default: 32768 minimum: 301
 +[    0.040000] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
 +[    0.044000] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
 +[    0.052000] pinctrl core: initialized pinctrl subsystem
 +[    0.056000] NET: Registered protocol family 16
 +[    0.076000] pinctrl-xway 1e100b10.pinmux:​ Init done
 +[    0.080000] dma-xway 1e104100.dma:​ Init done - hw rev: 3, ports: 5, channels: 20
 +[    0.092000] PCI host bridge /​fpi@10000000/​pci@E105400 ranges:
 +[    0.096000] ​ MEM 0x0000000018000000..0x0000000019ffffff
 +[    0.100000] ​  IO 0x000000001ae00000..0x000000001affffff
 +[    0.124000] bio: create slab <​bio-0>​ at 0
 +[    0.136000] usbcore: registered new interface driver usbfs
 +[    0.140000] usbcore: registered new interface driver hub
 +[    0.144000] usbcore: registered new device driver usb
 +[    0.148000] PCI host bridge to bus 0000:00
 +[    0.152000] pci_bus 0000:00: root bus resource [mem 0x18000000-0x19ffffff]
 +[    0.156000] pci_bus 0000:00: root bus resource [io  0x1ae00000-0x1affffff]
 +[    0.160000] pci_bus 0000:00: No busn resource found for root bus, will use [bus 00-ff]
 +[    0.168000] pci 0000:​00:​0e.0:​ BAR 0: assigned [mem 0x18000000-0x1800ffff]
 +[    0.172000] pci 0000:​00:​0f.2:​ BAR 0: assigned [mem 0x18010000-0x180100ff]
 +[    0.176000] pci 0000:​00:​0f.0:​ BAR 4: assigned [io  0x1ae00000-0x1ae0001f]
 +[    0.180000] pci 0000:​00:​0f.1:​ BAR 4: assigned [io  0x1ae00020-0x1ae0003f]
 +[    0.184000] Switched to clocksource MIPS
 +[    0.196000] NET: Registered protocol family 2
 +[    0.200000] TCP established hash table entries: 1024 (order: 0, 4096 bytes)
 +[    0.208000] TCP bind hash table entries: 1024 (order: 0, 4096 bytes)
 +[    0.212000] TCP: Hash tables configured (established 1024 bind 1024)
 +[    0.220000] TCP: reno registered
 +[    0.224000] UDP hash table entries: 256 (order: 0, 4096 bytes)
 +[    0.228000] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
 +[    0.236000] NET: Registered protocol family 1
 +[    0.240000] PCI: Enabling device 0000:​00:​0f.0 (0000 -> 0001)
 +[    0.248000] PCI: Enabling device 0000:​00:​0f.1 (0000 -> 0001)
 +[    0.252000] PCI: Enabling device 0000:​00:​0f.2 (0000 -> 0002)
 +[    0.260000] gptu: totally 6 16-bit timers/​counters
 +[    0.264000] gptu: misc_register on minor 63
 +[    0.268000] gptu: succeeded to request irq 126
 +[    0.272000] gptu: succeeded to request irq 127
 +[    0.276000] gptu: succeeded to request irq 128
 +[    0.280000] gptu: succeeded to request irq 129
 +[    0.288000] gptu: succeeded to request irq 130
 +[    0.292000] gptu: succeeded to request irq 131
 +[    0.304000] lantiq,vmmc 1f103000.vmmc:​ requested GPIO 209
 +[    0.308000] lantiq,vmmc 1f103000.vmmc:​ reserved 1MB at 0x03900000
 +[    0.316000] ralink,​eeprom ralink_eep.4:​ using RT2860.eeprom as eeprom
 +[    0.328000] futex hash table entries: 256 (order: -1, 3072 bytes)
 +[    0.336000] squashfs: version 4.0 (2009/​01/​31) Phillip Lougher
 +[    0.340000] jffs2: version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc.
 +[    0.352000] msgmni has been set to 118
 +[    0.356000] io scheduler noop registered
 +[    0.360000] io scheduler deadline registered (default)
 +[    0.368000] 1e100c00.serial:​ ttyLTQ0 at MMIO 0x1e100c00 (irq = 112, base_baud = 0) is a lantiq,asc
 +[    0.376000] console [ttyLTQ0] enabled
 +[    0.376000] console [ttyLTQ0] enabled
 +[    0.384000] bootconsole [early0] disabled
 +[    0.384000] bootconsole [early0] disabled
 +[    0.396000] ltq_nor: Found 1 x16 devices at 0x0 in 16-bit bank. Manufacturer ID 0x0000c2 Chip ID 0x0022cb
 +[    0.404000] Amd/Fujitsu Extended Query Table at 0x0040
 +[    0.408000] ​  ​Amd/​Fujitsu Extended Query version 1.1.
 +[    0.416000] number of CFI chips: 1
 +[    0.416000] 4 ofpart partitions found on MTD device ltq_nor
 +[    0.424000] Creating 4 MTD partitions on "​ltq_nor":​
 +[    0.428000] 0x000000000000-0x000000030000 : "​uboot"​
 +[    0.436000] 0x000000030000-0x000000040000 : "​uboot_env"​
 +[    0.444000] 0x000000040000-0x0000007f0000 : "​firmware"​
 +[    0.460000] 2 uimage-fw partitions found on MTD device firmware
 +[    0.464000] 0x000000040000-0x0000001a03d0 : "​kernel"​
 +[    0.472000] mtd: partition "​kernel"​ must either start or end on erase block boundary or be smaller than an erase block -- forcing read-only
 +[    0.488000] 0x0000001a03d0-0x0000007f0000 : "​rootfs"​
 +[    0.488000] mtd: partition "​rootfs"​ must either start or end on erase block boundary or be smaller than an erase block -- forcing read-only
 +[    0.504000] mtd: device 4 (rootfs) set to be root filesystem
 +[    0.508000] mtd: partition "​rootfs_data"​ created automatically,​ ofs=0x450000,​ len=0x3a0000
 +[    0.516000] 0x000000450000-0x0000007f0000 : "​rootfs_data"​
 +[    0.572000] 0x0000007f0000-0x000000800000 : "​board_config"​
 +[    0.616000] switch0: Atheros AR8216 rev. 1 switch registered on 1e180000.etop-ff
 +[    0.652000] libphy: ltq_mii: probed
 +[    0.812000] eth0: attached PHY [Atheros AR8216/​AR8236/​AR8316] (phy_addr=1e180000.etop-ff:​00,​ irq=-1)
 +[    0.824000] wdt 1f8803f0.watchdog:​ Init done
 +[    0.840000] TCP: cubic registered
 +[    0.844000] NET: Registered protocol family 17
 +[    0.848000] 8021q: 802.1Q VLAN Support v1.8
 +[    0.860000] UBIFS error (pid 1): ubifs_mount:​ cannot open "​ubi0:​rootfs",​ error -19
 +[    0.876000] VFS: Mounted root (squashfs filesystem) readonly on device 31:4.
 +[    0.884000] Freeing unused kernel memory: 176K (803f4000 - 80420000)
 +procd: Console is alive
 +procd: - watchdog -
 +[    6.228000] ehci_hcd: USB 2.0 '​Enhanced'​ Host Controller (EHCI) Driver
 +[    6.232000] ehci-platform:​ EHCI generic platform driver
 +[    6.240000] ehci-pci: EHCI PCI platform driver
 +[    6.244000] ehci-pci 0000:​00:​0f.2:​ EHCI Host Controller
 +[    6.248000] ehci-pci 0000:​00:​0f.2:​ new USB bus registered, assigned bus number 1
 +[    6.256000] ehci-pci 0000:​00:​0f.2:​ irq 135, io mem 0x18010000
 +[    6.272000] ehci-pci 0000:​00:​0f.2:​ USB 2.0 started, EHCI 1.00
 +[    6.276000] hub 1-0:1.0: USB hub found
 +[    6.280000] hub 1-0:1.0: 4 ports detected
 +[    6.288000] uhci_hcd: USB Universal Host Controller Interface driver
 +[    6.292000] uhci_hcd 0000:​00:​0f.0:​ UHCI Host Controller
 +[    6.300000] uhci_hcd 0000:​00:​0f.0:​ new USB bus registered, assigned bus number 2
 +[    6.304000] uhci_hcd 0000:​00:​0f.0:​ irq 135, io base 0x1ae00000
 +[    6.312000] hub 2-0:1.0: USB hub found
 +[    6.316000] hub 2-0:1.0: 2 ports detected
 +[    6.320000] uhci_hcd 0000:​00:​0f.1:​ UHCI Host Controller
 +[    6.324000] uhci_hcd 0000:​00:​0f.1:​ new USB bus registered, assigned bus number 3
 +[    6.332000] uhci_hcd 0000:​00:​0f.1:​ irq 135, io base 0x1ae00020
 +[    6.340000] hub 3-0:1.0: USB hub found
 +[    6.344000] hub 3-0:1.0: 2 ports detected
 +[    6.352000] IFXUSB: ifxusb_hcd: version 3.2 B110801
 +[    6.860000] IFXUSB: USB core #0 soft-reset
 +[    7.064000] IFXUSB: USB core #0 soft-reset
 +[    7.068000] ifxusb_hcd ifxusb_hcd: IFX USB Controller
 +[    7.072000] ifxusb_hcd ifxusb_hcd: new USB bus registered, assigned bus number 4
 +[    7.080000] ifxusb_hcd ifxusb_hcd: irq 62, io mem 0xbe101000
 +[    7.084000] IFXUSB: Mode Mismatch Interrupt: currently in Host mode
 +[    7.092000] IFXUSB: Mode Mismatch Interrupt: currently in Host mode
 +[    7.096000] IFXUSB: Init: Power Port (0)
 +[    7.104000] hub 4-0:1.0: USB hub found
 +[    7.108000] hub 4-0:1.0: 1 port detected
 +[    7.112000] ifxusb_hcd ifxusb_hcd: requested GPIO 208
 +procd: - preinit -
 +[    7.428000] random: mktemp urandom read with 99 bits of entropy available
 +Press the [f] key and hit [enter] to enter failsafe mode
 +Press the [1], [2], [3] or [4] key and hit [enter] to select the debug level
 +jffs2 is not ready - marker found
 +procd: - early -
 +procd: - watchdog -
 +procd: - ubus -
 +procd: - init -
 +Please press Enter to activate this console.
 +[   ​12.904000] IFXOS, Version 1.5.14 (c) Copyright 2009, Lantiq Deutschland GmbH
 +
 +[   ​12.936000] NET: Registered protocol family 10
 +[   ​12.956000] Lantiq TAPI device driver, version 3.13.0.2, (c) 2001-2010 Lantiq Deutschland GmbH
 +[   ​12.968000] NET: Registered protocol family 8
 +[   ​12.972000] NET: Registered protocol family 20
 +[   ​12.988000] PPP generic driver version 2.4.2
 +[   ​13.000000] ip6_tables: (C) 2000-2006 Netfilter Core Team
 +[   ​13.020000] IFX MEI Version 5.00.00
 +[   ​13.036000] Infineon CPE API Driver version: DSL CPE API V3.24.4.4
 +[   ​13.048000] Loading modules backported from Linux version master-2014-09-26-0-g25e3efa
 +[   ​13.056000] Backport generated by backports.git backports-20140905-1-gde42785
 +[   ​13.080000] Lantiq MIPS24KEc MPS driver, version 2.2.2.5, (c) 2006-2010 Lantiq Deutschland GmbH
 +[   ​13.088000] request_timer(3,​ 0x000001AE, 1)...successful!
 +[   ​13.092000] Lantiq VMMC device driver, version 1.9.0.3, (c) 2006-2010 Lantiq Deutschland GmbH
 +[   ​13.104000] ip_tables: (C) 2000-2006 Netfilter Core Team
 +[   ​13.128000] ATM1.0.26 ​   ATM (A1) firmware version 0.17
 +[   ​13.132000] ifxmips_atm:​ ATM init succeed
 +[   ​13.156000] nf_conntrack version 0.5.0 (947 buckets, 3788 max)
 +[   ​13.192000] NET: Registered protocol family 24
 +[   ​13.236000] xt_time: kernel timezone is -0000
 +[   ​13.252000] random: nonblocking pool is initialized
 +[   ​13.304000] cfg80211: Calling CRDA to update world regulatory domain
 +[   ​13.312000] cfg80211: World regulatory domain updated:
 +[   ​13.316000] cfg80211: ​ DFS Master region: unset
 +[   ​13.320000] cfg80211: ​  ​(start_freq - end_freq @ bandwidth), (max_antenna_gain,​ max_eirp), (dfs_cac_time)
 +[   ​13.328000] cfg80211: ​  ​(2402000 KHz - 2472000 KHz @ 40000 KHz), (N/A, 2000 mBm), (N/A)
 +[   ​13.336000] cfg80211: ​  ​(2457000 KHz - 2482000 KHz @ 40000 KHz), (N/A, 2000 mBm), (N/A)
 +[   ​13.344000] cfg80211: ​  ​(2474000 KHz - 2494000 KHz @ 20000 KHz), (N/A, 2000 mBm), (N/A)
 +[   ​13.352000] cfg80211: ​  ​(5170000 KHz - 5250000 KHz @ 160000 KHz), (N/A, 2000 mBm), (N/A)
 +[   ​13.360000] cfg80211: ​  ​(5250000 KHz - 5330000 KHz @ 160000 KHz), (N/A, 2000 mBm), (0 s)
 +[   ​13.368000] cfg80211: ​  ​(5490000 KHz - 5730000 KHz @ 160000 KHz), (N/A, 2000 mBm), (0 s)
 +[   ​13.376000] cfg80211: ​  ​(5735000 KHz - 5835000 KHz @ 80000 KHz), (N/A, 2000 mBm), (N/A)
 +[   ​13.384000] cfg80211: ​  ​(57240000 KHz - 63720000 KHz @ 2160000 KHz), (N/A, 0 mBm), (N/A)
 +[   ​13.536000] PCI: Enabling device 0000:​00:​0e.0 (0000 -> 0002)
 +[   ​13.544000] rt2800pci 0000:​00:​0e.0:​ failed to load eeprom property
 +[   ​13.548000] ieee80211 phy0: rt2x00lib_request_eeprom_file:​ Info - Loading EEPROM data from '​RT2860.eeprom'​.
 +[   ​13.556000] rt2800pci 0000:​00:​0e.0:​ Direct firmware load failed with error -2
 +[   ​13.564000] rt2800pci 0000:​00:​0e.0:​ Falling back to user helper
 +[   ​13.728000] ieee80211 phy0: rt2x00_set_rt:​ Info - RT chipset 3572, rev 0223 detected
 +[   ​13.736000] ieee80211 phy0: rt2x00_set_rf:​ Info - RF chipset 0008 detected
 +[   ​26.976000] device eth0.1 entered promiscuous mode
 +[   ​26.980000] device eth0 entered promiscuous mode
 +[   ​26.992000] br-lan: port 1(eth0.1) entered forwarding state
 +[   ​26.996000] br-lan: port 1(eth0.1) entered forwarding state
 +[   ​29.000000] br-lan: port 1(eth0.1) entered forwarding state
 +[   ​31.232000] jffs2_scan_eraseblock():​ End of filesystem marker found at 0x0
 +[   ​31.248000] jffs2_build_filesystem():​ unlocking the mtd device... done.
 +[   ​31.252000] jffs2_build_filesystem():​ erasing all blocks after the end marker... done.
 +[   ​69.076000] jffs2: notice: (1110) jffs2_build_xattr_subsystem:​ complete building xattr subsystem, 0 of xdatum (0 unchecked, 0 orphan) and 0 of xref (0 dead, 0 orphan) found.
 +procd: - init complete -
 +
 +
 +
 +BusyBox v1.22.1 (2014-10-05 01:42:11 BST) built-in shell (ash)
 +Enter '​help'​ for a list of built-in commands.
 +
 +  _______ ​                    ​________ ​       __
 + ​| ​      ​|.-----.-----.-----.| ​ |  |  |.----.| ​ |_
 + ​| ​  ​- ​  ​|| ​ _  |  -__|     ​|| ​ |  |  ||   ​_|| ​  _|
 + ​|_______|| ​  ​__|_____|__|__||________||__| ​ |____|
 +          |__| W I R E L E S S   F R E E D O M
 + ​-----------------------------------------------------
 + CHAOS CALMER (Bleeding Edge, r42701)
 + ​-----------------------------------------------------
 +  * 1 1/2 oz Gin            Shake with a glassful
 +  * 1/4 oz Triple Sec       of broken ice and pour
 +  * 3/4 oz Lime Juice       ​unstrained into a goblet.
 +  * 1 1/2 oz Orange Juice
 +  * 1 tsp. Grenadine Syrup
 + ​-----------------------------------------------------
 +root@OpenWrt:/#​
 +
 +
 +</​code>​
 +
 +
 +for problems with wlan eeprom:
 +
 +https://​forum.openwrt.org/​viewtopic.php?​pid=223479#​p223479
 +
 +usbwrite.py:​
 +
 +https://​forum.openwrt.org/​viewtopic.php?​pid=183315#​p183315
 +
 +(don't forget to find and replace 8 spaces with 1 tab)
  
 ===== Tags ===== ===== Tags =====
-{{tag>​FastEthernet 4Port USB 3USB serial InternalAntenna 64RAM 8Flash MIPS MIPS32 24K ADSL2plus ​802.11bgn fxo}}+{{tag>​FastEthernet 4Port USB 3USB serial InternalAntenna 64RAM 8Flash MIPS MIPS32 24K ADSL2+ lantiq danube ​802.11bgn fxo}}
  
toh/astoria/arv752dpw22.1349632238.txt.bz2 · Last modified: 2012/10/07 19:50 (external edit)