I am evaluating if I could use LEDE/OpenWrt on my Speedport W504V. Because I am afraid to flash a firmware before being sure that it'll work as expected I am testing with initramfs images. The images need to be loaded to 0x80002000 so I rebuilt U-Boot to be loadable to an address somewhere at the and of the RAM (0x83f02000). This way I can tftp the images to the router and boot them.
However I am now struggeling to get the ADSL modem to work. I see that dsl_cpe_control is used to control the modem, but documentation of this tool seems scarce and my knowledge about DSL is not enough to really understand the problem.
Maybe someone can help me by answering a few questions:
- Is it correct that, without supplying any PPPoE credentials, it should be possible to initialize the modem and a device node should appear somewhere under `/dev'? Where would that be?
- Is anything else needed for initializing the modem apart from using the correct firmware + Annex (xtu string)? For the W504V do I have to change to Annex B instead of (the default) Annex A?
- How are the kernel drivers ltq_atm_danube, ltq_mei_danube and drv_dsl_cpe_api involved in operating the modem, do I need all of them?
- How can I further diagnose what the problem might be (I used dsl_cpe_control to see the line state - 0xff)?
Please see also the bootlog of a LEDE 17.01.4 initramfs image. The obivious problematic lines are the IFX_MEI_RunAdslMode errors.
Hopefully somebody can give me an explanation of what might be going wrong - thanks!