mirror of
https://git.codelinaro.org/clo/qsdk/oss/boot/u-boot-2016.git
synced 2025-12-10 07:44:53 +01:00
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:
parent
ebec6a21fd
commit
02f0b79baa
1 changed files with 3 additions and 1 deletions
|
|
@ -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
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue