pack.py: Updated base addr 64-bit kernelboot image
Change-Id: I48bcb258b42a8746e462cb27810d65300562a585
Signed-off-by: Gokul Sriram Palanisamy <gokulsri@codeaurora.org>
diff --git a/tools/pack.py b/tools/pack.py
index c1d7ee8..6111275 100644
--- a/tools/pack.py
+++ b/tools/pack.py
@@ -1634,8 +1634,10 @@
if MODE == "64":
KERNEL_IMG_NAME = "openwrt-" + ARCH_NAME + "_" + MODE + "-kernelboot.img"
+ BASE_ADDR = "0x41078000"
else:
KERNEL_IMG_NAME = "openwrt-" + ARCH_NAME + "-kernelboot.img"
+ BASE_ADDR = "0x41200000"
src = parser.images_dname + "/qcom-" + ARCH_NAME + "-hk01.dtb"
if not os.path.exists(src):
@@ -1664,7 +1666,7 @@
"--dt=" + TMP_DIR + "/qcom-ipq807x-hk01-dt.img",
"--cmdline=\'rootfsname=rootfs rootwait nosmp\'",
"--output=" + parser.images_dname + "/" + KERNEL_IMG_NAME,
- "--base=0x41200000"]
+ "--base=" + BASE_ADDR]
ret = subprocess.call(cmd)
if ret != 0:
print ret