[coreboot-gerrit] New patch to review for coreboot: util/cbfstool: Increase initrd offset to 64M
Timothy Pearson (tpearson@raptorengineering.com)
gerrit at coreboot.org
Sun Jul 31 07:25:18 CEST 2016
Timothy Pearson (tpearson at raptorengineering.com) just uploaded a new patch set to gerrit, which you can find at https://review.coreboot.org/15999
-gerrit
commit cf9d96d2bc59f71299c773fbb67228030c18c930
Author: Timothy Pearson <tpearson at raptorengineering.com>
Date: Sun Jul 31 00:23:11 2016 -0500
util/cbfstool: Increase initrd offset to 64M
Newer Linux kernels fail to detect the initramfs using the old 16M
offset. Increase the offset to the minimum working value, 64M.
Tested-on: qemu pc, 64-bit virtual CPU, linux 4.6 x86_64
Change-Id: I8678fc33eec23ca8f5e0d58723e04d434cd9d732
Signed-off-by: Timothy Pearson <tpearson at raptorengineering.com>
---
util/cbfstool/cbfs-payload-linux.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/util/cbfstool/cbfs-payload-linux.c b/util/cbfstool/cbfs-payload-linux.c
index 79ee7ea..03a41cd 100644
--- a/util/cbfstool/cbfs-payload-linux.c
+++ b/util/cbfstool/cbfs-payload-linux.c
@@ -279,7 +279,7 @@ int parse_bzImage_to_payload(const struct buffer *input,
* close to the kernel, so give it some room.
*/
initrd_base = kernel_base + buffer_size(&bzp.kernel);
- initrd_base = ALIGN(initrd_base, 16*1024*1024);
+ initrd_base = ALIGN(initrd_base, 64*1024*1024);
params.initrd_start = initrd_base;
params.initrd_size = buffer_size(&bzp.initrd);
More information about the coreboot-gerrit
mailing list