# =========================================================================== #Copyright (c) 2017, 2019, 2021 Qualcomm Technologies, Inc. #All Rights Reserved. #Confidential and Proprietary - Qualcomm Technologies, Inc. # =========================================================================== import xml.etree.ElementTree as ET import itertools import os import subprocess import sys from getopt import getopt from getopt import GetoptError arch="" flash="nor,tiny-nor,nand,norplusnand,emmc,norplusemmc" bootImgDir="" rpmImgDir="" tzImgDir="" nhssImgDir="" wififwImgDir="" cdir = os.path.dirname(__file__) cdir = os.path.abspath(cdir) inDir = "" mode = "" mbn_v6 = "" def print_help(): print "\nUsage: python prepareSingleImage.py