Nathaniel Mitchell
4ce4ebc56c
Update to 1.10.1
...
Signed-off-by: Nathaniel Mitchell <nathaniel.p.mitchell@intel.com >
1.10.1
2023-01-25 12:33:55 -08:00
Audrey Dutcher
747cba18a6
Remove bytestostring call in edk2.writemem
2023-01-25 12:10:42 -08:00
Dan Scott
47fed065b3
Add RaptorLake configuration
...
Signed-off-by: Dan Scott <dan.scott@intel.com >
2023-01-25 11:05:56 -08:00
Frinzell, Aaron
f6495edc74
Bring back print_banner() and print_banner_properties()
...
Signed-off-by: Frinzell, Aaron <aaron.frinzell@intel.com >
2023-01-25 10:42:41 -06:00
Frinzell, Aaron
4f4b82597d
Decouple banner routines from logger.py
...
Signed-off-by: Frinzell, Aaron <aaron.frinzell@intel.com >
2023-01-25 10:42:41 -06:00
Frinzell, Aaron
bec289246d
Fix Type Hints in testcase.py
...
Signed-off-by: Frinzell, Aaron <aaron.frinzell@intel.com >
2023-01-25 10:42:13 -06:00
Nathaniel Mitchell
da2ea9532f
Remove old docker images that are not active and add some new ones
...
Signed-off-by: Nathaniel Mitchell <nathaniel.p.mitchell@intel.com >
2023-01-24 16:39:46 -08:00
Nathaniel Mitchell
21691ce214
Add *.log to .gitignore
...
Signed-off-by: Nathaniel Mitchell <nathaniel.p.mitchell@intel.com >
2023-01-24 13:19:25 -08:00
brentholtsclaw
2c31254a61
Change level code
...
level class was moved outside of logger class in #1646
Signed-off-by: brentholtsclaw <brent.holtsclaw@intel.com >
2023-01-23 16:54:37 -08:00
brentholtsclaw
33e193b0ba
Disable chipsecLogger propogate
...
Signed-off-by: brentholtsclaw <brent.holtsclaw@intel.com >
2023-01-19 13:22:23 -08:00
brentholtsclaw
cc479e6891
Amend chipsecstreamlogger logic
...
Signed-off-by: brentholtsclaw <brent.holtsclaw@intel.com >
2023-01-19 13:22:23 -08:00
brentholtsclaw
81caf7b056
Update python color logic
...
Signed-off-by: brentholtsclaw <brent.holtsclaw@intel.com >
2023-01-19 13:22:23 -08:00
brentholtsclaw
845a7a8031
Address comments
...
Signed-off-by: brentholtsclaw <brent.holtsclaw@intel.com >
2023-01-19 13:22:23 -08:00
brentholtsclaw
a0e4186d9c
Change logger to use formatter
...
Add two formatting classes for stream and logfile
Add filter to apply additional labels based upon logging level
Signed-off-by: brentholtsclaw <brent.holtsclaw@intel.com >
2023-01-19 13:22:23 -08:00
Nathaniel Mitchell
47bc4b2198
Fix issue with modifying variables in variables.py
...
Signed-off-by: Nathaniel Mitchell <nathaniel.p.mitchell@intel.com >
2023-01-18 17:42:42 -08:00
Frinzell, Aaron
ceb2f77e8b
Add Type Hints and move to fstrings in acpi_tables.py
...
Signed-off-by: Frinzell, Aaron <aaron.frinzell@intel.com >
2023-01-18 17:12:37 -08:00
brentholtsclaw
22816aa4a0
use log_error not error
...
Signed-off-by: brentholtsclaw <brent.holtsclaw@intel.com >
2023-01-18 17:12:19 -08:00
brentholtsclaw
00efed8997
Addressing comments
...
Signed-off-by: brentholtsclaw <brent.holtsclaw@intel.com >
2023-01-18 17:12:19 -08:00
brentholtsclaw
85ff8e5865
Cleanup improper merge results
...
Signed-off-by: brentholtsclaw <brent.holtsclaw@intel.com >
2023-01-18 17:12:19 -08:00
brentholtsclaw
bfa3c4ee39
Decouple chipsec_main from logger
...
Remove start_test from logger
Enhance TestCase class to add start_test funtionality
Change logic within run_loaded modules to use TestCase opposed to logger
Add fstring to testcase.py
Add Type information to testcase.py
Signed-off-by: brentholtsclaw <brent.holtsclaw@intel.com >
2023-01-18 17:12:19 -08:00
Frinzell, Aaron
9f85b80e33
Type Hint and fstring updates to cmos.py, io.py, and iobar.py
...
Signed-off-by: Frinzell, Aaron <aaron.frinzell@intel.com >
2023-01-18 17:02:28 -08:00
Sara Batllori
c959367252
Move debug, hal and verbose log wrappers out of deprecated list
...
Signed-off-by: Sara Batllori <sara.batllori@intel.com >
2023-01-18 17:02:05 -08:00
Plato Mavropoulos
4262a447d2
Fix premature return at module children updating
...
When update_efi_tree() is called recursively to update the attributes of a module which contains children, it is possible for the children attributes to be partially updated (effectively skipped) because a premature return occurs when a UI section is encountered. This means that the children modules may have missing (i.e. None) value for (parent) GUID.
For some reason, update_efi_tree() function appears to have two purposes: 1) Update EFI tree, but also 2) Return the name (ui_string) of a given module. It should only be doing the former and separate the returning of a module's name to a different function.
Alas, it seems that the bug can be fixed by replacing the premature return statement with a "ui_string" variable assignment instead, which is then properly returned at the end of the update_efi_tree() function.
2023-01-13 13:48:09 -08:00
Frinzell, Aaron
23f55fa0a5
Address some issues in acpi_tables.py
...
Signed-off-by: Frinzell, Aaron <aaron.frinzell@intel.com >
2023-01-13 10:05:26 -06:00
brentholtsclaw
53bbf5f9c0
Service is depricated removing configuration file
...
Signed-off-by: brentholtsclaw <brent.holtsclaw@intel.com >
2023-01-11 16:42:28 -08:00
Frinzell, Aaron
307f4ee075
Define PEP515 support
...
Signed-off-by: Frinzell, Aaron <aaron.frinzell@intel.com >
2023-01-11 16:42:17 -08:00
Nathaniel Mitchell
8ccecc3758
update osx pbxproj to exclude arm64e
...
Signed-off-by: Nathaniel Mitchell <nathaniel.p.mitchell@intel.com >
2023-01-09 15:03:30 -08:00
Dan Scott
d1e3ab2800
Update to 1.10.0
...
Signed-off-by: Dan Scott <dan.scott@intel.com >
1.10.0
2022-12-19 15:10:12 -08:00
Sara Batllori
b90667275e
Update logger to use python logging
...
Signed-off-by: Sara Batllori <sara.batllori@intel.com >
2022-12-19 14:42:43 -08:00
Nathaniel Mitchell
0c9a50fa5e
Update install documentation to reflect compression changes
...
Signed-off-by: Nathaniel Mitchell <nathaniel.p.mitchell@intel.com >
2022-12-14 13:06:03 -08:00
Nathaniel Mitchell
5d6c3d90ec
Add chipsec_main flag for module_exclude
...
Signed-off-by: Nathaniel Mitchell <nathaniel.p.mitchell@intel.com >
2022-12-14 12:44:43 -08:00
brentholtsclaw
e2de1b2e98
Enable codeql on linux driver code
...
Signed-off-by: brentholtsclaw <brent.holtsclaw@intel.com >
2022-12-14 12:44:09 -08:00
Nathaniel Mitchell
4f7a4b8149
Update debian/* for dpkg-buildpackage
...
Signed-off-by: Nathaniel Mitchell <nathaniel.p.mitchell@intel.com >
2022-12-14 12:43:51 -08:00
Nathaniel Mitchell
0b2c4ee9ca
Remove empty class definition parentheses
...
Signed-off-by: Nathaniel Mitchell <nathaniel.p.mitchell@intel.com >
2022-12-14 12:43:34 -08:00
Frinzell, Aaron
468f1893ec
Define PEP572 and for-else while-else support
...
Signed-off-by: Frinzell, Aaron <aaron.frinzell@intel.com >
2022-12-14 12:43:18 -08:00
Nathaniel Mitchell
ecedfc0718
Fix compiler warnings for efi/tiano compress
...
Signed-off-by: Nathaniel Mitchell <nathaniel.p.mitchell@intel.com >
2022-12-14 12:42:42 -08:00
Frinzell, Aaron
96fca5f581
Exit CHIPSEC if Python 2 found
...
Signed-off-by: Frinzell, Aaron <aaron.frinzell@intel.com >
2022-12-13 09:40:41 -08:00
Nathaniel Mitchell
7d97b92a27
Add ability to parse FVs that are in a signed FV and fix bugs
...
Signed-off-by: Nathaniel Mitchell <nathaniel.p.mitchell@intel.com >
2022-12-07 15:18:00 -08:00
brentholtsclaw
e351888a1a
Workaround for LZMAError with valid datastream
...
Signed-off-by: brentholtsclaw <brent.holtsclaw@intel.com >
2022-12-05 16:34:48 -08:00
brentholtsclaw
af2d2c0402
Fixup merge
...
Signed-off-by: brentholtsclaw <brent.holtsclaw@intel.com >
2022-12-05 16:34:48 -08:00
brentholtsclaw
e4b1ecaf86
Modify workflows to install pip requirements and use python3
...
Signed-off-by: brentholtsclaw <brent.holtsclaw@intel.com >
2022-12-05 16:34:48 -08:00
brentholtsclaw
5b67236de0
Remove binary version of compression tools
...
Signed-off-by: brentholtsclaw <brent.holtsclaw@intel.com >
2022-12-05 16:34:48 -08:00
brentholtsclaw
77c23784d0
Helper changes to remove compression functionality
...
Signed-off-by: brentholtsclaw <brent.holtsclaw@intel.com >
2022-12-05 16:34:48 -08:00
brentholtsclaw
7af173a43c
Module and command changes to work with hal
...
Signed-off-by: brentholtsclaw <brent.holtsclaw@intel.com >
2022-12-05 16:34:48 -08:00
brentholtsclaw
843bde4f56
Modify Hal to call python versions of compression algorithms
...
Signed-off-by: brentholtsclaw <brent.holtsclaw@intel.com >
2022-12-05 16:34:48 -08:00
brentholtsclaw
d0038681db
Add ability to build tianocompress with python
...
Signed-off-by: brentholtsclaw <brent.holtsclaw@intel.com >
2022-12-05 16:34:48 -08:00
Frinzell, Aaron
c4f8aa95c2
Removed deprecated logger functions
...
Signed-off-by: Frinzell, Aaron <aaron.frinzell@intel.com >
2022-12-05 17:41:00 -06:00
LGTM Migrator
8876a8520b
Add CodeQL workflow for GitHub code scanning
2022-12-05 11:27:52 -08:00
Zhou, Jun2
63b772344b
Add a fake cpuid func to support invalid platform unit test
...
Signed-off-by: Zhou Jun, jun2.zhou@intel.com
2022-12-05 11:27:03 -08:00
Zhou, Jun2
e417d0196f
add cpuid detection string to xml files
...
add cpuid detection debug mode print, cmdline para "-d" show cpuid detection value as below,
sudo python3.6 chipsec_util.py -d cpu info
Signed-off-by: Zhou Jun, jun2.zhou@intel.com
2022-12-05 11:27:03 -08:00