/openbmc/pldm/oem/ibm/configurations/ |
H A D | fileTable.json | 11 …"path": "/usr/local/share/hostfw/running/80d00048.lid,/var/lib/phosphor-software-manager/hostfw/ru… 15 …"path": "/usr/local/share/hostfw/running/80d00049.lid,/var/lib/phosphor-software-manager/hostfw/ru… 19 …"path": "/usr/local/share/hostfw/running/80d0004a.lid,/var/lib/phosphor-software-manager/hostfw/ru… 23 …"path": "/usr/local/share/hostfw/running/80d0004b.lid,/var/lib/phosphor-software-manager/hostfw/ru… 27 …"path": "/usr/local/share/hostfw/running/80d0004c.lid,/var/lib/phosphor-software-manager/hostfw/ru… 31 …"path": "/usr/local/share/hostfw/running/80d0004d.lid,/var/lib/phosphor-software-manager/hostfw/ru… 35 …"path": "/usr/local/share/hostfw/running/80d0004e.lid,/var/lib/phosphor-software-manager/hostfw/ru… 39 …"path": "/usr/local/share/hostfw/running/80d0004f.lid,/var/lib/phosphor-software-manager/hostfw/ru… 43 …"path": "/usr/local/share/hostfw/running/81e00300.lid,/var/lib/phosphor-software-manager/hostfw/ru… 47 …"path": "/usr/local/share/hostfw/running/81e00430.lid,/var/lib/phosphor-software-manager/hostfw/ru… [all …]
|
/openbmc/openbmc/meta-google/recipes-google/ipmi/ipmi-fru-sh/ |
H A D | lib.sh | 34 local addr="$1" 35 local off="$2" 36 local extra="${3-0}" 41 local addr="$1" 42 local off="$2" 43 local extra="${3-0}" 48 local names 57 local eeproms 72 local fdn="$1" 73 local idx="$2" [all …]
|
/openbmc/openbmc/poky/meta/classes/ |
H A D | useradd_base.bbclass | 20 local rootdir="$1" 21 local opts="$2" 23 local groupname=`echo "$opts" | awk '{ print $NF }'` 24 local group_exists="`grep "^$groupname:" $rootdir/etc/group || true`" 37 local rootdir="$1" 38 local opts="$2" 40 local username=`echo "$opts" | awk '{ print $NF }'` 41 local user_exists="`grep "^$username:" $rootdir/etc/passwd || true`" 54 local rootdir="$1" 55 local opts="$2" [all …]
|
/openbmc/openbmc/meta-facebook/meta-yosemite4/recipes-phosphor/gpio/phosphor-gpio-monitor/ |
H A D | slot-hsc-fault | 6 local decimal=$1 7 local hex="" 8 local digits="0123456789ABCDEF" 25 local bus=$1 26 local addr=$2 27 local mfr_id 29 local vendor="0x41 0x44 0x49" 38 local bus=$1 39 local addr=$2 40 local slot_num=$3 [all …]
|
H A D | medusa-hsc-alert | 6 local decimal=$1 7 local hex="" 8 local digits="0123456789ABCDEF" 25 local hsc_alert_position="$1" 26 local medusa_type 27 local inventory_path="${HSC_PATH}${hsc_alert_position}_48V" 34 local bus=$1 35 local addr=$2 36 local hsc_alert_position=$3 37 local medusa_type=$4 [all …]
|
H A D | medusa-hsc-fault | 8 local decimal=$1 9 local hex="" 10 local digits="0123456789ABCDEF" 27 local hsc_fault_position="$1" 28 local medusa_type 29 local inventory_path="${HSC_PATH}${hsc_fault_position}_48V" 36 local bus=$1 37 local addr=$2 38 local hsc_fault_position=$3 39 local medusa_type=$4 [all …]
|
H A D | medusa-power-module-fault | 6 local decimal=$1 7 local hex="" 8 local digits="0123456789ABCDEF" 25 local bus=$1 26 local addr=$2 27 local mfr_id 29 local vendor="0x46 0x6c 0x65 0x78" 43 local bus=$1 44 local addr=$2 45 local pu_num=$3 [all …]
|
/openbmc/openbmc/meta-facebook/meta-minerva/recipes-minerva/plat-svc/files/ |
H A D | minerva-fan-status-monitor | 10 local service="xyz.openbmc_project.Logging" 11 local object_path="/xyz/openbmc_project/logging" 12 local interface="xyz.openbmc_project.Logging.Create" 13 local message="Fan status LED asserted" 14 local severity="xyz.openbmc_project.Logging.Entry.Level.Error" 15 local arg="CALLOUT_INVENTORY_PATH" 16 local value="/xyz/openbmc_project/inventory/fan" 24 local service="xyz.openbmc_project.ObjectMapper" 25 local object_path="/xyz/openbmc_project/inventory/fan/fault" 26 local interface="xyz.openbmc_project.Association" [all …]
|
/openbmc/openbmc/meta-facebook/meta-bletchley/recipes-bletchley/plat-svc/files/ |
H A D | bletchley-host-state-monitor | 42 local I2C_BUS 44 local P1_OUTPUT_REG 45 local P1_CONFIG_REG 46 local HOST_PWR 47 local IS_OUTPUT 63 local BUS_NAME="xyz.openbmc_project.Settings" 64 local OBJ_PATH="/xyz/openbmc_project/control/host$1/acpi_power_state" 65 local DBUS_PROPERTIES_INTF_NAME="org.freedesktop.DBus.Properties" 66 local INTF_NAME="xyz.openbmc_project.Control.Power.ACPIPowerState" 67 local PROPERTY_NAME="SysACPIStatus" [all …]
|
/openbmc/openbmc/meta-facebook/meta-bletchley/recipes-bletchley/motor-ctrl/files/ |
H A D | power-ctrl | 65 local ACTION=$1 77 local rev_id0 78 local rev_id1 79 local rev_id2 80 local rev_val 105 local sled_num=$1 106 local delay_time=$2 107 local sled_gpio_num 140 local sled_num=$1 141 local sled_gpio_num [all …]
|
/openbmc/qemu/.gitlab-ci.d/ |
H A D | qemu-project.yml | 12 - local: '/.gitlab-ci.d/base.yml' 13 - local: '/.gitlab-ci.d/stages.yml' 14 - local: '/.gitlab-ci.d/opensbi.yml' 15 - local: '/.gitlab-ci.d/containers.yml' 16 - local: '/.gitlab-ci.d/crossbuilds.yml' 17 - local: '/.gitlab-ci.d/buildtest.yml' 18 - local: '/.gitlab-ci.d/static_checks.yml' 19 - local: '/.gitlab-ci.d/custom-runners.yml' 20 - local: '/.gitlab-ci.d/cirrus.yml' 21 - local: '/.gitlab-ci.d/windows.yml'
|
/openbmc/phosphor-misc/usb-ctrl/ |
H A D | usb-ctrl | 7 local storage="$1" 8 local sz_mb="$2" 12 local diskid=0x23FCF676 19 local storage="$1" 20 local stormnt="$2" 28 local storage="$1" 29 local stormnt="$2" 38 local type="$1" 39 local name="$2" 40 local on="$3" [all …]
|
/openbmc/qemu/tests/qemu-iotests/ |
H A D | common.pattern | 20 local start=$1 21 local size=$2 22 local step=$3 23 local count=$4 35 local op=$1 36 local start=$2 37 local size=$3 38 local step=$4 39 local count=$5 40 local pattern=$6 [all …]
|
/openbmc/openbmc-tools/altitude/ |
H A D | altitude | 68 local = [] 69 local.append("Height") 71 local.append("Pressure at {:.2f}m: {:.2f}Pa".format(args.height, p)) 73 local.append("Temperature at {:.2f}m: {:.2f}C".format(args.height, c)) 74 out.append("\n\t".join(local)) 76 local = [] 77 local.append("Temperature") 79 local.append("Height at {:.2f}C: {:.2f}m".format(args.temperature, ht)) 81 local.append("Pressure at {:.2f}m: {:.2f}Pa".format(ht, p)) 82 out.append("\n\t".join(local)) [all …]
|
/openbmc/openbmc/meta-google/recipes-google/networking/gbmc-bridge/ |
H A D | gbmc-br-lib.sh | 30 local dir="$1" 32 local file 45 local -n hookvar="$1" 47 local hook 54 local name="$1" 55 local ip="$2" 57 local pfx_bytes=() 58 local rc=0 71 local pfx 76 local stateless_size= [all …]
|
H A D | gbmc-br-gw-src.sh | 34 local defgw= 35 local route 50 local files=(/run/systemd/network/{00,}-bmc-gbmcbr.network.d/50-defgw.conf) 52 local file 66 local route=$1 67 local op=$2 69 local route_new 82 local rt 83 local need_reload=0 84 local new_src="" [all …]
|
/openbmc/openbmc/meta-bytedance/meta-g220a/recipes-network/network/static-mac-addr/ |
H A D | mac-check | 20 local iface="$1" 25 local iface="$1" 26 local mac="$2" 28 local up=$? 35 local iface="$1" 40 local envname="$1" 45 local envname="$1" 46 local mac="$2" 50 local iface="$1" 58 local mac[i]=${tmp:2} [all …]
|
/openbmc/openbmc/meta-facebook/meta-ventura/recipes-ventura/plat-svc/files/ |
H A D | ventura-fan-status-monitor | 9 local fcb_num=$1 10 local fan_num=$2 23 local fcb_num=$1 24 local fan_num=$2 37 local fcb_num=$1 44 local service="xyz.openbmc_project.FanSensor" 45 local interface="xyz.openbmc_project.Sensor.Threshold.Critical" 46 local property_list=("CriticalAlarmHigh" "CriticalAlarmLow") 47 local in_out=("IL" "OL") 51 local fan_number=$(((fcb_num * 2) + index )) [all …]
|
/openbmc/openbmc/meta-facebook/meta-yosemite4/recipes-yosemite4/plat-svc/files/ |
H A D | yosemite4-early-sys-init | 54 local ret 72 local flash 87 local offset=$1 # Register offset (e.g., 0x12 or 0x51) 88 local value=$2 # Decimal value to write 89 local hub=$3 # Hub (e.g., 0 or 1 for i3c-hub-0-* and i3c-hub-1-*) 97 local i=$1 98 local slot_i=$((i + 1)) 99 local file_path="/tmp/gpio/PRSNT_SB_SLOT${slot_i}_N" 103 local value 111 local r_gpio_va [all...] |
/openbmc/openbmc-tools/ipkdbg/ |
H A D | ipkdbg.in | 6 : ${IPKDBG_CONF_HOST:=host.local} 111 local src="$(realpath "$1")" 112 local dst="${src%.zst}" 175 local offset=$1 176 local work=$2 181 local root=$1 182 local arch=$(uname -m) 183 local release_id=$(. /etc/os-release; echo $ID) 184 local release_version_id=$(. /etc/os-release; echo $VERSION_ID) 185 local p=${root}/bin/${arch}/${release_id}/${release_version_id}/opkg [all …]
|
/openbmc/openbmc/meta-google/recipes-phosphor/flash/gbmc-update/ |
H A D | 40-gbmc-upgrade.sh | 34 local version_file 56 local image 57 local version=$1 62 local sig="$image.sig" 74 local regex="$1" 86 local retry=0 87 local path="$1" 88 local output="$2" 89 local state="$3_fetch" 90 local deadline="${4-600}" [all …]
|
/openbmc/phosphor-pid-control/tools/ |
H A D | fan_rpm_loop_test.sh | 25 local -i start_rpm=$1 26 local -i stop_rpm=$2 27 local -i num_steps=$3 28 local -i dwell=$4 31 local -i h=$((num_steps / 2)) 36 local -i rpm0=$((start_rpm)) 37 local -i range=$((stop_rpm - start_rpm)) 38 local -i s=1 50 local i 52 local -i p=$((s < 0 ? num_steps - i : i)) [all …]
|
/openbmc/openbmc/meta-facebook/meta-catalina/recipes-catalina/plat-svc/files/ |
H A D | frontend-nic-temp-read | 11 local eid=$1 25 local mctp_intf=$1 26 local mctp_eid=$2 28 local cur_retry=0 51 local eid=$1 52 local snr_id=$2 53 local pldmtool_out 66 local eid="$1" 67 local snr_id="$2" 68 local snr_name="$3" [all …]
|
/openbmc/openbmc/meta-openembedded/meta-python/recipes-devtools/python/python3-pylint/ |
H A D | 0001-Adjust-test-expectations-for-ptest.patch | 19 …:0:18:22::"third party import ""totally_missing"" should be placed before local import ""package.C… 20 …wrong-import-order:20:0:20:14::"third party import ""astroid"" should be placed before local impor… 21 …:0:22:22::"first party import ""pylint.checkers"" should be placed before local imports ""package.… 22 -wrong-import-order:23:0:23:25::"first party import ""pylint.config"" should be placed before local… 23 -wrong-import-order:24:0:24:17::"first party import ""pylint.sys"" should be placed before local im… 24 …0:25:28::"first party import ""pylint.pyreverse"" should be placed before local imports ""package.… 25 …t.checkers"", ""pylint.config"", ""pylint.sys"", ""pylint.pyreverse"" and local imports ""package.… 26 …0:31:23::"first party import ""pylint.constants"" should be placed before local imports ""package.… 27 …config"", ""pylint.sys"", ""pylint.pyreverse"", ""pylint.constants"", and local imports ""package.… 28 ….config"", ""pylint.sys"", ""pylint.pyreverse"", ""pylint.constants"" and local imports ""package.… [all …]
|
/openbmc/openbmc/meta-google/recipes-google/networking/network-sh/ |
H A D | lib.sh | 19 local -n bytes="$1" 20 local str="$2" 26 local oldifs="$IFS" 28 local byte 36 local mac_bytes=(0 0 0 0 0 0 0 0 0 0) 44 local mac_bytes=() 50 local suffix_bytes=( 63 local -n bytes_out="$1" 64 local str="$2" 66 local bytes=() [all …]
|