Krystian Hebel has uploaded this change for review. ( https://review.coreboot.org/c/coreboot/+/55041 )
Change subject: Documentation/lib/flashmap.md: add information about FMAP endianness
......................................................................
Documentation/lib/flashmap.md: add information about FMAP endianness
Change-Id: Idf6d46ed262b18c176d69352e333c56f4fdff66a
Signed-off-by: Krystian Hebel <krystian.hebel(a)3mdeb.com>
---
M Documentation/lib/flashmap.md
1 file changed, 2 insertions(+), 1 deletion(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/41/55041/1
diff --git a/Documentation/lib/flashmap.md b/Documentation/lib/flashmap.md
index d3d8bbf..68d0ab5 100644
--- a/Documentation/lib/flashmap.md
+++ b/Documentation/lib/flashmap.md
@@ -17,7 +17,8 @@
normally go into CBFS.
The Flashmap itself starts with a header `struct fmap` and followed by a list of
-section descriptions in `struct fmap_area`.
+section descriptions in `struct fmap_area`. All fields in those structures are
+in little endian format.
### Header
The header `struct fmap` has following fields:
--
To view, visit https://review.coreboot.org/c/coreboot/+/55041
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Change-Id: Idf6d46ed262b18c176d69352e333c56f4fdff66a
Gerrit-Change-Number: 55041
Gerrit-PatchSet: 1
Gerrit-Owner: Krystian Hebel <krystian.hebel(a)3mdeb.com>
Gerrit-MessageType: newchange
Kyösti Mälkki has posted comments on this change. ( https://review.coreboot.org/c/coreboot/+/54010 )
Change subject: cpu/x86/entry16.S: Make Intel CBnT TOCTOU safe
......................................................................
Patch Set 4:
(1 comment)
Patchset:
PS4:
So who should put a request to abandon CB:38252? Owner or whoever submits?
--
To view, visit https://review.coreboot.org/c/coreboot/+/54010
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Change-Id: Id2031e4e406655e14198e45f137ba152f8b6f567
Gerrit-Change-Number: 54010
Gerrit-PatchSet: 4
Gerrit-Owner: Arthur Heymans <arthur(a)aheymans.xyz>
Gerrit-Reviewer: Angel Pons <th3fanbus(a)gmail.com>
Gerrit-Reviewer: Christian Walter <christian.walter(a)9elements.com>
Gerrit-Reviewer: Kyösti Mälkki <kyosti.malkki(a)gmail.com>
Gerrit-Reviewer: Patrick Rudolph <siro(a)das-labor.org>
Gerrit-Reviewer: Werner Zeh <werner.zeh(a)siemens.com>
Gerrit-Reviewer: build bot (Jenkins) <no-reply(a)coreboot.org>
Gerrit-CC: 9elements QA <hardwaretestrobot(a)gmail.com>
Gerrit-CC: Paul Menzel <paulepanter(a)mailbox.org>
Gerrit-Comment-Date: Fri, 28 May 2021 10:49:30 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
Gerrit-MessageType: comment
Attention is currently required from: Paul Fagerburg, Julius Werner, Jan Dabros.
Jakub Czapiga has posted comments on this change. ( https://review.coreboot.org/c/coreboot/+/54916 )
Change subject: tests: Add lib/cbmem_stage_cache-test test case
......................................................................
Patch Set 2:
(1 comment)
File tests/lib/cbmem_stage_cache-test.c:
https://review.coreboot.org/c/coreboot/+/54916/comment/1f236cf9_9e90301a
PS1, Line 137: void test_stage_cache_load_stage(void **state)
> Can you add a comment here about what this test is checking?
Done. I also extended some of other comments
--
To view, visit https://review.coreboot.org/c/coreboot/+/54916
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Change-Id: Ie6851b9473b225beb5ba51e26f44e21ea5919a64
Gerrit-Change-Number: 54916
Gerrit-PatchSet: 2
Gerrit-Owner: Jakub Czapiga <jacz(a)semihalf.com>
Gerrit-Reviewer: Jan Dabros <jsd(a)semihalf.com>
Gerrit-Reviewer: Julius Werner <jwerner(a)chromium.org>
Gerrit-Reviewer: Paul Fagerburg <pfagerburg(a)chromium.org>
Gerrit-Reviewer: build bot (Jenkins) <no-reply(a)coreboot.org>
Gerrit-Attention: Paul Fagerburg <pfagerburg(a)chromium.org>
Gerrit-Attention: Julius Werner <jwerner(a)chromium.org>
Gerrit-Attention: Jan Dabros <jsd(a)semihalf.com>
Gerrit-Comment-Date: Fri, 28 May 2021 10:39:57 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
Comment-In-Reply-To: Paul Fagerburg <pfagerburg(a)chromium.org>
Gerrit-MessageType: comment
Attention is currently required from: Jakub Czapiga, Julius Werner, Jan Dabros.
Hello build bot (Jenkins), Paul Fagerburg, Julius Werner, Jan Dabros,
I'd like you to reexamine a change. Please visit
https://review.coreboot.org/c/coreboot/+/54916
to look at the new patch set (#2).
Change subject: tests: Add lib/cbmem_stage_cache-test test case
......................................................................
tests: Add lib/cbmem_stage_cache-test test case
Signed-off-by: Jakub Czapiga <jacz(a)semihalf.com>
Change-Id: Ie6851b9473b225beb5ba51e26f44e21ea5919a64
---
M tests/lib/Makefile.inc
A tests/lib/cbmem_stage_cache-test.c
2 files changed, 204 insertions(+), 0 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/16/54916/2
--
To view, visit https://review.coreboot.org/c/coreboot/+/54916
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Change-Id: Ie6851b9473b225beb5ba51e26f44e21ea5919a64
Gerrit-Change-Number: 54916
Gerrit-PatchSet: 2
Gerrit-Owner: Jakub Czapiga <jacz(a)semihalf.com>
Gerrit-Reviewer: Jan Dabros <jsd(a)semihalf.com>
Gerrit-Reviewer: Julius Werner <jwerner(a)chromium.org>
Gerrit-Reviewer: Paul Fagerburg <pfagerburg(a)chromium.org>
Gerrit-Reviewer: build bot (Jenkins) <no-reply(a)coreboot.org>
Gerrit-Attention: Jakub Czapiga <jacz(a)semihalf.com>
Gerrit-Attention: Julius Werner <jwerner(a)chromium.org>
Gerrit-Attention: Jan Dabros <jsd(a)semihalf.com>
Gerrit-MessageType: newpatchset
Attention is currently required from: Krystian Hebel.
Arthur Heymans has posted comments on this change. ( https://review.coreboot.org/c/coreboot/+/55039 )
Change subject: util/cbfstool/flashmap/fmap.c: fix fmaptool endianness bugs on BE
......................................................................
Patch Set 2:
(1 comment)
Patchset:
PS2:
Can you update Documentation/lib/flashmap.md to state that FMAP is always to be encoded LE?
--
To view, visit https://review.coreboot.org/c/coreboot/+/55039
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Change-Id: Ia88c0625cefa1e594ac1849271a71c3aacc8ce78
Gerrit-Change-Number: 55039
Gerrit-PatchSet: 2
Gerrit-Owner: Krystian Hebel <krystian.hebel(a)3mdeb.com>
Gerrit-Reviewer: build bot (Jenkins) <no-reply(a)coreboot.org>
Gerrit-CC: Arthur Heymans <arthur(a)aheymans.xyz>
Gerrit-Attention: Krystian Hebel <krystian.hebel(a)3mdeb.com>
Gerrit-Comment-Date: Fri, 28 May 2021 10:28:08 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
Gerrit-MessageType: comment
Attention is currently required from: Krystian Hebel.
Hello build bot (Jenkins),
I'd like you to reexamine a change. Please visit
https://review.coreboot.org/c/coreboot/+/55039
to look at the new patch set (#2).
Change subject: util/cbfstool/flashmap/fmap.c: fix fmaptool endianness bugs on BE
......................................................................
util/cbfstool/flashmap/fmap.c: fix fmaptool endianness bugs on BE
This patch makes all accesses to the FMAP fields explicitly little endian.
It fixes issue where build on BE host produced different binary image than
on LE.
Signed-off-by: Marek Kasiewicz <marek.kasiewicz(a)3mdeb.com>
Signed-off-by: Krystian Hebel <krystian.hebel(a)3mdeb.com>
Change-Id: Ia88c0625cefa1e594ac1849271a71c3aacc8ce78
---
M util/cbfstool/flashmap/fmap.c
1 file changed, 33 insertions(+), 32 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/39/55039/2
--
To view, visit https://review.coreboot.org/c/coreboot/+/55039
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Change-Id: Ia88c0625cefa1e594ac1849271a71c3aacc8ce78
Gerrit-Change-Number: 55039
Gerrit-PatchSet: 2
Gerrit-Owner: Krystian Hebel <krystian.hebel(a)3mdeb.com>
Gerrit-Reviewer: build bot (Jenkins) <no-reply(a)coreboot.org>
Gerrit-Attention: Krystian Hebel <krystian.hebel(a)3mdeb.com>
Gerrit-MessageType: newpatchset