Bejean Mosher
d6fdbca903
fix: Remove deprecated python imp module
...
Python imp module is removed in 3.12+ and will cause a build error.
Replace with importlib.machinery.SourceFileLoader.
Signed-off-by: Bejean Mosher <bejean.mosher@intel.com>
2024-06-17 08:11:02 -07:00
Pedro Queiros
ab30dc5e76
[ICX-D] Configuration knob for flash descriptor verification
...
Adding a dedicated stitching option to create
IFWI images with flash descriptor verification enabled.
and signed accordingly.
Signed-off-by: Pedro Queiros <pedro.queiros@intel.com>
2023-10-23 11:25:26 -07:00
Aakash Panwar
a278a87214
fix: [ICX-D] Fix Coverity issues
...
Fixed Resource leak (CID 1229238)
Fixed Dereference null return value (CID 1515533)
Signed-off-by: Aakash Panwar <aakash.panwar@intel.com>
2023-08-09 09:18:38 -07:00
Aakash Panwar
be4f1181dd
fix: [ICX-D] Fix Coverity issues ( #1979 )
...
Fixed missing break in switch (CID 1444785)
Fixed Uninitialized scalar variable (CID 1444786)
Fixed Uninitialized scalar variable (CID 1444788)
Fixed Resource leak (CID 1229339
Signed-off-by: Aakash Panwar <aakash.panwar@intel.com>
2023-08-04 11:13:10 -07:00
randylintw
6a818eb039
fix: [Common] Dereference null return TempSmbiosStrTbl ( #1951 )
...
If the function actually returns a null value,
a null pointer dereference will occur.
In InitializeSmbiosInfo: Return value of function which returns
null is dereferenced without checking (CWE-476)
Signed-off-by: Randy <randy.lin@intel.com>
2023-07-14 12:19:01 -07:00
randylintw
9dc4a2f7ad
fix: [Common] Operands don't affect result for PlatformId ( #1940 )
...
Define of platformId is : [UINT8 : 5;]
Operands don't affect result (CONSTANT_EXPRESSION_RESULT)
result_independent_of_operands: StitchData->PlatformId < 32
is always true regardless of the values of its operands.
This occurs as the logical second operand of "&&".
Signed-off-by: Randy <randy.lin@intel.com>
2023-06-29 09:43:18 -07:00
Guo Dong
474fb76f1d
feat: Update the lite variable usage
...
Since lite variable API change, this patch Update
the caller to align with variable library.
Signed-off-by: Guo Dong <guo.dong@intel.com>
2023-05-10 12:16:57 -07:00
cshur
c993c5faec
[ICX-D] Update StitchScript for new IGFW
...
Ignition fw requires new parameter for IRC.
(In Ignition FW MR2 V E5.05.00.04.96.0)
Signed-off-by: cshur <cs.hur@intel.com>
2023-03-07 14:20:02 -07:00
cshur
f0b13a0941
[ICXD][LCC] Update Microcode for both LCC and HCC ( #1839 )
...
Version update 1.1 to 1.2.
Update Microcode 201 to 230
Signed-off-by: cshur <cs.hur@intel.com>
2023-03-07 11:30:47 -07:00
Lennert Buytenhek
ca2d645d42
ICXD: Fix Stage1A UART setup functions for UART1 ( #1827 )
...
The UART1_[RT]XD modes for the UART1 pins are function #2 , not #1 .
Signed-off-by: Lennert Buytenhek <buytenh@arista.com>
2023-02-06 13:18:12 -07:00
Adithya Baglody
65861c359c
ICXD: SGX: Added SGX launch control to SBL. ( #1771 )
...
Added SgxLeWr and the hashes as configurable parameters in
sgxconfig.yaml.
Signed-off-by: Adithya Baglody <adithya.nagaraj.baglody@intel.com>
Signed-off-by: Adithya Baglody <adithya.nagaraj.baglody@intel.com>
2022-12-19 07:43:01 -08:00
cshur
8a900cb414
Revert "ICXD: SGX: Added SGX launch control to SBL."
...
This reverts commit 9fe47090c5
.
2022-11-14 10:13:01 -07:00
Adithya Baglody
9fe47090c5
ICXD: SGX: Added SGX launch control to SBL.
...
Added SgxLeWr and the hashes as configurable parameters in
sgxconfig.yaml.
Signed-off-by: Adithya Baglody <adithya.nagaraj.baglody@intel.com>
2022-11-14 08:35:22 -07:00
cshur
91f39ba742
Revert "ICXD: SGX: Added SGX launch control to SBL."
...
This reverts commit a7adcc2d5e
.
2022-11-07 19:42:50 -07:00
Adithya Baglody
a7adcc2d5e
ICXD: SGX: Added SGX launch control to SBL.
...
Added SgxLeWr and the hashes as configurable parameters in
sgxconfig.yaml.
Signed-off-by: Adithya Baglody <adithya.nagaraj.baglody@intel.com>
2022-11-03 15:19:03 -07:00
Lennert Buytenhek
5bb0cd48bb
[ICXD] Fix stitching process by getting rid of SblOpen remnants ( #1737 )
...
Signed-off-by: Lennert Buytenhek <buytenh@wantstofly.org>
Signed-off-by: Lennert Buytenhek <buytenh@wantstofly.org>
2022-11-02 14:05:54 -07:00
cshur
0372e199d2
[ICXD] Move Tcc binaries to Utilities ( #1726 )
...
Update Script files to move tcc binaries.
Signed-off-by: cshur <cs.hur@intel.com>
Signed-off-by: cshur <cs.hur@intel.com>
2022-10-18 13:29:28 -07:00
cshur
94ab839eab
[ICXD] Upstream ICX-D LCC/HCC after PV
...
Tested to boot Yocto and Windows.
Signed-off-by: cshur <cs.hur@intel.com>
2022-10-12 14:45:35 -07:00