| /openbmc/qemu/tests/qtest/ |
| H A D | remote-i3c-test.c | |
| /openbmc/openbmc/poky/meta/lib/oeqa/selftest/cases/ |
| H A D | esdk.py | 4 # SPDX-License-Identifier: MIT 19 # Install libraries and headers, image generation binary feeds, sdk-update. 25 # what environment load oe-selftest, i586, x86_64 26 pattern = os.path.join(tmpdir_eSDKQA, 'environment-setup-*') 30 def run_esdk_cmd(env_eSDK, tmpdir_eSDKQA, cmd, postconfig=None, **options): argument 40 …runCmd("cd %s; unset BBPATH; unset BUILDDIR; . %s; %s" % (tmpdir_eSDKQA, env_eSDK, cmd), **options) 44 pn_task = '%s -c populate_sdk_ext' % image 49 pn_task = '%s -c populate_sdk_ext' % image 58 sstate_dir = os.path.join(os.environ['BUILDDIR'], 'sstate-cache') 63 runCmd("%s -y -d \"%s\"" % (cls.ext_sdk_path, cls.tmpdir_eSDKQA)) [all …]
|
| /openbmc/u-boot/drivers/spi/ |
| H A D | spi-mem-nodm.c | 1 // SPDX-License-Identifier: GPL-2.0+ 3 * Copyright (C) 2018 Texas Instruments Incorporated - http://www.ti.com/ 7 #include <spi-mem.h> 21 if (op->data.nbytes) { in spi_mem_exec_op() 22 if (op->data.dir == SPI_MEM_DATA_IN) in spi_mem_exec_op() 23 rx_buf = op->data.buf.in; in spi_mem_exec_op() 25 tx_buf = op->data.buf.out; in spi_mem_exec_op() 28 op_len = sizeof(op->cmd.opcode) + op->addr.nbytes + op->dummy.nbytes; in spi_mem_exec_op() 35 op_buf[pos++] = op->cmd.opcode; in spi_mem_exec_op() 37 if (op->addr.nbytes) { in spi_mem_exec_op() [all …]
|
| H A D | spi-mem.c | 1 // SPDX-License-Identifier: GPL-2.0+ 15 #include <spi-mem.h> 20 * spi_controller_dma_map_mem_op_data() - DMA-map the buffer attached to a 24 * @sgt: a pointer to a non-initialized sg_table that will be filled by this 28 * This helper prepares everything for you and provides a ready-to-use 32 * op->data.buf.{in,out} is DMA-able before calling this function. 42 if (!op->data.nbytes) in spi_controller_dma_map_mem_op_data() 43 return -EINVAL; in spi_controller_dma_map_mem_op_data() 45 if (op->data.dir == SPI_MEM_DATA_OUT && ctlr->dma_tx) in spi_controller_dma_map_mem_op_data() 46 dmadev = ctlr->dma_tx->device->dev; in spi_controller_dma_map_mem_op_data() [all …]
|
| /openbmc/qemu/hw/usb/ |
| H A D | hcd-uhci.c | 31 #include "hw/usb/uhci-regs.h" 35 #include "hw/qdev-properties.h" 41 #include "qemu/main-loop.h" 44 #include "hcd-uhci.h" 114 if ((td->token & (0xf << 15)) == 0) { in uhci_queue_token() 116 return td->token & 0x7ff00; in uhci_queue_token() 118 /* covers ep, dev, pid -> identifies the endpoint */ in uhci_queue_token() 119 return td->token & 0x7ffff; in uhci_queue_token() 129 queue->uhci = s; in uhci_queue_new() 130 queue->qh_addr = qh_addr; in uhci_queue_new() [all …]
|
| /openbmc/openbmc/poky/scripts/lib/wic/plugins/source/ |
| H A D | rootfs.py | 4 # SPDX-License-Identifier: GPL-2.0-only 36 def __validate_path(cmd, rootfs_dir, path): argument 38 logger.error("%s: Must be relative: %s" % (cmd, path)) 46 logger.error("%s: Must point inside the rootfs: %s" % (cmd, path)) 84 raise WicError("Couldn't find --rootfs-dir, exiting") 93 raise WicError("Couldn't find --rootfs-dir=%s connection or " 120 if cd[-1] == '/': 121 cd = cd[:-1] 122 orig_dir = cls.__validate_path("--change-directory", part.rootfs_dir, cd) 134 shutil.copy(os.path.join(pseudo_dir, "files.db"), [all …]
|
| /openbmc/openbmc/meta-openembedded/meta-oe/recipes-connectivity/krb5/krb5/ |
| H A D | 0001-Eliminate-old-style-function-declarations.patch | 3 Date: Fri, 9 Jun 2023 23:53:53 -0400 4 Subject: [PATCH] Eliminate old-style function declarations 6 The C2x standard removes support for non-prototype function 8 (https://reviews.llvm.org/D122895). Add -Werror=strict-prototypes to 9 the build and fix all of the non-prototype declarations and 14 function is used as an xdrproc_t value, since each XDR per-type 17 even though XDR per-type functions accept only two parameters. 20 [ghudson@mit.edu: added -Werror=strict-prototypes and fixed 24 Signed-off-by: Martin Jansa <martin.jansa@gmail.com> 25 Upstream-Status: Backport [https://github.com/krb5/krb5/commit/4b9d7f7c107f01a61600fddcd8cde3812d03… [all …]
|
| /openbmc/openbmc/poky/bitbake/bin/ |
| H A D | toaster | 3 # toaster - shell script to start Toaster 5 # Copyright (C) 2013-2015 Intel Corp. 7 # SPDX-License-Identifier: GPL-2.0-or-later 23 if [ -f $custom_extension ] ; then 32 # ../bitbake/lib/toaster/manage.py createsuperuser --username=<ME> 33 $MANAGE migrate --noinput || retval=1 35 if [ $retval -eq 1 ]; then 41 $MANAGE checksettings --traceback || retval=1 43 if [ $retval -eq 1 ]; then 54 if [ -f ${BUILDDIR}/.toastermain.pid ] ; then [all …]
|
| /openbmc/openbmc/poky/bitbake/lib/bblayers/ |
| H A D | layerindex.py | 4 # SPDX-License-Identifier: GPL-2.0-only 16 logger = logging.getLogger('bitbake-layers') 37 cmd = ['git', 'clone'] 39 cmd.extend(['--depth', '1']) 41 cmd.extend(['-b' , branch]) 42 cmd.extend([url, repodir]) 43 result = subprocess.call(cmd) 57 base_cmd = ['git', '--git-dir=%s/.git' % repodir, '--work-tree=%s' % repodir] 58 cmd = base_cmd + ['branch'] 59 completed_proc = subprocess.run(cmd, text=True, capture_output=True) [all …]
|
| /openbmc/qemu/include/hw/i3c/ |
| H A D | dw-i3c.h | 7 * SPDX-License-Identifier: GPL-2.0-or-later 86 * Transfer commands and arguments are 32-bit wide values that the user passes 87 * into the command queue. We interpret each 32-bit word based on the cmd_attr 93 uint16_t cmd:8; member 110 uint8_t db; /* Defining byte */ member 126 uint16_t cmd:8; member
|
| /openbmc/openbmc/poky/bitbake/lib/bb/tests/ |
| H A D | runqueue.py | 6 # SPDX-License-Identifier: GPL-2.0-only 29 …def run_bitbakecmd(self, cmd, builddir, sstatevalid="", slowtasks="", extraenv=None, cleanup=False… argument 31 env["BBPATH"] = os.path.realpath(os.path.join(os.path.dirname(__file__), "runqueue-tests")) 41 …output = subprocess.check_output(cmd, env=env, stderr=subprocess.STDOUT,universal_newlines=True, c… 46 self.fail("Command %s failed with %s" % (cmd, e.output)) 58 cmd = ["bitbake", "a1"] 60 tasks = self.run_bitbakecmd(cmd, tempdir, sstatevalid) 68 cmd = ["bitbake", "a1"] 70 tasks = self.run_bitbakecmd(cmd, tempdir, sstatevalid) 80 cmd = ["bitbake", "a1"] [all …]
|
| /openbmc/openbmc/meta-openembedded/meta-oe/recipes-support/hddtemp/hddtemp/ |
| H A D | hddtemp_0.3-beta15-52.diff | 3 Original URL: http://ftp.debian.org/debian/pool/main/h/hddtemp/hddtemp_0.3-beta15-52.diff.gz 6 filterdiff -p1 -x README -x 'debian/*' 9 Upstream-Status: Inappropriate [unmaintained] 11 Index: hddtemp-0.3-beta15/doc/hddtemp.8 13 --- hddtemp-0.3-beta15.orig/doc/hddtemp.8 14 +++ hddtemp-0.3-beta15/doc/hddtemp.8 15 @@ -58,6 +58,10 @@ Execute hddtemp in TCP/IP daemon mode (p 16 .B \-f, \-\-file=\fIfile\fI 19 +.B \-F, \-\-foreground 23 .B \-l, \-\-listen=\fIaddr\fR [all …]
|
| /openbmc/openbmc/poky/meta/classes-global/ |
| H A D | package_rpm.bbclass | 4 # SPDX-License-Identifier: MIT 15 PKGWRITEDIRRPM = "${WORKDIR}/deploy-rpms" 35 if var and srcname.startswith("nativesdk-"): 77 # OE-core dependencies a.k.a. RPM requires 87 # OE-core / RPM Provides 132 # In RPM, dependencies are of the format: pkg <>= Epoch:Version-Release 134 # characters that can be in a field. In the Version field, "-" 135 # characters are not allowed. "-" is allowed in the Release field. 137 # We translate the "-" in the version to a "+", by loading the PKGV 138 # from the dependent recipe, replacing the - with a +, and then using [all …]
|
| /openbmc/qemu/target/i386/emulate/ |
| H A D | x86_decode.c | 29 printf(TARGET_FMT_lx ": failed to decode instruction ", env->eip); in decode_invalid() 30 for (int i = 0; i < decode->opcode_len; i++) { in decode_invalid() 31 printf("%x ", decode->opcode[i]); in decode_invalid() 74 target_ulong va = linear_rip(env_cpu(env), env->eip) + decode->len; in decode_bytes() 75 emul_ops->read_mem(env_cpu(env), &val, va, size); in decode_bytes() 76 decode->len += size; in decode_bytes() 104 op->type = X86_VAR_RM; in decode_modrm_rm() 110 op->type = X86_VAR_REG; in decode_modrm_reg() 111 op->reg = decode->modrm.reg; in decode_modrm_reg() 112 op->regptr = get_reg_ref(env, op->reg, decode->rex.rex, decode->rex.r, in decode_modrm_reg() [all …]
|
| /openbmc/openbmc/poky/bitbake/lib/toaster/toastergui/ |
| H A D | widgets.py | 6 # SPDX-License-Identifier: GPL-2.0-only 15 from django.db.models import Q 64 self.empty_state = "Sorry - no data found" 97 cmd = request.GET.get('cmd', None) 98 if cmd and 'filterinfo' in cmd: 101 # If no cmd is specified we give you the table data 235 # pass it to the user - programming error here 273 (for a toggle filter) or "2015-12-11,2015-12-12" 297 cache_name = re.sub(r'[^A-Za-z0-9-]', "", cache_name) 367 '<!--error-->' [all …]
|
| /openbmc/u-boot/drivers/ata/ |
| H A D | dwc_ahsata.c | 1 // SPDX-License-Identifier: GPL-2.0+ 3 * Copyright (C) 2010-2011 Freescale Semiconductor, Inc. 31 u32 cmd; member 99 return (i < timeout_msec) ? 0 : -1; in waiting_for_cmd_completed() 104 struct sata_host_regs *host_mmio = uc_priv->mmio_base; in ahci_setup_oobr() 106 writel(SATA_HOST_OOBR_WE, &host_mmio->oobr); in ahci_setup_oobr() 107 writel(0x02060b14, &host_mmio->oobr); in ahci_setup_oobr() 117 struct sata_host_regs *host_mmio = uc_priv->mmio_base; in ahci_host_init() 120 cap_save = readl(&host_mmio->cap); in ahci_host_init() 124 tmp = readl(&host_mmio->ghc); in ahci_host_init() [all …]
|
| /openbmc/u-boot/common/ |
| H A D | usb_storage.c | 1 // SPDX-License-Identifier: GPL-2.0+ 5 * (c) 1999-2002 Matthew Dharm (mdharm-usb@one-eyed-alien.net) 6 * (c) 2000 David L. Brown, Jr. (usb-storage@davidb.org) 11 * Adapted for U-Boot: 43 #include <dm/device-internal.h> 53 /* direction table -- this indicates the direction of the data 54 * transfer for each command code -- a 1 indicates input 88 unsigned char attention_done; /* force attn on first cmd */ 107 #define USB_STOR_TRANSPORT_FAILED -1 108 #define USB_STOR_TRANSPORT_ERROR -2 [all …]
|
| /openbmc/openbmc/poky/meta/lib/oe/ |
| H A D | rootfs.py | 4 # SPDX-License-Identifier: GPL-2.0-only 49 # lines beginning with a + since sh -x may emit code which isn't 93 if bb.utils.contains("IMAGE_FEATURES", "package-management", 101 The _cleanup() method should be used to clean-up stuff that we don't really 102 want to end up on target. For example, in the case of RPM, the DB locks. 116 shutil.rmtree(self.image_rootfs + '-orig') 119 bb.utils.rename(self.image_rootfs, self.image_rootfs + '-orig') 127 if os.path.isdir(self.image_rootfs + '-orig' + path): 128 … shutil.copytree(self.image_rootfs + '-orig' + path, self.image_rootfs + path, symlinks=True) 129 elif os.path.isfile(self.image_rootfs + '-orig' + path): [all …]
|
| /openbmc/qemu/hw/i3c/ |
| H A D | dw-i3c.c | 7 * SPDX-License-Identifier: GPL-2.0-or-later 12 #include "qemu/error-report.h" 14 #include "hw/i3c/dw-i3c.h" 16 #include "hw/qdev-properties.h" 53 FIELD(COMMAND_QUEUE_PORT, CMD, 7, 8) 63 FIELD(COMMAND_QUEUE_PORT, DB, 8, 8) 368 return ARRAY_FIELD_EX32(s->regs, HW_CAPABILITY, HDR_TS); in dw_i3c_has_hdr_ts() 373 return ARRAY_FIELD_EX32(s->regs, HW_CAPABILITY, HDR_DDR); in dw_i3c_has_hdr_ddr() 382 return ARRAY_FIELD_EX32(s->regs, DEVICE_CTRL, I3C_EN) && in dw_i3c_can_transmit() 383 !ARRAY_FIELD_EX32(s->regs, DEVICE_CTRL, I3C_RESUME); in dw_i3c_can_transmit() [all …]
|
| /openbmc/u-boot/drivers/usb/dwc3/ |
| H A D | core.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 3 * core.h - DesignWare USB3 DRD Core Header 5 * Copyright (C) 2015 Texas Instruments Incorporated - http://www.ti.com 10 * Taken from Linux Kernel v3.19-rc1 (drivers/usb/dwc3/core.h) and ported 378 * struct dwc3_event_buffer - Software event buffer representation 408 #define DWC3_TRB_MASK (DWC3_TRB_NUM - 1) 411 * struct dwc3_ep - device side endpoint representation 424 * @number: endpoint number (1 - 15) 428 * @name: a human readable name e.g. ep1out-bulk 539 * struct dwc3_trb - transfer request block (hw format) [all …]
|
| /openbmc/u-boot/tools/ |
| H A D | moveconfig.py | 2 # SPDX-License-Identifier: GPL-2.0+ 10 Since Kconfig was introduced to U-Boot, we have worked on moving 17 ----- 45 - Move 'CONFIG_... ' 48 - CONFIG_... is not defined in Kconfig. Do nothing. 52 - CONFIG_... is not defined in Kconfig (suspicious). Do nothing. 56 - You forgot to create an entry for the CONFIG before running 58 - The entry was hidden due to unmet 'depends on'. 62 - 'CONFIG_...' is the same as the define in Kconfig. Do nothing. 66 - Compiler is missing. Do nothing. [all …]
|
| /openbmc/openbmc/poky/documentation/migration-guides/ |
| H A D | migration-2.6.rst | 1 .. SPDX-License-Identifier: CC-BY-SA-2.0-UK 9 .. _migration-2.6-gcc-changes: 12 ------------------------------ 16 release, see https://gcc.gnu.org/gcc-8/changes.html. 23 .. _migration-2.6-removed-recipes: 26 --------------- 30 - *beecrypt*: No longer needed since moving to RPM 4. 31 - *bigreqsproto*: Replaced by ``xorgproto``. 32 - *calibrateproto*: Removed in favor of ``xinput``. 33 - *compositeproto*: Replaced by ``xorgproto``. [all …]
|
| /openbmc/openbmc/poky/scripts/lib/recipetool/ |
| H A D | create_buildsys.py | 1 # Recipe creation tool - create command build system handlers 3 # Copyright (C) 2014-2016 Intel Corporation 5 # SPDX-License-Identifier: GPL-2.0-only 63 # Note that some of these are non-standard, but probably better to 65 cmake_pkgmap = {'alsa': 'alsa-lib', 68 'bison': 'bison-native', 78 'dbusglib': 'dbus-glib', 81 'flex': 'flex-native', 86 'gio': 'glib-2.0', 87 'giounix': 'glib-2.0', [all …]
|
| /openbmc/qemu/hw/display/ |
| H A D | sm501.c | 4 * Copyright (c) 2008 Shin-ichiro KAWASAKI 5 * Copyright (c) 2016-2020 BALATON Zoltan 29 #include "qemu/error-report.h" 32 #include "hw/usb/hcd-ohci.h" 33 #include "hw/char/serial-mm.h" 38 #include "hw/qdev-properties.h" 40 #include "hw/display/i2c-ddc.h" 51 /* SM501 register definitions taken from "linux/include/linux/sm501-regs.h" */ 457 #define get_local_mem_size(s) sm501_mem_local_size[(s)->local_mem_size_index] 576 return (crt ? s->dc_crt_fb_addr : s->dc_panel_fb_addr) & 0x3FFFFF0; in get_fb_addr() [all …]
|
| /openbmc/openbmc/poky/bitbake/lib/bb/ui/ |
| H A D | buildinfohelper.py | 6 # SPDX-License-Identifier: GPL-2.0-only 43 from django.db import models 48 from django.db import transaction 51 # pylint: disable=invalid-name 75 key += "-%d" % kwargs[k].id 77 key += "-%s" % str(kwargs[k]) 82 … """ This is a memory-cached get_or_create. We assume that the objects will not be created in the 102 …""" This is a memory-cached get. We assume that the objects will not change in the database betwe… 120 name ('core-image-minimal' etc.) and machine. 139 # pylint: disable=no-self-use [all …]
|