I'm new to OpenWrt but I would like to do my first steps by flashing OpenWrt to my FritzBox 4040. The currently provided information is a bit confusing for me, so I'm asking for help here:
There is no device page for the FB 4040 yet, that's not good for me when doing my first steps. But I had a look on the techdata page and it is stated there, that the stock bootloader is not supported and one needs to use U-Boot instead. I found first instructions for that on the forum. On the other hand, the last comment there by @craz sounds as if there is a new EVA image now, which is easier to flash. One of the git commits affecting this device supports that assumption.
Can someone tell me if the "Stock bootloader unsupported, U-Boot must be installed" information is outdated and how to properly flash the FB 4040?
and grab the latest upload-to-f4040.sh script from:
Then, you need to connect your PC to one of the yellow LAN ports and set ethernet to static IPv4 address between 192.168.178.2 and 192.168.178.254 and execute the script
at the "right time":
# sh upload-to-f4040.sh openwrt-18.06.1-ipq40xx-avm_fritzbox-4040-squashfs-eva.bin
after you powered on the FritzBox 4040. It will run for 2+ minutes (erasing, flashing and verifying the data takes time) and once you see the
150 Flash Check 0x...
you can wait a few more seconds and just power-cycle the router or issue the reboot command manually through a separate ftp shell. On the following boot, the device should be running OpenWrt (The 18.06.1 comes with a webui/Luci on http://192.168.1.1 or you can ssh into the device via 192.168.1.1 - don't forget to change back your ethernet to dhcp or some static address in the 192.168.1.2-254 address (I think the standard subnetmask is /24 ) - to setup and enable the WiFis there)
Note: The "right time" is somewhere between 5 seconds to 30-45 seconds after a hard power-on (i.e.: when the box starts to reply to pings to 192.168.178.1. If the script just fails with "Fritzbox at 192.168.178.1 is not reachable (yet)." Just start it again.)