Home
last modified time | relevance | path

Searched +full:auto +full:- +full:boot (Results 1 – 25 of 790) sorted by relevance

12345678910>>...32

/openbmc/openbmc/meta-yadro/recipes-phosphor/ipmi/phosphor-ipmi-host/
H A D0002-Add-support-for-boot-initiator-mailbox.patch4 Subject: [PATCH] Add support for boot initiator mailbox
7 (boot initiator mailbox). The format of mailbox is
15 It is expected that a machine-specific override for
16 phosphor-settingsd sets the supported state and
21 Change-Id: Iccbf74c0775f20c70e8deaa7b0a8bd995ebbffea
22 Signed-off-by: Alexander Amelkin <a.amelkin@yadro.com>
23 Signed-off-by: Ivan Mikhaylov <i.mikhaylov@yadro.com>
25 ---
26 chassishandler.cpp | 329 ++++++++++++++++++++++++++++++++++++++++++++-
28 2 files changed, 326 insertions(+), 4 deletions(-)
[all …]
H A D0001-Add-support-for-persistent-only-settings.patch4 Subject: [PATCH] Add support for persistent-only settings
6 Some settings such as Boot Initiator Mailbox do not support
7 one-time setting mode (as per IPMI 2.0 specification).
9 This commit adds support for such persistent-only settings.
13 Change-Id: Iec8e2f5bddbc50d270916567effe334f10db2987
14 Signed-off-by: Alexander Amelkin <a.amelkin@yadro.com>
15 Signed-off-by: Ivan Mikhaylov <i.mikhaylov@yadro.com>
16 ---
17 settings.cpp | 35 +++++++++++++++++++++++++++++++----
18 1 file changed, 31 insertions(+), 4 deletions(-)
[all …]
/openbmc/u-boot/cmd/
H A Dotp_info.h7 #define OTP_REG_RESERVED -1
8 #define OTP_REG_VALUE -2
9 #define OTP_REG_VALID_BIT -3
33 { 0, 1, 0, "Disable Secure Boot" },
34 { 0, 1, 1, "Enable Secure Boot" },
35 { 1, 1, 0, "Disable boot from eMMC" },
36 { 1, 1, 1, "Enable boot from eMMC" },
37 { 2, 1, 0, "Disable Boot from debug SPI" },
38 { 2, 1, 1, "Enable Boot from debug SPI" },
67 { 19, 1, 0, "Boot from eMMC speed mode : normal" },
[all …]
/openbmc/openbmc/meta-ibm/recipes-bsp/u-boot/u-boot-aspeed-sdk/p10bmc/
H A Dibm.json40 "Enable Secure Boot": false,
44 "Ignore Secure Boot hardware strap": false,
45 "Secure Boot Mode": "Mode_2",
50 "Disable Boot from Uart": false,
56 "Copy Boot Image to Internal SRAM": true,
59 "Disable Auto Boot from UART or VUART": false,
62 "Secure boot header offset": "0x0",
63 "Boot From UART Port Selection": "UART5",
64 "Disable Auto Boot from UART": false,
65 "Disable Auto Boot from VUART2 over PCIE": true,
[all …]
H A Dips.json47 "Enable Secure Boot": false,
51 "Ignore Secure Boot hardware strap": false,
52 "Secure Boot Mode": "Mode_2",
57 "Disable Boot from Uart": false,
63 "Copy Boot Image to Internal SRAM": true,
66 "Disable Auto Boot from UART or VUART": false,
69 "Secure boot header offset": "0x0",
70 "Boot From UART Port Selection": "UART5",
71 "Disable Auto Boot from UART": false,
72 "Disable Auto Boot from VUART2 over PCIE": true,
[all …]
/openbmc/openpower-proc-control/procedures/phal/
H A Dstart_host.cpp17 #include <phosphor-logging/log.hpp>
30 * @brief Select BOOT SEEPROM and Measurement SEEPROM(PRIMARY/BACKUP) on POWER
31 * processor position 0/1 depending on boot count before kicking off
32 * the boot.
49 // Choose seeprom side to boot from based on boot count in selectBootSeeprom()
70 // Set the Attribute as per bootcount policy for boot seeprom in selectBootSeeprom()
101 constexpr auto objPath = in setClkNETerminationSite()
103 constexpr auto kwdVpdInf = "com.ibm.ipzvpd.VINI"; in setClkNETerminationSite()
104 constexpr auto hwKwd = "HW"; in setClkNETerminationSite()
106 auto bus = sdbusplus::bus::new_default(); in setClkNETerminationSite()
[all …]
H A Dreinit_devtree.cpp10 #include <phosphor-logging/elog-errors.hpp>
40 constexpr auto DEVTREE_ATTR_OVERRIDE_PATH = "/tmp/devtree_attr_override"; in applyAttrOverride()
41 auto overrideFile = fs::path(DEVTREE_ATTR_OVERRIDE_PATH); in applyAttrOverride()
51 auto ret = dtree_cronus_import(devtreeFile.c_str(), CEC_INFODB_PATH, in applyAttrOverride()
73 // RW file = /media/hostfw/running/DEVTREE -> 81e00672.lid in computeRODeviceTreePath()
74 // RO file = /media/hostfw/running-ro/ + 81e00672.lid in computeRODeviceTreePath()
88 auto err = std::format("RO device tree file ({}) does not " in computeRODeviceTreePath()
99 * In the regular host boot path devtree attribute need to
101 * attributes need to preserve with previous boot value.
102 * Preserve attribute list is available BMC pre-defined location.
[all …]
/openbmc/openbmc-test-automation/lib/
H A Dutils.robot148 Initiate Auto Reboot
149 [Documentation] Initiate an auto reboot.
155 # Set the auto reboot policy.
156 Set Auto Reboot ${1}
174 ... Set Variable echo ${os_password} | sudo -S reboot
197 ... Set Variable echo ${os_password} | sudo -S shutdown${time_string}
252 Old Get Boot Progress
253 [Documentation] Get the boot progress the old way (via org location).
266 Set Boot Progress Method
269 # The boot progress data has moved from an 'org' location to an 'xyz'
[all …]
/openbmc/u-boot/scripts/
H A DMakefile.autoconf1 # SPDX-License-Identifier: GPL-2.0
3 # - symbolic links (arch/$ARCH/include/asm/arch
4 # - include/autoconf.mk, {spl,tpl}/include/autoconf.mk
5 # - include/config.h
13 ifeq ($(shell grep -q '^CONFIG_SPL=y' include/config/auto.conf 2>/dev/null && echo y),y)
17 ifeq ($(shell grep -q '^CONFIG_TPL=y' include/config/auto.conf 2>/dev/null && echo y),y)
21 include include/config/auto.conf
29 CPP = $(CC) -E
34 -Iinclude \
35 $(if $(KBUILD_SRC), -I$(srctree)/include) \
[all …]
/openbmc/openpower-hw-diags/util/
H A Ddbus.cpp3 #include <xyz/openbmc_project/State/Boot/Progress/server.hpp>
11 //------------------------------------------------------------------------------
13 constexpr auto objectMapperService = "xyz.openbmc_project.ObjectMapper";
14 constexpr auto objectMapperPath = "/xyz/openbmc_project/object_mapper";
15 constexpr auto objectMapperInterface = "xyz.openbmc_project.ObjectMapper";
25 auto bus = sdbusplus::bus::new_default(); in find()
29 constexpr auto function = "GetSubTree"; in find()
31 auto method = bus.new_method_call(objectMapperService, objectMapperPath, in find()
38 auto reply = bus.call(method); in find()
46 auto object = *(response.begin()); in find()
[all …]
/openbmc/phosphor-host-ipmid/
H A Dchassishandler.cpp13 #include <phosphor-logging/elog-errors.hpp>
14 #include <phosphor-logging/lg2.hpp>
21 #include <xyz/openbmc_project/Control/Boot/Mode/server.hpp>
22 #include <xyz/openbmc_project/Control/Boot/Source/server.hpp>
23 #include <xyz/openbmc_project/Control/Boot/Type/server.hpp>
47 // PetiBoot-Specific
64 static inline auto responseParmNotSupported() in responseParmNotSupported()
79 constexpr auto SETTINGS_ROOT = "/";
80 constexpr auto SETTINGS_MATCH = "host0";
82 constexpr auto IP_INTERFACE = "xyz.openbmc_project.Network.IP";
[all …]
/openbmc/u-boot/doc/
H A DREADME.update5 --------
10 boot. The update file should be a FIT file, and can contain one or more
12 should be placed, updates are also protected with a SHA-1 checksum. If the
16 The auto-update feature is enabled by the CONFIG_UPDATE_TFTP macro:
21 Note that when enabling auto-update, Flash support must be turned on. Also,
27 The auto-update feature uses the following configuration knobs:
29 - CONFIG_UPDATE_LOAD_ADDR
36 - CONFIG_UPDATE_TFTP_CNT_MAX
40 server. Since a transfer is attempted during each boot, it is undesirable to
45 be non-negative and is 0 by default, CONFIG_UPDATE_TFTP_MSEC_MAX must be
[all …]
H A Dmkimage.11 .TH MKIMAGE 1 "2010-05-16"
4 mkimage \- Generate image for U-Boot
7 .RB "\-l [" "uimage file name" "]"
10 .RB [\fIoptions\fP] " \-f [" "image tree source file" "]" " [" "uimage file name" "]"
13 .RB [\fIoptions\fP] " \-F [" "uimage file name" "]"
21 command is used to create images for use with the U-Boot boot loader.
40 supports verified boot.
47 .BI "\-l [" "uimage file name" "]"
48 mkimage lists the information contained in the header of an existing U-Boot image.
54 .BI "\-A [" "architecture" "]"
[all …]
/openbmc/phosphor-state-manager/
H A Dsecure_boot_check.cpp5 #include <phosphor-logging/lg2.hpp>
14 constexpr auto PROPERTY_INTERFACE = "org.freedesktop.DBus.Properties";
57 auto bus = sdbusplus::bus::new_default(); in checkTpmMeasurement()
72 auto bus = sdbusplus::bus::new_default(); in isMfgModeEnabled()
81 auto method = bus.new_method_call(service.c_str(), path.c_str(), in isMfgModeEnabled()
88 auto reply = bus.call(method); in isMfgModeEnabled()
103 // Read the secure boot gpio in main()
104 auto secureBootGpio = in main()
105 phosphor::state::manager::utils::getGpioValue("bmc-secure-boot"); in main()
106 if (secureBootGpio == -1) in main()
[all …]
H A Dhost_state_manager.hpp10 #include <phosphor-logging/lg2.hpp>
12 #include <xyz/openbmc_project/Control/Boot/RebootAttempts/server.hpp>
13 #include <xyz/openbmc_project/State/Boot/Progress/server.hpp>
29 sdbusplus::server::xyz::openbmc_project::state::boot::Progress,
30 sdbusplus::server::xyz::openbmc_project::control::boot::RebootAttempts,
52 * @param[in] bus - The Dbus bus object
53 * @param[in] objPath - The Dbus object path
54 * @param[in] id - The Host id
84 // Sets auto-reboot attempts to max-allowed
85 attemptsLeft(sdbusplus::server::xyz::openbmc_project::control::boot::
[all …]
/openbmc/openpower-occ-control/
H A Dutils.cpp3 #include <systemd/sd-event.h>
6 #include <phosphor-logging/elog-errors.hpp>
7 #include <phosphor-logging/lg2.hpp>
10 #include <xyz/openbmc_project/State/Boot/Progress/server.hpp>
25 using BootProgress = sdbusplus::xyz::openbmc_project::State::Boot::server::
27 constexpr auto HOST_STATE_OBJ_PATH = "/xyz/openbmc_project/state/host0";
35 auto& bus = getBus(); in getService()
37 auto mapper = bus.new_method_call(MAPPER_BUSNAME, MAPPER_OBJ_PATH, in getService()
41 auto mapperResponseMsg = bus.call(mapper); in getService()
52 return mapperResponse.cbegin()->first; in getService()
[all …]
/openbmc/fb-ipmi-oem/src/
H A Doemcommands.cpp3 * Copyright (c) 2018-present Facebook.
9 * http://www.apache.org/licenses/LICENSE-2.0
22 #include <ipmid/api-types.hpp>
27 #include <phosphor-logging/log.hpp>
29 #include <xyz/openbmc_project/Control/Boot/Mode/server.hpp>
30 #include <xyz/openbmc_project/Control/Boot/Source/server.hpp>
31 #include <xyz/openbmc_project/Control/Boot/Type/server.hpp>
75 constexpr const char* certPath = "/mnt/data/host/bios-rootcert";
81 static constexpr const char* FRU_EEPROM = "/sys/bus/i2c/devices/6-0054/eeprom";
103 constexpr auto ROOT = "/xyz/openbmc_project/network";
[all …]
H A Dusb-dbg.cpp2 * Copyright (c) 2018-present Facebook. All Rights Reserved.
8 * http://www.apache.org/licenses/LICENSE-2.0
18 #include <usb-dbg.hpp>
47 namespace boot namespace
54 } // namespace boot
70 lg2::error("Unable to get max host position - {MAXPOSITION}", in getMaxHostPosition()
89 lg2::error("Unable to get host position - {POSITION}", "POSITION", in getSelectorPosition()
95 static int panelNum = (sizeof(panels) / sizeof(struct ctrl_panel)) - 1;
97 /* Returns the FRU the hand-switch is switched to. If it is switched to BMC
153 for (auto ch : parse(str, indent)) in append()
[all …]
/openbmc/pldm/oem/ibm/libpldmresponder/
H A Dfile_io_type_progress_src.cpp5 #include <phosphor-logging/lg2.hpp>
19 static constexpr auto RawObjectPath = in setRawBootProperty()
20 "/xyz/openbmc_project/state/boot/raw0"; in setRawBootProperty()
21 static constexpr auto RawInterface = "xyz.openbmc_project.State.Boot.Raw"; in setRawBootProperty()
22 static constexpr auto FreedesktopInterface = in setRawBootProperty()
24 static constexpr auto RawProperty = "Value"; in setRawBootProperty()
25 static constexpr auto SetMethod = "Set"; in setRawBootProperty()
27 auto& bus = pldm::utils::DBusHandler::getBus(); in setRawBootProperty()
31 auto service = in setRawBootProperty()
33 auto method = bus.new_method_call(service.c_str(), RawObjectPath, in setRawBootProperty()
[all …]
/openbmc/fb-ipmi-oem/include/
H A Dgroupextcommands.hpp2 * Copyright (c) 2024-present Facebook. All Rights Reserved.
8 * http://www.apache.org/licenses/LICENSE-2.0
19 static constexpr auto bootRawObjPrefix = "/xyz/openbmc_project/state/boot/raw";
20 static constexpr auto bootRawBusName = "xyz.openbmc_project.State.Boot.Raw";
21 static constexpr auto bootRawIntf = "xyz.openbmc_project.State.Boot.Raw";
/openbmc/u-boot/board/synopsys/hsdk/
H A DREADME2 Useful notes on bulding and using of U-Boot on ARC HS Development Kit (AKA HSDK)
7 The DesignWare ARC HS Development Kit is a ready-to-use platform for rapid
11 https://www.synopsys.com/dw/ipdir.php?ds=arc-hs-development-kit
14 …https://github.com/foss-for-synopsys-dwc-arc-processors/ARC-Development-Systems-Forum/wiki/docs/AR…
16 It has the following features useful for U-Boot:
17 * On-board 2-channel FTDI TTL-to-USB converter
18 - The first channel is used for serial debug port (which makes it possible
22 There's no HW flow-control and baud-rate is 115200.
24 - The second channel is used for built-in Digilent USB JTAG probe.
29 - Also with help of this FTDI chip it is possible to reset entire
[all …]
/openbmc/phosphor-bmc-code-mgmt/ubi/
H A Ditem_updater_helper.cpp7 #include <phosphor-logging/lg2.hpp>
21 std::string serviceFile = "obmc-flash-bmc-setenv@" + entryId + "\\x3d" + in setEntry()
23 auto method = bus.new_method_call(SYSTEMD_BUSNAME, SYSTEMD_PATH, in setEntry()
32 auto serviceFile = "obmc-flash-bmc-setenv@" + entryId + ".service"; in clearEntry()
33 auto method = bus.new_method_call(SYSTEMD_BUSNAME, SYSTEMD_PATH, in clearEntry()
42 auto method = bus.new_method_call(SYSTEMD_BUSNAME, SYSTEMD_PATH, in cleanup()
44 method.append("obmc-flash-bmc-cleanup.service", "replace"); in cleanup()
50 // Mark the read-write partition for recreation upon reboot. in factoryReset()
56 auto serviceFile = "obmc-flash-bmc-ubiro-remove@" + flashId + ".service"; in removeVersion()
58 // Remove the read-only partitions. in removeVersion()
[all …]
/openbmc/pldm/host-bmc/test/
H A Ddbus_to_terminus_effecter_test.cpp3 #include "host-bmc/dbus_to_terminus_effecters.hpp"
42 auto hostEffecterInfo = hostEffecterParserGood.gethostEffecterInfo(); in TEST()
50 {"/xyz/openbmc_project/control/host0/boot", in TEST()
51 "xyz.openbmc_project.Control.Boot.Mode", "BootMode", "string"}, in TEST()
52 {"xyz.openbmc_project.Control.Boot.Mode.Modes.Regular"}, in TEST()
54 auto& temp = hostEffecterInfo[0].dbusInfo[0]; in TEST()
73 -3, in TEST()
75 auto& tempNumeric = hostEffecterInfo[1].dbusNumericEffecterInfo[0]; in TEST()
116 "xyz.openbmc_project.Control.Boot.Mode.Modes.Regular"}; in TEST()
118 "xyz.openbmc_project.Control.Boot.Mode.Modes.Setup"}; in TEST()
[all …]
/openbmc/pldm/oem/ampere/event/
H A Doem_event_manager.cpp12 #include <systemd/sd-journal.h>
14 #include <phosphor-logging/lg2.hpp>
28 namespace boot_stage = boot::stage;
40 constexpr auto maxDIMMIdxBitNum = 24;
41 constexpr auto maxDIMMInstantNum = 24;
46 An array of possible boot status of a boot stage.
47 The index maps with byte 0 of boot code.
52 An array of possible boot status of DDR training stage.
53 The index maps with byte 0 of boot code.
56 " progress started", " in-progress", " progress completed"};
[all …]
/openbmc/u-boot/arch/arm/lib/
H A Dcrt0.S1 /* SPDX-License-Identifier: GPL-2.0+ */
3 * crt0 - C-runtime startup Code for ARM U-Boot
5 * Copyright (c) 2012 Albert ARIBAUD <albert.u.boot@aribaud.net>
9 #include <asm-offsets.h>
14 * This file handles the target-independent stages of the U-Boot
15 * start-up where a C runtime environment is needed. Its entry point
37 * initialized non-const data are still not available.
39 * 4a.For U-Boot proper (not SPL), call relocate_code(). This function
40 * relocates U-Boot from its current location into the relocation
47 * environment has BSS (initialized to 0), initialized non-const
[all …]

12345678910>>...32