Wei Hu (wei@aristanetworks.com) just uploaded a new patch set to gerrit, which you can find at http://review.coreboot.org/5528
-gerrit
commit 84f44c0f12e625a3468b0b48e1c9bba5fa01e9c7 Author: Wei Hu wei@aristanetworks.com Date: Wed Apr 16 22:52:59 2014 -0700
util/cbfstool: Fix "Bad segment type 53534220 Could not load payload".
The magic number mismatch was introduced by commit a8a133 (Add section header parsing and use it in the mk-payload step).
Change-Id: I73b0adb969816e9d130f19f48e175c57124e2f3a Signed-off-by: Wei Hu wei@aristanetworks.com --- util/cbfstool/cbfs.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/util/cbfstool/cbfs.h b/util/cbfstool/cbfs.h index a561b2b..73ee49c 100644 --- a/util/cbfstool/cbfs.h +++ b/util/cbfstool/cbfs.h @@ -73,7 +73,7 @@ struct cbfs_stage {
#define PAYLOAD_SEGMENT_CODE makemagic('C', 'O', 'D', 'E') #define PAYLOAD_SEGMENT_DATA makemagic('D', 'A', 'T', 'A') -#define PAYLOAD_SEGMENT_BSS makemagic(' ', 'B', 'S', 'S') +#define PAYLOAD_SEGMENT_BSS makemagic('B', 'S', 'S', ' ') #define PAYLOAD_SEGMENT_PARAMS makemagic('P', 'A', 'R', 'A') #define PAYLOAD_SEGMENT_ENTRY makemagic('E', 'N', 'T', 'R')