Support of Fritzbox 7530


#1

Hi, can somebody tell me how to get the bootlog of this device and the rest of procedure to get it supported for openwrt?

Thanks in advance!


TP-LINK Archer VR200v | FXS and DECT support
#2

Developing support for it will be quite a challenge…

  • SoC, IPQ4019: supported
  • wlan, IPQ4019, supported
  • VDSL modem, Intel VRX518, not supported yet
    might be relatively similar to VRX2xx, but there will be considerable development necessary to get it working at all - and outside its natural habitat (married to a QCA ARMv7 SoC, rather than an all Intel/ lantiq SoC; also using little endian instead of big endian…)
  • FXS ports, same issue as with the VDSL modem - might be supportable, but it probably needs considerable porting and development efforts
  • DECT, unsupported - might not be impossible to add, but requires from-scratch development.

For the bootlog you'll need to identify and use the serial header - and hope that the vendor didn't cripple it.


#3

Found this patch which could help with the VRX518 driver:


and this:


#4

Hey fellas,

integration into OpenWrt has already been started at https://github.com/blocktrron/openwrt/tree/pr-fritz7530.

We are also in the process of requesting the GPL sources for the VRX518 driver that is not amongst the files already shared at http://osp.avm.de/fritzbox/fritzbox-7530/source-files-FRITZ.Box_7530-07.02.tar.gz.

Best regards

Martin


#5

Hi everbody,

thanks for the answer!

@hexa
Very very nice!
Have you flashed a FB7530 already? :slightly_smiling_face:
If yes, did you flash over adam?

Thanks in advance!


#6

We take the same approach as with the 4040. We put a UBoot image into the kernel partition which is loaded by EVA. We plan on using the already-present ubifs to store kernel & rootfs.

Regarding flashing: In contrast to e.g. the 4040 or 4020, EVA does not support writing to flash directly. You need to load an initramfs image and write the partitions from there (AVM uses this approach for their recovery.exe)


#7

Thanks for the answer, could you please explain step by step how to perform the flash procedure ?

Thank you!


#8

I will do as soon as i have some kind of state which i would recommend someone to flash. Currently it is pretty barebone in terms of what is working and the required U-Boot is currently in a sorcery state. It is completely WIP currently.


#9

Ok, thank you very much! :slight_smile:
Just tell me an I‘ll test. :slight_smile:


#10

I was just wondering if you already found the GPL sources for the fritzbox itself?
if not, here they are:
https://osp.avm.de/fritzbox/

and my mirror:

I havn't looked for the DSL driver yet, so maybe its not even in there.


#11

There are great news.
blocktrron ported openwrt to the device :slight_smile:
There is no dsl driver yet!

THE FOLLOWING IS AT YOUR OWN RISK:

  1. Clone from here: https://github.com/blocktrron/openwrt/tree/pr-fritz7530-nodsl

  2. Download modfied ramboot script from here:
    https://paste.linuxlounge.net/#/rJFaI1ukX16hETwTuoNtPKHHvrY!hAx204NFzzIjbBx8dmoTgW2c7TtwbteeSdL43A6lL0c

  3. Compile the above branch from blocktrron

  4. Upload the uboot-fritz7530.bin with the modified ramboot script.

  5. TFTP to 192.168.1.1 in binary mode and upload the initrams image you just compiled

  6. Scp the uboot-fritz7530.bin and the squashfs image to 192.168.1.1:/tmp/

  7. SSH to 192.168.1.1

  8. Write uboot to boot0 partition:
    mtd write /tmp/uboot-fritz7530.bin /dev/uboot0

  9. Write uboot to boot1 parition:
    mtd write /tmp/uboot-fritz7530.bin /dev/uboot1

  10. Remove avm partitions to get space for owrt:
    ubirmvol ubi0 --name=avm_filesys_0
    ubirmvol ubi0 --name=avm_filesys_1

  11. Sysupgrade the squashfs you've uploaded to the device:
    sysupgrade /tmp/squashfs_image.bin

  12. OpenWRT should boot.

THANKS TO @blocktrron !!!