Bringing Up the RK3576 NPU on Mainline Linux
The RK3576 has a 6 TOPS NPU and the open-source rocket driver targets it. I got a full MobileNet run going — 252 hardware jobs, no hangs, no faults — and every single output byte was zero. This is roughly how the next two weeks went. Mostly it’s me being wrong a lot. The setup Radxa ROCK 4D (RK3576, 12 GiB LPDDR5) linux-next 7.1.0-rc5, rocket built into the kernel (not a module) MobileNetV1 224×224 through the Mesa Teflon TFLite delegate CPU reference: Top-1 = 653, conf ≈ 0.887 One thing kept me sane the whole time: rocket already runs this exact model perfectly on the RK3588. So nothing about the driver was fundamentally broken. The bug had to be something RK3576-specific — a value, an offset, a sequence the two chips don’t share. Whenever a theory tried to blame the whole architecture, that fact talked me down. ...