mirror of
https://git.codelinaro.org/clo/qsdk/oss/boot/u-boot-2016.git
synced 2025-12-10 07:44:53 +01:00
tools: pack: flash bootconfig only for non-apps image
Update pack script to flash bootconfig only for non-apps image. Change-Id: I85be15e48b4e4f3ed40826d0c395f2cc8e5d3f88 Signed-off-by: Ram Kumar D <quic_ramd@quicinc.com>
This commit is contained in:
parent
8575192bb6
commit
e5b8aad848
1 changed files with 6 additions and 7 deletions
|
|
@ -1600,7 +1600,7 @@ class Pack(object):
|
||||||
if (multi_wifi_fw == "true" or tiny_16m == "true") and 'wififw_type_min' in section.attrib:
|
if (multi_wifi_fw == "true" or tiny_16m == "true") and 'wififw_type_min' in section.attrib:
|
||||||
wifi_fw_type_min = section.attrib['wififw_type_min']
|
wifi_fw_type_min = section.attrib['wififw_type_min']
|
||||||
wifi_fw_type_max = section.attrib['wififw_type_max']
|
wifi_fw_type_max = section.attrib['wififw_type_max']
|
||||||
elif 'bootconfig_type_max' in section.attrib:
|
elif 'bootconfig_type_max' in section.attrib and image_type == "all":
|
||||||
partition = section.attrib['label']
|
partition = section.attrib['label']
|
||||||
else:
|
else:
|
||||||
try:
|
try:
|
||||||
|
|
@ -2122,7 +2122,7 @@ class Pack(object):
|
||||||
wifi_fw_type_min = section.attrib['wififw_type_min']
|
wifi_fw_type_min = section.attrib['wififw_type_min']
|
||||||
wifi_fw_type_max = section.attrib['wififw_type_max']
|
wifi_fw_type_max = section.attrib['wififw_type_max']
|
||||||
partition = section.attrib['label']
|
partition = section.attrib['label']
|
||||||
elif "bootconfig_type_max" in section.attrib:
|
elif "bootconfig_type_max" in section.attrib and image_type == "all":
|
||||||
partition = section.attrib['label']
|
partition = section.attrib['label']
|
||||||
else:
|
else:
|
||||||
try:
|
try:
|
||||||
|
|
@ -2168,11 +2168,10 @@ class Pack(object):
|
||||||
|
|
||||||
if section_conf == "bootconfig" or section_conf == "bootconfig1":
|
if section_conf == "bootconfig" or section_conf == "bootconfig1":
|
||||||
try:
|
try:
|
||||||
if image_type == "all" or section[8].attrib['image_type'] == image_type:
|
ret = self.__gen_script_bootconfig(images, flinfo, partition, section)
|
||||||
ret = self.__gen_script_bootconfig(images, flinfo, partition, section)
|
if ret == 1:
|
||||||
if ret == 1:
|
continue
|
||||||
continue
|
except KeyError as e:
|
||||||
except KeyError, e:
|
|
||||||
continue
|
continue
|
||||||
|
|
||||||
if section_conf == "cdt" or section_conf == "cdt_1" or section_conf == "ddrconfig":
|
if section_conf == "cdt" or section_conf == "cdt_1" or section_conf == "ddrconfig":
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue