Install openwrt on Fritz 7490

now i check

NAND device: Manufacturer ID: 0x2c, Chip ID: 0xdc (Micron MT29F4G08ABADAWP), 512MiB, page size: 2048, OOB size: 64

1 Like

Great. So now we know, you will need to use this (Micron) images:

https://firmware-selector.openwrt.org/?version=SNAPSHOT&target=lantiq%2Fxrx200&id=avm_fritz7490-micron

To boot the ...initramfs-kernel.bin you can use the eva_ramboot.py script.

For this you need to have python installed on your computer.
Do you use Windows or Linux?

i can use WSL with ubuntu installed?

no idea what kind of effort WSL requires, but I'd just boot a live Linux dist off a flash drive.

1 Like

I haven't tried it on WSL. Might be tricky if you have networking issues.

For me it worked on Windows directly. I have Python 3.11.9 installed at the moment.

i test first WSL, if not work i test with linux live

1 Like

now i install python on windows, i need to use command prompt or powershell? or it's indifferent

i've installed Python 3.11.9 on my windows

it doesn't really matter which, cmd or powershell, make sure the python.exe is in the path:

C:\Users\User>python --version
Python 3.11.9

Then you have to put the ...initramfs-kernel.bin and the eva_ramboot.py in the same folder, something like C:\7490 and do this steps:

  • disable windows firewall
  • disconnect the fritzbox from power
  • connect your computer with LAN cable to the fritzbox LAN 1
  • assign a static IP address like this to your network adapter 192.168.178.10, netmask 255.255.255.0
  • prepare the command line (but don't execute yet):
python eva_ramboot.py 192.168.178.1 openwrt-lantiq-xrx200-avm_fritz7490-micron-initramfs-kernel.bin
  • connect the power to the fritzbox and wait until the LAN lights start blinking on your network adapter
  • then quickly execute the ramboot command

If the script gives you no errors, then the fritzbox should boot the initramfs kernel.
It can take a couple minutes, check the lights on the fritzbox, they will blink.

After it's booted, you can try accessing it with SSH on 192.168.1.1 - you have to change the network adapter to some IP in that range.

Just a remark, the initramfs doesn't change your fritzbox yet. But it's the first step to be able to install the real image.

1 Like

pretty sure the initramfs will boot with the DHCP enabled.

1 Like

for lan lights what you intend?

SETENV memsize 0x07a22000
< 200 SETENV command successful
SETENV kernel_args_tmp mtdram1=0x87a22000,0x88000000
< 200 SETENV command successful
MEDIA SDRAM
< 200 Media set to MEDIA_SDRAM

looks correct.

now wait for it to reboot.

hopefully you'll get an 192.168.1.x IP soon.

1 Like

The Power/dal light no longer flashes and is now solidly on

... and what about the IP ?

It's 192.168.1.1, ssh It asks me for a password

it's blank.

https://openwrt.org/docs/guide-quick-start/sshadministration
https://openwrt.org/docs/guide-quick-start/walkthrough_login

Im in root@openwrt

1 Like

if your 7490 is connected to your main router, go to /tmp and DL the sysupgrade image.

cd /tmp

wget https://downloads.openwrt.org/snapshots/targets/lantiq/xrx200/openwrt-lantiq-xrx200-avm_fritz7490-micron-squashfs-sysupgrade.bin

sysupgrade openwrt-lantiq-xrx200-avm_fritz7490-micron-squashfs-sysupgrade.bin

the router will reboot, and the installation is done, once it comes back up.

if it's not connected to internet, DL the same image to your client, and scp it over to the router's /tmp folder.

note, the image will not have the webUI preinstalled - https://openwrt.org/releases/snapshot, pay attention to the top page links, on how to install it.

2 Likes