/openbmc/phosphor-net-ipmid/sol/ |
H A D | console_buffer.hpp | 16 * The console data is the buffer that holds the data that comes from the host 17 * console which is to be sent to the remote console. The buffer is needed due 24 /** @brief Get the current size of the host console buffer. 26 * @return size of the host console buffer. 28 auto size() const noexcept in size() function in sol::ConsoleData 30 return data.size(); in size() 33 /** @brief Read host console data. 36 * console data buffer. 45 /** @brief Write host console data. 47 * This API would append the input data to the host console buffer. [all …]
|
/openbmc/linux/drivers/net/ethernet/cavium/liquidio/ |
H A D | octeon_console.c | 7 * Copyright (c) 2003-2016 Cavium, Inc. 14 * AS-IS and WITHOUT ANY WARRANTY; without even the implied warranty 101 /* Structure that defines a single console. 104 * The actual usable size of each console is console_buf_size -1; 143 * @param size Size of the structure member. 150 u32 size) in __cvmx_bootmem_desc_get() argument 153 switch (size) { in __cvmx_bootmem_desc_get() 201 if (!oct->bootmem_desc_addr) in __cvmx_bootmem_check_version() 202 oct->bootmem_desc_addr = in __cvmx_bootmem_check_version() 206 oct, oct->bootmem_desc_addr, in __cvmx_bootmem_check_version() [all …]
|
/openbmc/openbmc/meta-ampere/meta-common/recipes-extended/rsyslog/rsyslog/ |
H A D | rsyslog.logrotate | 1 # /etc/logrotate.d/rsyslog - Ported from Debian 7 size 64k 17 size 64k 23 # Keep up to 2 256k files for cpu console logs 24 /var/log/obmc-console-cpu.log 28 size 256k 34 # Keep up to 2 64k files for atf console logs 35 /var/log/obmc-console-atf.log 39 size 64k 45 # Keep up to 2 64k files for secpro and mpro console logs [all …]
|
/openbmc/u-boot/common/ |
H A D | Kconfig | 25 Enable recording of boot time in SPL. To make this visible to U-Boot 27 information when SPL finishes and load it when U-Boot proper starts 34 Enable recording of boot time in SPL. To make this visible to U-Boot 36 information when TPL finishes and load it when U-Boot proper starts 44 This shows how long it took U-Boot to go through each stage of the 62 This is the size of the bootstage record list and is the maximum 69 This is the size of the bootstage record list and is the maximum 115 hex "Size of boot timing stash region" 129 Enabling this will make a U-Boot binary that is capable of being 139 Enabling this will make a U-Boot binary that is capable of being [all …]
|
/openbmc/u-boot/include/configs/ |
H A D | trats2.h | 1 /* SPDX-License-Identifier: GPL-2.0+ */ 13 #include <configs/exynos4-common.h> 32 /* select serial console configuration */ 34 /* Console configuration */ 37 #define CONFIG_DEFAULT_CONSOLE "console=ttySAC2,115200n8\0" 40 - GENERATED_GBL_DATA_SIZE) 42 #define CONFIG_SYS_MEM_TOP_HIDE (1 << 20) /* ram console */ 48 #define CONFIG_ENV_OFFSET ((32 - 4) << 10) /* 32KiB - 4KiB */ 52 /* Tizen - partitions definitions */ 53 #define PARTS_CSA "csa-mmc" [all …]
|
H A D | trats.h | 1 /* SPDX-License-Identifier: GPL-2.0+ */ 12 #include <configs/exynos4-common.h> 34 /* select serial console configuration */ 39 #define CONFIG_DEFAULT_CONSOLE "console=ttySAC2,115200n8\0" 42 - GENERATED_GBL_DATA_SIZE) 44 #define CONFIG_SYS_MEM_TOP_HIDE (1 << 20) /* ram console */ 49 #define CONFIG_ENV_COMMON_BOOT "${console} ${meminfo}" 53 #define CONFIG_ENV_OFFSET ((32 - 4) << 10) /* 32KiB - 4KiB */ 57 /* Tizen - partitions definitions */ 58 #define PARTS_CSA "csa-mmc" [all …]
|
H A D | legoev3.h | 1 /* SPDX-License-Identifier: GPL-2.0+ */ 7 * Copyright (C) 2010 Texas Instruments Incorporated - http://www.ti.com/ 31 #define PHYS_SDRAM_1_SIZE (64 << 20) /* SDRAM size 64MB */ 32 #define CONFIG_MAX_RAM_BANK_SIZE (512 << 20) /* max size from SPRS586*/ 44 #define CONFIG_SYS_NS16550_REG_SIZE -4 /* NS16550 register size */ 56 #define CONFIG_SYS_DAVINCI_I2C_SLAVE 10 /* Bogus, master-only in U-Boot */ 59 * U-Boot general configuration 62 #define CONFIG_SYS_CBSIZE 1024 /* Console I/O Buffer Size */ 63 #define CONFIG_SYS_BARGSIZE CONFIG_SYS_CBSIZE /* Boot Args Buffer Size */ 86 "if test -n $uenvcmd; then " \ [all …]
|
H A D | s5p_goni.h | 1 /* SPDX-License-Identifier: GPL-2.0+ */ 36 /* Size of malloc() pool before and after relocation */ 40 * select serial console configuration 49 /* USB Composite download gadget - g_dnl */ 60 /* Actual modem binary size is 16MiB. Add 2MiB for bad block handling */ 63 #define PARTS_CSA "csa-mmc" 64 #define PARTS_BOOTLOADER "u-boot" 72 "u-boot raw 0x80 0x400;" \ 74 "exynos3-goni.dtb ext4 0 2;" \ 79 "name="PARTS_CSA",size=8MiB,uuid=${uuid_gpt_"PARTS_CSA"};" \ [all …]
|
/openbmc/qemu/hw/char/ |
H A D | xen_console.c | 7 * Xen Console 29 #include "chardev/char-fe.h" 30 #include "hw/xen/xen-backend.h" 31 #include "hw/xen/xen-bus-helper.h" 32 #include "hw/qdev-properties.h" 33 #include "hw/qdev-properties-system.h" 34 #include "hw/xen/interface/io/console.h" 43 size_t size; member 61 #define TYPE_XEN_CONSOLE_DEVICE "xen-console" 66 struct buffer *buffer = &con->buffer; in OBJECT_DECLARE_SIMPLE_TYPE() [all …]
|
/openbmc/linux/kernel/printk/ |
H A D | printk.c | 1 // SPDX-License-Identifier: GPL-2.0-only 10 * to the console. Added hook for sending the console messages 11 * elsewhere, in preparation for a serial line console (someday). 26 #include <linux/console.h> 74 EXPORT_TRACEPOINT_SYMBOL_GPL(console); 84 * console_mutex protects console_list updates and console->flags updates. 86 * accessible via the console list. 91 * console_sem protects updates to console->seq 92 * and also provides serialization for console printing. 107 * panic and risk deadlock on console resources. [all …]
|
/openbmc/linux/lib/fonts/ |
H A D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0-only 12 bool "Select compiled-in fonts" 16 your frame buffer console usually use. 30 provided by the text console 80x50 (and higher) modes). 43 provided by the VGA text console 80x25 mode. 48 bool "Mac console 6x11 font (not supported by all drivers)" if FONTS 52 Small console font with Macintosh-style high-half glyphs. Some Mac 56 bool "console 7x14 font (not supported by all drivers)" if FONTS 59 Console font with characters just a bit smaller than the default. 64 bool "Pearl (old m68k) console 8x8 font" if FONTS [all …]
|
/openbmc/openbmc-tools/dbus-vis/ |
H A D | ipmi_capture.js | 5 'dbus-monitor --system | grep "sendMessage\\|ReceivedMessage" -A7 \n'; 7 'dbus-monitor --system | grep "member=execute\\|method return" -A7 \n'; 51 console.log('[' + line + ']') 55 console.log('File size: ' + tot_size + ' ' + sp[0]); 70 if (i0 != -1 && i1 != -1) { 71 let ret = x.substr(i0 + 6, i1 - i0 - 6); 100 console.log('Error decompressing .tar.gz file:' + err); 104 console.log('Done! will load file contents'); 106 fs.readFile('./DBUS_MONITOR', {encoding: 'utf-8'}, (err, data) => { 108 console.log('Error in readFile: ' + err); [all …]
|
/openbmc/u-boot/include/ |
H A D | lcd_console.h | 1 /* SPDX-License-Identifier: GPL-2.0+ */ 3 * Copyright (C) 2014, Compulab Ltd - http://compulab.co.il/ 20 * console_calc_rowcol() - calculate available rows / columns wihtin a given 21 * screen-size based on used VIDEO_FONT. 24 * @sizex: size X of the screen in pixel 25 * @sizey: size Y of the screen in pixel 29 * lcd_init_console() - Initialize lcd console parameters 31 * Setup the address of console base, and the number of rows and columns the 32 * console has. 34 * @address: Console base address [all …]
|
/openbmc/obmc-console/ |
H A D | CHANGELOG.md | 11 - Added 12 - Changed 13 - Deprecated 14 - Removed 15 - Fixed 16 - Security 22 1. config: Added support for the `aspeed-uart-routing` configuration key 23 2. config: Added support for the `ringbuffer-size` configuration key 26 More details can be found [in the documentation](docs/mux-support.md). 30 Note that it's now advised to run `meson test ...` under [dbus-run-session][] [all …]
|
H A D | log-handler.c | 8 * http://www.apache.org/licenses/LICENSE-2.0 30 #include "console-server.h" 35 struct console *console; member 38 size_t size; member 45 static const char *default_filename = LOCALSTATEDIR "/log/obmc-console.log"; 58 close(lh->fd); in log_trim() 59 rc = rename(lh->log_filename, lh->rotate_filename); in log_trim() 61 warn("Failed to rename %s to %s", lh->log_filename, in log_trim() 62 lh->rotate_filename); in log_trim() 63 /* don't return, as we need to re-open the logfile */ in log_trim() [all …]
|
H A D | console-server.c | 2 * Console server process for OpenBMC 10 * http://www.apache.org/licenses/LICENSE-2.0 41 #include "console-mux.h" 43 #include "console-server.h" 48 /* default size of the shared backlog ringbuffer */ 60 " --config <FILE>\tUse FILE for configuration\n" in usage() 61 " --console-id <NAME>\tUse NAME in the UNIX domain socket address\n" in usage() 68 return p->fd == -1 && p->events == 0 && p->revents == ~0; in console_server_pollfd_reclaimable() 74 for (size_t i = 0; i < server->capacity_pollfds; i++) { in console_server_find_released_pollfd() 75 struct pollfd *p = &server->pollfds[i]; in console_server_find_released_pollfd() [all …]
|
/openbmc/linux/arch/powerpc/ |
H A D | Kconfig.debug | 1 # SPDX-License-Identifier: GPL-2.0 4 bool "Don't build arch/powerpc code with -Werror" 7 arch/powerpc with the -Werror flag (which means warnings 47 emulated by the in-kernel emulator. Counters for the various classes 51 powerpc/emulated_instructions/do_warn in debugfs), rate-limited 52 warnings can be printed to the console when instructions are 56 bool "Run self-tests of the code-patching code" 78 bool "Run self-tests of the feature-fixup code" 82 bool "Run self-tests of the MSI bitmap code" 98 Include in-kernel hooks for the xmon kernel monitor/debugger. [all …]
|
/openbmc/u-boot/drivers/video/ |
H A D | video-uclass.c | 1 // SPDX-License-Identifier: GPL-2.0+ 13 #include <dm/device-internal.h> 14 #include <dm/uclass-internal.h> 23 * set the @align and @size values in struct video_uc_platdata. This 24 * information represents the requires size and alignment of the frame buffer 25 * for the device. The values can be an over-estimate but cannot be too 31 * gd->video_bottom and gd->video_top. 34 * @size and @align information and this time video_post_bind() checks that 37 * The frame buffer address is actually set (to plat->base) in 39 * allocates a suitable text console device. This can then be used to write [all …]
|
H A D | Kconfig | 13 to display a command-line console or splash screen. Enabling this 24 This driver can be use with "simple-panel" and 26 (leds/backlight/pwm-backlight.txt) 34 This driver can be used with "simple-panel" and 36 (leds/backlight/gpio-backlight.txt) 39 bool "Support 8-bit-per-pixel displays" 43 Support drawing text and bitmaps onto a 8-bit-per-pixel display. 45 this option, such displays will not be supported and console output 49 bool "Support 16-bit-per-pixel displays" 53 Support drawing text and bitmaps onto a 16-bit-per-pixel display. [all …]
|
/openbmc/linux/arch/um/drivers/ |
H A D | stdio_console.c | 1 // SPDX-License-Identifier: GPL-2.0 12 #include <linux/console.h> 32 printk(KERN_INFO "Virtual console %d assigned device '%s'\n", dev, in stdio_announce() 39 .xterm_title = "Virtual Console #%d", 44 static int con_get_config(char *dev, char *str, int size, char **error_out); 50 .name = "UML console", 56 .read_irq_name = "console", 57 .write_irq_name = "console-write", 80 static int con_get_config(char *dev, char *str, int size, char **error_out) in con_get_config() argument 82 return line_get_config(dev, vts, ARRAY_SIZE(vts), str, size, error_out); in con_get_config() [all …]
|
/openbmc/linux/drivers/tty/vt/ |
H A D | vc_screen.c | 1 // SPDX-License-Identifier: GPL-2.0 3 * Provide access to virtual console memory. 13 * /dev/vcsuN: similar to /dev/vcsaN but using 4-byte unicode values 14 * instead of 1-byte screen glyph values. 22 * aeb@cwi.nl - efter Friedas begravelse - 950211 24 * machek@k332.feld.cvut.cz - modified not to send characters to wrong console 25 * - fixed some fatal off-by-one bugs (0-- no longer == -1 -> looping and looping and looping...) 26 * - making it shorter - scr_readw are macros which expand in PRETTY long code 40 #include <linux/console.h> 65 * with minors 0, 64, 128 and 192 being proxies for the foreground console. [all …]
|
/openbmc/qemu/semihosting/ |
H A D | console.c | 2 * Semihosting Console Support 7 * This provides support for outputting to a semihosting console. 10 * to arbitrary file descriptors we treat the console as something 12 * re-directed to gdb (if currently being used to debug) or even 13 * re-directed elsewhere. 15 * SPDX-License-Identifier: GPL-2.0-or-later 20 #include "semihosting/console.h" 22 #include "exec/exec-all.h" 25 #include "chardev/char-fe.h" 26 #include "qemu/main-loop.h" [all …]
|
/openbmc/webui-vue/src/utilities/ |
H A D | NBDServer.js | 61 console.log(`${endpoint} error: ${ev.error}`); 62 console.log(JSON.stringify(ev)); 65 console.log( 68 console.log(JSON.stringify(ev)); 73 console.log(endpoint + ' opened'); 92 console.log('no handler for state ' + this.state); 98 console.log( 144 console.log('invalid option magic'); 145 return -1; 158 /* export size. */ [all …]
|
/openbmc/bmcweb/include/ |
H A D | obmc_console.hpp | 1 // SPDX-License-Identifier: Apache-2.0 2 // SPDX-FileCopyrightText: Copyright OpenBMC Authors 36 // Update this value each time we add new console route. 70 boost::asio::buffer(inputBuffer.data(), inputBuffer.size()), in doWrite() 79 self->doingWrite = false; in doWrite() 80 self->inputBuffer.erase(0, bytesWritten); in doWrite() 84 self->conn.close("Error in reading to host port"); 93 self->doWrit in afterSendEx() [all...] |
/openbmc/linux/Documentation/devicetree/bindings/reserved-memory/ |
H A D | ramoops.yaml | 1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/reserved-memory/ramoops.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 11 recovered after a reboot. This is a child-node of "/reserved-memory", and 16 as kernel log messages, or for optional ECC error-correction data. The total 17 size of these optional buffers must fit in the reserved region. 20 records. These records have a configurable size, with a size of 0 indicating 23 At least one of "record-size", "console-size", "ftrace-size", or "pmsg-size" 24 must be set non-zero, but are otherwise optional as listed below. [all …]
|