| /openbmc/qemu/tests/qemu-iotests/ |
| H A D | 257.out | 2 === Mode bitmap; Bitmap Sync never with simulated failure === 4 --- Preparing image & VM --- 6 {"execute": "blockdev-add", "arguments": {"driver": "qcow2", "file": {"driver": "file", "filename":… 9 --- Write #0 --- 11 write -P0x49 0x0000000 0x10000 13 write -P0x6c 0x0100000 0x10000 15 write -P0x6f 0x2000000 0x10000 17 write -P0x76 0x3ff0000 0x10000 23 --- Reference Backup #0 --- 26 {"execute": "job-dismiss", "arguments": {"id": "bdc-file-job"}} [all …]
|
| H A D | 056 | 4 # Tests for drive-backup 37 optargs = optargs + ['-o', '%s=%s' % (k,v)] 38 args = ['create', '-f', fmt] + optargs + [fullname, size] 50 iotests.qemu_io('-c', 'write -P%s %s %s' % pattern, img) 58 qemu_img('create', '-f', iotests.imgfmt, 59 '-o', 'backing_file=%s' % backing_img, '-F', 'raw', test_img) 60 qemu_io('-c', 'write -P0x41 0 512', test_img) 61 qemu_io('-c', 'write -P0xd5 1M 32k', test_img) 62 qemu_io('-c', 'write -P0xdc 32M 124k', test_img) 63 qemu_io('-c', 'write -P0xdc 67043328 64k', test_img) [all …]
|
| H A D | 055 | 4 # Tests for drive-backup and blockdev-backup 31 blockdev_target_img = os.path.join(iotests.test_dir, 'blockdev-target.img') 36 qemu_img('create', '-f', iotests.imgfmt, test_img, str(image_len)) 37 qemu_io('-f', iotests.imgfmt, '-c', 'write -P0x11 0 64k', test_img) 38 qemu_io('-f', iotests.imgfmt, '-c', 'write -P0x00 64k 128k', test_img) 39 qemu_io('-f', iotests.imgfmt, '-c', 'write -P0x22 162k 32k', test_img) 40 qemu_io('-f', iotests.imgfmt, '-c', 'write -P0xd5 1M 32k', test_img) 41 qemu_io('-f', iotests.imgfmt, '-c', 'write -P0xdc 32M 124k', test_img) 42 qemu_io('-f', iotests.imgfmt, '-c', 'write -P0x33 67043328 64k', test_img) 50 qemu_img('create', '-f', iotests.imgfmt, blockdev_target_img, str(image_len)) [all …]
|
| H A D | 283.out | 1 {"execute": "blockdev-add", "arguments": {"driver": "null-co", "node-name": "target", "size": 10485… 3 …ecute": "blockdev-add", "arguments": {"driver": "blkdebug", "image": {"driver": "null-co", "node-n… 5 {"execute": "blockdev-add", "arguments": {"driver": "blkdebug", "image": "base", "node-name": "othe… 7 {"execute": "blockdev-backup", "arguments": {"device": "source", "job-id": "backup0", "sync": "full… 8 {"error": {"class": "GenericError", "desc": "Permission conflict on node 'base': permissions 'write… 10 === copy-before-write filter should be gone after job-finalize === 12 {"execute": "blockdev-add", "arguments": {"driver": "null-co", "node-name": "source"}} 14 {"execute": "blockdev-add", "arguments": {"driver": "null-co", "node-name": "target"}} 16 …-backup", "arguments": {"auto-dismiss": false, "auto-finalize": false, "device": "source", "filter… 18 {"execute": "job-finalize", "arguments": {"id": "backup"}} [all …]
|
| H A D | 156 | 4 # Tests oVirt-like storage migration: 5 # - Create snapshot 6 # - Create target image with (not yet existing) target backing chain 7 # (i.e. just write the name of a soon-to-be-copied-over backing file into it) 8 # - drive-mirror the snapshot to the target with mode=existing and sync=top 9 # - In the meantime, copy the original source files to the destination via 11 # - Complete the drive-mirror job 12 # - Delete all source images 59 _make_test_img -b "$TEST_IMG.backing" -F $IMGFMT 1M 61 $QEMU_IO -c 'write -P 1 0 256k' "$TEST_IMG.backing" | _filter_qemu_io [all …]
|
| H A D | 041 | 30 target_backing_img = os.path.join(iotests.test_dir, 'target-backing.img') 44 qmp_cmd = 'drive-mirror' 49 qemu_img('create', '-f', iotests.imgfmt, 50 '-o', 'backing_file=%s' % backing_img, '-F', 'raw', test_img) 51 self.vm = iotests.VM().add_drive(test_img, "node-name=top,backing.node-name=base") 68 self.vm.cmd(self.qmp_cmd, device='drive0', sync='full', 72 result = self.vm.qmp('query-block') 81 self.vm.cmd(self.qmp_cmd, device='drive0', sync='full', 85 result = self.vm.qmp('query-block') 91 self.vm.cmd(self.qmp_cmd, device='drive0', sync='full', [all …]
|
| H A D | 304 | 4 # Tests dirty-bitmap backup with unaligned bitmap granularity 36 qemu_img_create('-f', iotests.imgfmt, test_img, str(image_len)) 42 # write to the entire image 43 vm.hmp_qemu_io('drive0', 'write -P0x16 0 4096'); 44 vm.hmp_qemu_io('drive0', 'write -P0x17 4096 1'); 47 vm.qmp('drive-backup', **{ 49 'sync': 'full', 57 # shutdown to sync images
|
| H A D | 283 | 4 # Test for copy-before-write filter permission conflict 34 copy-before-write filter so it can copy all data to the target before it is 35 changed. copy-before-write filter is appended above source node, to achieve 37 side parents of source sub-tree with write permission is unsupported (we'd have 38 append several copy-before-write filter like nodes to handle such parents). The 40 not allowed (blockdev-backup command should fail). 56 ┌─────────────┐ write perm ┌───────┐ 60 copy-before-write filter wants to unshare write permission on its source child. 61 Write unsharing will be propagated to the "source->base" link and will conflict 62 with other node write permission. So permission update will fail and backup job [all …]
|
| H A D | 151 | 38 qemu_img('create', '-f', iotests.imgfmt, source_img, '128M') 39 qemu_img('create', '-f', iotests.imgfmt, target_img, '128M') 43 'node-name': 'source-node', 49 blk_target = {'node-name': 'target-node', 57 self.vm.add_device('virtio-blk,id=vblk,drive=source') 73 'write -P 1 0 %i' % self.image_len); 77 self.vm.hmp_qemu_io('source', 'aio_write -P 2 %i 1M' % offset) 79 self.vm.hmp_qemu_io('source', 'aio_write -z %i 1M' % offset) 82 self.vm.cmd('blockdev-mirror', 84 filter_node_name='mirror-node', [all …]
|
| H A D | 109.out | 9 {'execute':'drive-mirror', 'arguments':{ 11 'mode': 'existing', 'sync': 'full'}} 13 …Automatically detecting the format is dangerous for raw images, write operations on block 0 will b… 18 …AMP}, "event": "BLOCK_JOB_ERROR", "data": {"device": "src", "operation": "write", "action": "repor… 23 {"execute":"query-block-jobs"} 26 …croseconds": TIMESTAMP}, "event": "SHUTDOWN", "data": {"guest": false, "reason": "host-qmp-quit"}} 32 {'execute':'drive-mirror', 'arguments':{ 34 'mode': 'existing', 'sync': 'full'}} 39 {"execute":"query-block-jobs"} 40 …-finalize": true, "io-status": "ok", "device": "src", "auto-dismiss": true, "busy": false, "len": … [all …]
|
| H A D | 185 | 37 if [ -f "$TEST_DIR/qsd.pid" ]; then 38 kill -SIGKILL "$(cat "$TEST_DIR/qsd.pid")" 39 rm -f "$TEST_DIR/qsd.pid" 41 rm -f "$SOCK_DIR/qsd.sock" 64 -drive file="${TEST_IMG}.base",cache=$CACHEMODE,aio=$AIOMODE,driver=$IMGFMT,id=disk 73 "{ 'execute': 'blockdev-snapshot-sync', 75 'snapshot-file': '$TEST_IMG.mid', 77 'mode': 'absolute-paths' } }" \ 81 "{ 'execute': 'human-monitor-command', 82 'arguments': { 'command-line': [all …]
|
| /openbmc/u-boot/board/freescale/mx6sabresd/ |
| H A D | README | 1 How to use and build U-Boot on mx6sabresd 2 ----------------------------------------- 14 ------------------------------- 24 This will generate the SPL and u-boot-dtb.img binaries. 26 - Flash the SPL binary into the SD card: 28 $ sudo dd if=SPL of=/dev/sdX bs=1K seek=1 && sync 30 - Flash the u-boot-dtb.img binary into the SD card: 32 $ sudo dd if=u-boot-dtb.img of=/dev/sdX bs=1K seek=69 && sync 36 -------------------- 42 This will generate the SPL and u-boot-dtb.img binaries. [all …]
|
| /openbmc/u-boot/board/freescale/mx6sabreauto/ |
| H A D | README | 1 How to use and build U-Boot on mx6sabreauto 2 ------------------------------------------- 12 This will generate the SPL and u-boot-dtb.img binaries. 14 - Flash the SPL binary into the SD card: 16 $ sudo dd if=SPL of=/dev/sdX bs=1K seek=1 && sync 18 - Flash the u-boot-dtb.img binary into the SD card: 20 $ sudo dd if=u-boot-dtb.img of=/dev/sdX bs=1K seek=69 && sync 23 ----------------------- 25 Write in mx6sabreauto_defconfig the following define below: 35 This will generate the SPL image called SPL and the u-boot-dtb.img. [all …]
|
| /openbmc/u-boot/arch/powerpc/cpu/mpc86xx/ |
| H A D | cache.S | 35 /* use invalidate-all bit in HID0 */ 68 * Write any modified data cache blocks out to memory 70 * This is a no-op on the 601. 75 li r5,CACHE_LINE_SIZE-1 86 sync /* wait for dcbst's to get to ram */ 91 sync /* additional sync needed on g4 */ 95 * Write any modified data cache blocks out to memory. 102 li r5,CACHE_LINE_SIZE-1 105 add r4,r4,r5 /* r4 += cache_line_size-1 */ 110 sync [all …]
|
| /openbmc/u-boot/board/gateworks/gw_ventana/ |
| H A D | README | 1 U-Boot for the Gateworks Ventana Product Family boards 3 This file contains information for the port of U-Boot to the Gateworks 7 is supported by a single bootloader build by using a common SPL and U-Boot 13 --------------------------------- 19 will build the following artifacts from U-Boot source: 20 - SPL - Secondary Program Loader that the i.MX6 BOOT ROM (Primary Program 22 The DRAM controller, loads u-boot.img from the detected boot device, 25 - u-boot.img - The main U-Boot core which is u-boot.bin with a image header. 29 -------- 31 To build U-Boot for the Gateworks Ventana product family: [all …]
|
| /openbmc/u-boot/board/Barix/ipam390/ |
| H A D | README.ipam390 | 5 In the context of U-Boot, the board is booted in three stages. The initial 19 spl code starts the u-boot image 29 it allows for additional flexibility (run-time detect of board revision, 34 run "tools/buildman/buildman -k ipam390" in the u-boot source tree. 35 Once this build completes you will have a ../current/ipam390/u-boot.ais file 41 Assuming that the network is configured and enabled and the u-boot.ais file 44 U-Boot > print upd_uboot 45 upd_uboot=tftp c0000000 ${u-boot};nand erase.part u-boot;nand write c0000000 20000 ${filesize} 46 U-Boot > 47 U-Boot > run upd_uboot [all …]
|
| /openbmc/phosphor-logging/extensions/openpower-pels/ |
| H A D | journal.hpp | 3 #include <systemd/sd-journal.h> 28 * @param syslogID - The SYSLOG_IDENTIFIER field value 29 * @param maxMessages - Max number of messages to get 37 * @brief Call journalctl --sync to write unwritten journal data to disk 39 virtual void sync() const = 0; 60 * @param syslogID - The SYSLOG_IDENTIFIER field value 61 * @param maxMessages - Max number of messages to get 69 * @brief Call journalctl --sync to write unwritten journal data to disk 71 void sync() const override; 77 * @param journal - pointer to current journal entry [all …]
|
| /openbmc/u-boot/arch/powerpc/cpu/mpc83xx/ |
| H A D | ecc.c | 1 // SPDX-License-Identifier: GPL-2.0+ 3 * Copyright (C) 2007-2011 Freescale Semiconductor, Inc. 18 struct ccsr_ddr __iomem *ddr = &immap->ddr; in ecc_print_status() 20 ddr83xx_t *ddr = &immap->ddr; in ecc_print_status() 24 (ddr->sdram_cfg & SDRAM_CFG_ECC_EN) ? "ON" : "OFF"); in ecc_print_status() 28 printf(" Multiple-Bit Error Interrupt Enable: %d\n", in ecc_print_status() 29 (ddr->err_int_en & ECC_ERR_INT_EN_MBEE) ? 1 : 0); in ecc_print_status() 30 printf(" Single-Bit Error Interrupt Enable: %d\n", in ecc_print_status() 31 (ddr->err_int_en & ECC_ERR_INT_EN_SBEE) ? 1 : 0); in ecc_print_status() 33 (ddr->err_int_en & ECC_ERR_INT_EN_MSEE) ? 1 : 0); in ecc_print_status() [all …]
|
| /openbmc/u-boot/board/cssi/MCR3000/ |
| H A D | MCR3000.c | 1 // SPDX-License-Identifier: GPL-2.0+ 3 * Copyright (C) 2010-2017 CS Systemes d'Information 4 * Florent Trinh Thai <florent.trinh-thai@c-s.fr> 5 * Christophe Leroy <christophe.leroy@c-s.fr> 23 /* DRAM - single read. (offset 0 in upm RAM) */ 27 /* DRAM - burst read. (offset 8 in upm RAM) */ 33 /* DRAM - single write. (offset 18 in upm RAM) */ 37 /* DRAM - burst write. (offset 20 in upm RAM) */ 56 const char *sync = "receive"; in ft_board_setup() local 61 do_fixup_by_path_u32(blob, "/soc/cpm", "brg-frequency", in ft_board_setup() [all …]
|
| /openbmc/u-boot/board/congatec/cgtqmx6eval/ |
| H A D | README | 1 U-Boot for the Congatec QMX6 boards 3 This file contains information for the port of U-Boot to the Congatec 6 1. Building U-Boot 7 ------------------ 9 - Build U-Boot for Congatec QMX6 boards: 17 - SPL 18 - u-boot.img 20 2. Flashing U-Boot in the SPI NOR 21 --------------------------------- 23 Copy SPL and u-boot.img to the exported TFTP directory of the [all …]
|
| /openbmc/qemu/linux-user/aarch64/ |
| H A D | mte_user_helper.c | 6 * SPDX-License-Identifier: LGPL-2.1-or-later 16 * Write PR_MTE_TCF to SCTLR_EL1[TCF0]. in arm_set_mte_tcf0() 18 * The kernel has a per-cpu configuration for the sysadmin, in arm_set_mte_tcf0() 23 * because SYNC is most useful for debugging MTE errors, choose SYNC in arm_set_mte_tcf0() 34 env->cp15.sctlr_el[1] = deposit64(env->cp15.sctlr_el[1], 38, 2, tcf); in arm_set_mte_tcf0()
|
| /openbmc/openbmc/poky/meta/lib/oeqa/buildperf/ |
| H A D | test_basic.py | 3 # SPDX-License-Identifier: GPL-2.0-only 14 build_target = 'core-image-sato' 17 """Build core-image-sato""" 21 self.sync() 33 # Build and cleans state in order to get all dependencies pre-built 35 self.run_cmd(['bitbake', self.build_target, '-c', 'cleansstate']) 37 self.sync() 43 build_target = 'core-image-sato' 46 """Build core-image-sato with rm_work enabled""" 49 fobj.write('INHERIT += "rm_work"\n') [all …]
|
| /openbmc/u-boot/tools/binman/etype/ |
| H A D | cros_ec_rw.py | 1 # SPDX-License-Identifier: GPL-2.0+ 5 # Entry-type module for a Chromium OS EC image (read-write section) 12 """A blob entry which contains a Chromium OS read-write EC image 15 - cros-ec-rw-path: Filename containing the EC image 18 updating the EC on startup via software sync. 22 'cros-ec-rw')
|
| /openbmc/u-boot/drivers/video/ |
| H A D | tda19988.c | 1 // SPDX-License-Identifier: GPL-2.0+ 28 #define REG_MAIN_CNTRL0 REG(0x00, 0x01) /* read/write */ 36 #define REG_SOFTRESET REG(0x00, 0x0a) /* write */ 39 #define REG_DDC_DISABLE REG(0x00, 0x0b) /* read/write */ 40 #define REG_I2C_MASTER REG(0x00, 0x0d) /* read/write */ 44 #define REG_FEAT_POWERDOWN REG(0x00, 0x0e) /* read/write */ 48 #define REG_INT_FLAGS_0 REG(0x00, 0x0f) /* read/write */ 49 #define REG_INT_FLAGS_1 REG(0x00, 0x10) /* read/write */ 50 #define REG_INT_FLAGS_2 REG(0x00, 0x11) /* read/write */ 52 #define REG_ENA_VP_0 REG(0x00, 0x18) /* read/write */ [all …]
|
| /openbmc/u-boot/post/cpu/mpc83xx/ |
| H A D | ecc.c | 1 // SPDX-License-Identifier: GPL-2.0+ 26 __raw_writel(0, &ddr->capture_address); in ecc_clear() 27 __raw_writel(0, &ddr->capture_data_hi); in ecc_clear() 28 __raw_writel(0, &ddr->capture_data_lo); in ecc_clear() 29 __raw_writel(0, &ddr->capture_ecc); in ecc_clear() 30 __raw_writel(0, &ddr->capture_attributes); in ecc_clear() 33 out_be32(&ddr->err_sbe, 1 << ECC_ERROR_MAN_SBET_SHIFT); in ecc_clear() 36 out_be32(&ddr->err_detect, ECC_ERROR_DETECT_MME |\ in ecc_clear() 50 ddr83xx_t *ddr = &((immap_t *)CONFIG_SYS_IMMR)->ddr; in ecc_post_test() 57 /* After injecting error, re-initialize the memory with the value */ in ecc_post_test() [all …]
|