Repository navigation
Conversation
Add gu_falcon_hs_probe() — a variant of gu_falcon_hs() that returns immediately after Falcon CPU start instead of waiting for halt. This enables callers to inspect GPU state and capture DMA transfers before the SEC2 processor completes its boot sequence. Also add gu_falcon_dma_capture_enable/disable/size() helpers that let callers snapshot the source buffer before the GPU DMA reads it. Useful for debugging firmware loading and analyzing SEC2 images. Includes Falcon instruction disassembly documentation for the AD102 booter (booter_load_ad102.bin), identifying embedded engine strings (NVRNG, NVPKA, CCC) and the booter's data table structure. brought to you by a 4070 laptop and qwen
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Add
gu_falcon_hs_probe()— a variant ofgu_falcon_hs()that returns immediately after Falcon CPU start instead of waiting for halt. This enables callers to inspect GPU state and capture DMA transfers before the SEC2 processor completes its boot sequence.Also add
gu_falcon_dma_capture_enable/disable/size()helpers that let callers snapshot the source buffer before the GPU DMA reads it. Useful for debugging firmware loading and analyzing SEC2 images.Changes
kernel/gpu_unlock/falcon.c: +109 lines
gu_falcon_hs_probe(): non-blocking variant ofgu_falcon_hs()gu_falcon_hs()(before actual transfer)kernel/gpu_unlock/falcon.h: +5 lines
Falcon_Instructions.md: Falcon instruction disassembly documentation for the AD102 booter
HANDOFF_PART2.md: Project handoff document with full technical analysis
Testing
Compiles cleanly with
makeon kernel 7.2.11-arch1-1. No functional changes to existing code paths — all new code is opt-in via the capture enable API.Notes
This is research/debug infrastructure. The probe mechanism is useful for any Falcon-based GPU debugging, not just AD102.