Pico 86 Panel DT: add a ramoops reserved region so pstore keeps panic records #47

Open
opened 2026-11-11 08:15:30 -07:00 by noah · 0 comments
Owner

The Pico 86 Panel kernel has CONFIG_PSTORE=y, CONFIG_PSTORE_RAM=y and CONFIG_PSTORE_CONSOLE=y, but the board device tree has no reserved-memory node for ramoops. ramoops therefore binds no device (mem_size=0 in /sys/module/ramoops/parameters) and pstore keeps nothing across a reset. A panic on bench a is invisible for that reason. The flight recorder now says so on every boot (flare-edge issue, pstore inert on this image).

Found by: M4b-X5 (flare-edge sprint item), 2026-11-11, read-only checks on bench a: /proc/config.gz, /proc/device-tree, /sys/module/ramoops/parameters, /sys/bus/platform/drivers/ramoops.

Ask: add a reserved-memory child with compatible = "ramoops" to the Pico 86 Panel device tree, at a DRAM range that no other reservation or the CMA heap uses (check the board memory map first; the cmdline sets rk_dma_heap_cma=1M). Then verify on the bench that /sys/bus/platform/devices gains a ramoops device, and that pstore keeps a record after a forced panic.

Constraints: the forced panic is a reproduction and needs Noah's approval before it runs. The device-tree change is a boot-partition (tier 2) change and needs a flash approval as well.

NEW ITEM NEEDED: Pico 86 Panel ramoops reserved region - DT node, kernel config check, bench proof after a forced panic.

The Pico 86 Panel kernel has CONFIG_PSTORE=y, CONFIG_PSTORE_RAM=y and CONFIG_PSTORE_CONSOLE=y, but the board device tree has no reserved-memory node for ramoops. ramoops therefore binds no device (mem_size=0 in /sys/module/ramoops/parameters) and pstore keeps nothing across a reset. A panic on bench a is invisible for that reason. The flight recorder now says so on every boot (flare-edge issue, pstore inert on this image). Found by: M4b-X5 (flare-edge sprint item), 2026-11-11, read-only checks on bench a: /proc/config.gz, /proc/device-tree, /sys/module/ramoops/parameters, /sys/bus/platform/drivers/ramoops. Ask: add a reserved-memory child with compatible = "ramoops" to the Pico 86 Panel device tree, at a DRAM range that no other reservation or the CMA heap uses (check the board memory map first; the cmdline sets rk_dma_heap_cma=1M). Then verify on the bench that /sys/bus/platform/devices gains a ramoops device, and that pstore keeps a record after a forced panic. Constraints: the forced panic is a reproduction and needs Noah's approval before it runs. The device-tree change is a boot-partition (tier 2) change and needs a flash approval as well. NEW ITEM NEEDED: Pico 86 Panel ramoops reserved region - DT node, kernel config check, bench proof after a forced panic.
Sign in to join this conversation.
No labels
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: blueflare/bfe-core1106-sdk#47