How can I flash a Openwrt image on GL-B1300?

I am trying to flash openwrt image on GL-b1300 board. ath10k modules are not present in the default image and it has some other modules like qca_ol.
I have compiled the Openwrt 18.06.04 for GL - B1300. Looks like current image is different from openwrt. So How can I flash a Openwrt image on GL-B1300 ?

For a variety of reasons that I understand and accept, GL.iNet builds their OEM firmware for the ipq40xx-based devices using QSDK. As a result, there isn't a robust path to directly flash "vanilla" OpenWrt from the OEM images. You should be able to use U-Boot to flash a vanilla OpenWrt image.

From the original commit message

commit 04d3308b62
Author: Dongming Han <redacted>
Date:   Thu Dec 7 20:48:19 2017 +0800

    ipq806x: add support for GL.iNet GL-B1300
    This patch adds support for GL.iNet GL-B1300
    - SOC:        IPQ4028 / QCA Dakota
    - RAM:        256 MiB
    - FLASH:      32 MiB
    - ETH:        Qualcomm Atheros QCA8075 Gigabit Switch (2 x LAN, 1 x WAN)
    - USB:        1 x 3.0 (via Synopsys DesignWare DWC3 controller in the SoC)
    - WLAN1:      Qualcomm Atheros QCA4028 2.4GHz 802.11bgn 2:2x2
    - WLAN2:      Qualcomm Atheros QCA4028 5GHz 802.11a/n/ac 2:2x2
    - INPUT:      one reset and one WPS button
    - LEDS:       3 leds: Power, WIFI(only for 2.4G currently), and one reserved
    - UART:       1 x UART on PCB (3.3V, TX, RX, GND) - 115200 8N1
    Method 1:
    - use serial port to stop uboot
    - uboot command: run lf
    Method 2:
    - push down reset button and power on
    - wait until three leds constantly on then release
    - upgrade by uboot web at
    - the sysupgrade image need to be renamed to lede-gl-b1300.bin in both method.
    - the sysupgrade image can be automatically downloaded if tftp server at have that file.
    - the wifi led will be flashing when writing image.
    Signed-off-by: Dongming Han <redacted>

You can find the Uboot instructions here

(also, because the instructions are a little unclear, the "reset" button is the power button. So, what you do is unplug the router, hold the power button, and plug in the router while holding the power button, and keep holding until it flashes 5 times (although for me, it only flashed 4, but it still worked fine). Then just follow the rest of the instructions.)

Just use the ITB file for the B1300 instead of the img file though.

I'm still having trouble getting it to work even after that though.

I go to http ://, but it doesn't return anything. I think there's a probably with the file.

Just to add to that, the initial batch of B1300 was shipped with the buggy u-boot which would sometimes takes 10-15 tries before the new firmware would load. The newer u-boot was later made available for download.

1 Like

Just upgraded to openwrt-19.07.2. It was my first attempt installing OpenWRT so I failed multiple times. The major reason was that I expected that router will light the WiFi indicator and SSID will be available. Another trouble was that I expected router to be available on
What I did was:

  1. Plugged Eth cable to LAN (not WAN) port, may be irrelevant though.
  2. Upgraded to official testing release via U-boot exactly as described in debrick manual. This step might be unnecessary, I did it because I thought it will update my U-boot.
  3. Downloaded openwrt-19.07.2 and renamed it to qsdk-b1300-3.100.1217.bin
  4. Flashed it via U-Boot the same way as in debrick manual, but altering 2 last steps:
    9. According to firstlogin WiFi in OpenWRT is disabled by default, so do not wait for it.
    10. ssh root@
  5. Now, according to firstlogin manual web interface is available on
1 Like

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