/openbmc/linux/Documentation/admin-guide/ |
H A D | serial-console.rst | 3 Linux Serial Console 6 To use a serial port as console you need to compile the support into your 10 …ices --> Serial drivers --> 8250/16550 and compatible serial support --> Console on 8250/16550 and… 14 It is possible to specify multiple devices for console output. You can 16 use for console output. 20 console=device,options 22 device: tty0 for the foreground virtual console 23 ttyX for any other virtual console 35 You can specify multiple console= options on the kernel command line. 39 the last device will be used when you open ``/dev/console``. [all …]
|
H A D | braille-console.rst | 1 Linux Braille Console 6 console (see :ref:`Documentation/admin-guide/serial-console.rst <serial_console>`), and 8 (in :menuselection:`Device Drivers --> Accessibility support --> Console on braille device`). 10 Then you need to specify a ``console=brl``, option on the kernel command line, the 13 console=brl,serial_options... 16 :ref:`Documentation/admin-guide/serial-console.rst <serial_console>`. 18 …o for instance you can use ``console=brl,ttyS0`` if the braille device is connected to the first s… 21 By default, the braille device will just show the last kernel message (console 31 For simplicity, only one braille console can be enabled, other uses of 32 ``console=brl,...`` will be discarded. Also note that it does not interfere with [all …]
|
/openbmc/linux/include/linux/ |
H A D | console.h | 2 * linux/include/linux/console.h 41 * Invoked by csi_M and printing to the console. 42 * @con_set_palette: sets the palette of the console to @table (optional) 43 * @con_scrolldelta: the contents of the console should be scrolled by @lines. 83 * Flush the video console driver's scrollback buffer 87 * Prepare the console for the debugger. This includes, but is not 88 * limited to, unblanking the console, loading an appropriate 93 * Restore the console to its pre-debug state as closely as possible. 100 extern const struct consw dummy_con; /* dummy console buffer */ 101 extern const struct consw vga_con; /* VGA text console */ [all …]
|
/openbmc/linux/drivers/tty/serial/ |
H A D | Kconfig | 14 the console before standard serial driver is probed. The console is 33 bool "Support for console on AMBA serial port" 38 console (the system console is the device which receives all kernel 41 Even if you say Y here, the currently visible framebuffer console 42 (/dev/tty0) will still be used as the system console by default, but 44 "console=ttyAM0". (Try "man bootparam" or see the documentation of 60 bool "Support for console on AMBA serial port" 66 console (the system console is the device which receives all kernel 69 Even if you say Y here, the currently visible framebuffer console 70 (/dev/tty0) will still be used as the system console by default, but [all …]
|
/openbmc/linux/Documentation/arch/ia64/ |
H A D | serial.rst | 18 as a serial console. If the user specified "console=ttyS0" 31 and "console=" arguments. Without an HCDP, device names didn't 41 (EFI console (EFI console 46 MP Console 0xf8030000 ttyS2 ttyS0 ttyS2 51 Console Selection 54 EFI knows what your console devices are, but it doesn't tell the 56 table[1] does tell the kernel where potential serial console 61 So how do you tell Linux which console device to use? 65 card) as the console. Then you don't need to tell Linux 66 anything; the kernel will automatically use the EFI console. [all …]
|
/openbmc/obmc-console/ |
H A D | console-dbus.c | 24 #include "console-mux.h" 25 #include "console-server.h" 31 #define DBUS_NAME "xyz.openbmc_project.Console.%s" 32 #define OBJ_NAME "/xyz/openbmc_project/console/%s" 33 #define UART_INTF "xyz.openbmc_project.Console.UART" 34 #define ACCESS_INTF "xyz.openbmc_project.Console.Access" 36 static void tty_change_baudrate(struct console *console) in tty_change_baudrate() argument 41 tty_init_termios(console->server); in tty_change_baudrate() 43 for (i = 0; i < console->n_handlers; i++) { in tty_change_baudrate() 47 handler = console->handlers[i]; in tty_change_baudrate() [all …]
|
H A D | console-server.c | 2 * Console server process for OpenBMC 41 #include "console-mux.h" 43 #include "console-server.h" 61 " --console-id <NAME>\tUse NAME in the UNIX domain socket address\n" in usage() 180 * Allow hooking obmc-console-server up to PTYs for testing in tty_find_device() 182 * https://amboar.github.io/notes/2023/05/02/testing-obmc-console-with-socat.html in tty_find_device() 298 * Set termios attributes on the console tty. 317 /* Set console to raw mode: we don't want any processing to occur on in tty_init_termios() 592 int console_data_out(struct console *console, const uint8_t *data, size_t len) in console_data_out() argument 594 return write_buf_to_fd(console->server->tty.fd, data, len); in console_data_out() [all …]
|
H A D | meson.build | 2 'obmc-console', 19 'conf/obmc-console@.service.in', 20 'conf/obmc-console@.socket.in', 21 rename: ['obmc-console@.service', 'obmc-console@.socket'], 26 'conf/obmc-console-ssh@.service.in', 27 rename: ['obmc-console-ssh@.service'], 41 'conf/obmc-console-ssh.socket.in', 42 rename: ['obmc-console-ssh.socket'], 46 'conf/obmc-console-ssh@.service.d/use-socket.conf.in', 48 install_dir: systemdsystemunitdir / 'obmc-console-ssh@.service.d', [all …]
|
H A D | CHANGELOG.md | 42 1. Deprecated D-Bus interface `xyz.openbmc_project.console` is no longer used. 47 1. console-server: Fix configuration of lpc_address and sirq sysfs attributes 54 1. console-server: Add PTY support for testing purposes 55 2. console-server: Add --console-id option 56 3. console-server: Add DBUS interface to find console unix socket FD. 57 4. Implement D-Bus interface `xyz.openbmc_project.Console.UART` for UART TTY 62 1. The `xyz.openbmc_project.console` interface is only published if the 66 2. console-server: Don't require a configuration file 69 `obmc-console-server`. 73 1. obmc-console: Introduce console-id, deprecate socket-id [all …]
|
H A D | console-mux.c | 9 #include "console-server.h" 10 #include "console-mux.h" 154 max_ngpios = sizeof(((struct console *)0)->mux_index) * CHAR_BIT; in console_server_mux_init() 188 int console_mux_init(struct console *console, struct config *config) in console_mux_init() argument 190 if (!console->server->mux) { in console_mux_init() 194 if (console->server->mux->n_mux_gpios == 0) { in console_mux_init() 199 config, console->console_id, key_mux_index); in console_mux_init() 202 warnx("console %s does not have property %s in config", in console_mux_init() 203 console->console_id, key_mux_index); in console_mux_init() 208 console->mux_index = strtoul(gpio_value, NULL, 0); in console_mux_init() [all …]
|
H A D | console-server.h | 28 struct console; 33 * Console data handlers: these implement the functions that process 52 struct console *console, struct config *config); 79 int console_data_out(struct console *console, const uint8_t *data, size_t len); 130 // the currently active console 131 struct console *active; 133 struct console **consoles; 145 struct console { struct 146 // point back to the console server 181 struct poller *console_poller_register(struct console *console, argument [all …]
|
/openbmc/linux/drivers/tty/hvc/ |
H A D | Kconfig | 6 Generic "hypervisor virtual console" infrastructure for various 8 It will automatically be selected if one of the back-end console drivers 15 bool "pSeries Hypervisor Virtual Console support" 21 console. This driver allows each pSeries partition to have a console 29 bool "OPAL Console support" 35 PowerNV machines running under OPAL need that driver to get a console 38 bool "IBM RTAS Console support" 42 IBM Console device driver which makes use of RTAS 45 bool "z/VM IUCV Hypervisor console support (VM only)" 51 This driver provides a Hypervisor console (HVC) back-end to access [all …]
|
/openbmc/linux/Documentation/fb/ |
H A D | fbcon.rst | 2 The Framebuffer Console 5 The framebuffer console (fbcon), as its name implies, is a text 6 console running on top of the framebuffer device. It has the functionality of 7 any standard text console driver, such as the VGA console, with the added 10 In the x86 architecture, the framebuffer console is optional, and 14 What are the features of fbcon? The framebuffer console supports 22 The framebuffer console can be enabled by using your favorite kernel 24 Console display driver support->Framebuffer Console Support. 43 framebuffer console. Depending on the driver, you may get a blanked or 46 will still get a VGA console. [all …]
|
/openbmc/obmc-console/docs/ |
H A D | mux-support.md | 4 requires obmc-console to select one at a time. 10 Then there will be one obmc-console-server process, and 2 consoles will be 13 The obmc-console-server will receive configuration for both consoles detailing 40 the same as the console-id. All of the section names need to be unique. 48 logfile = /var/log/console-host1.log 52 logfile = /var/log/console-host2.log 59 obmc-console-server --config server.conf /dev/ttyS0 65 console, the new connection is accepted and the console-server switches the mux 66 to this console. Any clients connected to other consoles are disconnected. 71 $ obmc-console-client -i host2 & [all …]
|
/openbmc/openbmc/meta-facebook/meta-minerva/recipes-phosphor/console/obmc-console/ |
H A D | server.ttyS5.conf | 3 console-id = ttyS5 7 logfile = /var/log/obmc-console-compute_blade_1.log 11 logfile = /var/log/obmc-console-compute_blade_2.log 15 logfile = /var/log/obmc-console-compute_blade_3.log 19 logfile = /var/log/obmc-console-compute_blade_4.log 23 logfile = /var/log/obmc-console-compute_blade_5.log 27 logfile = /var/log/obmc-console-compute_blade_6.log 31 logfile = /var/log/obmc-console-compute_blade_7.log 35 logfile = /var/log/obmc-console-compute_blade_8.log 39 logfile = /var/log/obmc-console-compute_blade_9.log [all …]
|
/openbmc/linux/drivers/video/console/ |
H A D | Kconfig | 6 menu "Console display driver support" 9 bool "VGA text console" if EXPERT || !X86 22 <ftp://ibiblio.org/pub/Linux/utils/console/>. 28 tristate "MDA text console (dual-headed)" 42 tristate "SGI Newport Console support" 46 Say Y here if you want the console on the Newport aka XL graphics 54 int "Initial number of console screen columns" 64 int "Initial number of console screen rows" 74 bool "Framebuffer Console support" 81 Low-level framebuffer-based console driver. [all …]
|
/openbmc/linux/drivers/net/ethernet/cavium/liquidio/ |
H A D | octeon_console.c | 101 /* Structure that defines a single console. 104 * The actual usable size of each console is console_buf_size -1; 422 struct octeon_console *console; in octeon_console_handle_result() local 424 console = &oct->console[console_num]; in octeon_console_handle_result() 426 console->waiting = 0; in octeon_console_handle_result() 432 struct octeon_console *console, in output_console_line() argument 449 * having been read from the console). in output_console_line() 453 if (console->leftover[0] && in output_console_line() 454 (line != console->leftover)) { in output_console_line() 455 if (console->print) in output_console_line() [all …]
|
/openbmc/docs/designs/ |
H A D | uart-mux-support.md | 13 To support this configuration, obmc-console needs to provide a method for 14 console selection to avoid manually setting GPIOs. 18 There are already [open changes for obmc-console][obmc-console-uart-mux-series] 21 [obmc-console-uart-mux-series]: 22 https://gerrit.openbmc.org/c/openbmc/obmc-console/+/71864 30 - The user can select a console to be muxed 33 console depending on the host state and other information. 35 - It is clear to whoever is reading the logs of that console when a console was 41 - Console selection (implies mux control) must be possible from an external 44 The scope of this change is obmc-console and other projects which rely on the [all …]
|
/openbmc/openbmc/meta-ampere/meta-common/recipes-extended/rsyslog/rsyslog/ |
H A D | hostconsole.conf | 1 #Host console log 8 action(type="omfile" file="/var/log/obmc-console-cpu.log" template="ConsoleTemplate") 11 action(type="omfile" file="/var/log/obmc-console-atf.log" template="ConsoleTemplate") 14 action(type="omfile" file="/var/log/obmc-console-secpro0.log" template="ConsoleTemplate") 17 action(type="omfile" file="/var/log/obmc-console-secpro1.log" template="ConsoleTemplate") 20 action(type="omfile" file="/var/log/obmc-console-mpro0.log" template="ConsoleTemplate") 23 action(type="omfile" file="/var/log/obmc-console-mpro1.log" template="ConsoleTemplate") 26 action(type="omfile" file="/var/log/obmc-console-scp0.log" template="ConsoleTemplate") 29 action(type="omfile" file="/var/log/obmc-console-scp1.log" template="ConsoleTemplate") 32 # Custom socket for serial console logs. [all …]
|
/openbmc/u-boot/test/log/ |
H A D | log_test.c | 39 ret = log_add_filter("console", cat_list, LOGL_MAX, NULL); in log_test() 43 ret = log_remove_filter("console", ret); in log_test() 54 ret = log_add_filter("console", cat_list, LOGL_MAX, NULL); in log_test() 58 ret = log_remove_filter("console", ret); in log_test() 69 ret = log_add_filter("console", cat_list, LOGL_MAX, NULL); in log_test() 73 ret = log_remove_filter("console", ret); in log_test() 80 ret = log_add_filter("console", NULL, LOGL_MAX, "file"); in log_test() 84 ret = log_remove_filter("console", ret); in log_test() 91 ret = log_add_filter("console", NULL, LOGL_MAX, "file"); in log_test() 95 ret = log_remove_filter("console", ret); in log_test() [all …]
|
/openbmc/linux/Documentation/driver-api/ |
H A D | console.rst | 4 Console Drivers 7 The Linux kernel has 2 general types of console drivers. The first type is 15 any time with each driver sharing the console with other drivers including 16 the system driver. However, modular drivers cannot take over the console 19 of driver occupying the consoles.) They can only take over the console that is 21 released by the console, the system driver will take over. 25 do_take_over_console() - load and bind driver to console layer 35 examined. This shows the console backends currently registered by the 89 Support for binding and unbinding console drivers 94 console to KD_GRAPHICS is X. [all …]
|
/openbmc/docs/ |
H A D | console.md | 1 # OpenBMC host console support 3 This document describes how to connect to the host UART console from an OpenBMC 6 The console infrastructure allows multiple shared connections to a single host 10 ## Remote console connections 12 To connect to an OpenBMC console session remotely, just ssh to your BMC on 17 ## Local console connections 19 If you're already logged into an OpenBMC machine, you can start a console 22 $ obmc-console-client 24 To exit from a console, type: 33 This is because obmc-console-client is an ssh session, and a double `~` is [all …]
|
/openbmc/u-boot/common/ |
H A D | Kconfig | 253 menu "Console" menu 262 bool "Console recording" 264 This provides a way to record console output (and provide console 266 Console output is recorded even when the console is silent. 267 To enable console recording, call console_record_reset_enable() 275 Set the size of the console output buffer. When this fills up, no 284 Set the size of the console input buffer. When this contains data, 290 bool "Add functionality to disable console completely" 292 Disable console (in & out). 304 All Messages with a loglevel smaller than the console loglevel will [all …]
|
/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. 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. 49 * @param[in] input - data to be written to the console buffer. 56 /** @brief Erase console buffer. [all …]
|
/openbmc/openbmc/meta-arm/meta-arm-systemready/lib/oeqa/runtime/cases/ |
H A D | arm_systemready_debian_unattended.py | 7 self.console = self.target.DEFAULT_CONSOLE 16 self.target.expect(self.console, 21 self.target.expect(self.console, 26 self.target.expect(self.console, 31 self.target.expect(self.console, 37 self.target.expect(self.console, 40 self.target.sendline(self.console, '') 42 self.target.expect(self.console, 45 self.target.sendline(self.console, '') 49 self.target.expect(self.console, [all …]
|