r/sonoff • u/Soft-Cry-4241 • 1d ago
I bricked my NSPanel Pro 86P with a U-Boot patch. The readback matched. Here’s what went wrong.
I was trying to make the BOOT button on my square NSPanel Pro open RockUSB Loader reliably.

With Grok 4.7 I put a tiny diagnostic routine in some spare bytes after the device tree and patched the button check to jump there. I updated the checksums, wrote the first U-Boot copy and read it back. The bytes matched. Then I rebooted.
Black screen. No USB. The BOOT button did nothing.
I’d missed one detail: U-Boot relocates its linked executable image into RAM. The bytes after the device tree were inside the checked file but outside the area U-Boot relocated. The jump ended up pointing at empty space. The other three copies were fine, but the first passed its checks and took control before hanging.
Grok couldn't find a working way back in. With Kimi I eventually got the 86P into MaskRom by briefly pulling the eMMC clock line low at USB power-up, with the panel off its mains base. The first build of rkdeveloptool hung when sending the temporary loader. A different build worked. Even then ld still said Maskrom, but rfi could see the eMMC and ppt could read its partition table. I restored the known-good first megabyte of U-Boot from my own backup and the panel booted Linux again.

There’s a nicer route on my 120P V1.2. To get into regular Loader on that board over USB, I briefly bridged GND + RST, released reset, then immediately bridged GND + UBOOT for about two to three seconds. I didn’t use D0 for that sequence.
Most of the Linux build and porting work was done with Gemini Carbon. My very practical takeaway from the whole thing: check how you’ll get back into the device before you touch the bootloader, and save a copy of the exact one that booted your board.
Recovery notes: https://github.com/bolkonskiy/nspanel-linux/blob/main/docs/RECOVERY.md
120P pad photo and Loader steps: https://github.com/bolkonskiy/nspanel-linux/blob/main/docs/HARDWARE-120P.md
