I was not successful installing OpenWrt on FB7530. Obviously because it's the first time and I don't know exactly what to do as the guide says.
What did I do?
At first all necessary files downloaded and placed them in the same directory. [see no. 1 of guide]
I connected the FB7530 directly to the computer, assigned myself the IP address 192.168.178.10/24 and connected power to the box. [see no. 2 of guide]
Opened two terminal windows, in one of them run a continuous ping to 192.168.178.1 and in the other one prepared the command "./eva_ramboot.py --offset 0x85000000 192.168.178.1 uboot-fritz7530.bin". [see no. 3 of guide]
As soon as the first ping answer appeared I executed the python script. There I got the following output:
> SETENV memsize 0x00080000
< 200 SETENV command successful
> SETENV kernel_args_tmp mtdram1=0x85000000,0x88000000
< 200 SETENV command successful
> MEDIA SDRAM
< 200 Media set to MEDIA_SDRAM
This seems to be fine, isn't it?
But now I am unsure how to continue. My thoughts:
Next steps disconnecting LAN, assigning myself the IP address 192.168.1.70/24 and connecting LAN again. As no. 4 of the guide says it is intended to copy the OpenWrt initramfs (!) image to a TFTP server root directory and rename it to FRITZ7530.bin.
Here it is not clear to me if the TFTP server is running on the Box or on the local PC connected to the Box? Who is server and who is client?
You must determine whether your hardware's bootloader has a TFTP client or server.
Which IP is proper? 192.168.1.70/24 as specified or 192.168.178.70/24?
a) Assuming the TFTP server should run on the local pc I copy FRITZ7530.bin to /var/lib/tftpboot. Then the box get the file itself without user interaction.
b) The other solution is that the TFTP server runs on the box. Starting a TFTP client on the pc with following commands:
> tftp -v 192.168.1.1 -m binary -c put /path/to/openwrt-19.07.2-ipq40xx-generic-avm_fritzbox-7530-initramfs-fit-uImage.itb FRITZ7530.bin
Which way is the right one? IP correct?
[No. 5 of guide] The Box will now boot OpenWrt from RAM. This can take up to two minutes. No user interaction necessary?
After that [no. 6 of guide] copy the U-Boot and the OpenWrt sysupgrade image to the Box using scp. Command is:
scp /path/to/openwrt-19.07.2-ipq40xx-generic-avm_fritzbox-7530-squashfs-sysupgrade.bin email@example.com:/whatever/path/to/file-on-box
questions: user=root? password required? if yes which one?
Next SSH into the Box and first write the Bootloader to both previous kernel partitions. I assume same user (and password) as scp command.
firstname.lastname@example.org:/ $ mtd write /path/to/uboot-fritz7530.bin uboot0
email@example.com:/ $ mtd write /path/to/uboot-fritz7530.bin uboot1
questions: How do I identify the exact path? And how did the file get there? By eva_ramboot.py [see no. 3 of guide]?
[No. 7 of guide]
Remove the AVM filesystem partitions to make room for our kernel + rootfs + overlayfs. Still running ssh connection from above:
firstname.lastname@example.org:/ $ ubirmvol /dev/ubi0 --name=avm_filesys_0
email@example.com:/ $ ubirmvol /dev/ubi0 --name=avm_filesys_1
[No. 8 of guide]
Flash OpenWrt peristently using sysupgrade. Also still in running ssh connection:
firstname.lastname@example.org:/ $ sysupgrade -n /path/to/openwrt-sysupgrade.bin
Path is the one as specified [No. 5 of guide, using scp command].
And after that? Quit ssh connection an reboot the Box (disconnect power from the Box)? Or will the Box reboot itself?
After boot completed connect to the web interface (http://192.168.1.1). Login as root and set password. Installation of openwrt finished, hopefully.
Please, can someone give me a clue, what to do?
btw: Does the item number/MPN matter (see BoxMatrix)? In my case 20002840.