summaryrefslogtreecommitdiff
path: root/util
diff options
context:
space:
mode:
authorTimothy Pearson <tpearson@raptorengineering.com>2016-07-31 00:23:11 -0500
committerTimothy Pearson <tpearson@raptorengineering.com>2016-08-01 18:20:35 +0200
commitc1dc9d725ec9d91af1df99bb7da16e602996ac1b (patch)
tree91605c3dcfec889cb777ce6abf1739b3a162ff78 /util
parentdd65ef86c394559c140c8fbcca321f5f3401657f (diff)
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@raptorengineering.com> Reviewed-on: https://review.coreboot.org/15999 Tested-by: build bot (Jenkins) Reviewed-by: Patrick Georgi <pgeorgi@google.com>
Diffstat (limited to 'util')
-rw-r--r--util/cbfstool/cbfs-payload-linux.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/util/cbfstool/cbfs-payload-linux.c b/util/cbfstool/cbfs-payload-linux.c
index 79ee7eaa85..03a41cd7f4 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);