summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorIliyan Malchev2012-06-08 12:42:40 -0500
committerIliyan Malchev2012-06-11 16:18:45 -0500
commit497de83856385f86dce2776c37ce937f5974f0a3 (patch)
treeb2d02829f9ddc1b49ad7735cea38c50144b48187 /mkbootimg
parent029d44e6aef334d2f0f03cbc9a5609cddc1b23e3 (diff)
downloadplatform-system-core-497de83856385f86dce2776c37ce937f5974f0a3.tar.gz
platform-system-core-497de83856385f86dce2776c37ce937f5974f0a3.tar.xz
platform-system-core-497de83856385f86dce2776c37ce937f5974f0a3.zip
HACK: push ramdisk up by 2M
Change-Id: Idb71ebd25c0b8c765ce8767961f362f6deb45547 Signed-off-by: Iliyan Malchev <malchev@google.com>
Diffstat (limited to 'mkbootimg')
-rw-r--r--mkbootimg/mkbootimg.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/mkbootimg/mkbootimg.c b/mkbootimg/mkbootimg.c
index a94cb9c89..d72e3176c 100644
--- a/mkbootimg/mkbootimg.c
+++ b/mkbootimg/mkbootimg.c
@@ -142,7 +142,7 @@ int main(int argc, char **argv)
142 } else if(!strcmp(arg, "--base")) { 142 } else if(!strcmp(arg, "--base")) {
143 unsigned base = strtoul(val, 0, 16); 143 unsigned base = strtoul(val, 0, 16);
144 hdr.kernel_addr = base + 0x00008000; 144 hdr.kernel_addr = base + 0x00008000;
145 hdr.ramdisk_addr = base + 0x01000000; 145 hdr.ramdisk_addr = base + 0x01300000;
146 hdr.second_addr = base + 0x00F00000; 146 hdr.second_addr = base + 0x00F00000;
147 hdr.tags_addr = base + 0x00000100; 147 hdr.tags_addr = base + 0x00000100;
148 } else if(!strcmp(arg, "--board")) { 148 } else if(!strcmp(arg, "--board")) {