Modify

Opened 10 years ago

Closed 10 years ago

Last modified 10 years ago

#2532 closed defect (fixed)

DSL DSP image is out of date

Reported by: openwrt@… Owned by: matteo
Priority: normal Milestone:
Component: packages Version:
Keywords: Cc:

Description

While trying to work out why my avsar_modem_stats file contained nonsense values, I noticed that ar0700xx.bin in OpenWRT is smaller than ar0700xx.bin in the WAG54GP2v2 GPL release that Matteo Croce got the Linux driver source from. Swapping the firmware for the WAG54GP2v2 firmware file fixed it.

I've attached the new firmware to this ticket; could someone update the image OpenWRT uses by default?

Attachments (3)

ar0700xx.bin (374.8 KB) - added by openwrt@… 10 years ago.
Annex A ADSL firmware
ar0700xx.2.bin (357.0 KB) - added by openwrt@… 10 years ago.
Annex B ADSL firmware (untested, I use Annex A)
sangam_atm_D7.03.01.00_R2.tgz (825.1 KB) - added by NRForbes 10 years ago.
Sources for sangam_atm_D7.03.01.00_R2

Download all attachments as: .zip

Change History (20)

Changed 10 years ago by openwrt@…

Annex A ADSL firmware

Changed 10 years ago by openwrt@…

Annex B ADSL firmware (untested, I use Annex A)

comment:1 Changed 10 years ago by cfarinis@…

I tested the ar0700xx.2.bin(Annex B file).It works,but the problem with the incorrect modem statistics persists.I noticed that the version number is not 7.02.0x.0x (as it is in the Annex A firmware).

ATM Driver version:[7.02.01.00]
DSL HAL version: [7.02.01.00]
DSP Datapump version: [7.01.01.00] Annex B
SAR HAL version: [01.07.2c]
PDSP Firmware version:[0.54]
Chipset ID: [7300/7300A]

comment:2 Changed 10 years ago by openwrt@…

When testing the Annex B file, did you rename it back to ar0700xx.bin before uploading it to the router?

If not, you'll have been using the old firmware; to make sure that you're on the new firmware, rm /lib/firmware/ar0700xx.bin, then upload the new firmware and reboot.

If you did rename it correctly (and remembered to reboot to test it), it's probably worth looking in the Annex B WAG54GP2v2 sources, to see if they've got an older driver or newer DSP firmware.

comment:3 Changed 10 years ago by nabcore

I have a Netgear DG834Gv2. Using the above Annex A firmware (cf45726dd9923e27c07474661bf94605 ar0700xx.bin) fixes my avsar_modem_stats weird values as well:

root@Bunny:/proc/avalanche# cat avsar_ver
ATM Driver version:[7.02.01.00]
DSL HAL version: [7.02.01.00]
DSP Datapump version: [7.02.03.00] Annex A
SAR HAL version: [01.07.2c]
PDSP Firmware version:[0.54]
Chipset ID: [7300/7300A]
root@Bunny:/proc/avalanche# cat avsar_modem_stats

AR7 DSL Modem Statistics:
--------------------------------
[DSL Modem Stats]
        US Connection Rate:     287     DS Connection Rate:     2267
        DS Line Attenuation:    40      DS Margin:              24
        US Line Attenuation:    27      US Margin:              27
        US Payload :            24672   DS Payload:             235200
        US Superframe Cnt :     3699    DS Superframe Cnt:      3699
        US Transmit Power :     11      DS Transmit Power:      17
        LOS errors:             0       SEF errors:             0
        Errored Seconds:        0       Severely Err Secs:      0
        Frame mode:             0       Max Frame mode:         0
        Trained Path:           0       US Peak Cell Rate:      676
        Trained Mode:           16      Selected Mode:          1
        ATUC Vendor Code:       50000000        ATUC Revision:  2
        Hybrid Selected:        1       Trellis:                1
        Showtime Count:         1       DS Max Attainable Bit Rate: 6984 kbps
        BitSwap:                1       US Max Attainable Bit Rate: 972000 bps
        Annex:                  AnxA    psd_mask_qualifier: 0x0000
        Power Management Status: L0     DS HLINSC: 0
        US ACTPSD:              -345    DS ACTPSD: -366
        Total init. errors:     0       Total init. timeouts: 0
        Showtime init. errors:  0       Showtime init. timeouts: 0
        Last showtime init. errors: 0   Last showtime init. timeouts: 0
        ATUC ghsVid:  b5 00 50 00 00 00 00 00
        T1413Vid: 00 00         T1413Rev: 00            VendorRev: 00
        ATUR ghsVid:  b5 00 54 53 54 43 00 00
        T1413Vid: 00 00 T1413Rev: 00    VendorRev: 00

comment:4 Changed 10 years ago by nabcore

With further testing, updating the firmware may not be the fix for this. The nonsense values start to appear with the newer firmware after ~3mins of connection.

root@Bunny:/proc/avalanche# uptime
 14:22:15 up 3 min, load average: 0.03, 0.09, 0.04
root@Bunny:/proc/avalanche# cat avsar_modem_stats

AR7 DSL Modem Statistics:
--------------------------------
[DSL Modem Stats]
        US Connection Rate:     287     DS Connection Rate:     2267
        DS Line Attenuation:    40      DS Margin:              24
        US Line Attenuation:    27      US Margin:              4294967273
        US Payload :            309072  DS Payload:             1969440
        US Superframe Cnt :     9805    DS Superframe Cnt:      9805
        US Transmit Power :     11      DS Transmit Power:      17
        LOS errors:             0       SEF errors:             0
        Errored Seconds:        1       Severely Err Secs:      0

comment:5 Changed 10 years ago by nabcore

