Commit Graph

326 Commits

Author SHA1 Message Date
c7zero 16af0c7dfd More operation in chipsec_util reg command (#238)
* More operation in chipsec_util reg command

Added write, read_field, write_field, get_control, set_control
operations

* reg read util command updated

Returned back "chipsec_util reg read" syntax and added tests.

* Commented out test_reg_get_control

Need to implement get_MMIO_BAR_base_address or read_pci_reg for SPIBAR
in mock_helper.py
2017-07-20 13:05:51 -07:00
Thiebaud Weksteen 5f6451e8ea Fix version displayed in chipsec_utils 2017-06-23 11:24:20 -07:00
Oleksandr Bazhaniuk c2e7d7f5c4 fix mem read in kernel 4.8+ 2017-06-23 11:23:47 -07:00
Erik Bjorge b630416b38 Updating to post release version number. 2017-06-09 18:01:43 -07:00
Erik Bjorge a822099700 Release version 1.3.1 v1.3.1 2017-06-09 17:03:40 -07:00
andrew-furtak 74fd90a77f #229 fix. Parameters passing fixed for _swsmi (#235) 2017-06-09 15:03:07 -07:00
BrentHoltsclaw 279370cb9b Added fix for issue #233 2017-06-09 11:56:14 -07:00
BrentHoltsclaw 33b97c67f1 Added fix for issue #204 2017-06-09 11:08:05 -07:00
Erik Bjorge ece76e3d0b Fixed chipsec_util decode types (#232) 2017-06-08 18:42:55 -07:00
Erik Bjorge a1a338b1be Updated code used to load configuration files. (#220)
Configuration files loaded in following order.
1. Common
2. Platform
3. Other

Also enforced a consistent (alphabetical) load order.
2017-06-08 14:04:28 -07:00
Erik Bjorge 8910c3acb9 Fixed detection of successful SMBUS transactions. (#213) 2017-05-31 09:36:40 -07:00
Erik Bjorge b1fe88f05b Fixed print_register when using mm_msgbus registers. 2017-05-16 09:55:48 -07:00
Erik Bjorge e05dd208e3 Updated BUC register definition to use sideband access. (#219)
For 100/200 series PCH the BUC is accessed via sideband and not RCBA.
2017-05-09 22:56:33 -07:00
Thiébaud Weksteen 9240e1aa58 Add register util command (#217) 2017-05-09 22:55:32 -07:00
Erik Bjorge 6a1735ab94 Adding public processor information. 2017-05-09 12:11:11 -07:00
Thiébaud Weksteen d6ee2baaaa Move to Trusty for Travis build (#216) 2017-05-08 22:36:25 -07:00
Erik Bjorge 15bdde362d Added MMIO MSGBUS specific interface. (#210)
Added a selectable MMIO based MSGBUS interface that can be selected by
tests or the configuration register type.
2017-05-08 22:22:01 -07:00
Thiébaud Weksteen bdea49936a Remove unused __version__ (#215) 2017-05-08 22:17:35 -07:00
Aaron Frinzell ebe8458dec read_register() cpu_thread support (#211)
Complete cpu_thread support in read_register()
2017-05-01 00:59:09 -07:00
Erik Bjorge c753453679 Updated code to append additional version information. (#209)
If any additional version information is available for a custom release
it will be appended to the end of version string.
2017-05-01 00:56:34 -07:00
c7zero 187e93b57f Updated README and added Erik Bjorge to AUTHORS (#206) 2017-05-01 00:54:13 -07:00
abazhaniuk 81310df94d fix ascii symbols in uefi decode command (#205) 2017-04-22 10:56:53 -10:00
andrew-furtak f826cb0e78 PFS support and parsing fixes. (#196) 2017-04-21 06:34:41 -10:00
abazhaniuk 1c09ea5ada fix issue with building driver on 32bit system (#203) 2017-04-21 06:34:25 -10:00
Thiébaud Weksteen 3fdf95e572 Remove unused read_chunk (#201) 2017-04-20 16:03:33 +10:00
Erik Bjorge 45dc8d63de Fixing RC access for 100 and 200 series chipsets. (#202)
The RC register is no longer accessed using the RCBA.  It is now
accessed using the sideband message bus.
2017-04-19 18:43:27 -10:00
Erik Bjorge c275c0f502 Add MMIO register access for P2SB. 2017-04-19 09:55:26 -07:00
c7zero 82d65590e0 Sphinx sources for chipsec-manual (#185) 2017-04-16 10:31:17 -10:00
abazhaniuk 8679a9ad06 fix bugs during decompression (#192) 2017-04-16 10:30:57 -10:00
abazhaniuk c073549f0f fix to setup.py: add compression to source package (#191) 2017-04-16 10:30:40 -10:00
timb-machine 45603c15e5 Cleaned up PR (#188)
Fixed dependencies
v1.3.0
2017-03-28 12:12:11 -10:00
Erik Bjorge c2dae77a5f Fixed missing shutil import. (#190)
Signed-off-by: Erik Bjorge <erik.c.bjorge@intel.com>
2017-03-28 12:09:58 -10:00
c7zero 4ba7c506b9 Now in alphabetical order 2017-03-24 00:46:51 -07:00
c7zero ab710a052a Removed Ntfs detection by ui_string
Removed Ntfs.efi detection by name (ui_string) to eliminate false
positives on firmware which has Ntfs.efi DXE driver.

Also, rkloader's and ntfs's GUIDs were swapped. Fixed.
2017-03-23 15:44:34 -07:00
c7zero 470c59a4e4 Added chipsec-dev and chipsec-users groups 2017-03-22 02:06:26 -07:00
c7zero 5c5ae294eb Updated version and manual 2017-03-20 18:08:42 -07:00
c7zero 5102229c6a Workaround for module errors on macOS (#184)
- added is_macos()
- calling is_macos in modules which require functionality not yet
implemented by osx helper such as MSR, port IO and EFI variables
- added EFI_supported always returning False in osx helper to skip
modules requiring EFI runtime API
2017-03-18 10:39:18 -07:00
c7zero 0ad817d479 Fix --no_driver option on macOS (#181) 2017-03-17 01:04:25 -07:00
Erik Bjorge 504c2515c5 Fixed exception when running tools.smm.smm_ptr in UEFI Shell. (#182)
Exception was caused by efi.allocphysmem returning a tuple but the
helper code was expecting a numeric value.  Updated UEFI helper code to
select the correct value in the tuple.

Signed-off-by: Erik Bjorge <erik.c.bjorge@intel.com>
2017-03-16 11:42:16 -07:00
andrew-furtak 8e29097fad Igd fix (#180)
* IGD hal component added. igddma utility command added.

* Documentation added. Fixed file io for igd

* Deffered graphics device identification. Added check to igd cmd module for enabled device.

* Device 2 device id register renamed. Device id read with pci replaced with read_register

* Fixed typo

* Fixed read/write across page boundaries

* Fixed read/write across page boundaries. Offset refactoring
2017-03-16 04:00:39 -07:00
johnloucaides 70abd3ad54 add decompress functionality to osx environment (#179) 2017-03-15 17:18:18 -07:00
johnloucaides 17f9c0cf53 handle mmio writes of size != 4 (#178) 2017-03-15 13:50:13 -07:00
andrew-furtak 17a306677c Merge pull request #177 from andrew-furtak/typo
Typo fixed
2017-03-14 12:32:06 -07:00
Andrew Furtak 3d82def442 Typo fixed 2017-03-14 12:14:11 -07:00
Thiébaud Weksteen eac5b46cf6 Disable forced signature when building MacOS driver (#175) 2017-03-14 00:38:32 -07:00
c7zero f3832b45b0 New tools.smm.rogue_mmio_bar module (#168)
Experimental module to help finding vulnerabilities described in "BARing
the System: New vulnerabilities in Coreboot & UEFI based systems" talk
at RECon Brussels 2017

(http://www.intelsecurity.com/advanced-threat-research/content/data/REConBrussels2017_BARing_the_system.pdf)
2017-03-12 22:48:37 -07:00
citypw 4070fcd6af Added Xeon E3-1230 v5 processor device ID (#165)
* Added Xeon E3-1230 v5 processor device ID

Signed-off-by: citypw <citypw@gmail.com>

* Update the longname: Xeon Processor E3 v5 (Skylake CPU / Sunrise Point PCH)
2017-03-12 22:48:09 -07:00
c7zero ca6c741d0d Fixed unimplemented map_io_space in OSX helper (#167) 2017-03-11 14:33:11 -08:00
c7zero 2fbb7a4eeb Simple EFI firmware white-listing module (#164)
tools.uefi.whitelist is a simple module for EFI firmware that allows modifications done to the firmware executables

The module can generate a list of EFI executables from (U)EFI firmware file or extracted from flash ROM, and then later check firmware image in flash ROM or file against this list of [expected/whitelisted] executables
2017-03-08 21:03:41 -08:00
CHIPSEC 21dc4bbd81 Merge pull request #155 from andrew-furtak/rwe
ReadWrite Everything helper added.
2017-03-08 18:24:49 -08:00