mirror of
https://git.codelinaro.org/clo/qsdk/oss/boot/u-boot-2016.git
synced 2025-12-10 07:44:53 +01:00
ipq6018: take ubinize from src path instead of current path
Change-Id: I6613f29d2c4b867b9232068c0849cd53a94d84fb Signed-off-by: Rajkumar Ayyasamy <arajkuma@codeaurora.org>
This commit is contained in:
parent
becd07ff6b
commit
a636319503
1 changed files with 2 additions and 2 deletions
|
|
@ -1506,7 +1506,7 @@ class Pack(object):
|
|||
|
||||
if ftype in ["nand-4k", "nand-audio-4k", "norplusnand-4k"]:
|
||||
UBI_IMG_NAME = "openwrt-ipq-ipq60xx" + MODE_APPEND + "-ubi-root-m4096-p256KiB.img"
|
||||
cmd = './ubinize -m 4096 -p 256KiB -o root.ubi %s' % (UBINIZE_CFG_NAME)
|
||||
cmd = '%s -m 4096 -p 256KiB -o root.ubi %s' % ((SRC_DIR + "/ubinize") ,UBINIZE_CFG_NAME)
|
||||
ret = subprocess.call(cmd, shell=True)
|
||||
if ret != 0:
|
||||
error("ubinization got failed")
|
||||
|
|
@ -1516,7 +1516,7 @@ class Pack(object):
|
|||
error("ubi image copy operation failed")
|
||||
elif ftype in ["nand", "nand-audio", "norplusnand"]:
|
||||
UBI_IMG_NAME = "openwrt-ipq-ipq60xx" + MODE_APPEND +"-ubi-root.img"
|
||||
cmd = './ubinize -m 2048 -p 128KiB -o root.ubi %s' % (UBINIZE_CFG_NAME)
|
||||
cmd = '%s -m 2048 -p 128KiB -o root.ubi %s' % ((SRC_DIR + "/ubinize") ,UBINIZE_CFG_NAME)
|
||||
ret = subprocess.call(cmd, shell=True)
|
||||
if ret != 0:
|
||||
error("ubinization got failed")
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue