2019-05-29 16:28:08 +03:00
2019-05-29 16:28:08 +03:00
2018-09-03 18:27:44 +03:00
2018-08-24 21:10:41 +03:00
2018-09-03 18:28:37 +03:00

pmh7tool

This is a tool to dump, read from, write to PMH7 registers on Lenovo ThinkPad laptops.

This tool is a part of the coreboot project.

Usage

-h, --help:  print help
-d, --dump:  hexdump registers
-w, --write <addr> <data>:  write <data> to register <addr>
-r, --read <addr>:  read from register <addr>
-b, --read-bit <addr> <bit>: read bit <bit> in register <addr>
-c, --clear-bit <addr> <bit>: clear bit <bit> in register <addr>
-s, --set-bit <addr> <bit>: set bit <bit> in register <addr>

Attention

Writing to PMH7 registers is very dangerous, as you directly manipulate the power rails, enable lines, interrupt lines or something else of the device. Proceed with caution.

Description
No description provided
Readme 36 KiB
Languages
C 83.1%
Makefile 12.6%
Shell 4.3%