From 02f0b79baa3122c6de03fe5ca5d02bc41491c1eb Mon Sep 17 00:00:00 2001 From: Gokul Sriram Palanisamy Date: Sat, 9 Feb 2019 00:25:21 +0530 Subject: [PATCH] pack.py: Updated base addr 64-bit kernelboot image Change-Id: I48bcb258b42a8746e462cb27810d65300562a585 Signed-off-by: Gokul Sriram Palanisamy --- tools/pack.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/tools/pack.py b/tools/pack.py index c1d7ee86d8..6111275eb7 100644 --- a/tools/pack.py +++ b/tools/pack.py @@ -1634,8 +1634,10 @@ def gen_kernelboot_img(parser): 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 @@ def gen_kernelboot_img(parser): "--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