Commit Graph

1504 Commits

Author SHA1 Message Date
Nathaniel Mitchell c196004a2e Fix loading to run some utiles that do not require cfg/driver
Signed-off-by: Nathaniel Mitchell <nathaniel.p.mitchell@intel.com>
2024-09-19 23:59:50 -07:00
Nathaniel Mitchell 34a80ddbf2 Update check for invalid mmio BA value to see if it is all FFs
Signed-off-by: Nathaniel Mitchell <nathaniel.p.mitchell@intel.com>
2024-09-17 16:35:48 -07:00
Sara Batllori bd074e1fdd Reset is_ba_invalid flag when using fixed address
Signed-off-by: Sara Batllori <sara.batllori@intel.com>
2024-09-16 16:34:08 -07:00
Frinzell, Aaron 422c7fbbf6 Add gil status reporting
Signed-off-by: Frinzell, Aaron <aaron.frinzell@intel.com>
2024-09-10 16:39:09 -07:00
Frinzell, Aaron 2181416bd9 Update type hints
Signed-off-by: Frinzell, Aaron <aaron.frinzell@intel.com>
2024-09-10 16:38:28 -07:00
ChipSec ce3379cc20 Update to 1.13.5 (#2281)
* Update to 1.13.5

Signed-off-by: Chipsec <chipsec@intel.com>

* update manual

Signed-off-by: Chipsec <chipsec@intel.com>

---------

Signed-off-by: Chipsec <chipsec@intel.com>
Co-authored-by: Chipsec <chipsec@intel.com>
2024-08-28 16:51:21 -07:00
Frinzell, Aaron 926f9da4f6 Helper fstrings
Signed-off-by: Frinzell, Aaron <aaron.frinzell@intel.com>
2024-08-28 13:58:42 -07:00
Frinzell, Aaron 653c5f787c Cleanup library
Signed-off-by: Frinzell, Aaron <aaron.frinzell@intel.com>
2024-08-28 13:57:27 -07:00
Frinzell, Aaron af4ea12204 Replace prints
Signed-off-by: Frinzell, Aaron <aaron.frinzell@intel.com>
2024-08-28 10:04:33 -07:00
Dan Scott b203f27ab4 Change MSR_SMM field to all caps
Signed-off-by: Dan Scott <dan.scott@intel.com>
2024-08-28 09:45:12 -07:00
Plato Mavropoulos 84fd880899 Fixes to scan_image module 2024-08-27 16:40:07 -07:00
Plato Mavropoulos 02566c72b2 Fixed fwtype hint to allow NoneType 2024-08-27 16:39:57 -07:00
Frinzell, Aaron aa7fc5d145 Clean up cpu modules
Signed-off-by: Frinzell, Aaron <aaron.frinzell@intel.com>
2024-08-26 16:40:18 -07:00
Frinzell, Aaron a7f8e31373 Update common_module.py
Signed-off-by: Frinzell, Aaron <aaron.frinzell@intel.com>
2024-08-26 16:40:01 -07:00
Frinzell, Aaron fb3c58d5f5 Clean up variables.py
Signed-off-by: Frinzell, Aaron <aaron.frinzell@intel.com>
2024-08-26 16:39:44 -07:00
Frinzell, Aaron da8ff136bf Clean up common modules
Signed-off-by: Frinzell, Aaron <aaron.frinzell@intel.com>
2024-08-26 16:39:27 -07:00
Nathaniel Mitchell 6e43a6edae Fix record/replay helpers to capture exceptions
Signed-off-by: Nathaniel Mitchell <nathaniel.p.mitchell@intel.com>
2024-08-26 16:38:52 -07:00
Dan Scott f19760c63c Replace print() with logger.log()
Signed-off-by: Dan Scott <dan.scott@intel.com>
2024-08-05 16:35:54 -07:00
ChipSec 4e24c41462 Update to 1.13.4 (#2246)
* Update to 1.13.4

Signed-off-by: Chipsec <chipsec@intel.com>

* update manual

Signed-off-by: Chipsec <chipsec@intel.com>

---------

Signed-off-by: Chipsec <chipsec@intel.com>
Co-authored-by: Chipsec <chipsec@intel.com>
2024-07-30 15:47:36 -07:00
dscott90 7107ec5846 Revert "Update to 1.13.4 (#2244)"
This reverts commit 5c928ddbff.
2024-07-30 15:38:23 -07:00
ChipSec 5c928ddbff Update to 1.13.4 (#2244)
* Update to 1.13.4
* update manual

Signed-off-by: Chipsec <chipsec@intel.com>
2024-07-30 15:24:07 -07:00
jun2zhou 2f6e680c81 Remove empty () for helper banner (#2236)
* remove empty () for simic banner
* Move () to specified helper
---------

Signed-off-by: Jason Zhou <jun2.zhou@intel.com>
2024-07-30 14:22:31 -07:00
Nathaniel Mitchell 1d3574043e Add try/except block when copying BARs in rogue_mmio_bar tool
Signed-off-by: Nathaniel Mitchell <nathaniel.p.mitchell@intel.com>
2024-07-30 14:16:23 -07:00
Nathaniel Mitchell aedaa7531f Fix bug when msgbus_cmd returns wrong value type in windows
Signed-off-by: Nathaniel Mitchell <nathaniel.p.mitchell@intel.com>
2024-07-30 14:12:32 -07:00
Nathaniel Mitchell 591c10ec75 Fix missing size when doing ec dump
Signed-off-by: Nathaniel Mitchell <nathaniel.p.mitchell@intel.com>
2024-07-30 11:37:34 -07:00
Nicolò Boatto c646ee4550 Add Meteor Lake SPI support. 2024-07-29 16:39:06 -07:00
brentholtsclaw d3593a7fc4 Update list_IO_BARs function
Function was not properly utilizing bus structure and would not print
out all associated bars

Signed-off-by: brentholtsclaw <brent.holtsclaw@intel.com>
2024-07-29 16:38:29 -07:00
Plato Mavropoulos 5ed2f43721 Color command is Windows-only
It may be needed to enable ANSI color sequences for earlier builds of Windows 10 or older.

From online reports, it would appear that even an empty command will have the same effect ("" instead of "color").
2024-07-23 16:41:39 -07:00
Plato Mavropoulos 8bb1934a88 Add error message when UEFI compression modules are missing
https://github.com/chipsec/chipsec/issues/1925
2024-07-23 16:40:59 -07:00
Nathaniel Mitchell 23f2eb517e Update Linux max phys mem write size from 0xFFFF to 0xFFFFFFFF
Signed-off-by: Nathaniel Mitchell <nathaniel.p.mitchell@intel.com>
2024-07-23 16:40:17 -07:00
Carles Pey 9f84abac9c smm_ptr: Add SMI contention check to the scan mode
Signed-off-by: Carles Pey <carles.pey@nccgroup.com>
2024-07-16 16:39:41 -07:00
Nathaniel Mitchell 1eae6e0aa3 Quite the pci enum func when --hal flag is set
Signed-off-by: Nathaniel Mitchell <nathaniel.p.mitchell@intel.com>
2024-07-16 16:38:28 -07:00
BrentHoltsclaw 8925f986ec Move UEFI decode logging to hal level for warnings and errors (#2221)
* Move UEFI decode logging to hal level for warnings and errors

Address #2028 by moving additional logging of parsing to log_hal

Signed-off-by: brentholtsclaw <brent.holtsclaw@intel.com>
2024-07-16 16:38:00 -07:00
Dan Scott e1a25f65d6 Update req_pch field in mtl configuration
Signed-off-by: Dan Scott <dan.scott@intel.com>
2024-07-16 16:37:10 -07:00
Jason Zhou 1be3edf6de Add remap lock bit condition check
Signed-off-by: Jason Zhou <jun2.zhou@intel.com>
2024-07-16 16:36:51 -07:00
brentholtsclaw 9ffa47f41a Check padding of NVRAM FV
Address issue #2197 by adding logic to check for padding within NVRAM
FV.
Also address logic error when checking padding offset.

Signed-off-by: brentholtsclaw <brent.holtsclaw@intel.com>
2024-07-15 16:40:07 -07:00
brentholtsclaw 4bd75bf873 Fix logic error in save_efi_tree_filetype function
Signed-off-by: brentholtsclaw <brent.holtsclaw@intel.com>
2024-07-15 16:39:27 -07:00
ChipSec 4ca05a5a41 Update to 1.13.3 (#2210)
* Update to 1.13.3

Signed-off-by: Chipsec <chipsec@intel.com>

* update manual

Signed-off-by: Chipsec <chipsec@intel.com>

---------

Signed-off-by: Chipsec <chipsec@intel.com>
Co-authored-by: Chipsec <chipsec@intel.com>
2024-06-28 16:37:18 -07:00
Nathaniel Mitchell 1efdde146b Add get_max_memory_bit_size to physmem hal 2024-06-27 14:54:19 -07:00
Nathaniel Mitchell e397aca0f9 Update mmio to check if Base Address is valid
Signed-off-by: Nathaniel Mitchell <nathaniel.p.mitchell@intel.com>
2024-06-27 14:54:01 -07:00
Sae86 c6756053e2 Add updates to logger: remove Wconio dependency, fix logs folder location
Signed-off-by: Sae86 <sara.batllori@intel.com>
2024-06-26 16:14:42 -07:00
Dan Scott 5b655c7364 Refactor testcase.py file 2024-06-26 16:00:06 -07:00
Nathaniel Mitchell 016b3b50e4 Fix case of SMM_CODE_CHK_EN field
Signed-off-by: Nathaniel Mitchell <nathaniel.p.mitchell@intel.com>
2024-06-24 16:37:00 -07:00
Sae86 c57dd57612 Update GTTMMADR in mtl.xml
Signed-off-by: Sae86 <sara.batllori@intel.com>
2024-06-17 16:35:01 -07:00
Frinzell, Aaron 7c802e494e Replace getcwd with get_main_dir
Signed-off-by: Frinzell, Aaron <aaron.frinzell@intel.com>
2024-06-04 11:41:47 -05:00
jun2zhou 59f9144750 Add TE test download prompt (#2183)
* Add TE test Poe version Shell.efi download prompt

Signed-off-by: Jason Zhou <jun2.zhou@intel.com>

---------

Signed-off-by: Jason Zhou <jun2.zhou@intel.com>
Co-authored-by: Nathaniel Mitchell <nathaniel.p.mitchell@intel.com>
Co-authored-by: dscott90 <dan.scott@intel.com>
2024-06-03 16:37:40 -07:00
Nathaniel Mitchell 27940020be Fix pcie_fuzz when trying to print devices
Signed-off-by: Nathaniel Mitchell <nathaniel.p.mitchell@intel.com>
2024-06-03 16:34:59 -07:00
Jason Zhou 976565e63d Remove bins from pub repo addessing the security scan warnning
Signed-off-by: Jason Zhou <jun2.zhou@intel.com>
2024-06-03 16:34:34 -07:00
ChipSec 8163a864ac Update to 1.13.2 (#2175)
* Update to 1.13.2

Signed-off-by: Chipsec <chipsec@intel.com>

* update manual

Signed-off-by: Chipsec <chipsec@intel.com>

---------

Signed-off-by: Chipsec <chipsec@intel.com>
Co-authored-by: Chipsec <chipsec@intel.com>
2024-05-29 16:17:31 -07:00
Dan Scott a4d6e075e4 Add Meteor Lake Support 2024-05-29 10:50:59 -07:00