configuring lpc register from user space

Tony_Ao at wiwynn.com Tony_Ao at wiwynn.com
Wed Jan 23 16:22:05 AEDT 2019


Hi Vijay,

If you want to use devmem to set the specific register, you can append mem.devmem to bootargs and restart the system.

Then you can set the specific register using devmem.
You can refer the below link for details.
https://patchwork.ozlabs.org/patch/982894/

Regards,
Tony

From: openbmc [mailto:openbmc-bounces+tony_ao=wiwynn.com at lists.ozlabs.org] On Behalf Of Vijay Khemka
Sent: Wednesday, January 23, 2019 8:02 AM
To: openbmc at lists.ozlabs.org
Subject: configuring lpc register from user space

Team,
I know /dev/mem is not supported in production, I need to configure some lpc register to route uart output, so please suggest what is the best ways to do the same. Is there any application or driver interface available which can be used to set some lpc register like 0x1E78909C.

Regards
-Vijay
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ozlabs.org/pipermail/openbmc/attachments/20190123/a290a090/attachment.html>


More information about the openbmc mailing list