Kitz ADSL Broadband Information
adsl spacer  
Support this site
Home Broadband ISPs Tech Routers Wiki Forum
 
     
   Compare ISP   Rate your ISP
   Glossary   Glossary
 
Please login or register.

Login with username, password and session length
Advanced search  

News:

Pages: 1 2 [3] 4

Author Topic: Fixed eDMT and eDMT for ECI Modem B-FOCus V-2FUb/r Rev B  (Read 37363 times)

mikehiow

  • Member
  • **
  • Posts: 71
Re: Fixed eDMT and eDMT for ECI Modem B-FOCus V-2FUb/r Rev B
« Reply #30 on: April 09, 2013, 12:58:26 AM »

I almost fancied having a go at building the OR sources, if only to introduce a script periodically restart telnet.

What do you hope to achieve building it with the OpenWRT stuff? Is the aim to run OpenWRT or just to have a build with some additional tools/binaries to make it a little more useful? Is there any flash on the device?
Logged

asbokid

  • Kitizen
  • ****
  • Posts: 1286
    • Hacking the 2Wire
Re: Fixed eDMT and eDMT for ECI Modem B-FOCus V-2FUb/r Rev B
« Reply #31 on: April 09, 2013, 02:05:22 AM »

Hmm.. the OR sources.  Pass on them!  They did compile in the end, or most of them did, but there's so much missing - e.g. no httpd - it was hardly worth the bother, except there's obviously some board-specific stuff in there. That needs extracting and putting in the source tree for OpenWRT proper.

A kernel for the EASY80920 reference board [1] of the Lantiq VR9, built with the openWRT toolchain from SVN runs okay on it, but there's no ethernet switch support at all, or I couldn't get it to work.  Hopefully blogic, the Lantiq maintainer at OpenWRT, can find time to discover why:



Code: [Select]

ROM VER: 1.
ROM VER: 1.0.5
CFG 01
DDR autotuning Rev 0.3c
DDR size from 0xa0000000 - 0xa3ffffff
DDR check ok... start booting...



VG3503J 1-A-DC BootLoader v2.00.01 (May 25 2012 - 13:44:42)

CLOCK CPU 333M RAM 166M
DRAM:  32 MiB
Flash: 8 MiB
In:    serial
Out:   serial
Err:   serial
Net:   Internal phy(GE) firmware version: 0x8400
vr9 Switch

Hit any key to stop autoboot:  3  0

VR9 # tftp
Using vr9 Switch device
TFTP from server 192.168.1.11; our IP address is 192.168.1.2
Filename 'uImage'.
Load address: 0x80800000
Loading: #################################################################
#################################################################
#################################################################
################
done
Bytes transferred = 3093631 (2f347f hex)

VR9 # bootm
## Booting kernel from Legacy Image at 80800000 ...
   Image Name:   MIPS OpenWrt Linux-3.8.3
   Created:      2013-04-02   2:26:05 UTC
   Image Type:   MIPS Linux Kernel Image (lzma compressed)
   Data Size:    3093567 Bytes = 3 MiB
   Load Address: 80002000
   Entry Point:  80002000
   Verifying Checksum ... OK
   Uncompressing Kernel Image ... OK

Starting kernel ...

