Hello
I installed OpenWrt on my 7490 to use it as a dumb AP, based on the
d-patch/openwrt-fritz7490 project, and everything now runs from flash.
I'm posting what worked, what didn't, and one bug that may affect other units.
Disclosure: the work was done with an AI assistant (Claude Code),
which ran the builds and tests under my supervision.
The results below come from logs and measurements on my box,
but please double-check anything before relying on it.
Short version
- Both radios work from flash: 2.4 GHz and 5 GHz (802.11ac, 80 MHz),
with WPA3 confirmed on both. - On my unit, the hard-coded 2.4 GHz calibration offset (
0x1541) was wrong.
The correct one is0x1556. - Booting a RAM image through EVA failed with large images (13.5 and 14.3 MB)
and worked with small ones (about 7 MB). - Long-term stability and going back to FRITZ!OS are not tested.
My unit
| Item | Value |
|---|---|
| Model | FRITZ!Box 7490 |
| HWRevision / HWSubRevision | 185 / 7 |
| Bootloader | 1.3399 |
firmware_version |
avme, annex A |
| FRITZ!OS before flashing | 7.62 |
| NAND ID | 98 dc 90 26 f6 16 08 (Toshiba 512 MiB) |
| 5 GHz chip | qca988x hw2.0, chip_id 0x043202ff |
What I built
- OpenWrt v25.12.4, kernel 6.12.87, with the 15 patches from
d-patch/openwrt-fritz7490(commit794ccc98). All of them applied cleanly. - Profiles:
avm_fritz7490(non-Micron) andavm_fritzx490-wasp. netboot.fwisath_tgt_fw1.fwtaken from the AVM 7.62 image.- Official 25.12.4 toolchains, used as external toolchains.
- LuCI on both the Lantiq and the WASP.
I wrote my own network and Wi-Fi configuration instead of using the
project's templates,
because they contain the author's personal settings
(MAC address, routes, Nebula, PPPoE).
Results
| Test | Result |
|---|---|
| Identify the 5 GHz chip from a RAM boot, without opening the box | OK |
sysupgrade -n from a RAM-booted image |
OK |
| Boot from NAND, WASP starts by itself | OK, also after a reboot |
| 5 GHz, channel 36, VHT80, 2 streams | OK, 866.7 Mb/s link rate |
| 2.4 GHz, channel 6, HT20 | OK |
WPA3 (auth_alg=sae) |
OK on both bands |
| Two SSIDs on the same radio | OK, one client connected at a time |
| Real throughput, 5 GHz, WPA3 | About 319 Mb/s down, 343 Mb/s up |
The throughput figures come from one phone next to the box, using a
browser-based test on a RAM boot. Treat them as a rough indication only.
Problem 1: wrong 2.4 GHz calibration offset
The patched 12-ath9k-eeprom uses:
caldata_extract_reverse "urlader" 0x1541 0x440
On my box this gave a file shifted by 21 bytes, with these symptoms:
- MAC address
00:00:00:00:00:14 ath: EEPROM regdomain: 0x0- hostapd reported
AP-ENABLED, but the SSID was not visible
from my phone
With 0x1556 instead, the MAC is correct, the data contains AVM7490_CAL1_V7,
the regdomain reads 0x8114, and the SSID appears. I found the offset
by locating the reversed MAC and the reversed AVM7490 string in urlader.
I only have this one unit, so I don't know if the offset depends on the
hardware or bootloader revision. Searching for it, as the 5 GHz script
already does with 4408, may be safer than a fixed value,
but I haven't written or tested that.
If you see a zero-based MAC on the 2.4 GHz radio, check this first.
Problem 2: large RAM images through EVA
| Image | Aligned to 1 KB | Result |
|---|---|---|
| 13.5 MB | No | No final FTP reply, no boot, LEDs off |
| 14.3 MB | Yes | No final FTP reply, no boot |
| 6.95 and 7.36 MB | Yes | 226 Transfer complete, boots |
So on my box, pad-to 1k alone wasn't enough, and size seems to be the limit.
My workaround was to leave wasp-image.bin out of the RAM image
and copy it over SSH after boot. This only affects RAM booting: the 14.4 MB
sysupgrade image installed and boots fine from flash.
Other notes
- Kernel config: with
kmod-avm-waspon Lantiq, the kernel build stopped
on two unanswered prompts,CONFIG_NSMandCONFIG_VIRTIO_DEBUG,
becauseREMOTEPROCselectsVIRTIO. I disabled both in
target/linux/lantiq/config-6.12. -memsize:eva_ramboot.pychanges it
and doesn't restore it, but it was back to its original value (0x10000000)
after every power cycle I checked. - NAND ECC warning: the kernel says
the ECC used on your system (1b/256B) is too weak compared to the one required by the NAND chip (8b/512B).
Based onnand_toshiba.c, ID byte 5 (0xf6, bit 7 set) indicates BENAND,
meaning the chip has on-die ECC.
I couldn't find a datasheet for this exact ID. I've seenecc_failures=0since flashing,
but over a very short time. There are 2 bad blocks. - AVM stock NAND: reading it with OpenWrt's software ECC reports errors on every page.
For a backup, usenanddump -n -o(raw, with OOB). Two raw reads gave identical hashes. - AVM squashfs:
unsquashfscouldn't read the AVM image here. It is big-endian, but the metadata block headers are little-endian, so I used a small custom reader. - Regulatory: with
country BE, the global domain shows BE, while the phys reportDE
from the EEPROM. The driver also logsDFS region 0x0 not supported, will trigger radar for every pulse. I only used non-DFS channels.
Keeping WASP settings across reboots
The WASP has no storage, so its LuCI shows "running in recovery (initramfs) mode".
I run a small script on the Lantiq to work around this:
- Every minute, it copies
/etc/config/wirelessfrom the WASP to the Lantiq flash if it changed. - At boot, it pushes that file back to the WASP, along with the root password hash.
I checked that a test setting survived a real reboot. Other settings changed on the WASP
are still lost. I can share the script if it's useful.
Not tested
- Stability beyond a few minutes
- Going back to FRITZ!OS after flashing
- VLANs per SSID through to the router
- Several clients at once
- Range, and real throughput on 2.4 GHz
- DFS channels
Questions
- Does anyone else with a 7490 get a wrong MAC with
0x1541?
Please share your HWSubRevision and bootloader version. - Is the ECC warning a real concern on BENAND
chips, or should this profile use on-die ECC? - Has anyone confirmed a way back to FRITZ!OS
from these builds, ideally from Linux?
Thanks to everyone who did the groundwork in this thread
and in the d-patch/openwrt-fritz7490 project.