How do I access nvRAM from user space?

Bruce_Leonard at Bruce_Leonard at
Fri Sep 26 04:13:43 EST 2008

> Thanks for the reply.  So if my nvSRAM device is located at 0xb0000000 
> physical memory, what would the mmap() call look like?  Also, do I need 
> have a device tree entry for the kernel to know about the memory?  I can 

> access the device in uboot so I know it works, but I can't figure out 
> mmap to get it from linux

Never mind.  I figured out how to use mmap.  It's all in the parameter 
'off' not 'addr' :).  Thanks to everyone who responded with help.


More information about the Linuxppc-embedded mailing list