From 093769e72be7501d56f2338062938a254392fca1 Mon Sep 17 00:00:00 2001 From: cyrozap Date: Sun, 29 Sep 2024 01:28:37 -0500 Subject: [PATCH 1/3] Correct SoC name for HW code 0x0992 Connecting to the BROM of an MT6890 (found in a T-Mobile / Quanta D53 5G mobile hotspot) reports a HW code of 0x0992. --- mtkclient/config/brom_config.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mtkclient/config/brom_config.py b/mtkclient/config/brom_config.py index a10a663..901128f 100755 --- a/mtkclient/config/brom_config.py +++ b/mtkclient/config/brom_config.py @@ -357,7 +357,7 @@ hwconfig = { # blacklist damode=DAmodes.XFLASH, dacode=0x0992, - name="MT0992"), + name="MT6890"), 0x2601: Chipconfig( var1=0xA, # Smartwatch, confirmed watchdog=0x10007000, From cc0a502bc00a726106846b227adb3218515c0275 Mon Sep 17 00:00:00 2001 From: cyrozap Date: Sun, 29 Sep 2024 01:35:39 -0500 Subject: [PATCH 2/3] Confirm watchdog address for MT6890 --- mtkclient/config/brom_config.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mtkclient/config/brom_config.py b/mtkclient/config/brom_config.py index 901128f..24895cb 100755 --- a/mtkclient/config/brom_config.py +++ b/mtkclient/config/brom_config.py @@ -346,7 +346,7 @@ hwconfig = { dacode=0x0598, name="ELBRUS/MT0598"), 0x992: Chipconfig( # var1 - # watchdog + watchdog=0x10007000, # uart # brom_payload_addr # da_payload_addr From 77958d7ac87890df6f89a4e39cd9c9a19ba08dda Mon Sep 17 00:00:00 2001 From: cyrozap Date: Sun, 29 Sep 2024 01:39:44 -0500 Subject: [PATCH 3/3] Add efuse address for MT6890 --- mtkclient/config/brom_config.py | 1 + 1 file changed, 1 insertion(+) diff --git a/mtkclient/config/brom_config.py b/mtkclient/config/brom_config.py index 24895cb..e63f376 100755 --- a/mtkclient/config/brom_config.py +++ b/mtkclient/config/brom_config.py @@ -355,6 +355,7 @@ hwconfig = { # cqdma_base # ap_dma_mem # blacklist + efuse_addr=0x11EC0000, damode=DAmodes.XFLASH, dacode=0x0992, name="MT6890"),