You compiled the incorrect branch. You are using a mod for Mercusys AC12G v1 (8M).
For Archer C5 v4 you should compile openwrt-23.05.5-rtl8367cd
or openwrt-23.05.4-rtl8367cd (more stable)
I think that backporting support of Archer C5 v4 to openwrt 19.07 is not a good idea. It need too many patches to get stable firmware. I use 19.07.10 version only for tests.
Ok, understand what only install snapshot, Right ???
snapshot
or
compile https://github.com/namiltd/openwrt/tree/openwrt-23.05-rtl8367cd
or
https://dl.eko.one.pl/luci/openwrt-23.05/ramips/mt7620/ (e.g. file: luci-23.05-snapshot-r24149-125a2e1311-ramips-mt7620-tplink_archer-c5-v4-squashfs-sysupgrade.bin)
Greetings everyone. When changing the spi from 8mb to 16mb (on W25Q128), I encountered a problem with a small amount of space (only almost 2mb, it feels like the firmware was inserted as on 8mb). Where to dig?
Flash software has its own structure. A larger chip will only cause more space at the end that will not be allocated anywhere. The structure would have to be changed, the contents moved, etc. Additionally, the bootloader would have to be recompiled because the existing one has fixed locations or changed to another one.
While I was looking into uboot I noticed that 16mb flash drives are originally written there and have support (at least W25Q128 definitely has strings there), so I doubt uboot requires modification. Perhaps, I think, the issue is editing the openwrt markup.
This is not true. Just because a chip is in flash memory does not mean it will work. Note that there are also memory addresses that should be different for a different chip size.
One person did a similar thing, but on an archer c20, changing only the markup when building openwrt. Screenshot
Original post, but in Russian.
Automatic TFTP restore is embedded in the boot. The addresses are entered there permanently, if they change, the restore will not work.
You are the first person to ask about this version. There is no information about the differences from fo v4 so it is impossible to answer.
Should i open the router and share the internals, so you guys can know a bit more about this version?
That would help. It would also help to connect a serial terminal and save the bootlog.
If this router also has firmware recovery via tftp then you can just try it and see for yourself. However, this requires having a dump of the original stock firmware so that you have something to go back to in case of failure.
Theoretically v4.8 should be compatible with v4.0 but even v4.0 has two subversions differing in the switch rtl8367s or rtl8367s-vb.
Hi, guys. Flashing OpenWrt didn't work. Now I can load firmware onto the router using TFTP, but it looks like the installation won't start, so I can't connect to my router.
As I understand it, I now need to connect to the SPI chip using a programmer and load a working dump from someone else's router.
Can anyone provide that for me, please?
PS
I am retarded. My router is Archer A5.
I uploaded correct firmware and now it works
To flash the image:
-
rename the openwrt-ramips-mt7620-tplink_c5-v4-squashfs-tftp-recovery.bin to tp_recovery.bin
-
start a TFTP server from IP address 192.168.0.66 and serve the image named tp_recovery.bin
-
connect your device to the router LAN port (1-4)
-
to start the TFTP recovery process on the router, press and hold the “Reset button” and then power up the router. Keep the “Reset button” pressed.
-
If everything went well, you should see a read request on your TFTP server. You can then release the reset button.
-
Please wait a few minutes and try logging in via http://192.168.0.1