/openbmc/openbmc/meta-openembedded/meta-oe/recipes-devtools/systemd/systemd-systemctl/ |
H A D | systemctl | 10 import re 43 skip_re = re.compile(r"^\s*([#;]|$)") 44 section_re = re.compile(r"^\s*\[(?P<section>.*)\]") 45 kv_re = re.compile(r"^\s*(?P<key>[^\s]+)\s*=\s*(?P<value>.*)") 104 skip_re = re.compile(r"^\s*([#;]|$)") 105 directive_re = re.compile(r"^\s*(?P<action>enable|disable)\s+(?P<unit_name>(.+))") 142 `enable`: unit_name is enabled 158 print("ln -s {} {}".format(target, path)) 194 def enable(self, caller_unit=None): member in SystemdUnit 195 # if we're enabling an instance, first extract the actual instance [all …]
|
/openbmc/openpower-hw-diags/attn/ |
H A D | Attention_Handler.md | 36 - vital: log an event, request a SBE dump and request a re-ipl of the host. 37 - PHYPTI: log an event and request a memory preserving IPL (MPIPL) of the host. 38 - HBTI: log an event, request a hardware dump and request a re-ipl of the host. 39 - BP: notify the debug agent (e.g. Cronus) 40 - checkstop: log an event, call the analyzer, request a system dump and request 41 a re-ipl of the host. 48 the handling of attentions. Among these are systemd, dbus, phosphor-logging and 53 - systemd: loading and unloading of the attention handler service. 54 - dbus: querying the state of the BMC and host, requesting dumps and requesting 56 - phosphor-logging: debug tracing and logging platform events. [all …]
|
/openbmc/openbmc/meta-openembedded/meta-oe/recipes-support/lvm2/ |
H A D | lvm2.inc | 4 LICENSE = "GPL-2.0-only & LGPL-2.1-only" 12 file://0001-implement-libc-specific-reopen_stream.patch \ 13 file://0004-tweak-MODPROBE_CMD-for-cross-compile.patch \ 14 file://0001-Avoid-bashisms-in-init-scripts.patch \ 15 file://0005-do-not-build-manual.patch \ 16 file://0006-start-lvm2-monitor.service-after-tmp.mount.patch \ 17 file://reproducible-build.patch \ 18 file://0001-include-libgen.h-for-basename.patch \ 27 inherit autotools-brokensep pkgconfig systemd 30 import re [all …]
|
/openbmc/openbmc-tools/openbmctool/ |
H A D | README.md | 12 - `-H`: The hostname or IP for the BMC 13 - `-U`: The username One of the password options: 14 - `-P`: The password, provided in-line 15 - `-A`: Prompt for a password 16 - `-E`: Take the password from envvar `OPENBMCTOOL_PASSWORD` 21 re-enabled with the `local_users` sub-command. 24 further interaction with the BMC, including if using openbmctool to enable local 39 To re-enable all local user accounts: 54 - <https://www.rsyslog.com/storing-and-forwarding-remote-messages/> 55 - <https://www.rsyslog.com/doc/rsyslog%255Fconf%255Ffilter.html> [all …]
|
/openbmc/openbmc/meta-google/recipes-google/bare-metal-obmc-console/bare-metal-obmc-console/ |
H A D | disable_obmc_console.sh | 3 ENABLE_CONSOLE_FILE="/var/google/config-package/enable-bm-console.flag" 4 READ_ONLY_CONSOLE_FLAG="/run/readonly-console.flag" 6 [ ! -f $ENABLE_CONSOLE_FILE ] || exit 0 8 if [ "$1" == '-r' ]; then 9 # re-enable obmc console 13 systemctl stop serial-to-bmc@* 15 rm -f $READ_ONLY_CONSOLE_FLAG 18 systemctl stop serial-to-host@*
|
/openbmc/openbmc-test-automation/lib/ |
H A D | ipmi_utils.py | 8 import re 37 not supported - defaulting to 0x0e 41 sol_info[Set in progress]: set-complete 43 sol_info[Non-Volatile Bit Rate (kbps)]: IPMI-Over-Serial-Setting 46 sol_info[Volatile Bit Rate (kbps)]: IPMI-Over-Serial-Setting 78 # "retry-count"). 141 Auth Type Enable : Callback : MD5 160 [Auth Type Enable]: 181 # Notice in the example of data above that 'Auth Type Enable' needs some 183 # the 'Auth Type Enable' string so that key_value_outbuf_to_dict can [all …]
|
/openbmc/u-boot/board/freescale/m5249evb/ |
H A D | m5249evb.c | 1 // SPDX-License-Identifier: GPL-2.0+ 39 * RC = ([(RefreshTime/#rows) / (1/BusClk)] / 16) - 1 in dram_init() 67 /* RE=0 (keep auto-refresh disabled while setting up registers) */ in dram_init() 79 mbar_writeLong(MCFSIM_DACR0, 0x0000b324); /* Enable the refresh bit, DACR0[RE] (bit 15) */ in dram_init() 83 mbar_writeLong(MCFSIM_DACR0, 0x0000b364); /* Enable DACR0[IMRS] (bit 6); RE remains enabled */ in dram_init() 86 gd->ram_size = CONFIG_SYS_SDRAM_SIZE * 1024 * 1024; in dram_init()
|
/openbmc/openbmc/poky/scripts/esdk-tools/ |
H A D | runqemu | 5 # Copyright (C) 2006-2011 Linux Foundation 8 # SPDX-License-Identifier: GPL-2.0-only 15 import re 32 or to source oe-init-build-env before running this script.\n\n \ 34 runqemu, i.e. `runqemu /path/to/my-imag [all...] |
/openbmc/openbmc/poky/scripts/ |
H A D | runqemu | 5 # Copyright (C) 2006-2011 Linux Foundation 8 # SPDX-License-Identifier: GPL-2.0-only 15 import re 32 or to source oe-init-build-env before running this script.\n\n \ 34 runqemu, i.e. `runqemu /path/to/my-image-name.qemuboot.conf`\n\n %s" % message) 46 formatter = logging.Formatter('%(name)s - %(levelname)s - %(message)s') 62 KERNEL - the kernel image file to use 63 BIOS - the bios image file to use 64 ROOTFS - the rootfs image file or nfsroot directory to use 65 DEVICE_TREE - the device tree blob to use [all …]
|
/openbmc/openbmc/poky/meta/recipes-bsp/grub/ |
H A D | grub-efi_2.12.bb | 3 require conf/image-uefi.conf 7 DEPENDS:append = " grub-native" 8 RDEPENDS:${PN} = "grub-common virtual-grub-bootconf" 14 S = "${WORKDIR}/grub-${PV}" 18 import re 20 prefix = "" if d.getVar('EFI_PROVIDER') == "grub-efi" else "grub-efi-" 23 elif re.match('i.86', target): 25 elif re.match('aarch64', target): 27 elif re.match('arm', target): 29 elif re.match('riscv64', target): [all …]
|
/openbmc/openbmc/poky/meta/recipes-devtools/gcc/ |
H A D | gcc-common.inc | 3 DESCRIPTION = "The GNU Compiler Collection includes front ends for C, C++, Objective-C, Fortran, Ad… 14 COMPILERDEP = "${MLPREFIX}gcc-cross-${TARGET_ARCH}:do_gcc_stash_builddir" 15 COMPILERDEP:class-nativesdk = "gcc-crosssdk-${SDK_SYS}:do_gcc_stash_builddir" 18 src = d.expand("${COMPONENTS_DIR}/${BUILD_ARCH}/gcc-stashed-builddir-${TARGET_SYS}") 26 return "--with-float=hard" 28 return "--with-float=soft" 29 if d.getVar('TARGET_FPU') in [ 'ppc-efd' ]: 30 return "--enable-e500_double" 36 import re 37 march = re.match(r'^.*-march=([^\s]*)', d.getVar('TUNE_CCARGS')) [all …]
|
/openbmc/qemu/hw/core/ |
H A D | register.c | 25 g_assert(reg->data); in register_write_val() 27 switch (reg->data_size) { in register_write_val() 29 *(uint8_t *)reg->data = val; in register_write_val() 32 *(uint16_t *)reg->data = val; in register_write_val() 35 *(uint32_t *)reg->data = val; in register_write_val() 38 *(uint64_t *)reg->data = val; in register_write_val() 47 switch (reg->data_size) { in register_read_val() 49 return *(uint8_t *)reg->data; in register_read_val() 51 return *(uint16_t *)reg->data; in register_read_val() 53 return *(uint32_t *)reg->data; in register_read_val() [all …]
|
/openbmc/openbmc/poky/meta/lib/oeqa/selftest/cases/ |
H A D | bbtests.py | 4 # SPDX-License-Identifier: MIT 8 import re 25 self.assertEqual(bitbake('-e').status, 0, msg = "bitbake couldn't run from \"conf\" dir") 32 …self.assertEqual(bitbake('-e', env=my_env).status, 0, msg = "bitbake couldn't run from builddir's … 39 … self.assertEqual(bitbake('-e', env=my_env).status, 0, msg = "bitbake couldn't run from /tmp/") 44 result = bitbake('selftest-hello-native') 45 …find_build_started = re.search(r"NOTE: Test for bb\.event\.BuildStarted(\n.*)*NOTE: Executing.*Tas… 46 …find_build_completed = re.search(r"Tasks Summary:.*(\n.*)*NOTE: Test for bb\.event\.BuildCompleted… 52 bitbake('selftest-hello-native') 53 bitbake('selftest-hello-native -cclean') [all …]
|
/openbmc/u-boot/drivers/misc/ |
H A D | aspeed_dp.c | 1 // SPDX-License-Identifier: GPL-2.0+ 47 // update configs to dmem for re-driver in _redriver_cfg() 48 writel(0x0000dead, 0x18000e00); // mark re-driver cfg not ready in _redriver_cfg() 49 cell = dev_read_prop(dev, "eq-table", &len); in _redriver_cfg() 54 debug("%s(): Failed to get eq-table for re-driver\n", __func__); in _redriver_cfg() 58 tmp = dev_read_s32_default(dev, "i2c-base-addr", -1); in _redriver_cfg() 59 if (tmp == -1) { in _redriver_cfg() 65 tmp = dev_read_s32_default(dev, "i2c-buf-addr", -1); in _redriver_cfg() 66 if (tmp == -1) { in _redriver_cfg() 72 tmp = dev_read_s32_default(dev, "dev-addr", -1); in _redriver_cfg() [all …]
|
/openbmc/u-boot/arch/powerpc/cpu/mpc83xx/ |
H A D | ecc.c | 1 // SPDX-License-Identifier: GPL-2.0+ 3 * Copyright (C) 2007-2011 Freescale Semiconductor, Inc. 18 struct ccsr_ddr __iomem *ddr = &immap->ddr; in ecc_print_status() 20 ddr83xx_t *ddr = &immap->ddr; in ecc_print_status() 24 (ddr->sdram_cfg & SDRAM_CFG_ECC_EN) ? "ON" : "OFF"); in ecc_print_status() 27 printf("Memory Error Interrupt Enable:\n"); in ecc_print_status() 28 printf(" Multiple-Bit Error Interrupt Enable: %d\n", in ecc_print_status() 29 (ddr->err_int_en & ECC_ERR_INT_EN_MBEE) ? 1 : 0); in ecc_print_status() 30 printf(" Single-Bit Error Interrupt Enable: %d\n", in ecc_print_status() 31 (ddr->err_int_en & ECC_ERR_INT_EN_SBEE) ? 1 : 0); in ecc_print_status() [all …]
|
/openbmc/openbmc/meta-openembedded/meta-networking/recipes-connectivity/dibbler/ |
H A D | dibbler_git.bb | 5 LICENSE = "GPL-2.0-only" 12 file://0001-port-linux-Re-order-header-includes.patch \ 13 file://0001-Define-alignof-using-_Alignof-when-using-C11-or-newe.patch \ 14 file://0002-make-Do-not-enforce-c99.patch \ 20 PACKAGECONFIG ??= "debug bind-reuse resolvconf dns-update" 22 PACKAGECONFIG[debug] = "--enable-debug,,," 23 PACKAGECONFIG[efence] = "--enable-efence,,," 24 PACKAGECONFIG[bind-reuse] = "--enable-bind-reuse,,," 25 PACKAGECONFIG[dst-addr-filter] = "--enable-dst-addr-check,,," 26 PACKAGECONFIG[resolvconf] = "--enable-resolvconf,,," [all …]
|
/openbmc/qemu/docs/system/i386/ |
H A D | microvm.rst | 8 designed for short-lived guests. microvm also establishes a baseline 14 ----------------- 18 - ISA bus 19 - i8259 PIC (optional) 20 - i8254 PIT (optional) 21 - MC146818 RTC (optional) 22 - One ISA serial port (optional) 23 - LAPIC 24 - IOAPIC (with kernel-irqchip=split by default) 25 - kvmclock (if using KVM) [all …]
|
/openbmc/openbmc/meta-openembedded/meta-oe/recipes-shells/zsh/ |
H A D | zsh_5.9.bb | 11 DEPENDS = "ncurses bison-native libcap libpcre gdbm groff-native" 16 inherit autotools gettext update-alternatives manpages 18 EXTRA_AUTORECONF += "--exclude=aclocal" 21 --bindir=${base_bindir} \ 22 --enable-etcdir=${sysconfdir} \ 23 --enable-fndir=${datadir}/${BPN}/${PV}/functions \ 24 --enable-site-fndir=${datadir}/${BPN}/site-functions \ 25 --with-term-lib='ncursesw ncurses' \ 26 --with-tcsetpgrp \ 27 --enable-cap \ [all …]
|
/openbmc/u-boot/doc/ |
H A D | README.mips | 2 Notes for the MIPS architecture port of U-Boot 5 ---------- 11 Embedded Debian -- Cross-development toolchains 17 ------------ 23 incoherency in most cases, unless the code gets loaded after U-Boot 24 re-initializes the cache. The more common uImage 'bootm' command does 32 or override do_bootelf_exec() not to disable I-/D-caches, because most 33 Linux/MIPS ports don't re-enable caches after entering kernel_entry. 36 ----- 38 * Probe CPU types, I-/D-cache and TLB size etc. automatically [all …]
|
H A D | README.hwconfig | 1 To enable this feature just define CONFIG_HWCONFIG in your board 9 some "hwconfig <enable|disable|list>" commands, ncurses 10 interface for Award BIOS-like interface, and frame-buffer 11 interface for AMI GUI[1] BIOS-like interface with mouse 17 We can implement this by integrating apt-get[3] into Das 18 U-Boot. But I haven't bothered yet. 20 2. Since we don't implement a hwconfig command, i.e. we're working 31 1. dr_usb - enable Dual-Role USB controller; 32 2. dr_usb_mode:peripheral - USB in Function mode; 33 3. dr_usb_phy_type:ulpi - USB should work with ULPI PHYs. [all …]
|
/openbmc/u-boot/drivers/watchdog/ |
H A D | Kconfig | 4 bool "Enable U-Boot watchdog reset" 6 This option enables U-Boot watchdog support where U-Boot is using 7 watchdog_reset function to service watchdog device in U-Boot. Enable 8 this option if you want to service enabled watchdog by U-Boot. Disable 9 this option if you want U-Boot to start watchdog but never service it. 18 that the watchdog will not be fed in u-boot. 21 bool "Enable BCM2835/2836 watchdog driver" 24 Say Y here to enable the BCM2835/2836 watchdog 35 Say Y here to enable the OMAP3+ watchdog driver. 43 Intel Tangier SoC. If you're using a board with Intel Tangier [all …]
|
/openbmc/openbmc/meta-openembedded/meta-oe/recipes-support/libgpiod/ |
H A D | libgpiod.inc | 7 https://www.kernel.org/pub/software/libs/libgpiod/libgpiod-${PV}.tar.xz \ 8 file://run-ptest \ 11 PACKAGECONFIG[cxx] = "--enable-bindings-cxx,--disable-bindings-cxx" 13 # Enable cxx bindings by default. 19 # Always build tools - they don't have any additional 21 EXTRA_OECONF = "--enable-tools" 23 DEPENDS += "autoconf-archive-native" 25 PACKAGES =+ "${PN}-tools libgpiodcxx" 26 FILES:${PN}-tools += " \ 35 RRECOMMENDS:${PN}-ptest += "coreutils" [all …]
|
/openbmc/u-boot/arch/x86/cpu/quark/ |
H A D | hte.c | 1 // SPDX-License-Identifier: Intel 17 * Enable HTE to detect all possible errors for the given training parameters 18 * (per-bit or full byte lane). 64 * Clear all HTE errors and enable error checking in hte_clear_error_regs() 73 * Execute a basic single-cache-line memory write/read/verify test using simple 81 * assumed configuration is done and we just re-run the test 125 * Examine a single-cache-line memory with write/read/verify test using multiple 126 * data patterns (victim-aggressor algorithm). 135 * @victim_bit: should be 0 as auto-rotate feature is in use 137 * assumed configuration is done and we just re-run the test [all …]
|
/openbmc/openbmc/poky/meta/lib/oe/ |
H A D | types.py | 4 # SPDX-License-Identifier: GPL-2.0-only 8 import re 16 separator (optional), and re-joins itself when converted to a string with 80 Acts as a regular expression, returning the pre-compiled regular 85 're' module for a list of valid flags.""" 92 flagval |= getattr(re, flag) 103 return re.compile(value, flagval) 104 except re.error as exc: 171 if arch.startswith('x86_') or re.match('i.*86', arch): 178 Enable kvm if target_arch == build_arch or both of them are x86 archs.
|
/openbmc/u-boot/arch/arm/mach-at91/armv7/ |
H A D | timer.c | 1 // SPDX-License-Identifier: GPL-2.0+ 3 * (C) Copyright 2007-2008 25 * We're using the SAMA5D3x PITC in 32 bit mode, by 44 /* Enable PITC Clock */ in timer_init() 47 /* Enable PITC */ in timer_init() 48 writel(TIMER_LOAD_VAL | AT91_PIT_MR_EN , &pit->mr); in timer_init() 50 gd->arch.timer_rate_hz = get_pit_clk_rate() / 16; in timer_init() 60 return gd->arch.timer_rate_hz; in get_tbclk()
|