Dabman
20
same useful like everything related to GL-MT2500...
1st. instruction is not complete. Try step by step this procedure and you will face somewhere here the wall...
PS C:\Users\dabman\Downloads\mtk_uartboot> dir
Directory: C:\Users\dabman\Downloads\mtk_uartboot
Mode LastWriteTime Length Name
d----- 04-Sep-24 10:11 PM .github
d----- 04-Sep-24 10:15 PM .vs
d----- 04-Sep-24 10:11 PM src
-a---- 04-Sep-24 10:11 PM 9 .gitignore
-a---- 04-Sep-24 10:11 PM 11945 Cargo.lock
-a---- 04-Sep-24 10:11 PM 302 Cargo.toml
-a---- 04-Sep-24 10:11 PM 35184 LICENSE
-a---- 04-Sep-24 10:11 PM 2476 README.md
PS C:\Users\dabman\Downloads\mtk_uartboot> cargo build
cargo : The term 'cargo' is not recognized as the name of a cmdlet, function, script file, or operable program. Check
the spelling of the name, or if a path was included, verify that the path is correct and try again.
At line:1 char:1
PS C:\Users\dabman\Downloads\mtk_uartboot>
but if you download already compiled file
PS C:\Users\dabman\Downloads\mtk_uartboot-v0.1.1-x86_64-pc-windows-msvc> .\mtk_uartboot.exe -s COM4 -a -p .\bl2-mt7981-bga-ddr4-ram.bin -f .\fip-mt2500.bin
mtk_uartboot - 0.1.1
Using serial port: COM4
thread 'main' panicked at src\main.rs:143:17:
Failed to open port: Error { kind: NoDevice, description: "Access is denied." }
note: run with RUST_BACKTRACE=1 environment variable to display a backtrace
PS C:\Users\dabman\Downloads\mtk_uartboot-v0.1.1-x86_64-pc-windows-msvc>
basically nightmare.
I already check many times what happen with this unit using uart. and I will provide you with this link.
anyway - instruction is not complete. So no point to wasting time and googling. Gl_inet get paid for units, GL-Inet should provide STEP by STEP instruction. This one does not work.
I believe google translate will be more useful than instruction...
GL-MT2500 Brume2 uwalony (Strona 1) — Sprzęt / Hardware — eko.one.pl
edit: finally when I started few times it works. But without any result. logs are too long to past it here. No way to install GL-Inet firmware, OpenWRT without any problem.
PS C:\Users\dabman\Downloads\mtk_uartboot-v0.1.1-x86_64-pc-windows-msvc> .\mtk_uartboot.exe -s COM4 -a -p .\bl2-mt7981-bga-ddr4-ram.bin -f .\fip-mt2500.bin
mtk_uartboot - 0.1.1
Using serial port: COM4
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: 1024MB
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 0x9ca45 @ 0x40400000 ...
PS C:\Users\dabman\Downloads\mtk_uartboot-v0.1.1-x86_64-pc-windows-msvc>