Home
last modified time | relevance | path

Searched refs:image_path (Results 1 – 25 of 38) sorted by relevance

12

/openbmc/openbmc/poky/meta/lib/oeqa/selftest/cases/
H A Dimagefeatures.py109image_path = os.path.join(bb_vars['DEPLOY_DIR_IMAGE'], "%s.ext4" % bb_vars['IMAGE_LINK_NAME'])
110 bmap_path = "%s.bmap" % image_path
114 self.assertTrue(os.path.exists(image_path))
119 image_stat = os.stat(image_path)
146 image_path = os.path.join(bb_vars['DEPLOY_DIR_IMAGE'], "%s.ext4.%s" %
150 self.assertTrue(os.path.exists(image_path))
154 result = runCmd('qemu-img info --output json %s' % image_path,
181 image_path = os.path.join(bb_vars['DEPLOY_DIR_IMAGE'], "%s.%s" %
185 self.assertTrue(os.path.exists(image_path))
186 self.assertTrue(os.path.exists(image_path + ".sha256sum"))
[all …]
/openbmc/qemu/tests/functional/qemu_test/
H A Dtesseract.py12 def tesseract_ocr(image_path, tesseract_args=''): argument
14 console_logger.debug(image_path)
15 proc = run(['tesseract', image_path, 'stdout'],
/openbmc/qemu/tests/functional/
H A Dtest_arm_orangepi.py155 image_path = self.uncompress(self.ASSET_ARMBIAN)
156 image_pow2ceil_expand(image_path)
159 self.vm.add_args('-drive', 'file=' + image_path + ',if=sd,format=raw',
195 image_path = self.uncompress(self.ASSET_NETBSD)
196 image_pow2ceil_expand(image_path)
197 image_drive_args = 'if=sd,format=raw,snapshot=on,file=' + image_path
201 with open(image_path, 'r+b') as f_out:
H A Dtest_aarch64_imx8mp_evk.py38 self.image_path = self.scratch_file("disk.raw")
44 self.extract(self.image_path, self.kernel_path,
46 self.extract(self.image_path, self.initrd_path,
48 self.extract(self.image_path, self.dtb_path,
H A Dreverse_debugging.py35 def run_vm(self, record, shift, args, replay_path, image_path, port): argument
51 vm.add_args('-drive', 'file=%s,if=none' % image_path)
109 image_path = os.path.join(self.workdir, 'disk.qcow2')
114 cmd = '%s create -f qcow2 %s 128M' % (qemu_img, image_path)
120 vm = self.run_vm(True, shift, args, replay_path, image_path, -1)
131 vm = self.run_vm(False, shift, args, replay_path, image_path, port)
H A Dtest_arm_aspeed_ast2600.py27 image_path = self.ASSET_BR2_202411_AST2600_FLASH.fetch()
35 self.do_test_arm_aspeed_buildroot_start(image_path, '0xf00',
73 image_path = self.ASSET_BR2_202302_AST2600_TPM_FLASH.fetch()
89 self.do_test_arm_aspeed_buildroot_start(image_path, '0xf00', 'Aspeed AST2600 EVB')
H A Dtest_arm_aspeed_romulus.py18 image_path = self.ASSET_ROMULUS_FLASH.fetch()
20 self.do_test_arm_aspeed_openbmc('romulus-bmc', image=image_path,
H A Dtest_arm_aspeed_witherspoon.py18 image_path = self.ASSET_WITHERSPOON_FLASH.fetch()
20 self.do_test_arm_aspeed_openbmc('witherspoon-bmc', image=image_path,
H A Dtest_arm_aspeed_palmetto.py18 image_path = self.ASSET_PALMETTO_FLASH.fetch()
20 self.do_test_arm_aspeed_openbmc('palmetto-bmc', image=image_path,
H A Dtest_arm_aspeed_catalina.py18 image_path = self.uncompress(self.ASSET_CATALINA_FLASH)
20 self.do_test_arm_aspeed_openbmc('catalina-bmc', image=image_path,
H A Dtest_arm_aspeed_bletchley.py18 image_path = self.uncompress(self.ASSET_BLETCHLEY_FLASH)
20 self.do_test_arm_aspeed_openbmc('bletchley-bmc', image=image_path,
H A Dtest_arm_aspeed_gb200nvl_bmc.py18 image_path = self.uncompress(self.ASSET_GB200_FLASH)
20 self.do_test_arm_aspeed_openbmc('gb200nvl-bmc', image=image_path,
H A Dtest_mips64_malta.py25 image_path = self.ASSET_WHEEZY_DISK.fetch()
29 kernel_path, image_path, kernel_command_line, cpuinfo='MIPS 20Kc',
H A Dtest_mips_malta.py52 def mips_check_wheezy(test, kernel_path, image_path, kernel_command_line, argument
61 '-drive', 'file=%s,snapshot=on' % image_path,
186 image_path = self.ASSET_WHEEZY_DISK.fetch()
190 kernel_path, image_path, kernel_command_line, nic='e1000',
H A Dtest_arm_bpim2u.py147 image_path = self.uncompress(self.ASSET_SD_IMAGE)
148 image_pow2ceil_expand(image_path)
151 self.vm.add_args('-drive', 'file=' + image_path + ',if=sd,format=raw',
177 os.remove(image_path)
H A Dtest_arm_cubieboard.py110 image_path = self.uncompress(self.ASSET_OPENWRT)
111 image_pow2ceil_expand(image_path)
114 self.vm.add_args('-drive', 'file=' + image_path + ',if=sd,format=raw',
H A Dtest_arm_aspeed_ast2500.py21 image_path = self.ASSET_BR2_202411_AST2500_FLASH.fetch()
25 self.do_test_arm_aspeed_buildroot_start(image_path, '0x0',
H A Dtest_arm_aspeed_rainier.py21 image_path = self.ASSET_RAINIER_EMMC.fetch()
25 'file=' + image_path + ',if=sd,id=sd2,index=2',
H A Dtest_arm_quanta_gsj.py36 image_path = self.uncompress(self.ASSET_IMAGE, format='gz')
39 drive_args = 'file=' + image_path + ',if=mtd,bus=0,unit=0'
H A Dtest_mipsel_malta.py74 image_path = self.ASSET_WHEEZY_DISK.fetch()
78 kernel_path, image_path, kernel_command_line,
H A Dtest_aarch64_virt.py94 image_path = self.scratch_file('scratch.qcow2')
96 check_call([qemu_img, 'create', '-f', 'qcow2', image_path, '8M'],
/openbmc/qemu/tests/qemu-iotests/
H A D14964 def image_path(self): member in LUKSConfig
139 args = ["luksAddKey", config.image_path(),
172 args.append(config.image_path())
200 args = ["luksOpen", config.image_path(), config.device_name()]
216 os.unlink(config.image_path())
217 iotests.log("unlink %s" % config.image_path(),
227 iotests.log("truncate %s --size %dMB" % (config.image_path(), size_mb),
229 with open(config.image_path(), "w") as fn:
264 config.image_path(),
288 config.image_path())]
H A D14133 def __init__(self, name, vm, image_path, cancel_event): argument
36 self.image_path = image_path
44 file={'driver': 'file', 'filename': self.image_path}, \
/openbmc/u-boot/cmd/
H A Dbootefi.c203 struct efi_device_path *image_path, in bootefi_run_prepare() argument
209 ret = efi_setup_loaded_image(device_path, image_path, image_objp, in bootefi_run_prepare()
247 struct efi_device_path *image_path) in do_bootefi_exec() argument
260 if (!device_path && !image_path) { in do_bootefi_exec()
264 device_path = image_path = memdp; in do_bootefi_exec()
277 assert(device_path && image_path); in do_bootefi_exec()
280 ret = bootefi_run_prepare("bootargs", device_path, image_path, in do_bootefi_exec()
/openbmc/openbmc-test-automation/lib/
H A Dcode_update_utils.py275 image_path = get_image_path(image_version)
276 image_version_id = image_path.split("/")[-2]
279 image_purpose = get_image_purpose(image_path + "MANIFEST")

12