Read current register values in BBB during OS running

hello All,
I want to read current register values in downloaded OS (Angstrom) in BBB.
for ex. register value set for DDR3 clk, write levelling register values ectc.

Can we read while OS is running?

Regards,
Vinayak

hello All,
I want to read current register values in downloaded OS (Angstrom) in BBB.
for ex. register value set for DDR3 clk, write levelling register values ectc.

Can we read while OS is running?

You have to create a Kernel Module to do this. Reading is OK, but don’t think of writing to any of these registers as that may conflict with other kernel code.

Regards,
John

If they are memory mapped register you can also use a tool like devmem2 or mmap yourself the register to access them directly.

This is not real linux style and a bit dangerous and certainly not portable at all-- but you can do it