Status and experiments
Board: Banana Pi BPI-F3 (SpacemiT K1), kernel 7.4.0-rc1-img (branch
IMG-BXE-2-32), mainline powervr, Mesa pvr.
What works
Feature |
Verification |
|---|---|
|
|
MIPS boot, wired/dynamic TLB, wrapper remap |
Boot markers in |
|
|
GPU bring-up ( |
Dust power, SLC bypass, PDS/USC exec bases, unit defaults, init handshakes, MTS association (E013) |
KCCB, return slots, MTS BG & IRQ tasks |
BG task per KCCB batch (E016), HW2 IRQ task on every completion (E018) |
Runtime PM & warm boot |
Full |
Compute ( |
|
Transfer ( |
|
Per-DM completion flush |
Front-end, USC/PDS, TPU, MCU fence and SLC flush before retirement (E023) |
Hardware recovery (HWR) |
MMU fault or watchdog ( |
Statistics, HWR log & reset notifications |
Utilisation, time correlation, HWR log, FWCCB context-reset notification decoded by host (E025) |
3D rendering (default since E041) |
|
Open items and next steps
testGpuFwVulkan against the manufacturer firmware (E044,
docsClean/testGpuFwVulkan-results.md): on the same mainline + Mesapvrstack the manufacturer open firmware gets 18 pass / 18 fail / 3 skip, ours 16 / 20 / 3. Both agree on 36 of 39 tests. The renders that write nothing (second render on a device, after a parameter-buffer OOM, after a transfer) fail the same way with the reference, so they are not firmware work. Only three tests differ:queries: our occlusion count is 0 (the visibility-result base is probably not programmed);indirectframe 1 andvertex-extdivisor 4: a later render on the device fails with ours and passes with the reference.
Partial renders: the first partial render of a frame runs and the TA restarts; the restart after the second one faults, and one restart variant hung the board (Q30, E043).
bigpbpasses up to 2 M triangles.Render-target arrays / firmware 1.1 (Q27): answered, not implemented.
Acceptance oracle (E043): stages A and C pass; stage B passes except
bigpbframe 3 (Q30). The second HWRTData of a dataset and the input-attachment renders work since E043.Runtime suspend after compute/sync work: after
compute.pipeline.basicorsynchronization.basicthe firmware keeps reporting ON and the GPU never suspends (stage D fails when run after stage C); present since at least E041.Stability run: repeat
tools/stab-run.sh(interrupted by external reboot in E026).
Clean-room rules
Every experiment in docs/logRefs/ observes this firmware and
the GPU hardware it drives through the public host driver and /dev/mem:
Never read, run or disassemble the vendor firmware (
rogue_*.fw,rgx.fw*), its dumps or captures.Never read vendor DDK / proprietary driver sources or headers.
Never modify docsClean/; send specification gaps back via
docs/questions.md.
Experiment index (docs/logRefs/36.29.52.182/, BXE-2-32)
ID |
Date |
Topic |
Finding |
|---|---|---|---|
2026-11-08 |
MIPS stalls after reset |
|
|
2026-11-08 |
TLB miss inside IRQ handler |
C handlers must clear |
|
2026-11-08 |
TLB flush crashes FW |
|
|
2026-11-08 |
SoC hang on register read |
Never read RGX registers with the GPU power domain off |
|
2026-11-08 |
Runtime PM & warm boot |
Full boot runs on every power-on; |
|
2026-11-08 |
First compute kick |
CDM starts, faults at |
|
2026-11-08 |
Register survey |
Boot/idle register values (docs/logRefs/36.29.52.182/data/survey-0-2000.txt) |
|
2026-11-08 |
Writable-bit probe |
Mapped 40-bit address registers; found |
|
2026-11-08 |
|
|
|
2026-11-08 |
Truncated |
Kernel falls back silently to |
|
2026-11-08 |
|
|
|
2026-11-08 |
|
|
|
2026-11-08 |
Full GPU units bring-up |
First compute jobs pass ( |
|
2026-11-08 |
First |
|
|
2026-11-08 |
Fault in new memory context |
Flush and invalidate SLC before MMU invalidation |
|
2026-11-08 |
Completion delivery counters |
BG task confirmed; IRQ conclusion later superseded by E018 |
|
2026-11-08 |
|
3D pipe starts, then faults writing to address 0 |
|
2026-11-08 |
MTS IRQ task delivery |
HW2 fires on every completion; timer poll only raced it |
|
2026-11-08 |
HWR + |
Recovery in ~0.28 ms; 67/82 pass (6 image fails pending TQ) |
|
2026-11-08 |
|
Two PBE banks & |
|
2026-11-08 |
Watchdog & wider compute |
Uses |
|
2026-11-09 |
Full Q13 |
Conditional regs fixed addr-0 fault; multi-tile lost first tile |
|
2026-11-09 |
TQ launch order + per-DM flush |
|
|
2026-11-09 |
|
Compute/transfer clean; graphics waiting on TA/3D kicks |
|
2026-11-09 |
Stats, HWR log, FWCCB reset |
Time correlation, utilisation, HWR log and reset notifications verified |
|
2026-11-09 |
|
Real SLC flush added; |
|
2026-11-09 |
Render structures by value |
Mapped |
|
2026-11-09 |
First TA kick ( |
Canary found |
|
2026-11-09 |
Q16b/Q16c TA registers |
|
|
2026-11-09 |
Global FL bank & |
|
|
2026-11-09 |
Live PM stack pointers |
Live SPs and counters are read-only and stay 0 |
|
2026-11-09 |
PM live SP load variants |
|
|
2026-11-09 |
First-load PM flags |
Idle PM state matches reference; live SP copy still missing |
|
2026-11-09 |
Q16i PM copy variants |
|
|
2026-11-09 |
Free-list load commands |
|
|
2026-11-09 |
First 3D render |
First correct triangle rendered; PM pages not yet freed |
|
2026-11-09 |
ALIST/MLIST SP load commands |
|
|
2026-11-10 |
ZLS, MSAA & |
|
|
2026-11-10 |
Input-attachment diff |
Non-first kicks skip PM load; |
|
2026-11-10 |
Input-attachment dump diff |
Dumped ranges match; shared-PB rule added; still faults / board hang |
|
2026-11-26 |
Rendering by default, PM module, SPM, tools |
Default build draws; oracle C/D pass (NPOT aside); hang fixed; OOM resume (Q28) and second render (Q29) open |
|
2026-11-27 |
Spec |
|
|
2026-11-27 |
PM-MMU invalidation, first-kick PM reset, HWR teardown |
|
|
2026-11-27 |
|
|