Assaf Carlsbad
d05854bd6b
The path to library.zip should be relative to the root executable, not to the current working directory.
2020-02-05 23:55:30 -08:00
BrentHoltsclaw
2b05bdef13
Fixup chipsec_util unsupported platform logic
...
Enforce the -i option
Signed-off-by: BrentHoltsclaw <brent.holtsclaw@intel.com >
2020-02-05 23:55:30 -08:00
npmitche
e564a6d12c
Revert "Fixup chipsec_util unsupported platform logic"
...
This reverts commit 9ec064d08e .
2020-02-05 23:55:30 -08:00
BrentHoltsclaw
a6b99dfc7e
Fixup chipsec_util unsupported platform logic
...
Enforce the -i option
Signed-off-by: BrentHoltsclaw <brent.holtsclaw@intel.com >
2020-02-05 23:55:30 -08:00
Assaf Carlsbad
afd42f7771
Expose the --helper option to chipsec_util as well.
2020-02-05 23:55:30 -08:00
Assaf Carlsbad
d6abbe1813
Fix couple of issues with running chipsec_util as a standalone executable.
2020-02-05 23:55:30 -08:00
BrentHoltsclaw
51a1de1a7e
Add helper/driver information to chipsec_main and chipsec_util
...
Add self.name and self.driverpath to Helper baseclass
Add get_info function into Helper baseclass which returns self.name and self.driverpath
Modify helpers to have proper name and driver location for driver loaded
Signed-off-by: BrentHoltsclaw <brent.holtsclaw@intel.com >
2019-12-11 09:43:03 -08:00
BrentHoltsclaw
ee81702de0
Fix python3 utilcmd help issue
...
Help was not being displayed in python3 when no arguments were provided
Signed-off-by: BrentHoltsclaw <brent.holtsclaw@intel.com >
2019-12-11 09:43:03 -08:00
BrentHoltsclaw
75fe4e2dd8
Add python architecture to chipsec_main and chipsec_util banner
...
Signed-off-by: BrentHoltsclaw <brent.holtsclaw@intel.com >
2019-10-21 14:46:52 -07:00
BrentHoltsclaw
9ca6537936
Change driver unload conditional
...
Signed-off-by: BrentHoltsclaw <brent.holtsclaw@intel.com >
2019-10-21 14:18:01 -07:00
BrentHoltsclaw
12bd1701f6
Change chipsec_util arg_parse and command execution logic
...
Signed-off-by: BrentHoltsclaw <brent.holtsclaw@intel.com >
2019-09-03 22:27:57 -07:00
BrentHoltsclaw
6140237b7e
Create import cmd function within chipsec_util
...
Signed-off-by: BrentHoltsclaw <brent.holtsclaw@intel.com >
2019-09-03 22:27:57 -07:00
BrentHoltsclaw
c1de2e9ff0
Cleanup chipsec_util imports
...
Signed-off-by: BrentHoltsclaw <brent.holtsclaw@intel.com >
2019-09-03 22:27:57 -07:00
Erik Bjorge
dcef92048b
Updated header output
...
- Updated chipsec_main and chipsec_util to include python version
- Added OS and chip information to chipsec_util
Signed-off-by: Erik Bjorge <erik.c.bjorge@intel.com >
2019-09-03 13:52:33 -07:00
Daniel Schaefer
adc1b2c615
Don't catch exception with None
...
Works in Python2 but doesn't in Python3 as every exception has to be
descendant of BaseException and None obviously isn't.
See: https://stackoverflow.com/a/19327342/5932056
2019-09-03 10:07:12 -07:00
BrentHoltsclaw
2efeda4345
Merge python3-rc2 branch into master ( #656 )
2019-08-15 14:11:20 -07:00
Erik Bjorge
3d845d9a4c
Made logging modes selectable
...
Verbose, HAL and debug logging modes are now each selectable.
Signed-off-by: Erik Bjorge <erik.c.bjorge@intel.com >
2019-07-23 11:14:53 -07:00
BrentHoltsclaw
8920531c7a
chipsec_util return proper error codes
...
comm.run will return the exitcode from the command
If a command is not defined returns 2.
For no command present or help command display the list of commands and help return 0.
2019-07-16 09:47:48 -07:00
BrentHoltsclaw
0db6f1263a
Allow utilcmds to return Exitcodes
2019-06-13 13:16:57 -07:00
Richard Hughes
66a399dd0a
Add the eXecute permission on the launchable binaries
...
This means on Linux you can just do ./chipsec_util.py rather than using the
Python binary to invoke it.
2019-05-15 18:20:39 -07:00
BrentHoltsclaw
66710206e7
Changes based upon comments
2019-04-25 14:19:08 -07:00
BrentHoltsclaw
f25f9781af
Allow arguments within chipsec_util to passthrough to command
2019-04-02 14:47:30 -07:00
Erik Bjorge
6d92c8814e
Continue to load commands on import failures
...
Signed-off-by: Erik Bjorge <erik.c.bjorge@intel.com >
2019-02-05 10:06:17 -08:00
BrentHoltsclaw
364e6c72e6
Use argparse within chipsec_util
2019-01-29 11:25:47 -08:00
BrentHoltsclaw
87a456d11b
Rewrite of XML and JSON logger
2018-10-15 17:18:45 -07:00
Erik Bjorge
0e40912ffc
Added ability to override PCH detection.
...
Added the --pch <PCH_ID> command line option. This allows the user to
specify the PCH to be used.
Signed-off-by: Erik Bjorge <erik.c.bjorge@intel.com >
2018-04-09 17:36:02 -07:00
Thiebaud Weksteen
5f6451e8ea
Fix version displayed in chipsec_utils
2017-06-23 11:24:20 -07:00
c7zero
5c5ae294eb
Updated version and manual
2017-03-20 18:08:42 -07:00
Erik Bjorge
61b262814a
Fixed exception in chipsec_util with no command.
...
If no command is present when running chipsec_util the help command is
assumed to be present. This will list all available commands.
2017-03-03 17:30:07 -08:00
c7zero
d024dc6169
Added command-line options support to chipsec_util ( #158 )
...
* Added command-line options support to chipsec_util
* Fixed util test
2017-03-02 02:10:14 -08:00
Thiébaud Weksteen
1e9898f11d
Do not catch exception in chipset initialization ( #145 )
2017-02-05 13:08:03 -08:00
c7zero
06b1f0dd5f
More documentation update
...
Fixed passing the argv to chipsec_main.main() and chipsec_util.main()
when importing them as packages
2016-10-19 20:06:28 -07:00
abazhaniuk
94fe7f02f1
change setup.py build driver by default. change root directory of chipsec. move WARNING.txt to chipsec. remove PKG-INFO ( #107 )
2016-10-18 18:19:42 -07:00