Tuesday, August 18, 2020

How to read "reg" or any hex property in /proc/device-tree/ on a device running AOSP?

AOSP userspace do not have hexdump. Use xxd command instead.

$xxd /proc/device-tree/reserved-memory/memory@....../reg