Home
last modified time | relevance | path

Searched full:environment (Results 1 – 25 of 2388) sorted by relevance

12345678910>>...96

/openbmc/u-boot/env/
H A DKconfig1 menu "Environment" menu
4 bool "Environment is not stored"
18 Define this if you don't want to or can't have an environment stored
19 on a storage medium. In this case the environment will still exist
22 environment.
25 bool "Environment in EEPROM"
35 environment area within the total memory of your EEPROM.
43 EEPROM, which holds the environment, is on the I2C bus.
46 if you have an Environment on an EEPROM reached over
52 EEPROM which holds the environment, is reached over
[all …]
H A Denv.c8 #include <environment.h>
107 * @op: operations performed on the environment
111 * This will return the preferred environment for the given priority.
135 * env_driver_lookup() - Finds the most suited environment location
136 * @op: operations performed on the environment
140 * This will try to find the available environment with the highest
156 debug("%s: No environment driver for location %d\n", __func__, in env_driver_lookup()
192 printf("Loading Environment from %s... ", drv->name); in env_load()
212 * In case of invalid environment, we set the 'default' env location in env_load()
214 * 1. Environment location with bad CRC, if such location was found in env_load()
[all …]
H A Dcommon.c12 #include <environment.h>
21 * Default settings to be used when no valid environment is found
30 * Read an environment variable as a boolean
44 * Look up the variable from the default environment
64 puts("*** Error - default environment is too large\n\n"); in set_default_env()
71 "using default environment\n\n", s); in set_default_env()
76 debug("Using default environment\n"); in set_default_env()
82 pr_err("## Error: Environment import failed: errno = %d\n", in set_default_env()
90 /* [re]set individual variables to their value in the default environment */
94 * Special use-case: import from default environment in set_default_vars()
[all …]
/openbmc/openbmc/poky/documentation/sdk-manual/
H A Dworking-projects.rst77 #. *Source the Cross-Toolchain Environment Setup File:* As described
79 cross-toolchain environment setup script in the directory that the
82 the string "environment-setup" and contains the machine architecture,
88 $ source /opt/poky/&DISTRO;/environment-setup-i586-poky-linux
90 Another example is sourcing the environment setup directly in a Yocto
93 $ source tmp/deploy/images/qemux86-64/environment-setup-core2-64-poky-linux
114 environment variable provides the minimal arguments for GNU
122 is derived from the name of the environment setup script found in the
126 script is ``environment-setup-armv5te-poky-linux-gnueabi``. Thus, the
140 To learn about environment variables established when you run the
[all …]
/openbmc/u-boot/tools/env/
H A Dfw_env.c60 ulong env_size; /* environment size */
62 ulong env_sectors; /* number of environment sectors */
107 struct environment { struct
115 static struct environment environment = { variable
312 * be able to successfully write environment later. in ubi_read()
394 * Search the environment for a variable.
401 for (env = environment.data; *env; env = nxt + 1) { in fw_getenv()
405 if (nxt >= &environment.data[ENV_SIZE]) { in fw_getenv()
407 "environment not terminated\n"); in fw_getenv()
420 * Search the default environment for a variable.
[all …]
H A DREADME3 the U-Boot's environment variables.
40 that does not have support for redundant environment enabled.
45 be used to access the environment.
47 The DEVICEx_OFFSET constants define the environment offset within the
50 ENVx_SIZE defines the size in bytes taken by the environment, which
51 may be less then flash sector size, if the environment takes less
55 partition where the environment resides.
58 this environment instance. On NAND this is used to limit the range
61 To prevent losing changes to the environment and to prevent confusing the MTD
63 to the environment.
/openbmc/phosphor-power/phosphor-regulators/src/actions/
H A Dpmbus_write_vout_command_action.cpp30 bool PMBusWriteVoutCommandAction::execute(ActionEnvironment& environment) in execute() argument
35 double voltsValue = getVoltsValue(environment); in execute()
38 i2c::I2CInterface& interface = getI2CInterface(environment); in execute()
41 int8_t exponentValue = getExponentValue(environment, interface); in execute()
54 verifyWrite(environment, interface, linearValue); in execute()
96 ActionEnvironment& environment, i2c::I2CInterface& interface) in getExponentValue() argument
117 environment.getDeviceID(), in getExponentValue()
118 environment.getDevice().getFRU()); in getExponentValue()
126 PMBusWriteVoutCommandAction::getVoltsValue(ActionEnvironment& environment) in getVoltsValue() argument
135 else if (environment.getVolts().has_value()) in getVoltsValue()
[all …]
H A Di2c_capture_bytes_action.hpp70 * action environment.
76 * The device is obtained from the action environment.
80 * @param environment action execution environment
83 virtual bool execute(ActionEnvironment& environment) override;
115 * the action environment.
117 * @param environment action execution environment
120 std::string getErrorDataKey(ActionEnvironment& environment) const;
124 * in the action environment.
H A Di2c_capture_bytes_action.cpp29 bool I2CCaptureBytesAction::execute(ActionEnvironment& environment) in execute() argument
35 i2c::I2CInterface& interface = getI2CInterface(environment); in execute()
40 // Store error data in action environment as a string key/value pair in execute()
41 std::string key = getErrorDataKey(environment); in execute()
43 environment.addAdditionalErrorData(key, value); in execute()
64 I2CCaptureBytesAction::getErrorDataKey(ActionEnvironment& environment) const in getErrorDataKey()
68 ss << environment.getDeviceID() << "_register_0x" << std::hex in getErrorDataKey()
72 // Verify key does not already exist in the action environment. This occurs in getErrorDataKey()
74 if (environment.getAdditionalErrorData().contains(key)) in getErrorDataKey()
82 if (!environment.getAdditionalErrorData().contains(keyWithSuffix)) in getErrorDataKey()
H A Dpmbus_write_vout_command_action.hpp126 * @param environment action execution environment
129 virtual bool execute(ActionEnvironment& environment) override;
191 * @param environment action execution environment
195 int8_t getExponentValue(ActionEnvironment& environment,
207 * @param environment action execution environment
210 double getVoltsValue(ActionEnvironment& environment);
219 * @param environment action execution environment
223 void verifyWrite(ActionEnvironment& environment,
H A Drun_rule_action.hpp62 * @param environment action execution environment
65 virtual bool execute(ActionEnvironment& environment) override in execute() argument
69 environment.incrementRuleDepth(ruleID); in execute()
72 bool returnValue = environment.getRule(ruleID).execute(environment); in execute()
75 environment.decrementRuleDepth(); in execute()
H A Di2c_action.hpp46 * action environment.
52 * @param environment action execution environment
55 i2c::I2CInterface& getI2CInterface(ActionEnvironment& environment) in getI2CInterface() argument
57 // Get current device from action environment in getI2CInterface()
58 Device& device = environment.getDevice(); in getI2CInterface()
H A Dpmbus_read_sensor_action.cpp31 bool PMBusReadSensorAction::execute(ActionEnvironment& environment) in execute() argument
36 i2c::I2CInterface& interface = getI2CInterface(environment); in execute()
51 int8_t exponentValue = getExponentValue(environment, interface); in execute()
58 environment.getServices().getSensors().setValue(type, sensorValue); in execute()
97 int8_t PMBusReadSensorAction::getExponentValue(ActionEnvironment& environment, in getExponentValue() argument
119 environment.getDeviceID(), in getExponentValue()
120 environment.getDevice().getFRU()); in getExponentValue()
/openbmc/u-boot/include/
H A Denvironment.h14 * The "environment" is stored as a list of '\0' terminated
20 * The environment is preceded by a 32 bit CRC over the data part.
152 unsigned char data[ENV_SIZE]; /* Environment data */
156 extern env_t environment;
172 /* Value for environment validity */
174 ENV_INVALID, /* No valid environment */
175 ENV_VALID, /* First or only environment is valid */
176 ENV_REDUND, /* Redundant environment is valid */
210 * load() - Load the environment from storage
212 * This method is optional. If not provided, no environment will be
[all …]
/openbmc/u-boot/cmd/
H A Dnvedit.c13 * Support for persistent environment data
15 * The "environment" is stored on external storage as a list of '\0'
17 * a double '\0'. The environment is preceded by a 32 bit CRC over
18 * the data part and, in case of redundant environment, a byte of
23 * environment. After that, we use a hash table.
30 #include <environment.h>
66 * be used via get_env_id() as an indication, if the environment
67 * has changed or not. So it is possible to reread an environment
68 * variable only if the environment was changed ... done so for
80 * Command interface: print one or all environment variables
[all …]
/openbmc/u-boot/doc/
H A DREADME.enetaddr18 - environment ("ethaddr", "eth1addr", ...)
34 2. Read from environment in net/eth.c after initialize()
35 3. The environment variable will be compared to the driver initialized
37 environment variable will be used unchanged.
38 If the environment variable is not set, it will be initialized from
44 b) The user hasn't set an 'ethmacskip' environment variable
57 address(es) and initializing the respective environment variable(s) from it.
58 Note that this shall be done if, and only if, the environment does not already
59 contain these environment variables, i.e. existing variable definitions must
62 During runtime, the ethernet layer will use the environment variables to sync
[all …]
H A DREADME.spear36 spear320 build with environment variables placed at default
40 for CFI compliant parallel NOR flash. Environment variables are
43 spear320 build with environment variables placed in NAND device
45 spear320 build with usbtty terminal as default and environment
48 spear320 build with usbtty terminal as default and environment
51 Build with usbtty terminal as default and environment placed in
71 usage. Basically, environment has precedence over board specific storage. The
73 environment variables. Although, we can check the mac id programmed in i2c
H A DREADME.marubun-pcmcia38 You should do the setting matched to your environment.
40 ( for MS7722SE01 environment )
44 You should do the setting matched to your environment.
46 ( for MS7722SE01 environment )
50 You should do the setting matched to your environment.
52 ( for MS7722SE01 environment )
56 You should do the setting matched to your environment.
58 ( for MS7722SE01 environment )
H A DREADME.at9118 Environment variables
20 U-Boot environment variables can be stored at different places:
40 Environment variables
42 U-Boot environment variables can be stored at different places:
61 Environment variables
63 U-Boot environment variables can be stored at different places:
84 Environment variables
86 U-Boot environment variables can be stored at different places:
101 Environment variables
103 U-Boot environment variables can be stored at different places:
[all …]
/openbmc/openbmc/poky/meta/recipes-multimedia/gstreamer/gstreamer1.0/
H A D0003-tests-use-a-dictionaries-for-environment.patch4 Subject: [PATCH] tests: use a dictionaries for environment
6 meson environment() can't be passed to configure_file and it is needed for installed_tests,
7 use a dictionary as this is simplest solution to install the environment.
24 - env = environment()
32 + # meson environment object can't be passed to configure_file and
33 + # installed tests uses configure_file to install the environment.
35 + # to install the environment.
/openbmc/phosphor-power/phosphor-regulators/src/
H A Dphase_fault_detection.cpp56 ActionEnvironment environment{system.getIDMap(), effectiveDeviceID, in execute() local
60 action_utils::execute(actions, environment); in execute()
63 checkForPhaseFault(PhaseFaultType::n, services, regulator, environment); in execute()
65 environment); in execute()
88 ActionEnvironment& environment) in checkForPhaseFault() argument
101 if (environment.getPhaseFaults().count(faultType) == 0) in checkForPhaseFault()
120 logPhaseFault(faultType, services, regulator, environment); in checkForPhaseFault()
129 ActionEnvironment& environment) in logPhaseFault() argument
138 environment.getAdditionalErrorData(); in logPhaseFault()
/openbmc/u-boot/board/buffalo/lsxl/
H A DREADME8 bootloader and its environment. The linux kernel and the initial ramdisk
16 to recover from a bad environment setting or an empty environment, you can
20 generated if no valid address could be loaded from the environment variable
33 environment and reset the board. In this case the visual indication will
40 environment by first erasing the environment and then entering the rescue
50 have an empty environment, the board comes up with the amber LED blinking.
87 The environment defines several different boot sources:
122 70000 - 7ffff u-boot environment
/openbmc/u-boot/test/py/tests/
H A Dtest_env.py5 # Test operation of shell commands relating to environment variables.
13 """Container that represents the state of all U-Boot environment variables.
33 """Read all current environment variables from U-Boot.
56 """Return the name of an environment variable that exists.
62 The name of an environment variable.
69 """Return the name of an environment variable that does not exist.
75 The name of an environment variable.
96 """Unset an environment variable.
114 """Set an environment variable.
273 """Test importing only a handful of env variables from an environment."""
[all …]
/openbmc/linux/Documentation/powerpc/
H A Disa-versions.rst25 - PowerPC Virtual Environment Architecture Book II v2.02
26 - PowerPC Operating Environment Architecture Book III v2.02
28 - PowerPC Virtual Environment Architecture Book II v2.01
29 - PowerPC Operating Environment Architecture Book III v2.01
32 - PowerPC Virtual Environment Architecture Book II v2.01
33 - PowerPC Operating Environment Architecture Book III v2.01
35 - PowerPC Virtual Environment Architecture Book II v2.00
36 - PowerPC Operating Environment Architecture Book III v2.00
/openbmc/u-boot/arch/arm/lib/
H A Dcrt0_64.S19 * start-up where a C runtime environment is needed. Its entry point
24 * 1. Set up initial environment for calling board_init_f().
25 * This environment only provides a stack and a place to store
39 * 3. Set up intermediate environment where the stack and GD are the
50 * 5. Set up final environment for calling board_init_r(). This
51 * environment has BSS (initialized to 0), initialized non-const
69 * Set up initial C runtime environment and call board_init_f(0).
94 * Set up intermediate environment (new sp and gd) and call
119 * Set up final (full) environment

12345678910>>...96