[coreboot-gerrit] New patch to review for coreboot: dd21b9c Fix the dreaded "Bad segment type 53534220 Could not load payload". Really it's just a magic number mismatch introduced by commit a8a133.

Wei Hu (wei@aristanetworks.com) gerrit at coreboot.org
Thu Apr 17 08:08:34 CEST 2014


Wei Hu (wei at aristanetworks.com) just uploaded a new patch set to gerrit, which you can find at http://review.coreboot.org/5528

-gerrit

commit dd21b9c3ca1fa98e2903c8739a420797b4b39439
Author: Wei Hu <wei at aristanetworks.com>
Date:   Wed Apr 16 22:52:59 2014 -0700

    Fix the dreaded "Bad segment type 53534220 Could not load payload".
    Really it's just a magic number mismatch introduced by commit a8a133.
    
    Change-Id: I73b0adb969816e9d130f19f48e175c57124e2f3a
    Signed-off-by: Wei Hu <wei at 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..1ce615a 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')
 



More information about the coreboot-gerrit mailing list