OpenWrt Forum Archive

Topic: Arcor Easy Box 601 WLAN aka ARV4520PW-B-LF-IR

The content of this topic has been archived on 29 Mar 2018. There are no obvious gaps in this topic, but there may still be some posts missing at the end.

Hi all,

I'm tried to use some kinds of dumpster HW here, maybe using it as NAS or such things.

I've tried the Arcor A803 with

http://downloads.openwrt.org/attitude_a … iq/danube/

but when I try to install the kernel module for the RT3062 it hangs, maybe the cause is this:

https://dev.openwrt.org/ticket/10898

So  at least I would need a crossdev environment, what I'm curently not have, most machines here are running FreeBSD.. have to dig later with this.

Next candidate was the Easybox A601 Danube, but switch is RTL8306S, Wifi is Atheros.

I've booted  sucessfully 12.09-rc1/lantiq/danube/uboot-lantiq-arv4520PW_brnboot/

The switch gets recognized, but I can't get any traffic over the LAN Ports.

The Linux Networking at first and the vlan stuff 2nd is new to me, don't had todo much with that (besides on the well known WRT54GL), so im poking around in the dark here. Next is, that I don't know what Port of the RTL8306S is connected to what.

The network config looks like this at the moment:

config interface 'loopback'
        option ifname 'lo'
        option proto 'static'
        option ipaddr '127.0.0.1'
        option netmask '255.0.0.0'

config interface 'lan'
        option type 'bridge'
        option proto 'static'
        option ipaddr '192.168.50.10'
        option gateway '192.168.50.254'
        option dns '192.168.50.254'
        option netmask '255.255.255.0'
        option ifname 'eth0.1'
                                          
config switch
        option name 'eth0'
        option vlan '1'                
        option ports '3 2 1 0 5'

config adsl-device 'adsl'
        option fwannex 'b'
        option annex 'b2p'

config atm-bridge 'atm'
        option unit '0'
        option vpi '1'
        option vci '32'
        option encaps 'llc'
        option payload 'bridged'

config interface 'wan'
        option ifname 'nas0'
        option proto 'pppoe'
        option username 'foo'
        option password 'bar'

ifconfig output like this:

br-lan    Link encap:Ethernet  HWaddr 00:06:4E:00:00:01  
          inet addr:192.168.50.10  Bcast:192.168.50.255  Mask:255.255.255.0
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:24560 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0 
          RX bytes:0 (0.0 B)  TX bytes:1031520 (1007.3 KiB)

eth0      Link encap:Ethernet  HWaddr 00:06:4E:00:00:01  
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)

eth0.1    Link encap:Ethernet  HWaddr 00:06:4E:00:00:01  
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:24904 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0 
          RX bytes:0 (0.0 B)  TX bytes:1047344 (1022.7 KiB)

lo        Link encap:Local Loopback  
          inet addr:127.0.0.1  Mask:255.0.0.0
          UP LOOPBACK RUNNING  MTU:16436  Metric:1
          RX packets:18224 errors:0 dropped:0 overruns:0 frame:0
          TX packets:18224 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0 
          RX bytes:1495504 (1.4 MiB)  TX bytes:1495504 (1.4 MiB)

Can you please give me a hint to setup a simple networking with all the ports bridged thogether (at first)
for this RTL8306S Switch? I can't get any packed transmitted or received trough the LAN Ports but the
PORT-LED is flickering if the box is pinged from the outside so the PHY schould be ok...

Kind Regards,

Holm

Edit: FYI Bootlog with brnboot:

^@^@
ROM VER: 1.0.3
CFG 01
Readà
ROM VER: 1.0.3
CFG 01
Read EEPROMX
 X



^M=======================================================================
^MWireless ADSL Gateway DANUBE Loader V0.63.2 build Nov 29 2007 20:21:08
^M                    Arcadyan Technology Corporation
^M=======================================================================
^MMXIC MX29LV320ABTC bottom boot 16-bit mode found

^MCopying boot params.....DONE


^MPress Space Bar 3 times to enter command mode ...123
^MYes, Enter command mode ...


^M[DANUBE Boot]:!

^MEnter Administrator Mode !

