Home
last modified time | relevance | path

Searched +full:sync +full:- +full:read (Results 1 – 25 of 455) sorted by relevance

12345678910>>...19

/openbmc/u-boot/board/Barix/ipam390/
H A DREADME.ipam3905 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-bmc-code-mgmt/bmc/
H A Dsync-once.sh3 # Sync the files/dirs specified in synclist once
4 # Usually the sync-manager could sync the file once before it starts, so that
5 # it makes sure the synclist is always synced when the sync-manager is running.
8 DEST_DIR=/run/media/rwfs-alt/cow
10 while read -r l; do
12 # if the sync entry is not present in the source, remove it from the destination
13 if [ -n "${l}" ] && [ ! -e "${l}" ] && [ -e "${DEST_DIR}/${l}" ]; then
15 rm -rf "${DEST_DIR:?}/${l:?}"
19 echo rsync -a -R --delete "${l}" "${DEST_DIR}"
20 rsync -a -R --delete "${l}" "${DEST_DIR}"
/openbmc/phosphor-logging/
H A Dutil.cpp1 // SPDX-License-Identifier: Apache-2.0
2 // SPDX-FileCopyrightText: Copyright 2020 IBM Corporation
10 #include <systemd/sd-bus.h>
11 #include <systemd/sd-journal.h>
14 #include <phosphor-logging/lg2.hpp>
39 return value.substr(pos, value.find_last_of('"') - pos); in getOSReleaseValue()
49 auto fd = -1; in journalSync()
50 auto rc = -1; in journalSync()
51 auto wd = -1; in journalSync()
58 // Make a request to sync the journal with the SIGRTMIN+1 signal and in journalSync()
[all …]
/openbmc/qemu/tests/qemu-iotests/
H A D04130 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 D1564 # 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 D156.out11 { 'execute': 'blockdev-snapshot-sync',
13 'snapshot-file': 'TEST_DIR/t.IMGFMT.overlay',
17 { 'execute': 'human-monitor-command',
18 'arguments': { 'command-line':
19 'qemu-io source "write -P 3 128k 128k"' } }
24 { 'execute': 'drive-mirror',
28 'sync': 'top' } }
34 { 'execute': 'human-monitor-command',
35 'arguments': { 'command-line':
36 'qemu-io source "write -P 4 192k 64k"' } }
[all …]
/openbmc/u-boot/post/cpu/mpc83xx/
H A Decc.c1 // 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 …]
/openbmc/phosphor-bmc-code-mgmt/
H A Dmeson.options2 …/github.com/openbmc/docs/blob/master/architecture/code-update/flash-layout.md#supported-filesystem
3 # - static: NOR flash configured with fixed-sized MTD partitions.
4 # - ubi: NOR flash device configured with UBI volumes.
5 # - mmc: eMMC flash device configured with ext4 filesystems.
7 'bmc-layout',
16 'host-bios-upgrade',
23 'sync-bmc-files',
26 description: 'Enable sync of filesystem files.',
32 'verify-signature',
39 'usb-code-update',
[all …]
/openbmc/u-boot/board/tqc/tqm834x/
H A Dtqm834x.c1 // SPDX-License-Identifier: GPL-2.0+
22 #define SYNC asm("sync") macro
58 if ((im->sysconf.immrbar & IMMRBAR_BASE_ADDR) != (u32)im) in board_early_init_r()
75 im->sysconf.ddrlaw[0].bar = CONFIG_SYS_DDR_BASE; in dram_init()
76 im->sysconf.ddrlaw[0].ar = (LAWAR_EN | LAWAR_SIZE_2G); in dram_init()
93 im->ddr.sdram_cfg = (SDRAM_CFG_MEM_EN | in dram_init()
96 SYNC; in dram_init()
114 gd->ram_size = size; in dram_init()
131 if (!(immr->reset.rcwh & HRCWH_PCI_HOST)) { in checkboard()
138 if (immr->reset.rcwh & HRCWH_64_BIT_PCI) in checkboard()
[all …]
/openbmc/u-boot/arch/powerpc/cpu/mpc83xx/
H A Decc.c1 // 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 DMCR3000.c1 // 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/witherspoon-pfault-analysis/power-supply/
H A Dpower_supply.hpp42 * @param[in] name - the device name
43 * @param[in] inst - the device instance
44 * @param[in] objpath - the path to monitor
45 * @param[in] invpath - the inventory path to use
46 * @param[in] bus - D-Bus bus object
47 * @param[in] e - event object
48 * @param[in] t - time to allow power supply to assert PG#
49 * @param[in] p - time to allow power supply presence state to
80 * @param[in] callout - The callout to be resolved (inventory path)
81 * @param[in] message - The message for the fault to be resolved
[all …]
/openbmc/phosphor-power/power-supply/
H A Dpower_supply.hpp42 * @param[in] name - the device name
43 * @param[in] inst - the device instance
44 * @param[in] objpath - the path to monitor
45 * @param[in] invpath - the inventory path to use
46 * @param[in] bus - D-Bus bus object
47 * @param[in] e - event object
48 * @param[in] t - time to allow power supply to assert PG#
49 * @param[in] p - time to allow power supply presence state to
80 * @param[in] callout - The callout to be resolved (inventory path)
81 * @parma[in] message - The message for the fault to be resolved
[all …]
/openbmc/phosphor-logging/extensions/openpower-pels/
H A Djournal.hpp3 #include <systemd/sd-journal.h>
13 * Abstract class to read messages from the journal.
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;
[all …]
/openbmc/qemu/replay/
H A Dreplay-internal.h5 * replay-internal.h
7 * Copyright (c) 2010-2015 Institute for System Programming
11 * See the COPYING file in the top-level directory.
43 EVENT_ASYNC_LAST = EVENT_ASYNC + REPLAY_ASYNC_COUNT - 1,
49 /* for character device read all event */
58 /* for clock read/writes */
61 EVENT_CLOCK_LAST = EVENT_CLOCK + REPLAY_CLOCK_COUNT - 1,
65 EVENT_CHECKPOINT_LAST = EVENT_CHECKPOINT + CHECKPOINT_COUNT - 1,
72 * typedef ReplayState - global tracking Replay state
87 * @read_event_id: current async read event id
[all …]
/openbmc/u-boot/arch/powerpc/include/asm/
H A Dio.h38 * The insw/outsw/insl/outsl macros don't do byte-swapping.
40 * are arrays of bytes, and byte-swapping is not appropriate in
41 * that case. - paulus
83 * The *_ns versions below don't do byte-swapping.
100 * Enforce In-order Execution of I/O:
109 static inline void sync(void) in sync() function
111 __asm__ __volatile__ ("sync" : : : "memory"); in sync()
119 /* Enforce in-order execution of data I/O.
120 * No distinction between read/write on PPC; use eieio for all three.
126 #define mb() sync()
[all …]
/openbmc/u-boot/tools/binman/etype/
H A Dcros_ec_rw.py1 # 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')
H A Dgbb.py1 # SPDX-License-Identifier: GPL-2.0+
6 # Support for a Chromium OS Google Binary Block, used to record read-only
20 'dev-screen-short-delay': 0x1,
21 'load-option-roms': 0x2,
22 'enable-alternate-os': 0x4,
23 'force-dev-switch-on': 0x8,
24 'force-dev-boot-usb': 0x10,
25 'disable-fw-rollback-check': 0x20,
26 'enter-triggers-tonorm': 0x40,
27 'force-dev-boot-legacy': 0x80,
[all …]
/openbmc/u-boot/arch/arm/mach-tegra/
H A Divc.c1 // SPDX-License-Identifier: GPL-2.0
8 #include <asm/arch-tegra/ivc.h>
24 * The transmitting end can enter the established state from the sync or
32 * If an endpoint is observed in the sync state, the remote endpoint is
40 * When the transmitting end observes the receiving end in the sync
49 * This structure is divided into two-cache aligned parts, the first is only
52 * which is critical to performance and necessary in non-cache coherent
91 BUG_ON(frame >= ivc->nframes); in tegra_ivc_frame_addr()
94 (ivc->frame_size * frame); in tegra_ivc_frame_addr()
109 invalidate_dcache_range(base, base + ivc->frame_size); in tegra_ivc_invalidate_frame()
[all …]
/openbmc/u-boot/include/zfs/
H A Duberblock_impl.h1 /* SPDX-License-Identifier: GPL-2.0+ */
3 * GRUB -- GRand Unified Bootloader
17 * The uberblock version is incremented whenever an incompatible on-disk
21 * is opened, the uberblock must be read off the disk before the version
26 #define UBERBLOCK_MAGIC 0x00bab10c /* oo-ba-bloc! */
32 uint64_t ub_txg; /* txg of last sync */
34 uint64_t ub_timestamp; /* UTC time of last sync */
/openbmc/qemu/migration/
H A Dmultifd.h4 * Copyright (c) 2019-2020 Red Hat Inc
10 * See the COPYING file in the top-level directory.
23 /* No sync request */
25 /* Sync locally on the sender threads without pushing messages */
28 * Sync not only on the sender threads, but also push MULTIFD_FLAG_SYNC
29 * message to the wire for each iochannel (which is for a remote sync).
31 * When remote sync is used, need to be paired with a follow up
102 * - normal pages (initial normal_pages entries)
103 * - zero pages (following zero_pages entries)
164 return data->type == MULTIFD_PAYLOAD_NONE; in multifd_payload_empty()
[all …]
/openbmc/u-boot/drivers/video/
H A Dtda19988.c1 // SPDX-License-Identifier: GPL-2.0+
27 #define REG_VERSION_LSB REG(0x00, 0x00) /* read */
28 #define REG_MAIN_CNTRL0 REG(0x00, 0x01) /* read/write */
35 #define REG_VERSION_MSB REG(0x00, 0x02) /* read */
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 */
[all …]
/openbmc/openbmc/meta-phosphor/recipes-phosphor/initrdscripts/phosphor-static-norootfs-init/
H A Dremount-filesystem-readonly3 sync
4 mount_point="/run/mnt-persist"
7 echo "Attempting to remount $mount_point as read-only with a number of $retries retries"
9 while [ "$retries" -gt 0 ]; do
10 if mount -o ro,remount "$mount_point"; then
13 retries=$((retries - 1))
/openbmc/u-boot/drivers/sysreset/
H A Dsysreset_mpc83xx.h1 /* SPDX-License-Identifier: GPL-2.0+ */
62 "TDM-DMAC"
70 "Address-only, Clean Block",
71 "Address-only, lwarx reservation set",
72 "Single-beat or Burst write",
74 "Address-only, Flush Block",
78 "Address-only, sync",
79 "Address-only, tlbsync",
80 "Single-beat or Burst read",
81 "Single-beat or Burst read",
[all …]
/openbmc/qemu/
H A Dblockdev.c4 * Copyright (c) 2003-2008 Fabrice Bellard
7 * later. See the COPYING file in the top-level directory.
12 * Copyright (c) 2003-2008 Fabrice Bellard
34 #include "system/block-backend.h"
38 #include "block/dirty-bitmap.h"
40 #include "block/throttle-groups.h"
42 #include "qemu/error-report.h"
44 #include "qemu/qemu-print.h"
45 #include "qemu/config-file.h"
46 #include "qapi/qapi-commands-block.h"
[all …]

12345678910>>...19