I am very new to openwrt.
I have the ZBT wg1608 router with the quectel rm502q-ae 5g modem installed in the m.2 slot of the router. I was running the stock firmware which is the old lede 17.01. I installed the latest nightly openwrt using the GUI. I didn’t choose the option to keep settings. Everything seemed to install fine but while configuring the newly installed openwrt, the router keeps on restarting every a minute or two. I searched online and found that it is perhaps because the router has a hardware watchdog. I don’t know if this is the real reason or not. Is there a solution to disable this watchdog in the firmware so that I could setup the router without constantly being interrupted by the reboots? Thanks!
The WG1608 has a hardware watchdog and the router DTS file has nothing in to handle that. This will cause a reboot after about a minute. Whoever added support must have had an older version that had this disabled.
GPIO 3 needs to be pulsed regularly to reset the watchdog. This can be added to the DTS file (see the WG1602 DTS for how this is done) or by a script that starts when the router boots up.
Thank you so much for the explanation and the hints but I am afraid I won’t be able to do this on my own as it is beyond my skill level. If someone could please share the script or how to edit the DTS file and make an image would be much appreciated. Thanks!
This only works if you are building your firmware with an OpenWrt build system. From the sounds of it you aren't.
To use this you need to know how to access the router's file system via SSH and edit one file and add another. A program like WinSCP works very well for this.
Hi. I can ssh into the router and edit files this is easy as linux fedora is my main OS. I never tried to build an openwrt firmware but I could read how to.