^M======================
^M [#] Set Serial Number
^M [0] Use Normal Firmware
^M [1] Use ART-Testing Firmware
^M [9] Taggle ART Firmware Enable/Disable
^M [A] Set MAC Address
^M [E] Erase Flash
^M [G] Run Runtime Code
^M [h] Set Options
^M [M] Upload to Memory
^M [P] Print Boot Params 
^M [R] Read from Memory
^M [T] Memory Test
^M [u] Upload to Flash
^M [V] Set Board Version
^M [W] Write to Memory
^M [Y] Go to Memory
^M [Z] Dump DDR Ram Register
^M======================

^M[DANUBE Boot]:M

^MRAM upload destination: (default:0x80002000) : 0x
^MStarting XModem download...(press Enter to abort)
^MCCCC
^MJump to address 0x80002000 ...
^M

U-Boot 2010.03-svn34185 (Nov 16 2012 - 07:25:43)

Board: ARV4520PW
SoC: Danube/Twinpass/Vinax-VE V1.3, DDR Speed 166 MHz, CPU Speed 333 MHz
DRAM:  32 MB
Flash:  4 MB
*** Warning - bad CRC, using default environment

Net:   bring up ebu gpio
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-11-22  20:49:34 UTC
   Image Type:   MIPS Linux Kernel Image (lzma compressed)
   Data Size:    1016074 Bytes = 992.3 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) ) #1 Fri Nov 16 09:28:28 UTC 2012^M