[    0.000000] Linux version 3.8.3 (asbokid@core2quad) (gcc version 4.6.4 20121210 (prerelease) (Linaro GCC 4.6-2012.12) ) #21 Tue Apr 2 03:25:47 BST 2013
[    0.000000] SoC: VR9 rev 1.1
[    0.000000] bootconsole [early0] enabled
[    0.000000] CPU revision is: 00019555 (MIPS 34Kc)
[    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 32kB, VIPT, 4-way, linesize 32 bytes.
[    0.000000] Primary data cache 32kB, 4-way, VIPT, cache 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] __ex_table already sorted, skipping sort
[    0.000000] Writing ErrCtl register=000040d0
[    0.000000] Readback ErrCtl register=000040d0
[    0.000000] Memory: 54656k/65536k available (2563k kernel code, 10880k reserved, 783k data, 6692k 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.048000] pinctrl core: initialized pinctrl subsystem
[    0.052000] NET: Registered protocol family 16
[    0.068000] pinctrl-xway 1e100b10.pinmux: Init done
[    0.072000] dma-xway 1e104100.dma: Init done - hw rev: 7, ports: 7, channels: 28
[    0.080000] dcdc-xrx200 1f106a00.dcdc: Core Voltage : 1016 mV
[    0.104000] bio: create slab <bio-0> at 0
[    0.108000] gpio-stp-xway 1e100bb0.stp: Init done
[    0.112000] usbcore: registered new interface driver usbfs
[    0.116000] usbcore: registered new interface driver hub
[    0.120000] usbcore: registered new device driver usb
[    0.124000] Switching to clocksource MIPS
[    0.132000] NET: Registered protocol family 2
[    0.136000] TCP established hash table entries: 512 (order: 0, 4096 bytes)
[    0.144000] TCP bind hash table entries: 512 (order: -1, 2048 bytes)
[    0.152000] TCP: Hash tables configured (established 512 bind 512)
[    0.156000] TCP: reno registered
[    0.160000] UDP hash table entries: 256 (order: 0, 4096 bytes)
[    0.168000] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
[    0.172000] NET: Registered protocol family 1
[    0.416000] gptu: totally 6 16-bit timers/counters
[    0.420000] gptu: misc_register on minor 63
[    0.424000] gptu: succeeded to request irq 126
[    0.428000] gptu: succeeded to request irq 127
[    0.432000] gptu: succeeded to request irq 128
[    0.436000] gptu: succeeded to request irq 129
[    0.444000] gptu: succeeded to request irq 130
[    0.448000] gptu: succeeded to request irq 131
[    0.456000] phy-xrx200 gphy-xrx200.5: requesting lantiq/vr9_phy11g_a2x.bin
[    0.464000] phy-xrx200 gphy-xrx200.5: booting GPHY0 firmware at 2D00000
[    0.468000] phy-xrx200 gphy-xrx200.5: booting GPHY1 firmware at 2D00000
[    0.580000] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[    0.584000] jffs2: version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc.
[    0.596000] msgmni has been set to 106
[    0.600000] io scheduler noop registered
[    0.604000] io scheduler deadline registered (default)
[    0.608000] 1e100c00.serial: ttyLTQ0 at MMIO 0x1e100c00 (irq = 112) is a lantiq,asc
[    0.616000] console [ttyLTQ0] enabled, bootconsole disabled
[    0.616000] console [ttyLTQ0] enabled, bootconsole disabled
[    0.632000] ltq_nor: Found 1 x16 devices at 0x0 in 16-bit bank. Manufacturer ID 0x0000c2 Chip ID 0x0022cb
[    0.640000] Amd/Fujitsu Extended Query Table at 0x0040
[    0.644000]   Amd/Fujitsu Extended Query version 1.1.
[    0.652000] number of CFI chips: 1
[    0.656000] 3 ofpart partitions found on MTD device ltq_nor
[    0.660000] Creating 3 MTD partitions on "ltq_nor":
[    0.664000] 0x000000000000-0x000000010000 : "uboot"
[    0.672000] 0x000000010000-0x000000020000 : "uboot_env"
[    0.680000] 0x000000020000-0x000000800000 : "linux"
[    0.708000] no uImage or brnImage or eva found in linux partition
[    0.716000] Can't split linux partition
[    0.828000] libphy: lantiq,xrx200-mdio: probed
[    0.840000] eth0: attached PHY [Generic PHY] (phy_addr=0:00, irq=-1)
[    0.844000] eth0: attached PHY [Generic PHY] (phy_addr=0:01, irq=-1)
[    0.852000] eth0: attached PHY [Lantiq XWAY VR9 GPHY 11G v1.4] (phy_addr=0:11, irq=-1)
[    0.860000] eth1: attached PHY [Generic PHY] (phy_addr=0:05, irq=-1)
[    0.868000] eth2: attached PHY [Lantiq XWAY VR9 GPHY 11G v1.4] (phy_addr=0:13, irq=-1)
[    0.876000] wdt 1f8803f0.watchdog: Init done
[    0.880000] leds-gpio gpio-leds.7: pins are not configured from the driver
[    0.892000] TCP: cubic registered
[    0.896000] NET: Registered protocol family 17
[    0.900000] 8021q: 802.1Q VLAN Support v1.8
[    0.936000] Freeing unused kernel memory: 6692k freed
[    1.840000] eth0: port 0 got link
[    1.840000] eth0: port 1 got link
[    1.864000] eth1: port 5 got link

