Repository navigation
stop_during_init: MT7612U firmware dir, report a bring-up that throws - #506
Conversation
The MT7612U's firmware is not embedded, so the probe takes --fw-dir (the script: FW_DIR, env DEVOURER_MT7612U_FW_DIR) for the decompressed mt7662.bin + mt7662_rom_patch.bin. A bring-up that throws out of Init is caught on the Init thread and reported as INIT_THREW with its message, where before it escaped the thread and dumped core with no RESULT line. Run on the three backends the first round could not reach: 8812AU ch6 (Init back 1801/1469/895/30 ms after the stop), RTL8733B ch6 (2033/1579/965/40 ms), MT7612U ch6 — 18/18 OK. Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
PR Summary by QodoEnable MT7612U stop-during-Init tests and report bring-up errors
AI Description
Diagram
High-Level Assessment
Files changed (3)
|
Code Review by Qodo
1.
|
…keep INIT_THREW one record An explicit --fw-dir that is missing mt7662.bin or mt7662_rom_patch.bin now ends the run with BAD_FW_DIR (exit 2) before the radio exists; the backend would otherwise fall back to its default search paths and a pass could rest on firmware the caller did not name. The INIT_THREW message is flattened (quotes, backslashes and control characters replaced) so the RESULT line stays one parseable record whatever the exception carried. Re-run 12/12 on the MT7612U and the 8812AU, ch6. Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Closes the last item on #504: the stop-during-Init matrix on the three backends the first round could not reach.
--fw-diron the probe (FW_DIRon the script,DEVOURER_MT7612U_FW_DIRenv) names the decompressedmt7662.bin+mt7662_rom_patch.binfor an MT7612U, whose firmware is not embedded.Initis caught on the Init thread and reported asINIT_THREWwith its message. Before this it escaped the thread and dumped core with no RESULT line, which is how every MT7612U cell first read.Measured through the script at this commit, ch6, no kernel driver on the DUT:
18/18 on each; the verify loop after every honoured stop saw 158 to 1392 frames. With #505 that is all six backends.
🤖 Generated with Claude Code