[    0.000000] SoC: Danube rev 1.3^M
[    0.000000] bootconsole [early0] enabled^M
[    0.000000] CPU revision is: 00019641 (MIPS 24KEc)^M
[    0.000000] Determined physical RAM map:^M
[    0.000000]  memory: 02000000 @ 00000000 (usable)^M
[    0.000000] Initrd not found or empty - disabling initrd^M
[    0.000000] Zone PFN ranges:^M
[    0.000000]   Normal   0x00000000 -> 0x00002000^M
[    0.000000] Movable zone start PFN for each node^M
[    0.000000] Early memory PFN ranges^M
[    0.000000]     0: 0x00000000 -> 0x00002000^M
[    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 8128^M
[    0.000000] Kernel command line: console=ttyLTQ1,115200 rootfstype=squashfs,jffs2 machtype=ARV4520PW^M
[    0.000000] PID hash table entries: 128 (order: -3, 512 bytes)^M
[    0.000000] Dentry cache hash table entries: 4096 (order: 2, 16384 bytes)^M
[    0.000000] Inode-cache hash table entries: 2048 (order: 1, 8192 bytes)^M
[    0.000000] Primary instruction cache 16kB, VIPT, 4-way, linesize 32 bytes.^M
[    0.000000] Primary data cache 16kB, 4-way, VIPT, no aliases, linesize 32 bytes^M
[    0.000000] Writing ErrCtl register=00000008^M
[    0.000000] Readback ErrCtl register=00000008^M
[    0.000000] Memory: 29216k/32768k available (2411k kernel code, 3552k reserved, 406k data, 176k init, 0k highmem)^M
[    0.000000] NR_IRQS:256^M
[    0.000000] CPU Clock: 333MHz^M
[    0.000000] Calibrating delay loop... 221.18 BogoMIPS (lpj=442368)^M
[    0.036000] pid_max: default: 32768 minimum: 301^M
[    0.040000] Mount-cache hash table entries: 512^M
[    0.048000] NET: Registered protocol family 16^M
[    0.056000] gpiochip_add: registered GPIOs 0 to 15 on device: ltq_gpio^M
[    0.060000] gpiochip_add: registered GPIOs 16 to 31 on device: ltq_gpio^M
[    0.064000] MIPS: machine is ARV4520PW - Airties WAV-281, Arcor A800^M
[    0.068000] gpiochip_add: registered GPIOs 100 to 115 on device: ltq_ebu^M
[    0.112000] bio: create slab <bio-0> at 0^M
[    0.120000] PCI host bridge to bus 0000:00^M
[    0.124000] pci_bus 0000:00: root bus resource [mem 0x18000000-0x19ffffff]^M
[    0.128000] pci_bus 0000:00: root bus resource [io  0x1ae00000-0x1affffff]^M
[    0.132000] pci 0000:00:0e.0: BAR 0: assigned [mem 0x18000000-0x1800ffff]^M
[    0.136000] pci 0000:00:0e.0: SLOT:14 PIN:1 IRQ:30^M
[    0.140000] Switching to clocksource MIPS^M
[    0.148000] NET: Registered protocol family 2^M
[    0.156000] IP route cache hash table entries: 1024 (order: 0, 4096 bytes)^M
[    0.164000] TCP established hash table entries: 1024 (order: 1, 8192 bytes)^M
[    0.168000] TCP bind hash table entries: 1024 (order: 0, 4096 bytes)^M
[    0.176000] TCP: Hash tables configured (established 1024 bind 1024)^M
[    0.180000] TCP reno registered^M
[    0.184000] UDP hash table entries: 256 (order: 0, 4096 bytes)^M
[    0.192000] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)^M
[    0.196000] NET: Registered protocol family 1^M
[    0.204000] gptu: totally 6 16-bit timers/counters^M
[    0.208000] gptu: misc_register on minor 63^M
[    0.212000] gptu: succeeded to request irq 126^M
[    0.216000] gptu: succeeded to request irq 127^M
[    0.220000] gptu: succeeded to request irq 128^M
[    0.224000] gptu: succeeded to request irq 129^M
[    0.232000] gptu: succeeded to request irq 130^M
[    0.236000] gptu: succeeded to request irq 131^M
[    0.244000] squashfs: version 4.0 (2009/01/31) Phillip Lougher^M
[    0.248000] JFFS2 version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc.^M
[    0.260000] msgmni has been set to 57^M
[    0.264000] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 254)^M
[    0.272000] io scheduler noop registered^M
[    0.276000] io scheduler deadline registered (default)^M
[    0.280000] ltq_asc.1: ttyLTQ1 at MMIO 0x1e100c00 (irq = 112) is a ltq_asc^M
[    0.288000] console [ttyLTQ1] enabled, bootconsole disabled
[    0.288000] console [ttyLTQ1] enabled, bootconsole disabled^M
[    0.304000] ltq_nor: Found 1 x16 devices at 0x0 in 16-bit bank. Manufacturer ID 0x0000c2 Chip ID 0x0022a8
[    0.312000] Amd/Fujitsu Extended Query Table at 0x0040
[    0.316000]   Amd/Fujitsu Extended Query version 1.1.
[    0.320000] number of CFI chips: 1
[    0.324000] Creating 4 MTD partitions on "ltq_nor":
[    0.328000] 0x000000000000-0x000000010000 : "uboot"
[    0.336000] 0x000000010000-0x000000020000 : "uboot_env"
[    0.344000] 0x000000020000-0x0000003f0000 : "linux"
[    0.352000] found squashfs behind kernel
[    0.352000] Creating 2 MTD partitions on "ltq_nor":
[    0.360000] 0x000000020000-0x00000011814a : "kernel"
[    0.364000] mtd: partition "kernel" must either start or end on erase block boundary or be smaller than an erase block -- forcing read-only
[    0.380000] 0x00000011814a-0x0000003f0000 : "rootfs"
[    0.384000] mtd: partition "rootfs" must either start or end on erase block boundary or be smaller than an erase block -- forcing read-only
[    0.396000] mtd: partition "rootfs" set to be root filesystem
[    0.400000] mtd: partition "rootfs_data" created automatically, ofs=2D0000, len=120000 
[    0.408000] 0x0000002d0000-0x0000003f0000 : "rootfs_data"
[    0.416000] 0x0000003f0000-0x000000400000 : "board_config"
[    0.444000] ltq_mii: probed
[    0.476000] Registering RTL8306SD switch with Chip ID: 0x5988, version: 0x0000
[    0.480000] eth0: attached PHY [Realtek RTL8306S] (phy_addr=ltq_etop-fffffff:00, irq=-1)
[    0.504000] TCP cubic registered
[    0.504000] NET: Registered protocol family 17
[    0.512000] Bridge firewalling registered
[    0.512000] 8021q: 802.1Q VLAN Support v[    0.532000] VFS: Mounted root (squashfs filesystem) readonly on device 31:4.
[    0.540000] Freeing unused kernel memory: 176k freed
- preinit -
Press the [f] key and hit [enter] to enter failsafe mode
- regular preinit -
[    7.176000] JFFS2 notice: (348) jffs2_build_xattr_subsystem: complete building xattr subsystem, 1 of xdatum (0 unchecked, 0 orphan) and 6 of xref (0 dead, 2 orphan) found.
switching to jffs2
- init -

