Re: Is this router based on the infineon danube?

No, my patches have been ignored. I'm pissed.

602 (edited by Pteridium 2012-03-25 19:29:02)

Re: Is this router based on the infineon danube?

delboy made a good wiki for the board in wich i'm working.
I've compiled the latest trunk and all works in the arv7518pw, but it should run ok in the others too: ADSL, wifi (more or less), USB, VLAN, ...

Here is the output from dmesg:
[    0.000000] Linux version 3.2.12 (pepe@debian) (gcc version 4.6.3 20120201 (prerelease) (Linaro GCC
4.6-2012.02) ) #1 Sun Mar 25 19:19:57 CEST 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_node_map[1] active PFN ranges
[    0.000000]     0: 0x00000000 -> 0x00004000
[    0.000000] On node 0 totalpages: 16384
[    0.000000] free_area_init_node: node 0, pgdat 80290ea0, node_mem_map 81000000
[    0.000000]   Normal zone: 128 pages used for memmap
[    0.000000]   Normal zone: 0 pages reserved
[    0.000000]   Normal zone: 16256 pages, LIFO batch:3
[    0.000000] pcpu-alloc: s0 r0 d32768 u32768 alloc=1*32768
[    0.000000] pcpu-alloc: [0] 0
[    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=ARV7518PW
[    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=0003fef8
[    0.000000] Readback ErrCtl register=0003fef8
[    0.000000] Memory: 62028k/65536k available (2234k kernel code, 3508k reserved, 386k data, 164k 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.064000] MIPS: machine is ARV7518PW - ASTORIA
[    0.100000] bio: create slab <bio-0> at 0
[    0.108000] pci 0000:00:0e.0: [168c:ff1d] type 0 class 0x000200
[    0.108000] pci 0000:00:0e.0: fixup device configuration
[    0.112000] pci 0000:00:0e.0: fixup info: [168c:0029] revision 01 class 0x028000
[    0.116000] pci 0000:00:0e.0: reg 10: [mem 0x00000000-0x0000ffff]
[    0.116000] pci 0000:00:0e.0: PME# supported from D0 D3hot
[    0.116000] pci 0000:00:0e.0: PME# disabled
[    0.116000] pci 0000:00:0e.0: BAR 0: assigned [mem 0x18000000-0x1800ffff]
[    0.120000] pci 0000:00:0e.0: BAR 0: set to [mem 0x18000000-0x1800ffff] (PCI address [0x18000000-0x1800ffff])
[    0.124000] pci 0000:00:0e.0: SLOT:14 PIN:1 IRQ:30
[    0.128000] Switching to clocksource MIPS
[    0.136000] NET: Registered protocol family 2
[    0.144000] IP route cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.148000] TCP established hash table entries: 2048 (order: 2, 16384 bytes)
[    0.156000] TCP bind hash table entries: 2048 (order: 1, 8192 bytes)
[    0.164000] TCP: Hash tables configured (established 2048 bind 2048)
[    0.168000] TCP reno registered
[    0.172000] UDP hash table entries: 256 (order: 0, 4096 bytes)
[    0.180000] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
[    0.184000] NET: Registered protocol family 1
[    0.188000] PCI: CLS 0 bytes, default 32
[    0.192000] gptu: totally 6 16-bit timers/counters
[    0.196000] gptu: misc_register on minor 63
[    0.200000] gptu: succeeded to request irq 126
[    0.208000] gptu: succeeded to request irq 127
[    0.212000] gptu: succeeded to request irq 128
[    0.216000] gptu: succeeded to request irq 129
[    0.220000] gptu: succeeded to request irq 130
[    0.224000] gptu: succeeded to request irq 131
[    0.236000] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[    0.240000] JFFS2 version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc.
[    0.252000] msgmni has been set to 121
[    0.256000] io scheduler noop registered
[    0.260000] io scheduler deadline registered (default)
[    0.264000] ltq_asc.1: ttyLTQ1 at MMIO 0x1e100c00 (irq = 112) is a ltq_asc
[    0.272000] console [ttyLTQ1] enabled, bootconsole disabled
[    0.288000] ltq_nor: Found 1 x16 devices at 0x0 in 16-bit bank. Manufacturer ID 0x0000c2 Chip ID 0x0022cb
[    0.296000] ltq_nor: Found an alias at 0x800000 for the chip at 0x0
[    0.296000] Amd/Fujitsu Extended Query Table at 0x0040
[    0.300000]   Amd/Fujitsu Extended Query version 1.1.
[    0.304000] number of CFI chips: 1
[    0.308000] Creating 4 MTD partitions on "ltq_nor":
[    0.312000] 0x000000000000-0x000000010000 : "uboot"
[    0.320000] 0x000000010000-0x000000020000 : "uboot_env"
[    0.328000] 0x000000020000-0x0000007f0000 : "linux"
[    0.332000] found squashfs behind kernel
[    0.336000] Creating 2 MTD partitions on "ltq_nor":
[    0.340000] 0x000000020000-0x00000010801f : "kernel"
[    0.344000] mtd: partition "kernel" must either start or end on erase block boundary or be smaller
than an erase block -- forcing read-only
[    0.360000] 0x00000010801f-0x0000007f0000 : "rootfs"
[    0.364000] mtd: partition "rootfs" must either start or end on erase block boundary or be smaller
than an erase block -- forcing read-only
[    0.380000] mtd: partition "rootfs" set to be root filesystem
[    0.384000] mtd: partition "rootfs_data" created automatically, ofs=330000, len=4C0000
[    0.392000] 0x000000330000-0x0000007f0000 : "rootfs_data"
[    0.400000] 0x0000007f0000-0x000000800000 : "board_config"
[    0.556000] ltq_mii: probed
[    0.580000] eth0: AR8216 switch driver attached.
[    0.676000] eth0: attached PHY [Atheros AR8216/AR8236/AR8316] (phy_addr=0:00, irq=-1)
[    0.688000] Registered led device: soc:red:power
[    0.688000] Registered led device: soc:green:power
[    0.688000] Registered led device: soc:green:wifi
[    0.688000] Registered led device: soc:green:adsl
[    0.688000] Registered led device: soc:green:internet
[    0.688000] Registered led device: soc:red:internet
[    0.692000] Registered led device: soc:green:voip
[    0.692000] Registered led device: soc:green:phone1
[    0.692000] Registered led device: soc:green:phone2
[    0.692000] Registered led device: soc:orange:fail
[    0.692000] Registered led device: soc:green:usb
[    0.692000] Registered led device: soc:orange:wps
[    0.696000] Registered led device: soc:green:wps
[    0.696000] Registered led device: soc:red:wps
[    0.696000] TCP westwood registered
[    0.700000] NET: Registered protocol family 17
[    0.704000] 8021q: 802.1Q VLAN Support v1.8
[    0.716000] VFS: Mounted root (squashfs filesystem) readonly on device 31:4.
[    0.724000] Freeing unused kernel memory: 164k freed
[    7.284000] JFFS2 notice: (405) jffs2_build_xattr_subsystem: complete building xattr subsystem, 1 o
f xdatum (0 unchecked, 0 orphan) and 8 of xref (0 dead, 2 orphan) found.
[    9.636000] Compat-wireless backport release: compat-wireless-2012-02-27-1-r31071
[    9.640000] Backport based on wireless-testing.git master-2012-02-27
[    9.684000] cfg80211: Calling CRDA to update world regulatory domain
[   10.544000] SCSI subsystem initialized
[   10.584000] cfg80211: World regulatory domain updated:
[   10.588000] cfg80211:   (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp)
[   10.596000] cfg80211:   (2402000 KHz - 2472000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
[   10.604000] cfg80211:   (2457000 KHz - 2482000 KHz @ 20000 KHz), (300 mBi, 2000 mBm)
[   10.612000] cfg80211:   (2474000 KHz - 2494000 KHz @ 20000 KHz), (300 mBi, 2000 mBm)
[   10.616000] cfg80211:   (5170000 KHz - 5250000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
[   10.624000] cfg80211:   (5735000 KHz - 5835000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
[   10.788000] usbcore: registered new interface driver usbfs
[   10.796000] usbcore: registered new interface driver hub
[   10.800000] usbcore: registered new device driver usb
[   11.996000] PCI: Enabling device 0000:00:0e.0 (0000 -> 0002)
[   12.008000] ath: eeprom contains invalid mac address: ff:ff:ff:ff:ff:ff
[   12.012000] ath: random mac address will be used: 56:0b:76:bd:c6:69
[   12.020000] ath: EEPROM regdomain: 0x67
[   12.020000] ath: EEPROM indicates we should expect a direct regpair map
[   12.020000] ath: Country alpha2 being used: 00
[   12.020000] ath: Regpair used: 0x67
[   12.028000] ieee80211 phy0: Selected rate control algorithm 'minstrel_ht'
[   12.028000] Registered led device: ath9k-phy0
[   12.032000] ieee80211 phy0: Atheros AR9280 Rev:2 mem=0xb8000000, irq=30
[   12.060000] NET: Registered protocol family 8
[   12.064000] NET: Registered protocol family 20
[   12.112000] Button Hotplug driver version 0.4.1
[   12.760000] PPP generic driver version 2.4.2
[   13.120000] ip_tables: (C) 2000-2006 Netfilter Core Team
[   13.340000] NET: Registered protocol family 24
[   13.628000] nf_conntrack version 0.5.0 (971 buckets, 3884 max)
[   14.220000] IFX MEI Version 5.00.00
[   14.456000]
[   14.456000] Infineon CPE API Driver version: DSL CPE API V3.24.4.4
[   14.492000]     ATM (A1) firmware version 1.0.19
[   14.496000] ifxmips_atm: ATM init succeed
[   14.528000] dwc_otg: version 2.60a 22-NOV-2006
[   15.136000] DWC_otg: Using DMA mode
[   15.136000] dwc_otg dwc_otg.0: DWC OTG Controller
[   15.144000] dwc_otg dwc_otg.0: new USB bus registered, assigned bus number 1
[   15.148000] dwc_otg dwc_otg.0: irq 62, io mem 0xffffffffbe101000
[   15.156000] DWC_otg: Init: Port Power? op_state=1
[   15.160000] DWC_otg: Init: Power Port (0)
[   15.164000] hub 1-0:1.0: USB hub found
[   15.168000] hub 1-0:1.0: 1 port detected
[   15.216000] usbcore: registered new interface driver usblp
[   15.352000] DISCONNECTED PORT
[   15.368000] Initializing USB Mass Storage driver...
[   15.368000] usbcore: registered new interface driver usb-storage
[   15.376000] USB Mass Storage support registered.
[   19.512000] device wlan0 entered promiscuous mode
[   22.508000] device wlan0 left promiscuous mode
[   22.508000] br-lan: port 1(wlan0) entering disabled state
[   22.864000] device wlan0 entered promiscuous mode
[   23.712000] br-lan: port 1(wlan0) entering forwarding state
[   23.716000] br-lan: port 1(wlan0) entering forwarding state
[   26.324000] device eth0.1 entered promiscuous mode
[   26.328000] device eth0 entered promiscuous mode
[   26.332000] br-lan: port 2(eth0.1) entering forwarding state
[   26.336000] br-lan: port 2(eth0.1) entering forwarding state
[   38.752000] br-lan: port 1(wlan0) entering forwarding state
[   41.376000] br-lan: port 2(eth0.1) entering forwarding state

The wifi works with it's own MAC, but the ath9k driver needs improvements.

EDIT: http://wiki.openwrt.org/toh/astoria/arv7518pw

Re: Is this router based on the infineon danube?

Pteridium wrote:

delboy made a good wiki for the board in wich i'm working.
I've compiled the latest trunk and all works in the arv7518pw, but i supose in the others too: ADSL, wifi (more or less), VLAN, ...

Hei! Does USB storage work on your board? I'm stuck trying to get a pendrive to mount on mine (arv4518pw), but without luck!

It recognizes /dev/sda1, but when I try to mount, dmesg throws lots of

[  117.004000] usb 1-1: reset high speed USB device number 2 using dwc_otg
[  132.180000] usb 1-1: device descriptor read/64, error -145
[  147.460000] usb 1-1: device descriptor read/64, error -145
[  150.836000] hub 1-0:1.0: Cannot enable port 1.  Maybe the USB cable is bad?
[  154.108000] hub 1-0:1.0: Cannot enable port 1.  Maybe the USB cable is bad?
[  157.380000] hub 1-0:1.0: Cannot enable port 1.  Maybe the USB cable is bad?
[  157.384000] usb 1-1: USB disconnect, device number 2
[  157.388000] sd 0:0:0:0: Device offlined - not ready after error recovery
[  160.804000] hub 1-0:1.0: Cannot enable port 1.  Maybe the USB cable is bad?
[  164.076000] hub 1-0:1.0: Cannot enable port 1.  Maybe the USB cable is bad?
[  167.348000] hub 1-0:1.0: Cannot enable port 1.  Maybe the USB cable is bad?
[  170.620000] hub 1-0:1.0: Cannot enable port 1.  Maybe the USB cable is bad?
[  170.624000] hub 1-0:1.0: unable to enumerate USB device on port 1

I'm using trunk from http://downloads.openwrt.org/snapshots/trunk/lantiq/

I tried using kmod-usb2, kmod-usb-ohci, kmod-usb-uhci... but with no luck!!!

Anyone does know why?

Thanks smile

Re: Is this router based on the infineon danube?

With the latest trunk, unless wifi, all works ok in the arv4518pw (RTL8306 switch).

This is the error with ath5k driver:
[   39.096000] ath5k phy0: failed to warm reset the MAC Chip
[   39.100000] ath5k phy0: can't reset hardware (-5)
[   39.580000] ath5k phy0: failed to warm reset the MAC Chip
[   39.584000] ath5k phy0: can't reset hardware (-5)
[   39.608000] device wlan0 entered promiscuous mode
[   41.292000] ath5k phy0: failed to warm reset the MAC Chip
[   41.296000] ath5k phy0: can't reset hardware (-5)

The atheros driver seems to be loaded ok:
[   33.168000] PCI: Enabling device 0000:00:0e.0 (0000 -> 0002)
[   33.172000] ath5k 0000:00:0e.0: enabling bus mastering
[   33.172000] ath5k 0000:00:0e.0: registered as 'phy0'
[   33.180000] ath: EEPROM regdomain: 0x67
[   33.180000] ath: EEPROM indicates we should expect a direct regpair map
[   33.180000] ath: Country alpha2 being used: 00
[   33.180000] ath: Regpair used: 0x67
[   33.184000] ieee80211 phy0: Selected rate control algorithm 'minstrel_ht'
[   33.184000] ath5k phy0: Atheros AR2417 chip found (MAC: 0xf0, PHY: 0x70)

gnumengor wrote:

Hei! Does USB storage work on your board? I'm stuck trying to get a pendrive to mount on mine (arv4518pw), but without luck!

It recognizes /dev/sda1, but when I try to mount, dmesg throws lots of

[  117.004000] usb 1-1: reset high speed USB device number 2 using dwc_otg
[  132.180000] usb 1-1: device descriptor read/64, error -145
[  147.460000] usb 1-1: device descriptor read/64, error -145
[  150.836000] hub 1-0:1.0: Cannot enable port 1.  Maybe the USB cable is bad?
[  154.108000] hub 1-0:1.0: Cannot enable port 1.  Maybe the USB cable is bad?
[  157.380000] hub 1-0:1.0: Cannot enable port 1.  Maybe the USB cable is bad?
[  157.384000] usb 1-1: USB disconnect, device number 2
[  157.388000] sd 0:0:0:0: Device offlined - not ready after error recovery
[  160.804000] hub 1-0:1.0: Cannot enable port 1.  Maybe the USB cable is bad?
[  164.076000] hub 1-0:1.0: Cannot enable port 1.  Maybe the USB cable is bad?
[  167.348000] hub 1-0:1.0: Cannot enable port 1.  Maybe the USB cable is bad?
[  170.620000] hub 1-0:1.0: Cannot enable port 1.  Maybe the USB cable is bad?
[  170.624000] hub 1-0:1.0: unable to enumerate USB device on port 1

I'm using trunk from http://downloads.openwrt.org/snapshots/trunk/lantiq/

I tried using kmod-usb2, kmod-usb-ohci, kmod-usb-uhci... but with no luck!!!

Anyone does know why?

Thanks smile

The kernel modules you have installed are useless. You need to install kmod-usb-storage and some others.

Re: Is this router based on the infineon danube?

Pteridium wrote:

With the latest trunk, unless wifi, all works ok in the arv4518pw (RTL8306 switch).

The kernel modules you have installed are useless. You need to install kmod-usb-storage and some others.

You were right! I re-flashed trunk squashfs again, installed only kmod-usb-storage and kmod-usb-dwc-otg and kmod-fs-ext4 and it works!

The problem was that there were too many drivers reclaiming the device and se hizo la picha un lio smile

Now I will try to setup block-extroot to get more space on the device!

Thanksssss

Re: Is this router based on the infineon danube?

gnumengor wrote:
Pteridium wrote:

With the latest trunk, unless wifi, all works ok in the arv4518pw (RTL8306 switch).

The kernel modules you have installed are useless. You need to install kmod-usb-storage and some others.

You were right! I re-flashed trunk squashfs again, installed only kmod-usb-storage and kmod-usb-dwc-otg and kmod-fs-ext4 and it works!

The problem was that there were too many drivers reclaiming the device and se hizo la picha un lio smile

Wrong!

There is a problem with trunk. When I boot the router and then install kmod-usb-dwc-otg, it works fine! I can mount, umount, format, copy files, use the pendrive as expected.

Then, after a reboot, it doesn't work, it hangs. I think it has something to do with the order the modules are loaded at boot time or something like that... uninstalling kmod-usb-dwc-otg, rebooting, and installing again works nice until a new reboot.

I will try to place a bug report!

607 (edited by happyelement 2012-04-03 17:57:12)

Re: Is this router based on the infineon danube?

Hello everybody ....

finally I have managed to get my ARV752DPW (Easybox 802) running ... with wifi
Keep in mind this box has a rtl2860 wifi chip.

Patch: http://pastebin.com/MimFZgFn



Today I will test if the dsl is working correct ..... NO ;(



By the way, has anybody an idea how I can find out which gpio is for which led?
I have tried the gpioctl tool but this is always saying that /dev/gpio is not existing ...


Like I thought DSL is not working, somebody an idea

ifconfig

br-lan    Link encap:Ethernet  HWaddr 0C:00:28:43:00:60
          inet addr:192.168.1.1  Bcast:192.168.1.255  Mask:255.255.255.0
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:1632 errors:0 dropped:0 overruns:0 frame:0
          TX packets:1229 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:177869 (173.7 KiB)  TX bytes:293511 (286.6 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:79 errors:0 dropped:0 overruns:0 frame:0
          TX packets:79 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:5198 (5.0 KiB)  TX bytes:5198 (5.0 KiB)

mon.wlan0 Link encap:UNSPEC  HWaddr 0C-00-28-43-00-60-00-48-00-00-00-00-00-00-00-00
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:3244 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:32
          RX bytes:586974 (573.2 KiB)  TX bytes:0 (0.0 B)

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

pppoe-wan Link encap:Point-to-Point Protocol
          inet addr:10.64.64.64  P-t-P:10.112.112.112  Mask:255.255.255.255
          UP POINTOPOINT RUNNING NOARP MULTICAST  MTU:1492  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:8 errors:0 dropped:347 overruns:0 carrier:0
          collisions:0 txqueuelen:3
          RX bytes:0 (0.0 B)  TX bytes:515 (515.0 B)

wlan0     Link encap:Ethernet  HWaddr 0C:00:28:43:00:60
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:1631 errors:0 dropped:0 overruns:0 frame:0
          TX packets:1615 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:32
          RX bytes:200697 (195.9 KiB)  TX bytes:390962 (381.7 KiB)

ppd.log

Starting link
Send PPPOE Discovery V1T1 PADI session 0x0 length 12
 dst ff:ff:ff:ff:ff:ff  src 0:0:1:0:0:0
 [service-name] [host-uniq  00 00 04 ce]
Send PPPOE Discovery V1T1 PADI session 0x0 length 12
 dst ff:ff:ff:ff:ff:ff  src 0:0:1:0:0:0
 [service-name] [host-uniq  00 00 04 ce]
Send PPPOE Discovery V1T1 PADI session 0x0 length 12
 dst ff:ff:ff:ff:ff:ff  src 0:0:1:0:0:0
 [service-name] [host-uniq  00 00 04 ce]
Timeout waiting for PADO packets
Unable to complete PPPoE Discovery
Starting link
Send PPPOE Discovery V1T1 PADI session 0x0 length 12
 dst ff:ff:ff:ff:ff:ff  src 0:0:1:0:0:0
 [service-name] [host-uniq  00 00 04 ce]
Send PPPOE Discovery V1T1 PADI session 0x0 length 12
 dst ff:ff:ff:ff:ff:ff  src 0:0:1:0:0:0
 [service-name] [host-uniq  00 00 04 ce]
Send PPPOE Discovery V1T1 PADI session 0x0 length 12
 dst ff:ff:ff:ff:ff:ff  src 0:0:1:0:0:0
 [service-name] [host-uniq  00 00 04 ce]
Timeout waiting for PADO packets
Unable to complete PPPoE Discovery

network

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 netmask '255.255.255.0'
        option gateway '192.168.2.103'
        option ipaddr '192.168.1.1'

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 proto 'pppoe'
        option username 'xxx'
        option password 'xxx'
        option _orig_ifname 'nas0'
        option _orig_bridge 'false'
        option ifname 'nas0'
        option demand '30'

Re: Is this router based on the infineon danube?

Did you copied ModemHWE.bin to /lib/firmware?

Re: Is this router based on the infineon danube?

the file is there, but I didn't copied anything

Re: Is this router based on the infineon danube?

Are you using annex A or B, if you are using annex A, than you must install kmod-ltq-dsl-firmware-a-danube, and set network config to:
uci set network.adsl.fwannex=a
// if you set this to something random like "uci set network.adsl.annex=dfdfdf" than it will be automatic dsl mode
uci set network.adsl.annex=a2p

or you can remove kmod-ltq-dsl-firmware-b-danube and leave only kmod-ltq-dsl-firmware-a-danube, it will do network stuff automatically than.

For leds, just copy gpios from other boards, and than turn them on with 1 or off with 0, ofc change xx and yy to led name:
echo 1 > /sys/class/leds/soc:xx:yy:/brightness
if there are still some not working, just add more random names and gpios to mach file and see if it works.

611 (edited by Pteridium 2012-04-05 17:54:57)

Re: Is this router based on the infineon danube?

The same problem in ARV4518 aand ARV7518.
Executing dsl_cpe_control shows this output:

root@OpenWrt:/sbin# dsl_cpe_control
DSL_CPE: Device /dev/dsl_cpe_api opened successfully
DSL_CPE: Could not unmask event(18) for device 0 (0)!
DSL_CPE:  open /opt/ifx/firmware/ModemHWE.bin failed.
^CDSL_CPE: terminated
EventHandler: exit(0)
DSL_CPE: User Thread Shutdown <tPipe_0> - no responce
DSL_CPE: User Thread Shutdown <tPipe_1> - no responce
DSL_CPE: CLI interface of DSL CPE API terminated.
DSL_CPE: Goodbye from DSL CPE API CLI interface

Seems that searches ModemHWE.bin in /opt/ifx/firmware, while the file is in /lib/firmware.

Tried with this, but without luck:

root@OpenWrt:/sbin# dsl_cpe_control  --firmware1 /lib/firmware/ModemHWE.bin
DSL_CPE: Device /dev/dsl_cpe_api opened successfully




DSL_CPE: Autoboot Load Firmware (using chunks) failed!, nRet = -1!
DSL_CPE: Autoboot Load Firmware (using chunks) failed!, nRet = -1!
DSL_CPE: Autoboot Load Firmware (using chunks) failed!, nRet = -1!
DSL_CPE: Autoboot Load Firmware (using chunks) failed!, nRet = -1!
DSL_CPE: Autoboot Load Firmware (using chunks) failed!, nRet = -1!
DSL_CPE: ERROR - FW download failed on the 5 retry!





DSL_CPE: Autoboot Load Firmware (using chunks) failed!, nRet = -1!
DSL_CPE: Autoboot Load Firmware (using chunks) failed!, nRet = -1!
DSL_CPE: Autoboot Load Firmware (using chunks) failed!, nRet = -1!
DSL_CPE: Autoboot Load Firmware (using chunks) failed!, nRet = -1!
DSL_CPE: Autoboot Load Firmware (using chunks) failed!, nRet = -1!
DSL_CPE: ERROR - FW download failed on the 5 retry!

^CDSL_CPE: terminated
EventHandler: exit(0)
DSL_CPE: User Thread Shutdown <tPipe_0> - no responce
DSL_CPE: User Thread Shutdown <tPipe_1> - no responce
DSL_CPE: CLI interface of DSL CPE API terminated.
DSL_CPE: Goodbye from DSL CPE API CLI interface

I remember ADSL annex A working ok in earlier trunk revisions.

Maybe a bug in the code or are we making or compiling something wrong?

Re: Is this router based on the infineon danube?

Use /etc/init.d/dsl_control script to restart or start dsl_cpe_control, also what .bin do you have inside /lib/firmware, ModemHWE.bin is just a symlink  to a or b binary, install both firmwares and than set in uci annex A or B like i described above.

Re: Is this router based on the infineon danube?

Somebody managed to find a uboot with working ethernet for ARV752DPW?

Trunk ´s still not working...

Re: Is this router based on the infineon danube?

you can use the uboot with loady support ...

615 (edited by simon94 2012-04-06 15:15:58)

Re: Is this router based on the infineon danube?

uboot with loady support has working switch / eth?

edit: and which uboot do you mean?

Re: Is this router based on the infineon danube?

I think correct uboots are on this post

https://forum.openwrt.org/viewtopic.php?pid=158703#p158703

But also these ones don't have correct eth implemented ... therefore you have to upload your firmware via loady(serial y modem)

Re: Is this router based on the infineon danube?

Could someone with Easybox 802 try this uboot to see if eth is working. It is revision 28388.
http://www.mediafire.com/?xbd6hyap6ym48mp

Re: Is this router based on the infineon danube?

I have flashed your 28288 ...

eth is working much better, what I have tested so far

PC ping to router -> Perfect
Httpd failsafe interface -> Partial perfect, this means html page start up, but when I try to upload a file it will end up in Error 324 (net::ERR_EMPTY_RESPONSE)
tftp -> not tried so far


so when the httpd upload would working, it would be perfect for my needs

619 (edited by potis21 2012-04-09 17:24:56)

Re: Is this router based on the infineon danube?

I definately need your help.

I am no linux user so I cannot compile kernel and FS on demand.

My problem is the following.

I have a Danube board, Arcadyan ARV4518PW ver 2 with the AR8216 hub. (NETFASTER IAD 2)

I erased the whole flash by accident and thought it was no big deal to flash it serially, so I gained serial access (I am an electronics enginner so I just did).

Now, when I upload the .asc file from

http://downloads.openwrt.org/snapshots/trunk/lantiq/uboot-lantiq-arv4518PW_ramboot/u-boot.asc

Uboot starts fine with ar8216 support, but when I find the httpd server and I upload firmware the device kills the http connection at 20%.

Big deal, you say, upload serially. Well, no. Won't work either.

I upload the flash at the 1st chunk (0xb0 - 0xbffff)

http://downloads.openwrt.org/snapshots/trunk/lantiq/uboot-lantiq-arv4518PW_ramboot/u-boot.bin

Which has support for my hub but it won't boot serially as the .asc file does. (!!!!! why is that I just don't get it, so I flashed the brnboot part on block 0xb10000 and on but still no.)

I upload the

http://downloads.openwrt.org/backfire/1 … /uboot.bin

Will flash and boot fine but no ar8216 support, leaves you out. Ah, and flashing (I think has kernel at 0xb50000) the

openwrt-lantiq-danube-ARV4518PW-squashfs.image 

at it at 0x50000 still gives a "Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block" error

please show me the way, you enlightened ones!!!

Thanks in advance

John

620 (edited by angrybb 2012-04-09 18:57:41)

Re: Is this router based on the infineon danube?

Try with this one. It also have serial support (loady).
http://www.mediafire.com/?1wgsmpvrz8kxv0a

621 (edited by potis21 2012-04-10 01:30:45)

Re: Is this router based on the infineon danube?

Well, sorry, still the very same symptoms. And I actually need a .bin image to install as a bootloader. The perfect would be to have this image you send me in .asc in the .bin form to permanently install it.

When I say same symptoms, I mean that httpd comes up, still when I opt to upload will go up to 20% then upload stops with the http server still looking like waiting for packets. I uploaded 7520's bootloader (uboot) hoping that the .bin file will sit nicely between the SoC and the hub, it didn't.



It's a pity I have a SIP capable router and I still have no phone here while having paid all subscriptions (my voice provider is VOIP based but this router's original FW won't send the VOIP via default route by itself, instead it insists on routing it via ATM PVC's. But my DSL ATM gateway is actually 1000m from here and I cannot pull a line that long... So I desperately need it to be an FXO, hub, router and possibly wireless client in order to gather all my boxes in one, I would save some power, be "greener" this way. (and yes, I am "el cheapo" himself, lol)

622 (edited by angrybb 2012-04-10 02:31:25)

Re: Is this router based on the infineon danube?

I have that device too, jetspeed iad wp2(arv4518pw2), and it is not the same as arv4518pw(without 2). It has smaller flash and ram. I think devs are unaware that there exists arv4518pw2.
Something strange is happening with uboot from recent revisions. I sometimes have same symptoms as you with httpd. When that happens i just wait a bit longer, and it uploads image, but it goes slow and with stops (####T ####T ####T).

Anyway here are the ramboot and flash uboot images(same build as .asc in my post earlier).
http://www.mediafire.com/?2e5cx4mv6m4v1bc
http://www.mediafire.com/?xncsdulch72gf6x

Re: Is this router based on the infineon danube?

many thanks. I'll give them a try later on this day, will report back results.

Re: Is this router based on the infineon danube?

hey angrybb

why did you select the uboot version 28288?

What are the diffs?

625 (edited by angrybb 2012-04-11 08:22:00)

Re: Is this router based on the infineon danube?

I already answered that. See https://forum.openwrt.org/viewtopic.php?pid=160902#p160902 and few posts after that. I also filled a ticket here, https://dev.openwrt.org/ticket/11265 . I will now try to compile the latest revision with 2.6 kernel and if it works then compile first revision with 3.x kernel and see if that works.