X1200 doesn’t have the last 3 firmware stable builds (3.203 latest instead of 3.215 for every other model)
I understand X1200 has been discontinued, can you keep the firmware updated or make it openwrt compatible if that’s not too much trouble. I had high hopes for X1200 only to find out it is no longer available not long after I bought it. Thanks.
alzhao
December 23, 2022, 3:34am
2
This one will be upgrade in Q1 2023.
Thanks.
Can you also make it openwrt compatible?
X1200 is not there yet
previous discussions on it
Amarok https://www.gl-inet.com/products/gl-x1200/ is not listed in supported devices, but I understood most gl-inet devices are very similar to OpenWRT since they are based on it, but getting it to work is a hassle right if it's not officially...
Reading time: 1 mins 🕑
Likes: 1 ❤
Hi, hope this is the right place to make contact; if not, please feel free to send me elsewhere to the correct contact point.
I’m interested in your GL-X1200 router, but am looking to run mainline OpenWRT on it, building my own heavily stripped down image. (I’m not a fan of web interfaces or unused code on networking hardware.)
I’m fine with tracking git master branch if support hasn’t yet hit a release, but can’t see any device tree under
git.openwrt.org Git - openwrt/openwrt.…
alzhao
December 26, 2022, 6:30am
4
This may be difficult as X1200 has been discontinued
Yoda
February 7, 2023, 10:09am
5
I second this request.
The X1200 is a nice piece of hardware and being able to use the official openWRT on it would be a great step to extend the life of the expensive hardware.
The current snapshot builds are 3.216 versions, while other models like the X750 already have snapshot builds of 4.2.0.
That being said, I can understand that GL-iNet isn’t keen on investing a lot of resources into a model for which the support expires in 2023.
This is exactly why it would be desirable to invest the resources in making the official openWRT work instead of developing a new custom firmware based on a years old fork of openWRT.
Yoda
February 7, 2023, 10:10am
6
Can you provide technical details on what would be necessary to make the official openWRT work with the X1200?
alzhao
February 8, 2023, 8:18am
7
If we give you a patch, are you able to compile lastest openwrt firmware?
We can try to submit patches to openwrt but X1200 has a watchdog, which need to take care.
1 Like
Yoda
February 9, 2023, 11:55am
8
Thank you very much for your swift reply.
Yes, I can compile the openWRT firmware, I have done that before.
I appreciate your offer and I am more than happy to give it a try with the patch.
I have submitted the patch to openwrt for review and you can use it directly.
openwrt:master
← dengxinfa:ath79_support_gl-x1200
opened 08:25AM - 09 Feb 23 UTC
This patch adds supports for GL-X1200.
Specification:
- SOC: QCA9563 (775MH… z)
- Flash: 16 MiB
- RAM: 128 MiB DDR2
- Ethernet: 4x 1Gbps LAN + 1x 1Gbps WAN
- Wireless: QCA9563(2.4GHz) and QCA9886(5GHz)
- SIM: 2x SIM card slots
- MicroSD: 1x microSD slot
- Antenna: 2x external 5dBi antennas
- USB: 1x USB 2.0 port
- Button: 1x reset button
- LED: 16x LEDs (3x GPIO controllable)
- UART: 1x UART on PCB (JP1: 3.3V, RX, TX, GND)
- OEM U-Boot supplies HTTP/GUI access
Implementation Notes
====================
Both the NOR and NAND variants boot off a NOR-based kernel,
consistent with the OEM's firmware.
The mode LEDs are
* Boot, Running system
* Failsafe 2G
* Upgrade 5G
Installation
============
Using sysupgrade
----------------
sysupgrade may be used to install a NAND image on a device running
a NAND image or a NOR image on a device running a NOR image. It is
recommended to *not* preserve config when upgrading from OEM firmware
or previous versions of OpenWrt. No supported sysupgrade path should
require "force". Transitioning from NOR to NAND can be accomplished
Using U-Boot
------------
The OEM U-Boot can be put into a graphical, firmware-upload mode by
holding down the button on the side of the router while applying power
and for a bit more than five seconds following with the current OEM
U-Boot. The power LED will come on, then the 5G LED will flash five
times, about once a second. When the 5G LED stops flashing and the
2G LED lights solid, the router's U-Boot will provide an upload page
at http://192.168.1.1/ Either a browser may be used to upload an image,
or a utility such as curl may be used:
curl -X POST -F gl_firmware=\@*-nand-squashfs-factory.img \
http://192.168.1.1/index.html
or
curl -X POST -F gl_firmware=\@*-nor-squashfs-sysupgrade.bin \
http://192.168.1.1/index.html
Note that NOR vs. NAND is based on the file name extension.
Signed-off-by: Xinfa Deng <xinfa.deng@gl-inet.com>
2 Likes
Yoda
February 15, 2023, 12:33pm
10
Thank you very much, I will give it a try to compile the FW and report here about the results.
Yoda
February 16, 2023, 5:40pm
11
There are good and not so good news:
Good news:
The router boots up and I can access it via luci
All ethernet interfaces are configured and work
alzhao
February 20, 2023, 8:15am
13
Did you compile the packages by yourself?
If you compile, kernel hash should be correct.
If you want to install using opkg, it will have this issue.
Pls compile all necessary kernel modules in your machine.
1 Like
Yoda
February 22, 2023, 2:58pm
14
Thank you for your reply.
When compiled with the kernel the various packages work, thank you .
Can you please point me in a direction on how to get the SIM LEDs working?
LAN, WLAN and SYS LEDs work, only the LEDs for the modems don’t work.
1 Like
alzhao
February 23, 2023, 9:46am
15
It should be very similar to lan or wlan, just change the interface to wwan0 (for qmi mode)
1 Like
Yoda
February 23, 2023, 11:49am
16
This is the stock X1200 LED configuration which only covers the WiFi LEDs. On the stock firmware the modem LEDs indicate the signal strength.
I assume that is implemented by some custom module or script in the stock firmware.
alzhao
February 26, 2023, 4:47am
17
I see. Signal strength is surely controlled by some scripts.
I am on trip and cannot check this by myself.
1 Like
Yoda
March 7, 2023, 10:20am
18
Thank you for getting back to me on this matter. Any chance by now to look into it?
1 Like
Yoda
March 8, 2023, 10:00am
20
Thank you very much dengxinfa .
I cloned the openwrt master after they integrated your commit.
Compiling and using the FW works great now on the X1200.
Just the LTE signal strength indicator is an open issue right now.
Any hint that point me in the right direction would be greatly appreciated.
In /sys/class/leds I can only see:
ath10k-phy0 → …/…/devices/pci0000:00/0000:00:00.0/leds/ath10k-phy0
ath9k-phy1 → …/…/devices/platform/ahb/18100000.wmac/leds/ath9k-phy1
green:wlan2g → …/…/devices/platform/leds/leds/green:wlan2g
green:wlan5g → …/…/devices/platform/leds/leds/green:wlan5g
red:system → …/…/devices/platform/leds/leds/red:system
I can also read the signal strength of both modems:
root@OpenWrt:~# uqmi -d /dev/cdc-wdm0 --get-signal-info
{
“type”: “lte”,
“rssi”: -36,
“rsrq”: -10,
“rsrp”: -67,
“snr”: 16.800000
}
root@OpenWrt:~# uqmi -d /dev/cdc-wdm1 --get-signal-info
{
“type”: “lte”,
“rssi”: -57,
“rsrq”: -12,
“rsrp”: -90,
“snr”: 4.800000
}
But I am stuck on how to address the signal strength indicator LEDs.
LTE signal led is controlled by mcu
you can refer to this
https://github.com/gl-inet/gl-x1200-uart
1 Like