Please press Enter to activate this console. [    8.348000] Compat-drivers backport release: compat-drivers-2012-09-04-2-gddac993
[    8.352000] Backport based on wireless-testing.git master-2012-09-07
[    8.360000] compat.git: wireless-testing.git
[    8.400000] cfg80211: Calling CRDA to update world regulatory domain
[    8.404000] cfg80211: World regulatory domain updated:
[    8.408000] cfg80211:   (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp)
[    8.416000] cfg80211:   (2402000 KHz - 2472000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
[    8.424000] cfg80211:   (2457000 KHz - 2482000 KHz @ 20000 KHz), (300 mBi, 2000 mBm)
[    8.432000] cfg80211:   (2474000 KHz - 2494000 KHz @ 20000 KHz), (300 mBi, 2000 mBm)
[    8.440000] cfg80211:   (5170000 KHz - 5250000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
[    8.444000] cfg80211:   (5735000 KHz - 5835000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
[    9.360000] usbcore: registered new interface driver usbfs
[    9.364000] usbcore: registered new interface driver hub
[    9.372000] usbcore: registered new device driver usb
[    9.936000] NET: Registered protocol family 8
[    9.940000] NET: Registered protocol family 20
[    9.984000] Button Hotplug driver version 0.4.1
[   10.028000] PPP generic driver version 2.4.2
[   10.360000] ip_tables: (C) 2000-2006 Netfilter Core Team
[   10.768000] NET: Registered protocol family 24
[   10.916000] nf_conntrack version 0.5.0 (459 buckets, 1836 max)
[   11.372000] IFX MEI Version 5.00.00
[   11.404000] 
[   11.404000] Infineon CPE API Driver version: DSL CPE API V3.24.4.4
[   11.440000]     ATM (A1) firmware version 1.0.19
[   11.444000] ifxmips_atm: ATM init succeed
[   11.476000] dwc_otg: version 2.60a 22-NOV-2006
[   12.080000] DWC_otg: Using DMA mode
[   12.084000] dwc_otg dwc_otg.0: DWC OTG Controller
[   12.088000] dwc_otg dwc_otg.0: new USB bus registered, assigned bus number 1
[   12.096000] dwc_otg dwc_otg.0: irq 62, io mem 0xffffffffbe101000
[   12.104000] DWC_otg: Init: Port Power? op_state=1
[   12.108000] DWC_otg: Init: Power Port (0)
[   12.112000] hub 1-0:1.0: USB hub found
[   12.116000] hub 1-0:1.0: 1 port detected
[   12.216000] DISCONNECTED PORT
[   17.132000] device eth0.1 entered promiscuous mode
[   17.136000] device eth0 entered promiscuous mode
[   17.156000] br-lan: port 1(eth0.1) entered forwarding state
[   17.160000] br-lan: port 1(eth0.1) entered forwarding state
[   19.164000] br-lan: port 1(eth0.1) entered forwarding state



BusyBox v1.19.4 (2012-11-16 07:23:59 UTC) 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
 -----------------------------------------------------
 ATTITUDE ADJUSTMENT (12.09-rc1, r34185)
 -----------------------------------------------------
  * 1/4 oz Vodka      Pour all ingredients into mixing
  * 1/4 oz Gin        tin with ice, strain into glass.
  * 1/4 oz Amaretto
  * 1/4 oz Triple sec
  * 1/4 oz Peach schnapps
  * 1/4 oz Sour mix
  * 1 splash Cranberry juice
 -----------------------------------------------------
root@OpenWrt:/# 

(Last edited by holm on 27 Feb 2013, 10:09)

Ok, I've managed to brick the A601, reloaded it in the UART Mode (same trick as others, bridge R80 and connect the left pad of R65 to +3,3V) and made further experiments with the
AVR4520 and AVR4518 Frimware.
To make the story short: eighter the Atheros is working or the RTL8306, it seems that I have to build my own firmware for that beasts.

Ok, maybe one can answer at least the quastion how exactly the Openwrt build environment is configured? The provides toolchain isn't of much use for me, I only have FreeBSD 32Bit hosts and I don't want to change that, but it where not the first cross environment that I set up, done that for severals archs in the past.

When I try to do that, I would at least have "compatible" results at the end, so how is the "buildroot-2012.11.1" configured exactly?

Regards,

Holm

The discussion might have continued from here.