I am trying to add support for VRX518, and maybe VRX320 devices. I own an AVM 7530 (VRX518).
As I can see, a lot of thread were created in these years, but none of them reached the goal:
Currently I am focusing on VRX518.
Looking around, I found many repositories containing (probably) all the needed files.
After some work I managed to build and load the modules on my AVM7530.
- drv_dsl_cpe_api
- drv_mei_cpe
- drv_ifxos
- vrx518
- vrx518_tc
[ 8.856227] IFXOS, Version 1.6.9 (c) Copyright 2009, Lantiq Deutschland GmbH
[ 8.861134] vrx518: Intel(R) SmartPHY DSL(VRX518) PCIe EP/ACA Driver - version 2.1.0-k
[ 8.867137] vrx518: Copyright (c) 2016 Intel Corporation.
[ 8.874976] vrx518 0000:01:00.0: enabling device (0140 -> 0142)
[ 8.885853] vrx518_tc:pcie_ep_probe: Total 1 VRX518 EP detected
[ 8.886005] vaddr: 0xce90d800, phyaddr: 0x8e90d800
[ 8.890686] urngd: v1.0.2 started.
[ 8.891903] ring: membase: 0xce90d800, phybase: 0x8e90d800, dnum: 128
[ 8.900149] vaddr: 0xc1164200, phyaddr: 0x81164200
[ 8.906709] ring: cumulative cnt addr: 0xc1164200, phy address: 0x81164200
[ 8.911347] vaddr: 0xce90e000, phyaddr: 0x8e90e000
[ 8.918214] ring: membase: 0xce90e000, phybase: 0x8e90e000, dnum: 128
[ 8.922988] vaddr: 0xc1164240, phyaddr: 0x81164240
[ 8.929481] ring: cumulative cnt addr: 0xc1164240, phy address: 0x81164240
[ 8.934194] vaddr: 0xc1118000, phyaddr: 0x81118000
[ 8.941027] ring: membase: 0xc1118000, phybase: 0x81118000, dnum: 1024
[ 8.945822] vaddr: 0xc1164280, phyaddr: 0x81164280
[ 8.952310] ring: cumulative cnt addr: 0xc1164280, phy address: 0x81164280
[ 8.957108] vaddr: 0xc116c000, phyaddr: 0x8116c000
[ 8.962176] random: crng init done
[ 8.963964] ring: membase: 0xc116c000, phybase: 0x8116c000, dnum: 1024
[ 8.963973] vaddr: 0xc11642c0, phyaddr: 0x811642c0
[ 8.978628] ring: cumulative cnt addr: 0xc11642c0, phy address: 0x811642c0
[ 9.001012] alloc shash md5 fail. Handle: -2
[ 9.001050] Firmware pointer id(0):size(10608), fw addr(52ba6c30), off(100)
[ 9.004399] Firmware pointer id(1):size(19376), fw addr(704b3b8c), off(10708)
[ 9.011038] Firmware pointer id(2):size(11368), fw addr(575b0291), off(30084)
[ 9.018347] Firmware pointer id(3):size(21244), fw addr(6c754040), off(41452)
[ 9.025459] VRX518 PPE Firmware header info
[ 9.032559] PTM Version: 3.5.72
[ 9.036566] PTM Feature: A0000000
[ 9.040023] ATM Version: 3.5.36
[ 9.043250] ATM Feature: B0000000
[ 9.046618] Compability ID: 00000004
[ 9.049831] Size: 00000010
[ 9.053575] FW built Date: 9-25-2018
[ 9.056168] Number of firmware: 4
[ 9.059990] Firmware[0]: ID[0] size[2652] at[0x52ba6c30]
[ 9.063304] Firmware[1]: ID[1] size[4844] at[0x704b3b8c]
[ 9.068760] Firmware[2]: ID[2] size[2842] at[0x575b0291]
[ 9.074241] Firmware[3]: ID[3] size[5311] at[0x6c754040]
[ 9.079790] vrx518_tc:tc_drv_init: Intel(R) SmartPHY DSL(VRX518) PCIe TC Driver - version 1.5.12
[ 9.085190] vrx518_tc:tc_drv_init: Copyright (c) 2018 Intel Corporation.
[ 9.107386] Lantiq (VRX) DSL CPE MEI driver, version 1.7.2, (c) 2007-2016 Lantiq Deutschland GmbH
[ 9.107576] Found 1 PCI VRX devices,
[ 9.120021]
[ 9.120021]
[ 9.120021] Lantiq CPE API Driver version: DSL CPE API V4.19.3
[ 9.120065]
[ 9.120065]
[ 9.120065] Lantiq CPE API Device layout: 1 devices, 1 lines, 1 channels
[ 9.127932]
[ 9.127932] Predefined debug level: 3
[ 9.137374]
[ 9.137374] ++++++++++++++++++ MEI_InternalDevOpen ++++++++++++++++++
[ 9.137374]
[ 9.142492] hwVers=0x00000240
[ 9.152024]
[ 9.152024] ++++++++++++++++++ MEI_InternalDevOpen ++++++++++++++++++
[ 9.152024]
root@OpenWrt:~# lsmod | grep dsl
drv_dsl_cpe_api 184320 0
drv_ifxos 24576 2 drv_dsl_cpe_api,drv_mei_cpe
drv_mei_cpe 163840 1 drv_dsl_cpe_api
root@OpenWrt:~# lsmod | grep vrx
vrx518 24576 2 drv_mei_cpe,vrx518_tc
vrx518_tc 159744 1 drv_mei_cpe
But I don't see any new interface. I still trying to understand what's missing or if I deleted some necessary code... maybe some expert developer in xrx platform could help...
This is my development branch just for the AVM7530. Be sure to select all the needed packages in the menuconfig.
Side notes and closing thoughts:
- This is just a development branch that I update in my little spare time.. so expect silly mistakes and stupid bugs...
- Currently all the packages are from the official openwrt repository (except the vrx518-ep that's from blocktrron). I am wondering why this is still not supported... Lack of interest or unresolvable problems?
- I don't know why, but in order to compile everything I had to delete the original ltq-vdsl and ltq-vdsl-mei packages. Otherwise they get compiled automatically even if I don't select them