[PATCH 2/2] fwts-test: sync up with the phat dumping vendor data midification
Ivan Hu
ivan.hu at canonical.com
Fri Jul 28 04:46:53 UTC 2023
Signed-off-by: Ivan Hu <ivan.hu at canonical.com>
---
fwts-test/phat-0001/phat-0001.log | 16 ++++------------
fwts-test/phat-0001/phat-0002.log | 6 ++----
fwts-test/phat-0001/phat-0003.log | 6 ++----
3 files changed, 8 insertions(+), 20 deletions(-)
diff --git a/fwts-test/phat-0001/phat-0001.log b/fwts-test/phat-0001/phat-0001.log
index 9ccf3774..5831ba58 100644
--- a/fwts-test/phat-0001/phat-0001.log
+++ b/fwts-test/phat-0001/phat-0001.log
@@ -31,10 +31,8 @@ phat AmHealthy: 0x00
phat Device Signature: 91AF0530-5D86-470E-A6B0-0A2DB9408249
phat Device-specific Data Offset: 0x0000003a
phat Device Path: \_SB.PCI0.ABCD
-phat Vendor Data: 0xff
-phat Vendor Data: 0x11
-phat Vendor Data: 0x55
-phat Vendor Data: 0xaa
+phat Vendor Data:
+phat FF 11 55 AA
phat
phat Firmware Health Data Record (Type 1):
phat Type: 0x0001
@@ -45,14 +43,8 @@ phat AmHealthy: 0x00
phat Device Signature: 18D5DD11-BA12-4924-A75A-46D251ECB593
phat Device-specific Data Offset: 0x00000042
phat Device Path: \_SB.PCI0.GFX0.XYZ
-phat Vendor Data: 0x12
-phat Vendor Data: 0x34
-phat Vendor Data: 0x56
-phat Vendor Data: 0x78
-phat Vendor Data: 0x90
-phat Vendor Data: 0xab
-phat Vendor Data: 0xcd
-phat Vendor Data: 0xef
+phat Vendor Data:
+phat 12 34 56 78 90 AB CD EF
phat
phat PASSED: Test 1, No issues found in PHAT table.
phat
diff --git a/fwts-test/phat-0001/phat-0002.log b/fwts-test/phat-0001/phat-0002.log
index a8ba37f6..69327fb8 100644
--- a/fwts-test/phat-0001/phat-0002.log
+++ b/fwts-test/phat-0001/phat-0002.log
@@ -31,10 +31,8 @@ phat AmHealthy: 0x00
phat Device Signature: 91AF0530-5D86-470E-A6B0-0A2DB9408249
phat Device-specific Data Offset: 0x0000003a
phat Device Path: \_SB.PCI0.ABCD
-phat Vendor Data: 0xff
-phat Vendor Data: 0x11
-phat Vendor Data: 0x55
-phat Vendor Data: 0xaa
+phat Vendor Data:
+phat FF 11 55 AA
phat
phat FAILED [HIGH] PHATBadSubTableType: Test 1, PHAT must have
phat subtable with Type 0..1, got 2 instead
diff --git a/fwts-test/phat-0001/phat-0003.log b/fwts-test/phat-0001/phat-0003.log
index 617729c3..e4e10384 100644
--- a/fwts-test/phat-0001/phat-0003.log
+++ b/fwts-test/phat-0001/phat-0003.log
@@ -33,12 +33,10 @@ phat AmHealthy: 0x00
phat Device Signature: 91AF0530-5D86-470E-A6B0-0A2DB9408249
phat Device-specific Data Offset: 0x0000003a
phat Device Path: \_SB.PCI0.ABCD
-phat Vendor Data: 0xff
-phat Vendor Data: 0x11
-phat Vendor Data: 0x55
-phat Vendor Data: 0xaa
phat FAILED [MEDIUM] PHATReservedNonZero: Test 1, PHAT Reserved
phat field must be zero, got 0xabcd instead
+phat Vendor Data:
+phat FF 11 55 AA
phat
phat Firmware Health Data Record (Type 1):
phat Type: 0x0001
--
2.34.1
More information about the fwts-devel
mailing list