I bought a TP-Link Archer D7 it's not officially supported but, it's an Archer C7 (QCA9558) + modem (BCM6318).
I added this WIP wiki page few minutes ago.
Briefly, I was trying to boot using an initramfs image but it says:
Uncompressing Kernel Image ... Not enough buffer for decompression LZMA ERROR 1 - must RESET board to recover
Obviously my image is smaller than the RAM (few MBs vs 128MB).
Digging inside the GPL code from TP-Link, seems that uboot does some checks reading the size of the currently flashed kernel size and expects an equal or smaller kernel to boot.
I tried to tftpboot the oem firmware and it's working,
How can I solve this problem?
I was wondering (without overwriting the original firmware), is possible to create a "fake small kernel" initramfs that loads the real openwrt image?