kapoor
September 28, 2024, 5:26pm
1
Hi There,
Im trying to flash Fritzbox 7520, but Im struggling with eva_ramboot.py execution.
How to I execute "./eva_ramboot.py --offset 0x85000000 192.168.178.1 uboot-fritz7520.bin" on macOS.
Im trying
netrunner@netsBoard FritzWRT7520 % ./eva_ramboot.py --offset 0x85000000 192.168.178.1 uboot-fritz7520.bin
netrunner@netsBoard FritzWRT7520 %
terminal confirms, but no output no message. I pretty get the same when I use different methods like python3 ./...., sudo python3, sudo ./eva...
When I run the command I'm in the folder where the script is stored.
I have no clue what Im doing wrong.
Any help appreciated.
thx
kapoor
September 28, 2024, 5:50pm
2
ok, i just found this in first line of the script
#!/usr/bin/python
I guess I need to change this to #!/usr/bin/python3 in order to get it running
kapoor
September 28, 2024, 6:08pm
3
and another thing I wanted to mention
avm_fritzbox-7530-initramfs-uImage.itb & avm_fritzbox-7530-squashfs-sysupgrade.bin
there is no file that specifies 7520 analog to 7530.
I mean both devices are identical, is renaming ok... Im not sure? -- its fine.. just double checked.
Can anyone help with this error: AssertionError
Traceback (most recent call last):
File "/Users/netrunner/FritzWRT7520/./eva_ramboot.py", line 7, in <module>
assert len(argv) == 3
AssertionError
janh
September 28, 2024, 6:37pm
4
Yes, there is no separate OpenWrt firmware for these two devices. Just rename the initramfs image so it matches the bootloader image you used. You don't need to rename the sysupgrade image.
This means you are using a version of the script that is at least 5 years old with the wrong number of arguments (proper argument parsing was implemented at that time, and the assertion was removed).
Here is the current version: https://raw.githubusercontent.com/openwrt/openwrt/refs/heads/master/scripts/flashing/eva_ramboot.py
kapoor
September 28, 2024, 6:41pm
5
I downloaded from here https://github.com/sown/openwrt/blob/master/scripts/flashing/eva_ramboot.py . And indeed last update six years ago...lol
Thanks for the new link. I'll give a try.
system
Closed
October 8, 2024, 7:47pm
7
This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.