Nathaniel Mitchell
00ba41226e
Update to 1.11.0
...
Signed-off-by: Nathaniel Mitchell <nathaniel.p.mitchell@intel.com >
1.11.0
2023-05-31 09:40:42 -07:00
Frinzell, Aaron
5484e6e7e4
Fix search_efi_tree() return in spi_uefi.py
...
Signed-off-by: Frinzell, Aaron <aaron.frinzell@intel.com >
2023-05-31 09:29:04 -07:00
Nicolas Iooss
72121ae8a2
Make chipsec.init() resilient to platform with unknown VID/DID
...
If the vendor ID or the device ID returned by `detect_platform()` is not
known in `chipset_dictionary`, accessing
`self.chipset_dictionary[vid][did]` raises a `KeyError` exception. To
prevent this, use the variables `vid_found` and `did_found` before
accessing `self.chipset_dictionary[vid][did]`.
Signed-off-by: Nicolas Iooss <nicolas.iooss_git@polytechnique.org >
2023-05-30 16:38:44 -07:00
Nicolas Iooss
53fd93f946
Fix spidesc table of Master Read/Write Access to Flash Regions
...
Currently, `chipsec_util.py spidesc spi_rom.bin` displays:
Master Read/Write Access to Flash Regions
--------------------------------------------------------
Region | CPU | ME
--------------------------------------------------------
f{r:-2d} {spi.SPI_REGION_NAMES[r]:20s} | |
The `f` was not positioned correctly in the formatted string.
Signed-off-by: Nicolas Iooss <nicolas.iooss_git@polytechnique.org >
2023-05-30 16:38:18 -07:00
Frinzell, Aaron
2492224be0
Fix circular dependency with get_datetime_str()
...
Signed-off-by: Frinzell, Aaron <aaron.frinzell@intel.com >
2023-05-30 16:37:39 -07:00
Nathaniel Mitchell
745ae9084e
Clean up HALs and Helpers
...
Signed-off-by: Nathaniel Mitchell <nathaniel.p.mitchell@intel.com >
2023-05-26 18:33:08 -07:00
Nathaniel Mitchell
0016b0c14c
Clean up oshelper
...
Signed-off-by: Nathaniel Mitchell <nathaniel.p.mitchell@intel.com >
2023-05-26 18:32:51 -07:00
Frinzell, Aaron
04f1948571
Add write_unique_file()
...
Signed-off-by: Frinzell, Aaron <aaron.frinzell@intel.com >
2023-05-26 16:23:26 -07:00
Dan Scott
45f945c760
Add typehints and fstrings to cmos_cmd.py
...
Signed-off-by: Dan Scott <dan.scott@intel.com >
2023-05-26 12:03:28 -07:00
Frinzell, Aaron
54789d6f51
Add cpu.py unit tests
...
Signed-off-by: Frinzell, Aaron <aaron.frinzell@intel.com >
2023-05-24 16:37:35 -07:00
Plato Mavropoulos
cb52a09c06
Removed old incomplete logic which attempts to parse Dell PFS proprietary format
...
3rd-party utilities exist (e.g. Dell PFS Update Extractor) to handle Dell PFS prior to Chipsec
2023-05-24 16:37:08 -07:00
Dan Scott
8746808990
Add typehints and fstrings to config_cmd.py
...
Signed-off-by: Dan Scott <dan.scott@intel.com >
2023-05-24 16:36:24 -07:00
Dan Scott
77dc15f900
Add typehints and fstrings to config_cmd.py
...
Signed-off-by: Dan Scott <dan.scott@intel.com >
2023-05-24 16:36:24 -07:00
brentholtsclaw
fd4cc4bb3f
Remove get_cpuid() from chipsec_main
...
is called. This moves cpuid to a variable within the Chipset
class.
Signed-off-by: brentholtsclaw <brent.holtsclaw@intel.com >
2023-05-23 16:42:45 -07:00
Frinzell, Aaron
e1f8e20858
Update Running-Chipsec.rst to include .run()
...
Signed-off-by: Frinzell, Aaron <aaron.frinzell@intel.com >
2023-05-23 16:38:56 -07:00
Frinzell, Aaron
1ff14fd642
Add .run() commands to chipsec_main.py and chipsec_util.py
...
Signed-off-by: Frinzell, Aaron <aaron.frinzell@intel.com >
2023-05-22 16:38:13 -07:00
Nathaniel Mitchell
89be1b4ad8
Remove native and add linuxnative as seperate helper
...
Signed-off-by: Nathaniel Mitchell <nathaniel.p.mitchell@intel.com >
2023-05-17 16:36:30 -07:00
Frinzell, Aaron
387afebaa8
Update ucode upload support in dalhelper.py
...
Signed-off-by: Frinzell, Aaron <aaron.frinzell@intel.com >
2023-05-17 16:36:04 -07:00
dscott90
68e7588bdf
Update file.py
2023-05-16 16:39:11 -07:00
Dan Scott
b2bd766a4b
Close file if exception thrown during read
...
Signed-off-by: Dan Scott <dan.scott@intel.com >
2023-05-16 16:39:11 -07:00
Nicolas Iooss
028b7e44f4
Intel TXT: fix some misspellings
...
Bit 32 of TXT_E2STS is defined as `UINT32 Reset_Policy : 1;` in the
SEAM Loader
(https://www.intel.de/content/www/de/de/download/738874/intel-trust-domain-extension-intel-tdx-loader.html
file `np-seam-loader/seamldr_src/Core/Include/common.h`).
There was also a spelling mistake in the description of field `TPM_IF`.
Signed-off-by: Nicolas Iooss <nicolas.iooss_git@polytechnique.org >
2023-05-16 16:38:46 -07:00
Nicolas Iooss
666f085811
drivers/linux: increase the possible length of symbols
...
In Linux 6.1, `KSYM_NAME_LEN` was increased to 512 because "at the
moment, Rust symbols may reach up to 300 in length", according to
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/include/linux/kallsyms.h?id=b8a94bfb33952bb17fbc65f8903d242a721c533d
Even though the version of `chipsec_lookup_name` which parses the
content of `/proc/kallsyms` is limited to kernels older than 5.10,
increase the size of the stack buffer to prevent possible issues.
Signed-off-by: Nicolas Iooss <nicolas.iooss_git@polytechnique.org >
2023-05-16 16:38:39 -07:00
Dan Scott
7db7f32b2c
Add typehints and fstrings to acpi_cmd.py
...
Signed-off-by: Dan Scott <dan.scott@intel.com >
2023-05-10 16:47:52 -07:00
Jason Zhou
80ce7df145
remove the 0x3e3x dev id from cometlake
...
Signed-off-by: Jason Zhou <jun2.zhou@intel.com >
2023-05-10 16:38:41 -07:00
Nathaniel Mitchell
c1cdac49b3
Remove osx helper and driver
...
Signed-off-by: Nathaniel Mitchell <nathaniel.p.mitchell@intel.com >
2023-05-10 16:38:26 -07:00
Frinzell, Aaron
5e42ac8c36
CHIPSEC_LOADED_AS_EXE support deprecated
...
Signed-off-by: Frinzell, Aaron <aaron.frinzell@intel.com >
2023-05-10 11:02:35 -07:00
brentholtsclaw
244d6c1355
Attempt to fix windows compiler error
...
Signed-off-by: brentholtsclaw <brent.holtsclaw@intel.com >
2023-05-10 08:22:39 -07:00
brentholtsclaw
9e2982cc7b
Add LZMAF86
...
Found that F86 option adds a conversion routine prior to encode and post
decode. Added the functionality to the EfiCompressor code within
chipsec_tools.
Signed-off-by: brentholtsclaw <brent.holtsclaw@intel.com >
2023-05-10 08:22:39 -07:00
Nathaniel Mitchell
f458f8494a
Add flag and check for efi_var_enhanced_auth_access
...
Signed-off-by: Nathaniel Mitchell <nathaniel.p.mitchell@intel.com >
2023-05-09 16:39:30 -07:00
Frinzell, Aaron
a48ad69273
Remove deprecated log_skipped()
...
Signed-off-by: Frinzell, Aaron <aaron.frinzell@intel.com >
2023-05-09 16:39:21 -07:00
Nicolas Iooss
9094629caa
Intel TXT: add register definitions from the SEAM Loader
...
Intel published the names of more registers in the source code of the
SEAM (Secure Arbitration Mode) Loader used in TDX (Intel Trust Domain
Extensions). It was previously available on
https://github.com/intel/seam-loader/blob/eadff76d36d214419c801f1cee1828ea437c91a5/np-seam-loader/seamldr_src/Core/Include/common.h#L573-L726
This repository has been removed and its content moved to a ZIP archive
hosted on
https://www.intel.de/content/www/de/de/download/738874/intel-trust-domain-extension-intel-tdx-loader.html
(tdx-loader-v1.0.01.01.zip contains
seam-loader-main/seam-loader-main/np-seam-loader/seamldr_src/Core/Include/common.h).
Some old bits were also documented in Intel® Xeon® Processor 3400 Series
Datasheet – Volume 2 (January 2010, Document Number: 322372-002). It can
be downloaded on
https://usermanual.wiki/m/0f9860c7501c379fd53b7963aa41cbb7911ac71732b0ba044a8c5820b3042cfd.pdf
and defines the registers in sections "3.6 Intel® Trusted Execution
Technology (Intel® TXT) Register Map".
Integrate all these names to Intel TXT register space.
There are some inconsistencies. For example the datasheet documents
"TXT.ALIAS.FAULT" as bit 5 of TXT.ESTS while the SEAM Loader defines
"UINT32 Aliasi_Fault : 1;" in structure REG_ESTS. This "i" is probably
a typo.
Signed-off-by: Nicolas Iooss <nicolas.iooss_git@polytechnique.org >
2023-05-09 16:38:44 -07:00
Nathaniel Mitchell
99f9052438
Remove filehelper
...
Signed-off-by: Nathaniel Mitchell <nathaniel.p.mitchell@intel.com >
2023-05-09 16:38:36 -07:00
Nathaniel Mitchell
9b4c5d1427
Update UEFI Shell Python binary to reflect EDK2 updates
...
Signed-off-by: Nathaniel Mitchell <nathaniel.p.mitchell@intel.com >
2023-05-09 16:38:12 -07:00
Jason Zhou
c7b6d2c92d
move did="0x9D85" name="LP-U" code="PCH_3xxLP" to pub repo
...
Signed-off-by: Jason Zhou <jun2.zhou@intel.com >
2023-05-09 16:37:38 -07:00
Nathaniel Mitchell
46b226f4b9
Fix helpers to return correct value for swsmi util
...
Signed-off-by: Nathaniel Mitchell <nathaniel.p.mitchell@intel.com >
2023-05-09 16:37:19 -07:00
Nathaniel Mitchell
1faf5cd25b
Update flask per vulnerability
...
Signed-off-by: Nathaniel Mitchell <nathaniel.p.mitchell@intel.com >
2023-05-08 16:37:01 -07:00
Frinzell, Aaron
2e9977bdc1
Update qemu_efi.py for code port
...
Signed-off-by: Frinzell, Aaron <aaron.frinzell@intel.com >
2023-05-08 09:27:49 -07:00
Frinzell, Aaron
2816f57556
Update UWBwithUEFIShell.rst manual page for code port
...
Signed-off-by: Frinzell, Aaron <aaron.frinzell@intel.com >
2023-05-08 09:27:35 -07:00
Frinzell, Aaron
b2ee2fffdc
Remove Python EFI Shell code
...
Signed-off-by: Frinzell, Aaron <aaron.frinzell@intel.com >
2023-05-08 09:27:07 -07:00
nstarke
b41a2bfd61
Removing extraneous variable left over from when this function handled strings
2023-05-08 09:26:24 -07:00
nstarke
f46c07f2df
Bug fixes for SPI Write. Fixes #1775
2023-05-08 09:26:24 -07:00
nstarke
61fcd60637
Fixing broken 'intelsecurity.com' link with wayback link
2023-05-08 09:05:13 -07:00
nstarke
40754bd0c7
ading 2.80 system table revision to fix 'uefi tables' from not working on new platform
2023-05-08 09:04:57 -07:00
Dan Scott
e250693fff
Add pycryptodome to windows requirements list
...
Signed-off-by: Dan Scott <dan.scott@intel.com >
2023-05-08 09:03:22 -07:00
Nathaniel Mitchell
d08fb0f96b
Update to 1.10.6
...
Signed-off-by: Nathaniel Mitchell <nathaniel.p.mitchell@intel.com >
1.10.6
2023-05-05 15:56:14 -07:00
Nathaniel Mitchell
fad091ea7e
Fix issue in shell for updated helper loading method
...
Signed-off-by: Nathaniel Mitchell <nathaniel.p.mitchell@intel.com >
2023-05-05 15:40:01 -07:00
Nathaniel Mitchell
8962072378
Update to 1.10.5
...
Signed-off-by: Nathaniel Mitchell <nathaniel.p.mitchell@intel.com >
1.10.5
2023-04-27 09:46:26 -07:00
Nathaniel Mitchell
6f7f97753e
Add workaround if lzma is not importable.
...
Signed-off-by: Nathaniel Mitchell <nathaniel.p.mitchell@intel.com >
2023-04-26 16:52:43 -07:00
Nathaniel Mitchell
4b9ab99839
Change the way helper loading is done
...
Signed-off-by: Nathaniel Mitchell <nathaniel.p.mitchell@intel.com >
2023-04-26 16:52:26 -07:00
Nathaniel Mitchell
814995e345
Rename win7 driver/helper to windows
...
Signed-off-by: Nathaniel Mitchell <nathaniel.p.mitchell@intel.com >
2023-04-26 16:52:26 -07:00