mirror of
https://git.codelinaro.org/clo/qsdk/oss/boot/u-boot-2016.git
synced 2026-02-18 18:21:17 +01:00
pack.py: Updated section name to reflect 'lkboot'
Updated section name to 'lkboot' that will be used to display while flashing the image. Change-Id: I38e66f03963bc008bdee3036e980fb4c6b930ec0 Signed-off-by: Gokul Sriram Palanisamy <gokulsri@codeaurora.org>
This commit is contained in:
parent
ae79231f1e
commit
d917f0032a
1 changed files with 3 additions and 1 deletions
|
|
@ -824,7 +824,8 @@ class Pack(object):
|
|||
ret = subprocess.call(cmd, shell=True)
|
||||
if ret != 0:
|
||||
error("failed to create padded image from script")
|
||||
|
||||
if section == "u-boot" and lk == True and self.flinfo.type == 'emmc':
|
||||
section = "lkboot"
|
||||
if self.flinfo.type != "emmc":
|
||||
if part_info == None:
|
||||
if self.flinfo.type == 'norplusnand':
|
||||
|
|
@ -916,6 +917,7 @@ class Pack(object):
|
|||
filename = "openwrt-ipq40xx-lkboot-stripped.elf"
|
||||
elif "ipq806x" in filename:
|
||||
filename = "openwrt-ipq806x-lkboot.mbn"
|
||||
section = "lkboot"
|
||||
if lk == True and "uImage" in filename:
|
||||
if "ipq40xx" in filename:
|
||||
filename = "openwrt-ipq40xx-kernelboot.img"
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue