Not sure how far you got or what is missing. But I stumbled over /D7800-V1.0.1.16_gpl_src/git_home/linux.git/sourcecode/patches/platform/0306-ltq-vrx320-ep-driver.patch which seams to me related and not mentioned here.
I'm in doubt that I can provide more assistance than that.
Thanks Mathias, that looks like the patch damiano has under: target/linux/ipq806x/patches-4.4/798-ltq-vrx320-ep-driver.patch. I am still trying to build everything and should have something soon I hope.
Silly question I'm sure, but have you looked into the forked version of Barrier Breaker that Netgear have available on their open source firmware microsite? Might be possible to look at the diffs between mainline to see exactly what they changed to get it working.
Looking at the FCC filing, the Lantiq xDSL is on a daughterboard that's linked to the main PCB.
This build does not have functioning vdsl modem. So back to compiling modules for D7800 modem . It is the first openwrt build for D7800. If you want to look at the changes inspect changeset, there is a link to it in that page.
I've got the 1.0.1.22 sources from Netgear. Very old or odd build system is used. I am in a state of rewriting makefiles for dsl packages so they compile on lede build machinery. Since I'm using gcc7.2 for compilation I will encounter further problems.
I will push the changes, when I get the makefiles ready. So stanby, because I do not know how long that will take. SInce Damiano and JoshW are not responding and I haven't found they sources, I'll have to find some time to do it outside my work.
Ah. Can't find ltq-oam-2.4.0.7 package anywhere in netgear GPL sources. The description file states this package is a binary. That might be a problem. The ltq_vrx320_datapath_drv-1.0.0-1 is using proprietary qualcomm ipq806x driver package qcom-nss-drv. (NSS= network subsystem). Found it here: https://source.codeaurora.org/quic/qsdk/oss/lklm/nss-drv.
I'm still working on the Lede D7800xdsl build. But it is going slowly. I doing it in my free time and I do not have it much to spare.
The original NetG firmware is based on OpenWrt Attitude Adjustment 12.09 rc1. Why would anyone use RC1 as a base for their production firmware? Baffles me. But There is evidence in that FW it was made by some CN firm :). By the way I found an easy way to browse thru compiled FW file :). The official OpenWRT for D7800 by NetG is based on AA 12.09.1. There are no package repos for these particular AA versions, so no packages can be installed :(.
NetG opensource archives are real mess, and I think some errors where maybe introduced on purpose.
Anyway here is my hub with D7800xdsl.
Of course pulling it, installing lede build essentials, feeds and putting missing packs to dl dir from NetG sources is necessary to get build system working. Don't expect it to build to the end, as I am still fixing the packages. Someone wants to help?
The goal is to compile the firmware. Put it on D7800 and see what does and what does not work and fix it with some luck.