Home
last modified time | relevance | path

Searched refs:image_path (Results 1 – 25 of 26) 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 …]
H A Dwic.py1261image_path = os.path.join(bb_vars['DEPLOY_DIR_IMAGE'], '%s.wic' % bb_vars['IMAGE_LINK_NAME'])
1262 …self.assertTrue(os.path.exists(image_path), msg="Image file %s wasn't generated as expected" % ima…
1268 …d("wic ls %s -n %s | awk -F ' ' '{print $1 \" \" $5}' | grep '^2' | wc -w" % (image_path, sysroot))
1578image_path = os.path.join(bb_vars['DEPLOY_DIR_IMAGE'], '%s.wic' % bb_vars['IMAGE_LINK_NAME'])
1591 cmd = "wic write -n %s --expand 1:0 %s %s" % (sysroot, image_path, new_image_path)
1595 orig = runCmd("wic ls %s -n %s" % (image_path, sysroot))
1606 os.rename(image_path, image_path + '.bak')
1607 os.rename(new_image_path, image_path)
1617 if os.path.exists(image_path + '.bak'):
1618 os.rename(image_path + '.bak', image_path)
[all …]
/openbmc/qemu/tests/functional/
H A Dtest_arm_orangepi.py159 image_path = os.path.join(self.workdir, 'armbian.img')
160 lzma_uncompress(image_path_xz, image_path)
161 image_pow2ceil_expand(image_path)
164 self.vm.add_args('-drive', 'file=' + image_path + ',if=sd,format=raw',
200 image_path = os.path.join(self.workdir, 'armv7.img')
201 gzip_uncompress(image_path_gz, image_path)
202 image_pow2ceil_expand(image_path)
203 image_drive_args = 'if=sd,format=raw,snapshot=on,file=' + image_path
207 with open(image_path, 'r+b') as f_out:
H A Dtest_arm_aspeed_ast2600.py29 image_path = self.ASSET_BR2_202311_AST2600_FLASH.fetch()
37 self.do_test_arm_aspeed_buildroot_start(image_path, '0xf00',
75 image_path = self.ASSET_BR2_202302_AST2600_TPM_FLASH.fetch()
91 self.do_test_arm_aspeed_buildroot_start(image_path, '0xf00', 'Aspeed AST2600 EVB')
109 image_path = self.ASSET_SDK_V806_AST2600_A2.fetch()
111 archive_extract(image_path, self.workdir)
H A Dtest_arm_aspeed_ast2500.py22 image_path = self.ASSET_BR2_202311_AST2500_FLASH.fetch()
26 self.do_test_arm_aspeed_buildroot_start(image_path, '0x0',
48 image_path = self.ASSET_SDK_V806_AST2500.fetch()
50 archive_extract(image_path, self.workdir)
H A Dtest_arm_bpim2u.py152 image_path = os.path.join(self.workdir, 'sdcard.img')
153 gzip_uncompress(image_path_gz, image_path)
154 image_pow2ceil_expand(image_path)
157 self.vm.add_args('-drive', 'file=' + image_path + ',if=sd,format=raw',
183 os.remove(image_path)
H A Dtest_arm_aspeed_palmetto.py18 image_path = self.ASSET_PALMETTO_FLASH.fetch()
20 self.do_test_arm_aspeed('palmetto-bmc', image_path)
H A Dtest_arm_aspeed_romulus.py18 image_path = self.ASSET_ROMULUS_FLASH.fetch()
20 self.do_test_arm_aspeed('romulus-bmc', image_path)
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_aarch64_aspeed.py38 image_path = self.ASSET_SDK_V902_AST2700.fetch()
39 archive_extract(image_path, self.workdir)
H A Dtest_aarch64_virt.py99 image_path = os.path.join(self.workdir, 'scratch.qcow2')
101 run_cmd([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/qemu/tests/functional/qemu_test/
H A Dtesseract.py23 def tesseract_ocr(image_path, tesseract_args=''): argument
25 console_logger.debug(image_path)
26 (stdout, stderr, ret) = run_cmd(['tesseract', 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()
H A Defidebug.c105 u16 **image_path) in efi_get_driver_handle_info() argument
120 *image_path = NULL; in efi_get_driver_handle_info()
125 *image_path = efi_dp_str(image->file_path); in efi_get_driver_handle_info()
/openbmc/qemu/tests/avocado/
H A Dreverse_debugging.py38 def run_vm(self, record, shift, args, replay_path, image_path, port): argument
52 vm.add_args('-drive', 'file=%s,if=none' % image_path)
107 image_path = os.path.join(self.workdir, 'disk.qcow2')
114 cmd = '%s create -f qcow2 %s 128M' % (qemu_img, image_path)
121 vm = self.run_vm(True, shift, args, replay_path, image_path, port)
130 vm = self.run_vm(False, shift, args, replay_path, image_path, port)
H A Dboot_linux_console.py355 image_path = archive.extract(image_path_gz, self.workdir)
356 image_pow2ceil_expand(image_path)
359 self.vm.add_args('-drive', 'file=' + image_path + ',if=sd,format=raw',
402 image_path = os.path.join(self.workdir, image_name)
403 archive.gzip_uncompress(image_path_gz, image_path)
406 drive_args = 'file=' + image_path + ',if=mtd,bus=0,unit=0'
H A Dlinux_ssh_mips_malta.py79 image_path = self.fetch_asset(image_url, asset_hash=image_hash)
87 '-drive', 'file=%s,snapshot=on' % image_path,
/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")
/openbmc/qemu/tests/qtest/
H A Dpflash-cfi02-test.c59 static char *image_path; variable
282 image_path, in test_geometry()
585 image_path); in test_cfi_in_autoselect()
610 unlink(image_path); in cleanup()
611 g_free(image_path); in cleanup()
640 int fd = g_file_open_tmp("qtest.XXXXXX", &image_path, &err); in main()
647 g_printerr("Failed to truncate file %s to %u MB: %s\n", image_path, in main()
/openbmc/openbmc/meta-arm/meta-arm-bsp/conf/machine/
H A Dfvp-base.conf61 FVP_CONFIG[bp.virtioblockdevice.image_path] ?= "${IMAGE_NAME}.wic"
/openbmc/u-boot/board/gdsys/p1022/
H A Dcontrolcenterd-id.c1045 const char *image_path = "/ccdm.itb"; in second_stage_init() local
1082 image_path = cptr; in second_stage_init()
1084 mac_path = malloc(strlen(image_path) + strlen(mac_suffix) + 1); in second_stage_init()
1087 strcpy(mac_path, image_path); in second_stage_init()
1094 if (fs_read(image_path, image_addr, 0, 0, &image_size) < 0) in second_stage_init()
/openbmc/openbmc/poky/meta/lib/oe/
H A Dspdx30_tasks.py1077 image_path = image_deploy_dir / image_filename
1078 if os.path.isdir(image_path):
1082 image_path,
1102 hashValue=bb.utils.sha256_file(image_path),
/openbmc/openbmc/poky/scripts/lib/wic/plugins/imager/
H A Ddirect.py78 image_path = self._full_path(self.workdir, self.parts[0].disk, "direct")
79 self._image = PartitionedImage(image_path, self.ptable_format,

12