diff --git a/util/ipqheader/ipqheader.py b/util/ipqheader/ipqheader.py index 1cace0b076..b6f3c43b49 100755 --- a/util/ipqheader/ipqheader.py +++ b/util/ipqheader/ipqheader.py @@ -17,6 +17,9 @@ def create_header(base, size): @returns: string, the MBN header """ + # SBLs require size to be 4 bytes aligned. + size = (size + 3) & 0xfffffffc + # We currently do not support appending certificates. Signing GPL # code might violate the GPL. So U-Boot will never be signed. So # this is not required for U-Boot.