pack.py: Updated base addr 64-bit kernelboot image

Change-Id: I48bcb258b42a8746e462cb27810d65300562a585
Signed-off-by: Gokul Sriram Palanisamy <gokulsri@codeaurora.org>
This commit is contained in:
Gokul Sriram Palanisamy 2019-02-09 00:25:21 +05:30 committed by Gerrit - the friendly Code Review server
parent ebec6a21fd
commit 02f0b79baa

View file

@ -1634,8 +1634,10 @@ def gen_kernelboot_img(parser):
if MODE == "64": if MODE == "64":
KERNEL_IMG_NAME = "openwrt-" + ARCH_NAME + "_" + MODE + "-kernelboot.img" KERNEL_IMG_NAME = "openwrt-" + ARCH_NAME + "_" + MODE + "-kernelboot.img"
BASE_ADDR = "0x41078000"
else: else:
KERNEL_IMG_NAME = "openwrt-" + ARCH_NAME + "-kernelboot.img" KERNEL_IMG_NAME = "openwrt-" + ARCH_NAME + "-kernelboot.img"
BASE_ADDR = "0x41200000"
src = parser.images_dname + "/qcom-" + ARCH_NAME + "-hk01.dtb" src = parser.images_dname + "/qcom-" + ARCH_NAME + "-hk01.dtb"
if not os.path.exists(src): if not os.path.exists(src):
@ -1664,7 +1666,7 @@ def gen_kernelboot_img(parser):
"--dt=" + TMP_DIR + "/qcom-ipq807x-hk01-dt.img", "--dt=" + TMP_DIR + "/qcom-ipq807x-hk01-dt.img",
"--cmdline=\'rootfsname=rootfs rootwait nosmp\'", "--cmdline=\'rootfsname=rootfs rootwait nosmp\'",
"--output=" + parser.images_dname + "/" + KERNEL_IMG_NAME, "--output=" + parser.images_dname + "/" + KERNEL_IMG_NAME,
"--base=0x41200000"] "--base=" + BASE_ADDR]
ret = subprocess.call(cmd) ret = subprocess.call(cmd)
if ret != 0: if ret != 0:
print ret print ret