- preinit -
Press the [f] key and hit [enter] to enter failsafe mode
- regular preinit -
- init -
Please press Enter to activate this console.

[    6.020000] IFXOS, Version 1.5.14 (c) Copyright 2009, Lantiq Deutschland GmbH
[    6.040000] Compat-drivers backport release: compat-drivers-2013-01-21-1
[    6.048000] Backport based on wireless-testing.git master-2013-02-22
[    6.052000] compat.git: wireless-testing.git
[    6.092000] cfg80211: Calling CRDA to update world regulatory domain
[    6.096000] cfg80211: World regulatory domain updated:
[    6.100000] cfg80211:   (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp)
[    6.108000] cfg80211:   (2402000 KHz - 2472000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
[    6.116000] cfg80211:   (2457000 KHz - 2482000 KHz @ 20000 KHz), (300 mBi, 2000 mBm)
[    6.124000] cfg80211:   (2474000 KHz - 2494000 KHz @ 20000 KHz), (300 mBi, 2000 mBm)
[    6.132000] cfg80211:   (5170000 KHz - 5250000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
[    6.140000] cfg80211:   (5735000 KHz - 5835000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
[    6.392000] NET: Registered protocol family 8
[    6.392000] NET: Registered protocol family 20
[    6.468000] PPP generic driver version 2.4.2
[    6.540000] ip_tables: (C) 2000-2006 Netfilter Core Team

[    6.716000] NET: Registered protocol family 24
[    6.744000] nf_conntrack version 0.5.0 (958 buckets, 3832 max)
[    7.028000] IFXUSB: ifxusb_hcd: version 3.2 B110801
[    7.032000] Chip Version :01c2 BurstSize=0

[    7.596000] MEI CPE Driver, Version 1.2.0

[    7.600000] (c) Copyright 2009, Infineon Technologies AG
[    7.600000] ### MEI CPE - MEI CPE - MEI CPE - MEI CPE ###

[    7.636000]
[    7.636000] Lantiq CPE API Driver version: DSL CPE API V4.11.4
[    7.644000]
[    7.644000] Predefined debug level: 2
[    7.672000] ATM1.0.26    ATM (A1) firmware version 0.24
[    7.676000] ifxmips_atm: ATM init succeed

[    7.696000] ltq_deu_vr9: Unknown symbol crypto_register_shash (err 0)
[    7.700000] ltq_deu_vr9: Unknown symbol crypto_unregister_shash (err 0)
[   13.740000] device eth0 entered promiscuous mode
[   13.752000] br-lan: port 1(eth0) entered forwarding state
[   13.756000] br-lan: port 1(eth0) entered forwarding state
[   15.760000] br-lan: port 1(eth0) entered forwarding state



BusyBox v1.19.4 (2013-03-31 04:03:52 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
 -----------------------------------------------------
 BARRIER BREAKER (Bleeding Edge, r36141)
 -----------------------------------------------------
  * 1/2 oz Galliano         Pour all ingredients into
  * 4 oz cold Coffee        an irish coffee mug filled
  * 1 1/2 oz Dark Rum       with crushed ice. Stir.
  * 2 tsp. Creme de Cacao
 -----------------------------------------------------
root@OpenWrt:/# uname -a
Linux OpenWrt 3.8.3 #21 Tue Apr 2 03:25:47 BST 2013 mips GNU/Linux

# cat /proc/cpuroot@OpenWrt:/# cat /proc/cpuinfo
system type : VR9 rev 1.1
processor : 0
cpu model : MIPS 34Kc V5.5
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, 0x0490, 0x0f88, 0x0608]
ASEs implemented : mips16 dsp mt
shadow register sets : 1
kscratch registers : 0
core : 0
VCED exceptions : not available
VCEI exceptions : not available

root@OpenWrt:/#


There's 8MB of NOR flash on the Arcadyan vg3503j (the ECI /r) board. In theory there's loads of space for better things because the squashfs root file system consumes less than 4MB and the kernel about 1MB. What is reserved for a secondary rootfs is unused.

So the telnetd does periodically hang for you, too?  Does this coincide with anything to do with btagent?

cheers, a

EDIT:  Just to add, the flash-based kernel is also locked through the use of a checksum in the bootloader.  When I changed the kernel, the bootloader complained.  Yet when I loaded the kernel via tftpboot, it worked fine, so the lock is only effective for the kernel on the flash.  In other words,  a generic and non-locked u-boot bootloader needs writing to flash.  It would be nice to have JTAG pinout just in case that goes wrong!  ::)

[1] http://www.lantiq.com/uploads/tx_abzlantiqproducts/PB-e-0028-v1_lres.pdf
« Last Edit: April 09, 2013, 03:12:55 AM by asbokid »
Logged

mikehiow

  • Member
  • **
  • Posts: 71
Re: Fixed eDMT and eDMT for ECI Modem B-FOCus V-2FUb/r Rev B
« Reply #32 on: April 09, 2013, 03:15:46 AM »

Any chance of you sharing what you have so far?

I'd like to have a play.

Logged

mikehiow

  • Member
  • **
  • Posts: 71
Re: Fixed eDMT and eDMT for ECI Modem B-FOCus V-2FUb/r Rev B
« Reply #33 on: April 09, 2013, 10:47:26 AM »

Well, it's been up since around 8PM yesterday.

Telnet is still running without killing btagent.
Logged

drsox

  • Member
  • **
  • Posts: 55
Re: Fixed eDMT and eDMT for ECI Modem B-FOCus V-2FUb/r Rev B
« Reply #34 on: April 09, 2013, 11:14:34 AM »

Other than locking up the pipe (submitting a request and then not "reading" it, then disconnecting and trying to reconnect and getting no login prompt) I've never seen any of the ECI Modems I have tested lose telnet ability.

asbokid

  • Kitizen
  • ****
  • Posts: 1286
    • Hacking the 2Wire
Re: Fixed eDMT and eDMT for ECI Modem B-FOCus V-2FUb/r Rev B
« Reply #35 on: April 09, 2013, 04:25:18 PM »

Any chance of you sharing what you have so far?

I'd like to have a play.

Hi Mike,

There's nothing much to share..

Checkout the latest development sources from the subversion repository.. [1]

Code: [Select]
make menuconfig

and select in the config:

Code: [Select]
CONFIG_TARGET_lantiq=y
CONFIG_TARGET_lantiq_xway=y
CONFIG_TARGET_lantiq_xway_EASY80920NOR=y

Code: [Select]
make
and the kernel/fs uimage should be created under:

Code: [Select]
/trunk/build_dir/target-mips_r2_uClibc-0.9.33.2/linux-lantiq_xway/
set up a tftpd server on the PC (in debian I used tftpd-hpa)

copy the uImage into the tftp download directory

load the new kernel from the tftp server into the ECI's memory, boot it, and away you go :-)

cheers, a

[1] https://dev.openwrt.org/wiki/GetSource
« Last Edit: April 10, 2013, 11:33:54 PM by asbokid »
Logged

asbokid

  • Kitizen
  • ****
  • Posts: 1286
    • Hacking the 2Wire
Re: Fixed eDMT and eDMT for ECI Modem B-FOCus V-2FUb/r Rev B
« Reply #36 on: April 09, 2013, 04:30:42 PM »

Other than locking up the pipe (submitting a request and then not "reading" it, then disconnecting and trying to reconnect and getting no login prompt) I've never seen any of the ECI Modems I have tested lose telnet ability.

That's what I found too, drsox.    The only time that telnetd seems to hang is when the line isn't synced up and the btagent nevertheless tries repeatedly to touch base with a bt firmware server.

cheers, a
« Last Edit: April 09, 2013, 05:34:51 PM by asbokid »
Logged

mikehiow

  • Member
  • **
  • Posts: 71
Re: Fixed eDMT and eDMT for ECI Modem B-FOCus V-2FUb/r Rev B
« Reply #37 on: April 09, 2013, 05:20:48 PM »

Telnet is still up here, so hopefully it's nothing to worry about.

I'd like to create a web app to log, graph and display stats etc. as well as notify of sync/error changes etc.

I'm happy to share the finished article if anyone could help me with obtaining the stats and any maths that is required to get meaningful figures?

Is there a reference anywhere that you used drsox? I guess I ought to start with your eDMT sources.
Logged

drsox

  • Member
  • **
  • Posts: 55
Re: Fixed eDMT and eDMT for ECI Modem B-FOCus V-2FUb/r Rev B
« Reply #38 on: April 09, 2013, 06:01:00 PM »

I just modified an existing program by ben1066 - http://forum.kitz.co.uk/index.php/topic,10635.msg215127.html#msg215127

I've got little time (and skills) for math ;)

mikehiow

  • Member
  • **
  • Posts: 71
Re: Fixed eDMT and eDMT for ECI Modem B-FOCus V-2FUb/r Rev B
« Reply #39 on: April 09, 2013, 10:53:47 PM »

Well I've made a start collecting data. Your code has been extremely useful so far - I've managed to collect downstream SNR data, so it's just a case of grabbing the rest of the data in the same fashion.

I'm trying to work out how often you're polling it, though?

« Last Edit: April 09, 2013, 10:57:17 PM by mikehiow »
Logged

drsox

  • Member
  • **
  • Posts: 55
Re: Fixed eDMT and eDMT for ECI Modem B-FOCus V-2FUb/r Rev B
« Reply #40 on: April 10, 2013, 12:07:51 AM »

I believe the program just does a snapshot and won't do one again until the refresh button is pressed.. you could make it timed simply by dropping a timer onto the form and logic to only fresh (ie, automate the clicking of the refresh button) once it has connected and if it isn't already busy with another task.

I too need to sort out some sort of ongoing logging to file but real life/work gets in the way :>

mikehiow

  • Member
  • **
  • Posts: 71
Re: Fixed eDMT and eDMT for ECI Modem B-FOCus V-2FUb/r Rev B
« Reply #41 on: April 10, 2013, 12:24:44 AM »

Oh, so the graphs are static?

I get it now. I'm afraid I'm not that well versed with the intricacies of VDSL. How often are these values liable to change?

If you have a server capable of running PHP, I'm happy to share my work once it's complete. I plan on logging to a database periodically with some graphing to go with it.
Logged

c6em

  • Reg Member
  • ***
  • Posts: 501
Re: Fixed eDMT and eDMT for ECI Modem B-FOCus V-2FUb/r Rev B
« Reply #42 on: April 10, 2013, 08:26:52 AM »

The SNR margin value and bit loading data for a router are changing by the second....real time.

Even SNRmargin vs time monitoring programs like Routerstats and Rsux only in reality monitor a snap shot of the conditions at the instant in time they take a reading - whether that is every 15 seconds or 1 min or whatever the user sets it to.

The oringal DMT for windows ADSL connections did have a sister program called DMT3D which took the data from DMT which did have a continous monitoring option within it...and then plot it in 3D.  It was only a half developed program as I recall.

Logged

Miked1963

  • Just arrived
  • *
  • Posts: 6
Re: Fixed eDMT and eDMT for ECI Modem B-FOCus V-2FUb/r Rev B
« Reply #43 on: September 11, 2014, 09:10:56 AM »

Hi Guys,
I recently got an eci/r (unlocked), got it set up and running, the BT agent is disabled, and my connection is a lot more stable, the problem I've got is I can't seem to be able to cut and paste
the stats or graphs. Could it be because eDMT is pinned to the task bar and I open it from this,
and not in a browser like explorer. When I right click on the stats or graphs nothing comes up,

Thanks in advance..

Mike.
Logged

drsox

  • Member
  • **
  • Posts: 55
Re: Fixed eDMT and eDMT for ECI Modem B-FOCus V-2FUb/r Rev B
« Reply #44 on: September 11, 2014, 09:22:05 AM »

It is a program rather than a website so you won't be able to just click on stuff and highlight it as you would on a word document or website.

Print screen button and paste it into word or paint to save or share the information :)
Pages: 1 2 [3] 4
 

anything