To flash uboot, please read here: Overview - GL.iNet Docs

You need to have UARt adapter, familiar with uboot and set up tftp server. The command to replace uboot is ‘run lu’