Yu-Ping Wu has uploaded this change for review. ( https://review.coreboot.org/c/coreboot/+/74317 )
Change subject: util/cbfstool: Add "Comp" column for "print -k"
......................................................................
util/cbfstool: Add "Comp" column for "print -k"
The compression type of each file will be shown in column "Comp" with
"cbfstool ${IMAGE} print". However, the compression information is
missing when "-k" is passed without "-v". Fix the inconsistency by
always printing the compression type and decompressed size.
This change would make parsing the compression type easier. To the best
of my knowledge there is no existing script parsing the compression type
from the list of file attributes printed by "print -k -v", so hopefully
this wouldn't break anything.
BUG=none
TEST=sudo emerge coreboot-utils
TEST=cbfstool image-steelix.bin print -r FW_MAIN_A
TEST=cbfstool image-steelix.bin print -r FW_MAIN_A -k
BRANCH=none
Change-Id: Ibe3e23c58662fb7b9c5d704de93e2df28957528d
Signed-off-by: Yu-Ping Wu <yupingso(a)chromium.org>
---
M util/cbfstool/cbfs_image.c
1 file changed, 33 insertions(+), 7 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/17/74317/1
diff --git a/util/cbfstool/cbfs_image.c b/util/cbfstool/cbfs_image.c
index 683a96c..8ff0778 100644
--- a/util/cbfstool/cbfs_image.c
+++ b/util/cbfstool/cbfs_image.c
@@ -1529,15 +1529,14 @@
fprintf(fp, "0x%zx%s", data_size, sep);
fprintf(fp, "0x%zx", metadata_size + data_size);
- if (verbose) {
- unsigned int decompressed_size = 0;
- unsigned int compression = cbfs_file_get_compression_info(entry,
+ unsigned int decompressed_size = 0;
+ unsigned int compression = cbfs_file_get_compression_info(entry,
&decompressed_size);
- if (compression != CBFS_COMPRESS_NONE)
- fprintf(fp, "%scomp:%s:0x%x", sep, lookup_name_by_type(
- types_cbfs_compression, compression, "????"),
- decompressed_size);
+ const char *compression_name = lookup_name_by_type(
+ types_cbfs_compression, compression, "????");
+ fprintf(fp, "%s%s:0x%x", sep, compression_name, decompressed_size);
+ if (verbose) {
struct cbfs_file_attr_hash *attr = NULL;
while ((attr = cbfs_file_get_next_hash(entry, attr)) != NULL) {
size_t hash_len = vb2_digest_size(attr->hash.algo);
@@ -1575,6 +1574,7 @@
"Metadata Size",
"Data Size",
"Total Size",
+ "Comp",
};
const char *sep = "\t";
--
To view, visit https://review.coreboot.org/c/coreboot/+/74317
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Change-Id: Ibe3e23c58662fb7b9c5d704de93e2df28957528d
Gerrit-Change-Number: 74317
Gerrit-PatchSet: 1
Gerrit-Owner: Yu-Ping Wu <yupingso(a)google.com>
Gerrit-MessageType: newchange
Attention is currently required from: Haribalaraman Ramasubramanian, Dinesh Gehlot, Rizwan Qureshi, Reka Norman, Kapil Porwal, Sridhar Siricilla.
Hello build bot (Jenkins), SRIDHAR SIRICILLA, Subrata Banik, Kangheui Won, Haribalaraman Ramasubramanian, Rizwan Qureshi, Reka Norman, Kapil Porwal, Sridhar Siricilla, Meera Ravindranath,
I'd like you to reexamine a change. Please visit
https://review.coreboot.org/c/coreboot/+/74005
to look at the new patch set (#22).
Change subject: soc/intel/cmd/block: Implement an API to get firmware partition details
......................................................................
soc/intel/cmd/block: Implement an API to get firmware partition details
This patch retrieves details of a specified firmware partition. The
information retrieved includes the mkhi header, current firmware
version, and other information about the partition. The patch
communicates with the ME using the HECI command to acquire this
information.
BUG=b:273661726
Test=Verified the changes for ISHC partition on nissa board.
Signed-off-by: Dinesh Gehlot <digehlot(a)google.com>
Change-Id: I0582010bbb836bd4734f843a8c74dee49d203fd8
---
M src/soc/intel/common/block/cse/cse.c
M src/soc/intel/common/block/include/intelblocks/cse.h
2 files changed, 89 insertions(+), 0 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/05/74005/22
--
To view, visit https://review.coreboot.org/c/coreboot/+/74005
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Change-Id: I0582010bbb836bd4734f843a8c74dee49d203fd8
Gerrit-Change-Number: 74005
Gerrit-PatchSet: 22
Gerrit-Owner: Dinesh Gehlot <digehlot(a)google.com>
Gerrit-Reviewer: Haribalaraman Ramasubramanian <haribalaraman.r(a)intel.com>
Gerrit-Reviewer: Kangheui Won <khwon(a)chromium.org>
Gerrit-Reviewer: Kapil Porwal <kapilporwal(a)google.com>
Gerrit-Reviewer: Meera Ravindranath <meera.ravindranath(a)intel.com>
Gerrit-Reviewer: Reka Norman <rekanorman(a)chromium.org>
Gerrit-Reviewer: Rizwan Qureshi <rizwan.qureshi(a)intel.com>
Gerrit-Reviewer: SRIDHAR SIRICILLA
Gerrit-Reviewer: Sridhar Siricilla <sridhar.siricilla(a)intel.com>
Gerrit-Reviewer: Subrata Banik <subratabanik(a)google.com>
Gerrit-Reviewer: build bot (Jenkins) <no-reply(a)coreboot.org>
Gerrit-Attention: Haribalaraman Ramasubramanian <haribalaraman.r(a)intel.com>
Gerrit-Attention: Dinesh Gehlot <digehlot(a)google.com>
Gerrit-Attention: Rizwan Qureshi <rizwan.qureshi(a)intel.com>
Gerrit-Attention: Reka Norman <rekanorman(a)chromium.org>
Gerrit-Attention: Kapil Porwal <kapilporwal(a)google.com>
Gerrit-Attention: Sridhar Siricilla <sridhar.siricilla(a)intel.com>
Gerrit-MessageType: newpatchset
Attention is currently required from: Haribalaraman Ramasubramanian, Dinesh Gehlot, Rizwan Qureshi, Reka Norman, Kapil Porwal, Sridhar Siricilla.
Hello build bot (Jenkins), SRIDHAR SIRICILLA, Subrata Banik, Kangheui Won, Haribalaraman Ramasubramanian, Rizwan Qureshi, Reka Norman, Kapil Porwal, Sridhar Siricilla, Meera Ravindranath,
I'd like you to reexamine a change. Please visit
https://review.coreboot.org/c/coreboot/+/74005
to look at the new patch set (#21).
Change subject: soc/intel/cmd/block: Implement an API to get firmware partition details
......................................................................
soc/intel/cmd/block: Implement an API to get firmware partition details
This patch retrieves details of a specified firmware partition. The
information retrieved includes the mkhi header, current firmware
version, and other information about the partition. The patch
communicates with the ME using the HECI command to acquire this
information.
BUG=b:273661726
Test=Verified the changes for ISHC partition on nissa board.
Signed-off-by: Dinesh Gehlot <digehlot(a)google.com>
Change-Id: I0582010bbb836bd4734f843a8c74dee49d203fd8
---
M src/soc/intel/common/block/cse/cse.c
M src/soc/intel/common/block/include/intelblocks/cse.h
2 files changed, 88 insertions(+), 0 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/05/74005/21
--
To view, visit https://review.coreboot.org/c/coreboot/+/74005
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Change-Id: I0582010bbb836bd4734f843a8c74dee49d203fd8
Gerrit-Change-Number: 74005
Gerrit-PatchSet: 21
Gerrit-Owner: Dinesh Gehlot <digehlot(a)google.com>
Gerrit-Reviewer: Haribalaraman Ramasubramanian <haribalaraman.r(a)intel.com>
Gerrit-Reviewer: Kangheui Won <khwon(a)chromium.org>
Gerrit-Reviewer: Kapil Porwal <kapilporwal(a)google.com>
Gerrit-Reviewer: Meera Ravindranath <meera.ravindranath(a)intel.com>
Gerrit-Reviewer: Reka Norman <rekanorman(a)chromium.org>
Gerrit-Reviewer: Rizwan Qureshi <rizwan.qureshi(a)intel.com>
Gerrit-Reviewer: SRIDHAR SIRICILLA
Gerrit-Reviewer: Sridhar Siricilla <sridhar.siricilla(a)intel.com>
Gerrit-Reviewer: Subrata Banik <subratabanik(a)google.com>
Gerrit-Reviewer: build bot (Jenkins) <no-reply(a)coreboot.org>
Gerrit-Attention: Haribalaraman Ramasubramanian <haribalaraman.r(a)intel.com>
Gerrit-Attention: Dinesh Gehlot <digehlot(a)google.com>
Gerrit-Attention: Rizwan Qureshi <rizwan.qureshi(a)intel.com>
Gerrit-Attention: Reka Norman <rekanorman(a)chromium.org>
Gerrit-Attention: Kapil Porwal <kapilporwal(a)google.com>
Gerrit-Attention: Sridhar Siricilla <sridhar.siricilla(a)intel.com>
Gerrit-MessageType: newpatchset
Attention is currently required from: Tarun Tuli, Kapil Porwal.
Eric Lai has posted comments on this change. ( https://review.coreboot.org/c/coreboot/+/73896 )
Change subject: mb/google/brya/variants/hades: Update GPU power sequencing to add Hades support
......................................................................
Patch Set 23: -Code-Review
(1 comment)
Patchset:
PS23:
src/mainboard/google/brya/variants/hades/variant.c:58:14: error: use of undeclared identifier 'FBVDD_PWR_NEN'
{ "FBVDD", FBVDD_PWR_NEN, false, FBVDD_PG, },
^
src/mainboard/google/brya/variants/hades/variant.c:114:25: error: invalid application of 'sizeof' to an incomplete type 'struct power_rail_sequence[]'
for (size_t i = 0; i < ARRAY_SIZE(gpu_on_seq); i++) {
^~~~~~~~~~~~~~~~~~~~~~
src/commonlib/bsd/include/commonlib/bsd/helpers.h:12:30: note: expanded from macro 'ARRAY_SIZE'
#define ARRAY_SIZE(a) (sizeof(a) / sizeof((a)[0]))
--
To view, visit https://review.coreboot.org/c/coreboot/+/73896
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Change-Id: I0b8efe7a34102cf61d4f784103c4a4f9337213f7
Gerrit-Change-Number: 73896
Gerrit-PatchSet: 23
Gerrit-Owner: Tarun Tuli <taruntuli(a)google.com>
Gerrit-Reviewer: Eric Lai <eric_lai(a)quanta.corp-partner.google.com>
Gerrit-Reviewer: Kapil Porwal <kapilporwal(a)google.com>
Gerrit-Reviewer: Subrata Banik <subratabanik(a)google.com>
Gerrit-Reviewer: build bot (Jenkins) <no-reply(a)coreboot.org>
Gerrit-Attention: Tarun Tuli <taruntuli(a)google.com>
Gerrit-Attention: Kapil Porwal <kapilporwal(a)google.com>
Gerrit-Comment-Date: Mon, 10 Apr 2023 07:06:43 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: Yes
Gerrit-MessageType: comment