Does the router still boot? Can you upgrade in openwrt?

https://dl.gl-inet.com/firmware/ar300m/nand/v1/

You should download the .img file to use in uboot.