Files
Erik Bjorge 8f68d03cc8 Update DAL install instructions
Signed-off-by: Erik Bjorge <erik.c.bjorge@intel.com>
2018-11-11 19:15:00 -08:00

79 lines
1.5 KiB
ReStructuredText
Raw Permalink Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
.. toctree::
DAL Windows Installation
========================
#. Install Intel System Studio
Should include Python
#. Install pywin32 and setuptools packages:
``pip install setuptools``
``pip install pypiwin32``
#. Clone CHIPSEC source:
``git clone https://github.com/chipsec/chipsec``
#. Install CHIPSEC support:
Manually install CHIPSEC as a package:
``python setup.py install``
#. Connect and halt platform:
Connect and set up debugger to system.
#. Import and run CHIPSEC main
#. Launch a python Command-line.
#. Import the chipsec_main module
>>> import chipsec_main
#. Run standard CHIPSEC modules:
>>> chipsec_main.main()
Example command-lines:
Run a specific module:
>>> chipsec_main.main([-m, common.bios_wp])
Generate a log file:
>>> chipsec_main.main([-l,test.log])
Note: the test.log file can be found in ``C:\intel\DAL``
#. Import and run CHIPSEC util
#. Launch a python Command-line.
#. Import the IPC CLI module
>>> import ipccli
#. Import the chipsec_util module
>>> import chipsec_util
#. Run CHIPSEC util and list available commands:
>>> chipsec_util.main()
Example command-lines:
Read SPI info…
>>> chipsec_util.main([spi, info])
Read MSR…
>>> chipsec_util.main([msr, 0x1f2])