First post here, so hopefully I'm in the right place. (srry mods if I'm posting in the wrong spot plz forgive <3) I work in game development, so this is definitely outside my scope of expertise, but I'm having fun messing around with it.
I saw another user (@meisterlone) got OpenWrt working on a similar-ish model (SAX1v1K). I was following his tutorial until I realized I had a different model lol. I couldn't find any info on anyone trying to get OpenWrt on this specific unit (SBE1V1K), so I thought I'd start the conversation and share what I found.
My setup is as follows: I'm using my PC to SSH into a Raspberry Pi Zero 2 W -> jumper wires -> SBE1V1K serial port.
I haven't been able to interrupt the U-Boot process with standard key presses. I also couldn't really test ctrl+c because it just kills the SSH session to my Pi rather than sending the signal to the router.
I read in meisterlone's guide that the "CLK signal that runs between the EMMC and the CPU must be interrupted at the perfect time (3-second window)... as soon as the 'Hit space key to stop autoboot' message appears."
My Questions Since this is a different model/chipset (Qualcomm IPQ9574 vs the SAX1v1k), I'm unsure if trying the shorting method is a good idea or if I'll just instant-brick it? Further, I never get a "press space to interrupt" prompt. The closest thing I see in the logs is a method named do_bootaskey(). I'm curious if the bootdelay is set to 0 or -2 to disallow interruptions, or if I could replicate the glitch bug during that do_bootaskey window.
Here is the startup log I pulled from the serial port:
Format: Log Type - Time(microsec) - Message - Optional Info
Log Type: B - Since Boot(Power On Reset), D - Delta, S - Statistic
S - QC_IMAGE_VERSION_STRING=BOOT.XF.0.3.1.1-00086-IPQ90xxLZB-2
S - IMAGE_VARIANT_STRING=IPQ9574LA
S - OEM_IMAGE_VERSION_STRING=crm-ubuntu142
S - Boot Interface: eMMC
S - Secure Boot: On
S - Boot Config @ 0x000a602c = 0x000002e3
S - JTAG ID @ 0x000a607c = 0x001ae0e1
S - OEM ID @ 0x000a6080 = 0x01f40001
S - Serial Number @ 0x000a60a8 = 0x7f65df66
S - Feature Config Row 0 @ 0x000a4010 = 0x0000000000000000
S - Feature Config Row 1 @ 0x000a4018 = 0x0000000000000000
S - Feature Config Row 2 @ 0x000a4020 = 0x8000300000000000
S - FM_VERSION @ 0x000a4004 = 0x00000003
S - TAG_VERSION @ 0x000a4004 = 0x00000006
S - FEATURE ID @ 0x000a4000 = 0x00000002
S - PBL Patch Ver: 0
S - TME-L LCS: 0x0b
S - I-cache: Off
S - D-cache: Off
B - 3413 - PBL, Start
B - 11496 - bootable_media_detect_entry, Start
B - 13763 - bootable_media_detect_success, Start
B - 79031 - elf_loader_entry, Start
B - 79495 - auth_hash_seg_entry, Start
B - 81437 - auth_hash_seg_exit, Start
B - 92404 - elf_segs_hash_verify_entry, Start
B - 128037 - elf_segs_hash_verify_exit, Start
B - 137062 - auth_xbl_sec_hash_seg_entry, Start
B - 137588 - auth_xbl_sec_hash_seg_exit, Start
B - 145405 - xbl_sec_segs_hash_verify_entry, Start
B - 145406 - xbl_sec_segs_hash_verify_exit, Start
B - 147015 - PBL, End
B - 119011 - SBL1, Start
B - 339465 - GCC [RstStat:0x10, RstDbg:0x600000] WDog Stat : 0x4
B - 342088 - System Reset Reason : Power on Reset [0x20]
B - 347456 - clock_init, Start
D - 976 - clock_init, Delta
B - 355416 - boot_flash_init, Start
D - 67344 - boot_flash_init, Delta
B - 426512 - sbl1_ddr_set_default_params, Start
D - 335 - sbl1_ddr_set_default_params, Delta
B - 432673 - boot_config_data_table_init, Start
D - 4422 - boot_config_data_table_init, Delta - (575 Bytes)
B - 442616 - CDT Version:2,Platform ID:8,Major ID:119,Minor ID:48,Subtype:1
B - 447465 - Image Load, Start
D - 6588 - OEM_MISC Image Loaded, Delta - (0 Bytes)
B - 456951 - Image Load, Start
D - 5154 - PMIC Image Loaded, Delta - (0 Bytes)
B - 464820 - sbl1_ddr_set_params, Start
B - 470096 - CPR configuration: 0x3a7
B - 472994 - Pre_DDR_clock_init, Start
D - 30 - Pre_DDR_clock_init, Delta
D - 0 - sbl1_ddr_set_params, Delta
B - 782935 - Image Load, Start
D - 5612 - Auth Metadata
D - 396 - Segments hash check
D - 12322 - APDP Image Loaded, Delta - (6380 Bytes)
B - 801479 - Image Load, Start
D - 16226 - TME-L FW Image Loaded, Delta - (224976 Bytes)
B - 819626 - Image Load, Start
D - 2959 - QTI_MISC Image Loaded, Delta - (0 Bytes)
B - 826031 - Image Load, Start
D - 5551 - Auth Metadata
D - 732 - Segments hash check
D - 16836 - QSEE Dev Config Image Loaded, Delta - (35786 Bytes)
B - 844606 - Image Load, Start
D - 10065 - Auth Metadata
D - 11865 - Segments hash check
D - 51819 - QSEE Image Loaded, Delta - (1410956 Bytes)
B - 897523 - Image Load, Start
D - 5276 - Auth Metadata
D - 1769 - Segments hash check
D - 20862 - RPM Image Loaded, Delta - (99276 Bytes)
B - 920093 - Image Load, Start
D - 5307 - Auth Metadata
D - 3569 - Segments hash check
D - 23455 - APPSBL Image Loaded, Delta - (533564 Bytes)
B - 946933 - SBL1, End
D - 831369 - SBL1, Delta
S - Flash Throughput, 49819 KB/s (2312185 Bytes, 46411 us)
S - Core 0 Frequency, 800 MHz
S - DDR Frequency, 1600 MHz
U-Boot 1.0.10 [spf12.2_CSU2] (Sep 12 2024 - 02:30:19 +0000)
DRAM: smem ram ptable found: ver: 2 len: 4
2 GiB
pwm init
pwm ctl start================================
NAND: QPIC: disabled, skipping initialization
SF: Unsupported flash IDs: manuf 00, jedec 0000, ext_jedec 0000
ipq_spi: SPI Flash not found (bus/cs/speed/mode) = (0/0/48000000/0)
0 MiB
MMC: <NULL>: 0 (eMMC)
PCI0 is not defined in the device tree
PCI Link Intialized
PCI Link Intialized
PCI Link Intialized
In: serial@78B1000
Out: serial@78B1000
Err: serial@78B1000
machid: 8773001
eth5 MAC Address from ART is not valid
MMC read: dev # 0, block # 39458, count 1024 ... 1024 blocks read: OK
CRC check good on phy fw file (0x47BD)
PHYFW:Loading IRAM...........done.
PHYFW:Loading DRAM..............done.
phy fw image load CRC-16 (0x0) does not match calculated CRC-16 (0x114E)
do_bootaskey()
check temperature of soc 26 ,and threshold 80
pwm ctl start================================
debug cert - not found
verify init: active_part [0], bak_part [1]
verify FW [0] start
askey_dualimg_emmc.c [298] runcmd=mmc read 0x44000000 0x14022 0x94
MMC read: dev # 0, block # 81954, count 148 ... 148 blocks read: OK
Parsing phdr load addr 0x0 offset 0x0 size 0x94 type 0x0
Parsing phdr load addr 0x0 offset 0x1000 size 0x13e8 type 0x0
Parsing phdr load addr 0x44000000 offset 0x3000 size 0x39ff90 type 0x1
askey_dualimg_emmc.c [86] act_part=0
MMC read: dev # 0, block # 81954, count 14336 ... 14336 blocks read: OK
Parsing phdr load addr 0x0 offset 0x0 size 0x94 type 0x0
Parsing phdr load addr 0x0 offset 0x1000 size 0x13e8 type 0x0
Parsing phdr load addr 0x44000000 offset 0x3000 size 0x2840000 type 0x1
runcmd=mmc read 0x42003000 0x1B022 0x3D000 &&
MMC read: dev # 0, block # 110626, count 249856 ... 249856 blocks read: OK
img_info.img_offset=0x3000,img_info.img_size=0x2840000
Rootfs elf image authentication success
verify FW [0] success
backup start ...bak_part=1
askey_dualimg_emmc.c [153] read_kernel,runcmd=mmc read 0x44000000 0x17822 0x94
MMC read: dev # 0, block # 96290, count 148 ... 148 blocks read: OK
Parsing phdr load addr 0x0 offset 0x0 size 0x94 type 0x0
Parsing phdr load addr 0x0 offset 0x1000 size 0x13e8 type 0x0
Parsing phdr load addr 0x44000000 offset 0x3000 size 0x39fefc type 0x1
askey_dualimg_emmc.c [89] act_part=1
askey_dualimg_emmc.c [165] runcmd=mmc read 0x43ffd000 0x17822 0x3800
MMC read: dev # 0, block # 96290, count 14336 ... 14336 blocks read: OK
no need backup, FW & FW_1 is same.
askey_dualimg_emmc.c [153] read_kernel,runcmd=mmc read 0x44000000 0x14022 0x94
MMC read: dev # 0, block # 81954, count 148 ... 148 blocks read: OK
Parsing phdr load addr 0x0 offset 0x0 size 0x94 type 0x0
Parsing phdr load addr 0x0 offset 0x1000 size 0x13e8 type 0x0
Parsing phdr load addr 0x44000000 offset 0x3000 size 0x39ff90 type 0x1
askey_dualimg_emmc.c [86] act_part=0
askey_dualimg_emmc.c [165] runcmd=mmc read 0x43ffd000 0x14022 0x3800
MMC read: dev # 0, block # 81954, count 14336 ... 14336 blocks read: OK
[do_boot_signedimg_askey,1095]ret1=2,IMAGE_FORMAT_FIT=2,IMAGE_FORMAT_LEGACY=1
## Loading kernel from FIT Image at 44000000 ...
Using 'config@rtq7300t-rev0' configuration
Trying 'kernel@1' kernel subimage
Description: ARM64 OpenWrt Linux-5.4.213
Type: Kernel Image
Compression: lzma compressed
Data Start: 0x440000e8
Data Size: 3547435 Bytes = 3.4 MiB
Architecture: AArch64
OS: Linux
Load Address: 0x42080000
Entry Point: 0x42080000
Hash algo: crc32
Hash value: e274a865
Hash algo: sha1
Hash value: 6b8d31a892598e1db9061717ef82619bc37221d8
Verifying Hash Integrity ... crc32+ sha1+ OK
## Loading fdt from FIT Image at 44000000 ...
Using 'config@rtq7300t-rev0' configuration
Trying 'fdt@rtq7300t-rev0' fdt subimage
Description: ARM64 OpenWrt rtq7300t device tree blob
Type: Flat Device Tree
Compression: uncompressed
Data Start: 0x4438b304
Data Size: 83642 Bytes = 81.7 KiB
Architecture: AArch64
Hash algo: crc32
Hash value: 0b0873b5
Hash algo: sha1
Hash value: 81e9a06c593a55ec8dc1fabb52f284a390fec2da
Verifying Hash Integrity ... crc32+ sha1+ OK
Booting using the fdt blob at 0x4438b304
Uncompressing Kernel Image ... OK
Loading Device Tree to 484e8000, end 484ff6b9 ... OK
MMC read: dev # 0, block # 37410, count 2048 ... 2048 blocks read: OK
Could not find PCI0 in device tree
Using machid 0x8773001 from environment
Starting kernel ...
Jumping to AARCH64 kernel via monitor
Possibly Relevant Things I found:
I found these links which might be relevant since this uses the IPQ95xx chipset:
- zilogic-systems/feed-ipq: OpenWrt feed for Qualcomm WiFi SoC platforms
- CodeLinaro OpenWrt Target (IPQ95xx)
Just want to repeat this once more lol, this is totally outside my depth. I was just frustrated Spectrum wouldn't let me change anything except barebones settings in their app. I realized I had a different model than the guide I was following, and I probably used quite a few terms incorrectly here, so forgive the noobness lol.
I already bought a replacement router, so I don't mind messing with this one. If anyone has ideas on how to get OpenWrt running on this but doesn't have access to the hardware, let me know what to try and I'd love to document the results here c:
