OpenWrt Forum Archive

Topic: Adding Support for Fritz7320/7330

The content of this topic has been archived on 23 Apr 2018. There are no obvious gaps in this topic, but there may still be some posts missing at the end.

I have openwrt-lantiq-AR9-FRITZ7320-squashfs.image.eva version tries to flash.
I tried to flash the EVA boot loader firmware, but the router is when you restart so that nothing works (all lamps are on), then I tried using ssh the firmware into Tmp to copy directory and via telnet / to flash ssh unfortunately, not only is the command mtd-r write.
BusyBox v1.20.2 (2012-12-18 12:43:03 CET) built-in shell (ash)
Enter 'help' for a list of built-in commands.

root@fritz:~# cd tmp
root@fritz:/var/tmp# mtd -r write openwrt-lantiq-ar9-FRITZ7320-squashfs.image.ev
a linux
-sh: mtd: not found
root@fritz:/var/tmp#
root@fritz:~# help
Built-in commands:
------------------
        . : [ [[ alias bg break cd chdir continue echo eval exec exit
        export false fg hash help jobs kill let local printf pwd read
        readonly return set shift source test times trap true type ulimit
        umask unalias unset wait [ [[ addgroup adduser adjtimex arp arping
        ash awk base64 basename bunzip2 bzcat cat chmod chown chroot
        clear cmp cp crond crontab cryptpw cut date dd delgroup deluser
        df diff dirname dmesg dnsdomainname du echo egrep env ether-wake
        expr false fgrep find free ftpget ftpput getopt grep gunzip gzip
        halt head hexdump hostname httpd id ifconfig ifdown ifup inetd
        init insmod ip kill killall klogd ln logger login logname logread
        losetup ls lsmod makedevs md5sum mkdir mkfifo mknod mkpasswd
        mkswap modprobe more mount mv nc netstat nohup nslookup od passwd
        pidof ping pivot_root poweroff printf ps pwd rdate realpath reboot
        reset rm rmdir rmmod route sed setconsole setlogcons sh sleep
        sort start-stop-daemon stat strings stty stun-ip swapoff swapon
        sync sysctl syslogd tail tar tee telnet telnetd test tftp time
        top touch tr traceroute true tty umount uname uniq uptime usleep
        uudecode uuencode vconfig vi wc wget which whois xargs yes zcat
root@fritz:~#
Is there another possibility or command?


It's about these firmware http://downloads.openwrt.org/attitude_a … .image.eva
This is the kernel.image and is normally about eva flash (ftp), just so the router will not boot. Because you is when compiling made an error.

CPU:    PSB50812EL V1.2 (AR9 393MHz)
Flash:..29GL128... (16MB)
RAM: TODO (64MB)
WRevision      179
HWSubRevision   1
ProductID       Fritz_Box_7322
SerialNumber    0000000000000000
annex   B
autoload        yes
bootloaderVersion       1.1256
bootserport     tty0
cpufrequency    393219000
firstfreeaddress        0x810CC06C
firmware_info   107.05.06
firmware_version        avm
flashsize       nor_size=16MB
jffs2_size      10
maca    BC:05:43:MM:AA;CC
macb    BC:05:43:MM:AA;CC
macwlan BC:05:43:MM:AA;CC
macdsl  BC:05:43:MM:AA;CC
memsize 0x04000000
modetty0        38400,n,8,1,hw
modetty1        38400,n,8,1,hw
mtd1    0x90020000,0x90F80000
mtd2    0x90000000,0x90020000
mtd3    0x90F80000,0x90FC0000
mtd4    0x90FC0000,0x91000000
my_ipaddress    192.168.178.1
prompt  Eva_AVM
req_fullrate_freq       393219000
sysfrequency    393219000
tr069_passphrase        123456789012
tr069_serial    00040E-BC0543MMAACC
urlader-version 2256
usb_board_mac   BC:05:43:MM:AA;CC
usb_device_id   0x0000
usb_device_name USB DSL Device
usb_manufacturer_name   AVM
usb_revision_id 0x0000
usb_rndis_mac   BC:05:43:MM:AA;CC
wlan_key        1234567890123456

Execute the following script from your openwrt folder in the first seconds of bootup of the fritzbox:

#!/bin/sh
ftp -n 192.168.178.1<<EOT
user adam2 adam2
debug
bin
passive
quote MEDIA FLSH
put  bin/lantiq/openwrt-lantiq-xway-FRITZ7320-squashfs.image.eva mtd1
quit
EOT

The discussion might have continued from here.