Trouble flashing vanilla OpenWrt on GL-iNet GL-MT3000 (Beryl AX)

I'm trying to flash Vanilla OpenWrt on my new Beryl AX and I'm having some trouble getting it to work. I see that it is not in the Table of Hardware, but I did find it in the Firmware Selector (see here), which provides both a kernel and a Sysupgrade build. I tried flashing the Sysupgrade build via Luci and via the GL.iNet UI and it did not work. I also tried flashing both builds via uboot and neither of those worked either. Flashing the GL.iNet custom image that they provide works in both cases so I know that I am able to flash the router, just not with vanilla OpenWrt.

Is this router actually supported by vanilla OpenWrt? Am I doing something wrong?

It is, but the git commit adding it, is missing the usual install info.

Try going via the recovery UI.

I tried using the recovery UI (uboot) as well, with both the kernel and sysupgrade images and neither worked after about 30 minutes or so. Flashing the GL.iNet build via uboot only took about 5 minutes.

I just got one of these. It is certainly supported! I am now running my own homebrewed build of openwrt 23.05.2

I updated the gl-inet firmware to the latest 4.4.6, and then flashed vanilla openwrt 23.05.2 through the luci web interface.

I played around with the uboot flasher which takes an img file. I haven't played around enough with it yet to unpack the images to see if they are different formats or not.

It sounds like you are doing the right things. I guess check the hashes to make sure the files are intact? I haven't tested other versions or snapshots.

Did you just use the sysupgrade image from the firmware selector? How long did it take to fully flash?

Yes, for the vanilla firmware, I used the sysupgrade version from the firmware selector, 23.05.2.

I don't remember how long it took, but it wasn't very long. I think about 5 mins or less. I had a serial console as well, so it was easy to see that some activity was going on.

@cameroncc Were you able to flash your router?

@gee_one not yet, but I am about to try again. Wish me luck haha! I think I'll restore to GL.iNet stock first just to be safe

I flashed the latest GL.iNet build (4.4.6) using uboot and then tried to flash the OpenWrt SysUpgrade image using Luci and it seems to have failed again. When you say you had a serial console, did you just use the RX and TX pads for UART? I found this guide from GL.iNet on how to do it. I'm going to try this too

Yes, it's the RX, TX, and ground pads. Don't connect the VCC pad. I used a raspberry pi debug probe, but any TTL/serial adapter should work.

In linux, you can use any terminal program, such as screen.

The serial console isn't needed, but it might give you some hints about why it's failing.

As an alternative, you could also ssh into the router and see if there is anything useful from dmesg after the failed flash.

Well, I just reflashed the GL.iNet image from uboot and then flashed the OpenWrt sysupgrade image from luci again just like before so I could try to ssh and read dmesg before messing with UART and it just... worked... no idea why

1 Like

I just tested this on my router. I flashed back to 4.4.6 stock firmware, and I was able to flash vanilla openwrt through the gl.inet web UI. It went quickly- I think flashing was less than 30 seconds and then maybe a minute to reboot? I think the vanilla firmware doesn't turn on wifi by default, so you'll need to connect with an ethernet cable.

oh - looks like you got it to work. Who knows? It could be a bad cable, noisy wifi, dirty power?

Dunno. When it actually worked it was pretty quick too. I did it all over ethernet too. I'm using one of the ARM macs with a USB-C to ethernet adapter and a cat 5e cable. Maybe it would have been more reliable flashing from my linux desktop with an actual ethernet port. Part of me wants to test that theory and part of me just wants to keep it as it is since it was so flaky.

So I guess for anyone else who comes across this post, if it doesn't work, just flash to stock GL.iNet firmware again in uboot (see link in frollic's comment above) and then try flashing the OpenWrt sysupgrade image from Luci after restoring. I unchecked the box to keep settings. Did you also do the same @gee_one ?

Yes, I unchecked "keep settings" so that it would go to default vanilla settings.

Also, when you flashed through uboot, did you use the wan port (2.5G) or the lan port (1G)?? I couldn't get the wan port to work, but the lan port was fine.

I used the LAN port for everything

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.