<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=gb2312">
<META content="MSHTML 6.00.2900.3157" name=GENERATOR>
<STYLE>@font-face {
        font-family: 宋体;
}
@font-face {
        font-family: Verdana;
}
@font-face {
        font-family: @宋体;
}
@page Section1 {size: 595.3pt 841.9pt; margin: 72.0pt 90.0pt 72.0pt 90.0pt; layout-grid: 15.6pt; }
P.MsoNormal {
        TEXT-JUSTIFY: inter-ideograph; FONT-SIZE: 10.5pt; MARGIN: 0cm 0cm 0pt; FONT-FAMILY: "Times New Roman"; TEXT-ALIGN: justify
}
LI.MsoNormal {
        TEXT-JUSTIFY: inter-ideograph; FONT-SIZE: 10.5pt; MARGIN: 0cm 0cm 0pt; FONT-FAMILY: "Times New Roman"; TEXT-ALIGN: justify
}
DIV.MsoNormal {
        TEXT-JUSTIFY: inter-ideograph; FONT-SIZE: 10.5pt; MARGIN: 0cm 0cm 0pt; FONT-FAMILY: "Times New Roman"; TEXT-ALIGN: justify
}
A:link {
        COLOR: blue; TEXT-DECORATION: underline
}
SPAN.MsoHyperlink {
        COLOR: blue; TEXT-DECORATION: underline
}
A:visited {
        COLOR: purple; TEXT-DECORATION: underline
}
SPAN.MsoHyperlinkFollowed {
        COLOR: purple; TEXT-DECORATION: underline
}
SPAN.EmailStyle17 {
        FONT-WEIGHT: normal; COLOR: windowtext; FONT-STYLE: normal; FONT-FAMILY: Verdana; TEXT-DECORATION: none; mso-style-type: personal-compose
}
DIV.Section1 {
        page: Section1
}
UNKNOWN {
        FONT-SIZE: 10pt
}
BLOCKQUOTE {
        MARGIN-TOP: 0px; MARGIN-BOTTOM: 0px; MARGIN-LEFT: 2em
}
OL {
        MARGIN-TOP: 0px; MARGIN-BOTTOM: 0px
}
UL {
        MARGIN-TOP: 0px; MARGIN-BOTTOM: 0px
}
</STYLE>
</HEAD>
<BODY style="FONT-SIZE: 10pt; MARGIN: 10px; FONT-FAMILY: verdana">
<DIV><FONT face=Verdana color=#000080 size=2>Hi Bruce,</FONT></DIV>
<DIV><FONT color=#000080>You can use mmap to access NVRAM from user space, but
you should config </FONT></DIV>
<DIV><FONT color=#000080>local bus first, like width, speed etc.</FONT></DIV>
<DIV><FONT color=#000080></FONT> </DIV>
<DIV><FONT color=#000080>Regards,</FONT></DIV>
<DIV><FONT color=#000080>Yanjun Luo.</FONT></DIV>
<DIV><FONT face=Verdana color=#000080 size=2></FONT> </DIV>
<HR color=#b5c4df SIZE=1>
<DIV><FONT face=Verdana size=2><STRONG>发件人:</STRONG> Bruce_Leonard@selinc.com
</FONT></DIV>
<DIV><FONT face=Verdana size=2><STRONG>发送时间:</STRONG> 2008-09-25 11:44:56
</FONT></DIV>
<DIV><FONT face=Verdana size=2><STRONG>收件人:</STRONG>
linuxppc-embedded@ozlabs.org </FONT></DIV>
<DIV><FONT face=Verdana size=2><STRONG>抄送:</STRONG> </FONT></DIV>
<DIV><FONT face=Verdana size=2><STRONG>主题:</STRONG> How do I access nvRAM from
user space? </FONT></DIV>
<DIV><FONT face=Verdana size=2></FONT> </DIV>
<DIV><FONT face=Verdana size=2>
<DIV>Sorry for the dumb question, I just can figure out the right google search </DIV>
<DIV>to find what I'm trying to do. I'm running 2.6.27-rc4 on an mpc8347 with </DIV>
<DIV>a 32KiB nvSRAM (Cypress CY14B256L) on the local bus. We just want to be </DIV>
<DIV>able to access this memory from user space seperately from "main" memory. </DIV>
<DIV>We've got a process that needs to be able to remember info through power </DIV>
<DIV>cycles. Can anyone point me to an article or some code snippet that does </DIV>
<DIV>something like this so I can sink my teeth into it?</DIV>
<DIV></DIV>
<DIV>Bruce</DIV>
<DIV>_______________________________________________</DIV>
<DIV>Linuxppc-embedded mailing list</DIV>
<DIV>Linuxppc-embedded@ozlabs.org</DIV>
<DIV>https://ozlabs.org/mailman/listinfo/linuxppc-embedded</DIV></FONT></DIV></BODY></HTML>