981213 / mtk_uartboot

GNU Affero General Public License v3.0
138 stars 32 forks source link

MacOS:mtk_uartboot gets stuck at the FIP.bin upload without any timeout warnings #11

Open ifuturenan opened 1 month ago

ifuturenan commented 1 month ago

logs below.

xxx@Mac-mini-Pro-2 mtk_recovery % sudo ./mtk_uartboot -s /dev/tty.usbserial-1420 -p mt7981/mt7981-ddr3-bl2.bin -a -f fip-fixed.bin
mtk_uartboot - 0.1.1
Using serial port: /dev/tty.usbserial-1420
Handshake...
hw code: 0x7981
hw sub code: 0x8a00
hw ver: 0xca00
sw ver: 0x1
Baud rate set to 460800
sending payload to 0x201000...
Checksum: 0x55cf
Setting baudrate back to 115200
Jumping to 0x201000 in aarch64...
Waiting for BL2. Message below:
==================================
NOTICE:  BL2: v2.10.0   (release):v2.4-rc0-5845-gbacca82a8-dirty
NOTICE:  BL2: Built : 20:18:08, Feb  2 2024
NOTICE:  WDT: Cold boot
NOTICE:  WDT: disabled
NOTICE:  EMI: Using DDR3 settings
NOTICE:  EMI: Detected DRAM size: 256MB
NOTICE:  EMI: complex R/W mem test passed
NOTICE:  CPU: MT7981 (1300MHz)
NOTICE:  Starting UART download handshake ...
==================================
BL2 UART DL version: 0x10

I waiting for a long time , more than 10 mins. No respond.

SuperKali commented 1 week ago

I have the same issue