Lines Matching refs:sp
108 def get_sp_pkg(sp, args :dict): argument
137 def get_uuid(sp_layout, sp, args :dict): argument
139 if "uuid" in sp_layout[sp]:
141 uuid_std = uuid.UUID(sp_layout[sp]['uuid'])
143 with open(get_sp_manifest_full_path(sp_layout[sp], args), "r") as pm_f:
156 def get_load_address(sp_layout, sp, args :dict): argument
158 with open(get_sp_manifest_full_path(sp_layout[sp], args), "r") as pm_f:
181 def gen_fdt_sources(sp_layout, sp, args :dict): argument
183 manifest_path = get_sp_manifest_full_path(sp_layout[sp], args)
188 def generate_hob_list(sp_layout, sp, args: dict): argument
193 with open(get_sp_manifest_full_path(sp_layout[sp], args), "r") as f:
197 sp_hob_name = os.path.basename(sp + ".hob.bin")
201 sp_layout[sp]["hob_path"] = sp_hob_name
240 def gen_partition_pkg(sp_layout, sp, args :dict): argument
242 pkg = get_sp_pkg(sp, args)
244 sp_dtb_name = os.path.basename(get_file_from_layout(sp_layout[sp]["pm"]))[:-1] + "b"
246 sp_img = get_sp_img_full_path(sp_layout[sp], args)
254 package_type = sp_layout[sp]["package"] if "package" in sp_layout[sp] else "sp_pkg"
257 partition_pkg_rule = generate_sp_pkg(sp_layout[sp], pkg, sp_img, sp_dtb)
260 hob_path = sp_layout[sp]["hob_path"] if "hob_path" in sp_layout[sp] else None
262 sp_layout[sp], pkg, sp_img, sp_dtb, hob_path)
275 owners = [sp_layout[sp].get("owner") for sp in sp_layout]
288 def gen_crt_args(sp_layout, sp, args :dict): argument
294 if sp_layout[sp].get("owner") == "Plat":
305 sp_pkg_idx = [k for k in sp_layout.keys()].index(sp) + 1
310 def gen_fiptool_args(sp_layout, sp, args :dict): argument
312 uuid_std = get_uuid(sp_layout, sp, args)
317 def gen_fconf_fragment(sp_layout, sp, args: dict): argument
320 uuid = get_uuid(sp_layout, sp, args)
321 owner = "Plat" if sp_layout[sp].get("owner") == "Plat" else "SiP"
323 if "physical-load-address" in sp_layout[sp].keys():
324 load_address = sp_layout[sp]["physical-load-address"]
326 load_address = get_load_address(sp_layout, sp, args)