Regardless of whether this fixes the nonsense values, there is an version inconsistency among some of the components of the sangam_atm package. The DSP firmware should be brought into line with the ATM version in this package by incorporating the two firmwares in this ticket into http://downloads.openwrt.org/sources/sangam_atm-07.02.01.00.tar.bz2

As it stands at the moment:

root@Bunny:/proc/avalanche# cat avsar_ver
ATM Driver version:[7.02.01.00]
DSL HAL version: [7.02.01.00]
DSP Datapump version: [7.01.01.00] Annex A
SAR HAL version: [01.07.2c]
PDSP Firmware version:[0.54]
Chipset ID: [7300/7300A]

And how it should be with the updated DSP component:

root@Bunny:/proc/avalanche# cat avsar_ver
ATM Driver version:[7.02.01.00]
DSL HAL version: [7.02.01.00]
DSP Datapump version: [7.02.03.00] Annex A
SAR HAL version: [01.07.2c]
PDSP Firmware version:[0.54]
Chipset ID: [7300/7300A]

comment:6 Changed 10 years ago by matteo

  • Resolution set to fixed
  • Status changed from new to closed

fixed in r9426

comment:7 Changed 10 years ago by cfarinis@…

The provided Annex B file is still incosistent.Its contains DSP datapump version 07.01.01.00,and it is idenctical to the one included in WAG54GP2v2-E3-AnnexB-ETSI-2.01.04 GPL code package from linksys.

I have not been able to find a 7.02.0x.0x Annex B image.

comment:8 Changed 10 years ago by anonymous

I know, we should get it from a running router.
Any volunteer?

comment:9 follow-up: Changed 10 years ago by anonymous

  • Resolution fixed deleted
  • Status changed from closed to reopened

ar0700db.bin (Annex B) included in package sangam_atm-07.02.01.00-1.tar.bz2
is still version 7.01.00.42 and is not compatible with sangam v07.02.01.00.
A better source for some newer ar0700xx.bin firmware files could be the
russian firmware site http://mcmcc.bat.ru/acorp/LAN422/. To extract the files,
the firmware image has to be unsquashfs-lzma'd first, which did not work
correctly with the unsquashfs tools I tried (some missing/scrambled bytes).

comment:10 in reply to: ↑ 9 Changed 10 years ago by matteo

Replying to anonymous:

ar0700db.bin (Annex B) included in package sangam_atm-07.02.01.00-1.tar.bz2
is still version 7.01.00.42 and is not compatible with sangam v07.02.01.00.
A better source for some newer ar0700xx.bin firmware files could be the
russian firmware site http://mcmcc.bat.ru/acorp/LAN422/. To extract the files,
the firmware image has to be unsquashfs-lzma'd first, which did not work
correctly with the unsquashfs tools I tried (some missing/scrambled bytes).

Extract it from a running Annex B router

comment:11 Changed 10 years ago by anonymous

Extracted it from a running Annex B router, but could not
establish a DSLAM connection with any extracted version,
even trying the new DSL_FEATURE_CNTL bits did not help.
The SAR remains permanently in line training mode.
Annex B versions 7.02 and 7.03 of ar0700db.bin also do not
work with the binary version 7.03 of tiatm.o.
Non-russian versions of Annex A ar0700mp.bin are available
up to 7.03 from DLink Australia, but I could not find any
Annex B version higher than 7.01. I suppose that's because
of the low significance of the Annex B island Germany.

comment:12 Changed 10 years ago by colchao

Well , i am on ANNEX A and i can not connect with this new firmware.
I am always in training mode ...
I get back to revision 7632 :/
Could anyone reverse this patch ? I`d like to stay with latest svn , but with this patch i have no dsl connection :/

comment:13 Changed 10 years ago by NRForbes

Some info that may be useful: I currently have no problem connecting using the latest firmware. I am in the UK and on an ADSL2+ line with a DG834Gv1. Whilst trying to track down some info on the LEDs for this device I downloaded ALL the recent Netgear sources and found 2 things:
1). In the DG834V3_V4.01.30_src package is the full source for sangam_atm_D7.03.01.00_R2 with Annex_M support. I will try both the firmware and compiling this driver version over the weekend but if anyone else also wants to have a go I have attached the source.
2). None of the Netgear sources for North America contain sangam firmware later than D5.xx.
I hope this info is of use to someone and will post the results of my testing ASAP.

Changed 10 years ago by NRForbes

Sources for sangam_atm_D7.03.01.00_R2

comment:14 Changed 10 years ago by matteo

  • Owner changed from developers to matteo
  • Status changed from reopened to new

I'll try to find some time to do it

comment:15 Changed 10 years ago by matteo

  • Resolution set to fixed
  • Status changed from new to closed

FIxed in r10118

comment:16 Changed 10 years ago by nabcore

Working well for me:

root@Bunny:/proc/avalanche# cat avsar_ver
ATM Driver version:[7.03.01.00]
DSL HAL version: [7.03.01.00]
DSP Datapump version: [7.03.01.00] Annex A
SAR HAL version: [01.07.2c]
PDSP Firmware version:[0.54]
Chipset ID: [7300/7300A]

comment:17 Changed 10 years ago by anonymous

Annex B works:
# cat /proc/avalanche/avsar_ver
ATM Driver version:[7.03.01.00]
DSL HAL version: [7.03.01.00]
DSP Datapump version: [7.03.00.19] Annex B
SAR HAL version: [01.07.2c]
PDSP Firmware version:[0.54]
Chipset ID: [Ohio250(7200/7100A2)]

Add Comment

Modify Ticket

Action
as closed .
The resolution will be deleted. Next status will be 'reopened'.
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.