| /openbmc/u-boot/tools/buildman/ |
| H A D | board.py | 1 # SPDX-License-Identifier: GPL-2.0+ 22 props: List of properties to check 35 """A list of expressions each of which must match with properties. 37 This provides a list of 'AND' expressions, meaning that each must 45 """Add an Expr object to the list to check. 48 expr: New Expr object to add to the list of those that must 63 props: List of properties to check 74 def __init__(self, status, arch, cpu, soc, vendor, board_name, target, options): argument 84 target: Target name (use make <target>_defconfig to configure) 85 options: board-specific options (e.g. integratorcp:CM1136) [all …]
|
| H A D | builder.py | 1 # SPDX-License-Identifier: GPL-2.0+ 4 # Bloat-o-meter code used here Copyright 2004 Matt Mackall <mpm@selenic.com> 40 commit and builds it (typically without re-configuring). When it runs out 44 Clearly the builder threads could work either way - they could check out a 66 Buildman also create working directories for each thread, in a .bm-work/ 69 As an example, say we are building branch 'us-net' for boards 'sandbox' and 70 'seaboard', and say that us-net has two commits. We will have directories 73 us-net/ base directory 74 01_of_02_g4ed4ebc_net--Add-tftp-speed-/ 76 u-boot.bin [all …]
|
| /openbmc/openbmc/poky/meta/lib/oeqa/runtime/cases/ |
| H A D | apt.py | 4 # SPDX-License-Identifier: MIT 16 command = 'apt-get %s' % command 17 status, output = self.target.run(command, 1500) 28 '0.0.0.0', port=cls.tc.target.server_port, 37 apt_get_source_server = 'http://%s:%s/' % (self.tc.target.server_ip, self.repo_server.port) 39 …self.target.run('cd %s; echo deb [ allow-insecure=yes ] %s/all ./ > sources.list' % (apt_get_sourc… 42 apt_get_source_server = 'http://%s:%s' % (self.tc.target.server_ip, self.repo_server.port) 44 …self.target.run("cd %s; cp sources.list sources.list.bak; sed -i 's|\[trusted=yes\] http://bogus_i… 48 self.target.run('cd %s; rm sources.list' % (apt_get_sourceslist_dir)) 52 self.target.run('cd %s; mv sources.list.bak sources.list' % (apt_get_sourceslist_dir)) [all …]
|
| H A D | systemd.py | 4 # SPDX-License-Identifier: MIT 19 def systemctl(self, action='', target='', expected=0, verbose=False): argument 20 command = 'SYSTEMD_BUS_TIMEOUT=240s systemctl %s %s' % (action, target) 21 status, output = self.target.run(command) 24 cmd = 'SYSTEMD_BUS_TIMEOUT=240s systemctl status --full %s' % target 25 message += self.target.run(cmd)[1] 32 Request for the journalctl output to the current target system 35 -args, an optional argument pass through argument 36 -l_match_units, an optional list of units to filter the output 38 -string output of the journalctl command [all …]
|
| /openbmc/phosphor-fan-presence/control/json/ |
| H A D | fan.hpp | 8 * http://www.apache.org/licenses/LICENSE-2.0 31 * @class Fan - Represents a configured fan control fan object 36 * fan is included, what sensors make up the fan, the target interface to be 37 * used in setting a target, and any profiles(OPTIONAL) the fan should be 62 * @param[in] jsonObj - JSON object 77 * @brief Get the list of sensors 79 * @return List of sensors with `Target` property 89 * @return Interface containing `Target` to use on sensors 97 * @brief Get the current fan target 99 * @return - The current target of the fan [all …]
|
| /openbmc/qemu/stats/ |
| H A D | stats-hmp-cmds.c | 9 #include "qapi/qapi-commands-stats.h" 20 monitor_printf(mon, " %s (%s%s", value->name, StatsType_str(value->type), in print_stats_schema_value() 21 value->has_unit || value->exponent ? ", " : ""); in print_stats_schema_value() 23 if (value->has_unit) { in print_stats_schema_value() 24 if (value->unit == STATS_UNIT_SECONDS) { in print_stats_schema_value() 26 } else if (value->unit == STATS_UNIT_BYTES) { in print_stats_schema_value() 31 if (unit && value->base == 10 && in print_stats_schema_value() 32 value->exponent >= -18 && value->exponent <= 18 && in print_stats_schema_value() 33 value->exponent % 3 == 0) { in print_stats_schema_value() 34 monitor_puts(mon, si_prefix(value->exponent)); in print_stats_schema_value() [all …]
|
| /openbmc/openbmc/poky/meta/classes/ |
| H A D | copyleft_filter.bbclass | 4 # SPDX-License-Identifier: MIT 14 COPYLEFT_LICENSE_INCLUDE[type] = 'list' 15 COPYLEFT_LICENSE_INCLUDE[doc] = 'Space separated list of globs which include licenses' 18 COPYLEFT_LICENSE_EXCLUDE[type] = 'list' 19 COPYLEFT_LICENSE_EXCLUDE[doc] = 'Space separated list of globs which exclude licenses' 22 COPYLEFT_RECIPE_TYPE[doc] = 'The "type" of the current recipe (e.g. target, native, cross)' 24 COPYLEFT_RECIPE_TYPES ?= 'target' 25 COPYLEFT_RECIPE_TYPES[type] = 'list' 26 COPYLEFT_RECIPE_TYPES[doc] = 'Space separated list of recipe types to include' 28 COPYLEFT_AVAILABLE_RECIPE_TYPES = 'target native nativesdk cross crosssdk cross-canadian' [all …]
|
| /openbmc/openbmc/poky/bitbake/lib/bb/ |
| H A D | taskdata.py | 10 # SPDX-License-Identifier: GPL-2.0-only 19 def re_match_strings(target, strings): argument 21 Whether or not the string 'target' matches 26 if re.match(name, target): 28 elif name == target: 75 bb.msg.fatal("TaskData", "Trying to re-add a failed file? Something is broken...") 133 self.depids[fn] = list(dependids) 155 self.rdepids[fn] = list(rdependids) 177 funcname = '_%s_calculate_extra_depends' % pn.replace('-', '_') 183 def have_build_target(self, target): argument [all …]
|
| /openbmc/openbmc-test-automation/lib/ |
| H A D | fan_utils.robot | 32 # This keyword populates the fan_names list with the names of 36 # fan_names The list of fan names to which new fan names are to be 37 # added to. This list is returned to the caller. 47 Append To List ${fan_names} ${fan_name} 80 [Documentation] Set the fan state, either functional or non-functional. 85 # fan_state The state to set, 1 for functional, 2 for non-functional. 93 Set Fan Target Speed 94 [Documentation] Set the target speed of a fan. 99 # fan_speed The target speed to set (e.g. "9000"). 103 ... Target data=${valueDict} [all …]
|
| H A D | bmc_redfish_utils.py | 70 "get_attribute: JSONDecodeError, re-trying" 98 Returns the list of valid path which has a given attribute. 110 # Get the member id list. 137 Returns list with entries ending in "/endpoint". 143 Find all list entries ending in "/endpoint" combination such as 151 regex = ".*/" + end_point_prefix + "[_]?[0-9]*$" 156 Returns resource target entry of the searched target attribute. 172 "target": "/redfish/v1/Systems/system/Actions/ComputerSystem.Reset" 184 # Recursively search the "target" key in the nested dictionary. 185 # Populate the target_list of target entries. [all …]
|
| /openbmc/openbmc/poky/meta/conf/ |
| H A D | documentation.conf | 3 # Mail your changes to openembedded-devel@openembedded.org 8 do_build[doc] = "Default task for a recipe - depends on all other normal tasks required to 'build' … 11 do_clean[doc] = "Removes all output files for a target" 12 …all[doc] = "Removes all output files, shared state cache, and downloaded source files for a target" 13 do_cleansstate[doc] = "Removes all output files and shared state cache for a target" 17 do_configure[doc] = "Configures the source by enabling and disabling any build-time and configurati… 26 do_kernel_checkout[doc] = "Checks out source/meta branches for a linux-yocto style kernel" 27 do_kernel_configcheck[doc] = "Validates the kernel configuration for a linux-yocto style kernel" 28 do_kernel_configme[doc] = "Assembles the kernel configuration for a linux-yocto style kernel" 30 do_listtasks[doc] = "Lists all defined tasks for a target" [all …]
|
| /openbmc/openbmc/meta-arm/meta-arm-systemready/recipes-test/arm-systemready-linux-distros/files/unattended-boot-conf/openSUSE/ |
| H A D | autoinst.xml | 16 <loader_type>grub2-efi</loader_type> 23 <zones t="list"> 26 <interfaces t="list"/> 29 <ports t="list"/> 30 <protocols t="list"/> 31 <services t="list"/> 33 <target>%%REJECT%%</target> 36 …<description>For computers in your demilitarized zone that are publicly-accessible with limited ac… 37 <interfaces t="list"/> 40 <ports t="list"/> [all …]
|
| /openbmc/qemu/docs/sphinx/ |
| H A D | qapi_domain.py | 6 # pylint: disable=too-many-lines 14 List, 71 ) -> Tuple[nodes.field_name, nodes.field_body]: 73 docutils helper: unpack a field node in a type-safe manner. 97 target: str, 98 ) -> tuple[str, str]: 102 # Cross-references that begin with a tilde adjust the title to 104 # was provided. This is a Sphinx-standard syntax; give it 105 # priority over QAPI-specific type markup below. 107 if target.startswith("~"): [all …]
|
| H A D | dbusdomain.py | 1 # D-Bus sphinx domain extension 5 # SPDX-License-Identifier: LGPL-2.1-or-later 7 # Author: Marc-André Lureau <marcandre.lureau@redhat.com> 14 List, 45 def get_index_text(self, modname: str, name: str) -> str: 51 ) -> None: 76 def get_index_text(self, ifacename: str, name: str) -> str: 79 def before_content(self) -> None: 82 def after_content(self) -> None: 85 def handle_signature(self, sig: str, signode: desc_signature) -> str: [all …]
|
| /openbmc/qemu/hw/cxl/ |
| H A D | cxl-host.c | 11 #include "qemu/error-report.h" 16 #include "qapi/qapi-visit-machine.h" 23 #include "hw/pci-bridge/pci_expander_bridge.h" 31 strList *target; in cxl_fixed_memory_window_config() local 34 fw->index = index; in cxl_fixed_memory_window_config() 36 for (target = object->targets; target; target = target->next) { in cxl_fixed_memory_window_config() 37 fw->num_targets++; in cxl_fixed_memory_window_config() 40 fw->enc_int_ways = cxl_interleave_ways_enc(fw->num_targets, errp); in cxl_fixed_memory_window_config() 45 if (object->size % (256 * MiB)) { in cxl_fixed_memory_window_config() 50 fw->size = object->size; in cxl_fixed_memory_window_config() [all …]
|
| /openbmc/qemu/qapi/ |
| H A D | stats.json | 1 # -*- Mode: Python -*- 7 # See the COPYING file in the top-level directory. 9 # SPDX-License-Identifier: GPL-2.0-or-later 28 # @linear-histogram: stat is a linear histogram. 30 # @log2-histogram: stat is a logarithmic histogram, with one bucket 36 'data' : [ 'cumulative', 'instant', 'peak', 'linear-histogram', 37 'log2-histogram' ] } 92 # `query-stats`. 107 # @vcpus: list of QOM paths for the desired vCPU objects. 117 # The arguments to the `query-stats` command; specifies a target for [all …]
|
| /openbmc/phosphor-fan-presence/docs/control/fanctl/ |
| H A D | README.md | 6 the phosphor-fan-presence repository set of fan applications (i.e. romulus, 14 to a given target. Once a user no longer has a need to manually control the 15 fans, the resume operation re-enables and restarts the phosphor-fan-control 19 (YAML-based configurations are not reloadable). 22 enabled yet, an intended safe fan target should be set prior to resuming. 28 fanctl - Manually control, get fan tachs, view status, reload config, 35 set <TARGET> [TARGET SENSOR LIST] 36 <TARGET> 37 - RPM/PWM target to set the fans 38 [TARGET SENSOR LIST] [all …]
|
| /openbmc/qemu/scripts/oss-fuzz/ |
| H A D | build.sh | 1 #!/bin/bash -e 3 # OSS-Fuzz build script. See: 4 # https://google.github.io/oss-fuzz/getting-started/new-project-guide/#buildsh 7 # https://github.com/google/oss-fuzz/blob/master/projects/qemu/Dockerfiles 10 # the COPYING file in the top-level directory. 17 # make -j$(nproc) all 21 # $CXX $CXXFLAGS -std=c++11 -Iinclude \ 22 # /path/to/name_of_fuzzer.cc -o $OUT/name_of_fuzzer \ 23 # -fsanitize=fuzzer /path/to/library.a 30 OSS_FUZZ_BUILD_DIR="./build-oss-fuzz/" [all …]
|
| /openbmc/openbmc/poky/meta/recipes-devtools/qemu/ |
| H A D | qemu_10.0.0.bb | 5 DEPENDS += "glib-2.0 zlib pixman" 7 DEPENDS:append:libc-musl = " libucontext" 9 CFLAGS += "${@bb.utils.contains('DISTRO_FEATURES', 'x11', '', '-DEGL_NO_X11=1', d)}" 10 LDFLAGS:append:toolchain-clang:x86 = " -latomic" 12 RDEPENDS:${PN}-common:class-target += "bash" 14 EXTRA_OECONF:append:class-target = " --target-list=${@get_qemu_target_list(d)}" 15 EXTRA_OECONF:append:class-target:mipsarcho32 = "${@bb.utils.contains('BBEXTENDCURR', 'multilib', ' … 16 EXTRA_OECONF:append:class-nativesdk = " --target-list=${@get_qemu_target_list(d)}" 24 PACKAGECONFIG:class-nativesdk ??= "fdt sdl kvm pie slirp \
|
| /openbmc/openbmc/poky/scripts/lib/devtool/ |
| H A D | deploy.py | 1 # Development tool - deploy/undeploy command plugin 3 # Copyright (C) 2014-2016 Intel Corporation 5 # SPDX-License-Identifier: GPL-2.0-only 27 Prepare a shell script for running on the target to 29 script - only commands that are likely to be available on the 30 target are suitable (the target might be constrained, e.g. using 35 lines.append('set -e') 37 # Yes, I know this is crude - but it does work 38 lines.append('for entry in %s/*.list; do' % deploylist_path) 39 lines.append('[ ! -f $entry ] && exit') [all …]
|
| /openbmc/openbmc-test-automation/ffdc/ |
| H A D | ffdc_collector.py | 40 - plugin: 41 - plugin_name: plugin.ssh_execution 42 - plugin_function: version = ssh_execute_cmd 43 - plugin_args: 44 - ${hostname} 45 - ${username} 46 - ${password} 47 - "cat /etc/os-release | grep VERSION_ID | awk -F'=' '{print $2}'" 48 - plugin: 49 - plugin_name: plugin.print_vars [all …]
|
| /openbmc/openpower-hw-diags/util/ |
| H A D | pdbg.hpp | 23 /** Chip target types. */ 46 /** @return The target associated with the given chip. */ 49 /** @return The target associated with the given devtree path. */ 52 /** @return A string representing the given target's devtree path. */ 58 /** @return The absolute position of the given target. */ 64 /** @return The unit position of a target within a chip. */ 67 /** @return The target type of the given target. */ 70 /** @return The target type of the given chip. */ 73 /** @return The parent chip target of the given unit target. */ 76 /** @return The parent processor chip target of the given target. */ [all …]
|
| /openbmc/qemu/target/mips/system/ |
| H A D | mips-qmp-cmds.c | 4 * SPDX-FileCopyrightText: 2012 SUSE LINUX Products GmbH 6 * SPDX-License-Identifier: LGPL-2.1-or-later 10 #include "qemu/target-info.h" 12 #include "qapi/qapi-commands-machine.h" 20 error_setg(errp, "CPU model expansion is not supported on this target"); in qmp_query_cpu_model_expansion() 33 info->name = cpu_model_from_type(typename); in mips_cpu_add_definition() 34 info->q_typename = g_strdup(typename); in mips_cpu_add_definition() 42 GSList *list; in qmp_query_cpu_definitions() local 44 list = object_class_get_list(target_cpu_type(), false); in qmp_query_cpu_definitions() 45 g_slist_foreach(list, mips_cpu_add_definition, &cpu_list); in qmp_query_cpu_definitions() [all …]
|
| /openbmc/openbmc/meta-openembedded/meta-oe/recipes-graphics/glm/glm/ |
| H A D | glmTargets.cmake | 8 #---------------------------------------------------------------- 9 # Generated CMake target import file. 10 #---------------------------------------------------------------- 20 list(APPEND _expectedTargets ${_expectedTarget}) 21 if(NOT TARGET ${_expectedTarget}) 22 list(APPEND _targetsNotDefined ${_expectedTarget}) 24 if(TARGET ${_expectedTarget}) 25 list(APPEND _targetsDefined ${_expectedTarget}) 47 # cross-prefix symbolic link such as /lib -> /usr/lib. 62 # Create imported target glm [all …]
|
| /openbmc/openbmc/poky/scripts/ |
| H A D | test-reexec | 3 # Test Script for task re-execution 7 # SPDX-License-Identifier: GPL-2.0-or-later 10 # This script is intended to address issues for re-execution of 18 targets=`bitbake -s | cut -d " " -f 1` 22 mkdir -p $LOGS 26 target=$1 28 sstate_dir=`bitbake $target -e | grep "^SSTATE_DIR=" | cut -d "\"" -f 2` 29 sstate_pkgspec=`bitbake $target -e | grep "^SSTATE_PKGSPEC=" | cut -d "\"" -f 2` 30 sstasks=`bitbake $target -e | grep "^SSTATETASKS=" | cut -d "\"" -f 2` 36 populate_sysroot) sstask="populate-sysroot" [all …]
|