Hi folks,
Today I opened the case of my GL-X3000 to find how I can connect my USB-UART cable. Because I do not want to damage it, I decided to pause and take suggestions form you!
Has anyone disassembled the same device? Can you share your experience?
Is there a a clear diagram for the board?
Can GL engineers share the latest Uboot for this device as I could not find it in the GitHub repos?
May we know the purpose of your dismantling and use the UBoot?
Yes, because I want to know how to connect my usb uart cable without damaging the device.
I am planning to compile my own uboot and stock firmware (without gl packages) then flash it to the device.
1 Like
Sorry, I didn’t make it clear.
What we want to know is whether you are using it for commercial use or personal DIY.
Hi,
I tried to use the UART pins in order to connect a USB-UART cable, following the pinout I found here :
However I don’t see any output on the UART port, either from U-Boot or the firmware. I’ve tried using several USB-UART cables, changed all the UART settings I could think of (and used the ones listed here ), but to no avail.
Is there a setting to change in the U-Boot (version U-Boot 2022.07-rc3 (Mar 09 2023 - 16:20:34 +0800) ) or the firmware (version 4.3.5 ) in order to enable the UART port?
1 Like
Hopefully someone from GL can help as I posted this post several months ago.
@dohseven please keep us posted with your progress as I want also to use usb-uart cable to modify the Uboot and install custom openwrt firmware.
lizh
August 9, 2023, 2:34am
8
Uart is enabled by default.Please check tx and rx.And do not connect the power pin.
thebass
February 11, 2025, 7:09pm
9
I try to fix a bricked GL-X3000 (Spitz AX). No LED & LAN when powering on.
UART is showing this when powering on:
F0: 102B 0000
FA: 1040 0000
FA: 1040 0000 [0200]
F9: 103F 0000
F3: 1006 0033 [0200]
F3: 4001 00E0 [0200]
F3: 4002 0000
F6: 102C 0000
F5: 1026 0000
00: 1005 0000
FA: 1040 0000
FA: 1040 0000 [0200]
F9: 103F 0000
F3: 4001 00E0 [0200]
F3: 4002 0000
F6: 102C 0000
01: 102A 0001
02: 1005 0000
BP: 2000 00C0 [0001]
EC: 0000 0000 [2000]
T0: 0000 00BE [010F]
System halt!
I tried mtk_uartboot with no sucess:
mtk_uartboot.exe -s COM7 -a -p openwrt-x3000-preloader.bin -f openwrt-bl31-uboot.fip
mtk_uartboot - 0.1.1
Using serial port: COM7
Handshake... -> no change.
What recovery methods are possible?
USB-A <-> USB-A cable?
mtk uartboot?
other?
thebass
February 12, 2025, 11:17pm
10
What recovery methods are possible?
i can confirm, that mtk_uartboot is working with the right timing (starting pgm / powering on):
mtk_uartboot.exe -s COM7 -a -p bl2-mt7981-bga-ddr4-ram.bin -f openwrt-mediatek-filogic-glinet_gl-x3000-bl31-uboot.fip && putty.exe -serial COM7 -sercfg 115200,8,n,1,N
mtk_uartboot - 0.1.1
Using serial port: COM7
Handshake...
hw code: 0x7981
hw sub code: 0x8a00
hw ver: 0xca00
sw ver: 0x1
Baud rate set to 460800
sending payload to 0x201000...
Checksum: 0x6f0e
Setting baudrate back to 115200
Jumping to 0x201000 in aarch64...
Waiting for BL2. Message below:
==================================
NOTICE: BL2: v2.10.0 (release):v2.10.0-mtk
NOTICE: BL2: Built : 13:17:08, Mar 1 2024
NOTICE: WDT: Cold boot
NOTICE: WDT: disabled
NOTICE: EMI: Using DDR4 settings
NOTICE: EMI: Detected DRAM size: 512MB
NOTICE: EMI: complex R/W mem test passed
NOTICE: CPU: MT7981 (1300MHz)
NOTICE: Starting UART download handshake ...
==================================
BL2 UART DL version: 0x10
Baudrate set to: 921600
FIP sent.
==================================
NOTICE: Received FIP 0x817b1 @ 0x40400000 ...
==================================
it was not possible to flash gl inet stock uboot directly. I did it this way once system booted:
echo 0 >/sys/block/mmcblk0boot0/force_ro
dd if=X3000_uboot_fip.bin of=/dev/mmcblk0p4
dd if=X3000_bl2.img of=/dev/mmcblk0boot0