/openbmc/libmctp/ |
H A D | serial.c | 26 #define pr_fmt(x) "serial: " x 33 #include "libmctp-serial.h" 149 struct mctp_binding_serial *serial = binding_to_serial(b); in mctp_binding_serial_tx() local 156 /* the length field in the header excludes serial framing in mctp_binding_serial_tx() 160 hdr = (void *)serial->txbuf; in mctp_binding_serial_tx() 172 if (len + sizeof(*hdr) + sizeof(*tlr) > sizeof(serial->txbuf)) in mctp_binding_serial_tx() 186 if (!serial->tx_fn) in mctp_binding_serial_tx() 187 return mctp_write_all(mctp_serial_write, &serial->fd, in mctp_binding_serial_tx() 188 &serial->txbuf[0], len); in mctp_binding_serial_tx() 190 return mctp_write_all(serial->tx_fn, serial->tx_fn_data, in mctp_binding_serial_tx() [all …]
|
H A D | libmctp-serial.h | 15 void mctp_serial_destroy(struct mctp_binding_serial *serial); 21 int mctp_serial_init_pollfd(struct mctp_binding_serial *serial, 24 int mctp_serial_read(struct mctp_binding_serial *serial); 25 int mctp_serial_open_path(struct mctp_binding_serial *serial, const char *path); 26 void mctp_serial_open_fd(struct mctp_binding_serial *serial, int fd); 33 void mctp_serial_set_tx_fn(struct mctp_binding_serial *serial, 35 int mctp_serial_rx(struct mctp_binding_serial *serial, const void *buf,
|
/openbmc/u-boot/drivers/serial/ |
H A D | Kconfig | 2 # Serial device configuration 5 menu "Serial drivers" 17 bool "Require a serial port for console" 18 # Running without a serial console is not supported by the 19 # non-dm serial code 23 Require a serial port for the console, and panic if none is found 24 during serial port initialization (default y). Set this to n on 25 boards which have no debug serial port whatsoever. 37 bool "Provide a serial driver" 47 bool "Provide a serial driver in SPL" [all …]
|
H A D | serial.c | 9 #include <serial.h> 25 * serial_null() - Void registration routine of a serial driver 27 * This routine implements a void registration routine of a serial 129 * serial_register() - Register serial driver with serial driver core 130 * @dev: Pointer to the serial driver structure 132 * This function registers the serial driver supplied via @dev with 133 * serial driver core, thus making U-Boot aware of it and making it 162 * serial_initialize() - Register all compiled-in serial port drivers 164 * This function registers all serial port drivers that are compiled 165 * into the U-Boot binary with the serial core, thus making them [all …]
|
/openbmc/qemu/tests/qtest/libqos/ |
H A D | virtio-serial.c | 23 #include "virtio-serial.h" 28 if (!g_strcmp0(interface, "virtio-serial")) { in qvirtio_serial_get_driver() 35 fprintf(stderr, "%s not present in virtio-serial-device\n", interface); in qvirtio_serial_get_driver() 43 return qvirtio_serial_get_driver(&v_serial->serial, interface); in qvirtio_serial_device_get_driver() 51 QVirtioSerial *interface = &virtio_device->serial; in virtio_serial_device_create() 60 /* virtio-serial-pci */ 67 return qvirtio_serial_get_driver(&v_serial->serial, interface); in qvirtio_serial_pci_get_driver() 74 QVirtioSerial *interface = &virtio_spci->serial; in virtio_serial_pci_create() 93 /* virtio-serial-device */ in virtio_serial_register_nodes() 95 qos_node_create_driver("virtio-serial-device", in virtio_serial_register_nodes() [all …]
|
/openbmc/openbmc/meta-openembedded/meta-python/recipes-devtools/python/ |
H A D | python3-pyserial_3.5.bb | 1 SUMMARY = "Serial Port Support for Python" 21 ${PYTHON_SITEPACKAGES_DIR}/serial/*java* \ 22 ${PYTHON_SITEPACKAGES_DIR}/serial/__pycache__/*java* \ 26 ${PYTHON_SITEPACKAGES_DIR}/serial/tools/*osx* \ 27 ${PYTHON_SITEPACKAGES_DIR}/serial/tools/__pycache__/*osx* \ 31 ${PYTHON_SITEPACKAGES_DIR}/serial/*serialcli* \ 32 ${PYTHON_SITEPACKAGES_DIR}/serial/__pycache__/*serialcli* \ 33 ${PYTHON_SITEPACKAGES_DIR}/serial/*win32* \ 34 ${PYTHON_SITEPACKAGES_DIR}/serial/__pycache__/*win32* \ 35 ${PYTHON_SITEPACKAGES_DIR}/serial/tools/miniterm* \ [all …]
|
/openbmc/openbmc-test-automation/lib/serial_connection/ |
H A D | serial_console_client.robot | 2 Documentation Module for capturing BMC serial output 12 Open Telnet Connection To BMC Serial Console 13 [Documentation] Open telnet connection session to BMC serial console 21 # i_host The host name or IP of the serial console. 22 # i_port The port of the serial console. 46 Read And Log BMC Serial Console Output 54 Execute Command On Serial Console 55 [Documentation] Execute a command on the BMC serial console. 61 Open Telnet Connection To BMC Serial Console 65 Read And Log BMC Serial Console Output [all …]
|
/openbmc/u-boot/doc/ |
H A D | README.iomux | 24 and stderr. For example: "setenv stdin serial,nc". NOTE: No spaces 31 finds acceptable, but the code has only been tested with serial and 35 stdin nc,nc,serial" will discard the second nc. iomux_doenv() is 37 shows "nc,nc,serial". 57 example, if stdin=serial,nc and stdout=serial,nc then all output 58 for serial, e.g. echos of input on serial, will appear on serial and nc. 76 work, even when stdin=stdout=stderr=serial. 78 characters) lines works fine when serial is the only device used. 81 is quite slow. Even on a sequoia cut&paste does not work on the serial 83 the ethernet interface for input. In this test case stdin=serial,nc and [all …]
|
/openbmc/libmctp/tests/ |
H A D | test_serial.c | 11 #include "libmctp-serial.h" 29 struct mctp_binding_serial *serial; member 98 * `serial: invalid fcs : 0xf5c1, expect 0x1d3e` will be observed. in main() 111 /* Instantiate the A side of the serial pipe */ in main() 114 scenario[0].binding.serial = mctp_serial_init(); in main() 115 assert(scenario[0].binding.serial); in main() 119 mctp_serial_open_fd(a->serial, a->ingress); in main() 120 mctp_serial_set_tx_fn(a->serial, mctp_binding_serial_pipe_tx, a); in main() 121 mctp_register_bus(scenario[0].mctp, mctp_binding_serial_core(a->serial), in main() 124 /* Instantiate the B side of the serial pipe */ in main() [all …]
|
/openbmc/u-boot/doc/device-tree-bindings/leds/ |
H A D | leds-bcm6328.txt | 5 However, on some devices there are Serial LEDs (LEDs connected to a 74x164 9 Some of these Serial LEDs are hardware controlled (e.g. ethernet LEDs) and 20 - brcm,serial-leds : Boolean, enables Serial LEDs. 22 - brcm,serial-mux : Boolean, enables Serial LEDs multiplexing. 24 - brcm,serial-clk-low : Boolean, makes clock signal active low. 26 - brcm,serial-dat-low : Boolean, makes data signal active low. 28 - brcm,serial-shift-inv : Boolean, inverts Serial LEDs shift direction. 66 Scenario 2 : BCM63268 with Serial LEDs 72 brcm,serial-leds; 73 brcm,serial-dat-low; [all …]
|
/openbmc/u-boot/board/toradex/common/ |
H A D | tdx-common.c | 36 unsigned int serial = tdx_serial; in get_board_serial() local 43 if (serial) { in get_board_serial() 45 * Convert to Linux serial number format (hexadecimal coded in get_board_serial() 49 while (serial) { in get_board_serial() 50 array[i--] = serial % 10; in get_board_serial() 51 serial /= 10; in get_board_serial() 55 serial = array[0]; in get_board_serial() 57 serial *= 16; in get_board_serial() 58 serial += array[i]; in get_board_serial() 61 serialnr->low = serial; in get_board_serial() [all …]
|
/openbmc/phosphor-webui/app/server-control/controllers/ |
H A D | remote-console-controller.html | 3 <h1>Serial over LAN console</h1> 7 <h2>Access the Serial over LAN console</h2> 11 …<p class="serial-lan__copy">The Serial over LAN (SoL) console redirects the output of the server’s… 15 <serial-console show-tab-btn="true"></serial-console>
|
/openbmc/openbmc/meta-ieisystem/meta-fp5280g3/recipes-phosphor/configuration/fp5280g3-yaml-config/ |
H A D | fp5280g3-ipmi-fru.yaml | 17 IPMIFruProperty: Serial Number 60 IPMIFruProperty: Serial Number 85 IPMIFruProperty: Serial Number 110 IPMIFruProperty: Serial Number 132 IPMIFruProperty: Serial Number 157 IPMIFruProperty: Serial Number 183 IPMIFruProperty: Serial Number 209 IPMIFruProperty: Serial Number 235 IPMIFruProperty: Serial Number 261 IPMIFruProperty: Serial Number [all …]
|
/openbmc/libmctp/utils/ |
H A D | mctp-pipe.c | 5 #include "libmctp-serial.h" 30 struct mctp_binding_serial *serial[2]; in main() local 41 serial[0] = mctp_serial_init(); in main() 42 serial[1] = mctp_serial_init(); in main() 44 assert(serial[0] && serial[1]); in main() 50 mctp_serial_open_fd(serial[0], mctp_fds[0]); in main() 51 mctp_serial_open_fd(serial[1], mctp_fds[1]); in main() 53 mctp_register_bus(mctp[0], mctp_binding_serial_core(serial[0]), in main() 55 mctp_register_bus(mctp[1], mctp_binding_serial_core(serial[1]), in main() 76 rc = mctp_serial_read(serial[0]); in main() [all …]
|
H A D | mctp-in.c | 5 #include "libmctp-serial.h" 30 struct mctp_binding_serial *serial; in main() local 37 serial = mctp_serial_init(); in main() 38 assert(serial); in main() 40 mctp_serial_open_fd(serial, STDIN_FILENO); in main() 42 mctp_register_bus(mctp, mctp_binding_serial_core(serial), 8); in main() 47 rc = mctp_serial_read(serial); in main()
|
/openbmc/openbmc/poky/meta/recipes-core/systemd/ |
H A D | systemd-serialgetty.bb | 1 SUMMARY = "Serial terminal support for systemd (using SERIAL_CONSOLES)" 6 # Note that this recipe explicitly creates a serial-getty@ service for every tty 9 # required. This recipe (enabled via disabling serial-getty-generator in systemd) 28 ln -sf ${systemd_system_unitdir}/serial-getty@.service \ 29 ${D}${sysconfdir}/systemd/system/getty.target.wants/serial-getty@$ttydev.service 32 …install -m 0644 ${S}/serial-getty@.service ${D}${systemd_system_unitdir}/serial-getty$baudrate@.se… 33 …sed -i -e "s/\@BAUDRATE\@/$baudrate/g" ${D}${systemd_system_unitdir}/serial-getty$baudrate@.service 35 ln -sf ${systemd_system_unitdir}/serial-getty$baudrate@.service \ 36 ${D}${sysconfdir}/systemd/system/getty.target.wants/serial-getty$baudrate@$ttydev.service
|
/openbmc/bmcweb/redfish-core/schema/dmtf/json-schema/ |
H A D | SerialInterface.v1_3_0.json | 142 "description": "The Modbus settings for the serial interface.", 143 … "longDescription": "This type shall contain the Modbus settings for this serial interface.", 161 …escription": "This property shall indicate if the serial interface is read only. If `true`, the s… 171 "description": "The role of the serial interface.", 172 … "longDescription": "This property shall contain the role of this serial interface.", 178 …"longDescription": "This property shall contain the MODBUS over Serial Line Specification and Impl… 247 …"Modbus2Wire": "This value shall indicate the MODBUS over Serial Line Specification and Implementa… 248 …"Modbus4Wire": "This value shall indicate the MODBUS over Serial Line Specification and Implementa… 249 …"ModbusRs232": "This value shall indicate the MODBUS over Serial Line Specification and Implementa… 264 …"Client": "The serial interface is a client and connects to one or more servers across a serial bu… [all …]
|
/openbmc/openbmc/meta-quanta/meta-olympus-nuvoton/recipes-phosphor/configuration/olympus-nuvoton-yaml-config/ |
H A D | olympus-nuvoton-ipmi-fru.yaml | 14 IPMIFruProperty: Serial Number 30 IPMIFruProperty: Serial Number 62 IPMIFruProperty: Serial Number 103 IPMIFruProperty: Serial Number 123 IPMIFruProperty: Serial Number 143 IPMIFruProperty: Serial Number 163 IPMIFruProperty: Serial Number 183 IPMIFruProperty: Serial Number 203 IPMIFruProperty: Serial Number 223 IPMIFruProperty: Serial Number [all …]
|
/openbmc/qemu/hw/isa/ |
H A D | isa-superio.c | 25 #include "hw/char/serial-isa.h" 79 /* Serial */ in isa_superio_realize() 80 for (i = 0; i < k->serial.count; i++) { in isa_superio_realize() 81 if (i >= ARRAY_SIZE(sio->serial)) { in isa_superio_realize() 82 warn_report("superio: ignoring %td serial controllers", in isa_superio_realize() 83 k->serial.count - ARRAY_SIZE(sio->serial)); in isa_superio_realize() 86 if (!k->serial.is_enabled || k->serial.is_enabled(sio, i)) { in isa_superio_realize() 90 name = g_strdup_printf("discarding-serial%d", i); in isa_superio_realize() 93 name = g_strdup_printf("serial%d", i); in isa_superio_realize() 98 if (k->serial.get_iobase) { in isa_superio_realize() [all …]
|
/openbmc/qemu/hw/char/ |
H A D | Kconfig | 21 config SERIAL config 28 select SERIAL 32 select SERIAL 38 select SERIAL 44 select SERIAL 83 select SERIAL
|
/openbmc/openbmc/meta-google/recipes-phosphor/console/ |
H A D | obmc-console_%.bbappend | 4 file://serial-to-bmc@.service \ 5 file://serial-to-host@.service.in \ 10 SYSTEMD_SERVICE:${PN}:append:gbmc = " serial-to-bmc@.service" 11 SYSTEMD_SERVICE:${PN}:append:gbmc = " serial-to-host@.service" 24 install -m 0644 ${UNPACKDIR}/serial-to-bmc@.service \ 28 ${UNPACKDIR}/serial-to-host@.service.in \ 29 >${D}${systemd_system_unitdir}/serial-to-host@.service 41 systemctl --root=$D enable serial-to-host@${OBMC_CONSOLE_FRONT_TTY}.service
|
/openbmc/openbmc/meta-ibm/recipes-phosphor/configuration/p10bmc-yaml-config/ |
H A D | p10bmc-ipmi-fru.yaml | 30 IPMIFruProperty: Serial Number 57 IPMIFruProperty: Serial Number 84 IPMIFruProperty: Serial Number 111 IPMIFruProperty: Serial Number 138 IPMIFruProperty: Serial Number 165 IPMIFruProperty: Serial Number 192 IPMIFruProperty: Serial Number 219 IPMIFruProperty: Serial Number 246 IPMIFruProperty: Serial Number 273 IPMIFruProperty: Serial Number [all …]
|
/openbmc/qemu/crypto/ |
H A D | secret_keyring.c | 50 if (!secret->serial) { in qcrypto_secret_keyring_load_data() 51 error_setg(errp, "'serial' parameter must be provided"); in qcrypto_secret_keyring_load_data() 55 retcode = keyctl_read(secret->serial, NULL, 0); in qcrypto_secret_keyring_load_data() 62 retcode = keyctl_read(secret->serial, buffer, retcode); in qcrypto_secret_keyring_load_data() 74 "Unable to read serial key %08x", in qcrypto_secret_keyring_load_data() 75 secret->serial); in qcrypto_secret_keyring_load_data() 88 error_setg(errp, "'serial' should not be equal to 0"); in qcrypto_secret_prop_set_key() 90 secret->serial = value; in qcrypto_secret_prop_set_key() 100 int32_t value = secret->serial; in qcrypto_secret_prop_get_key() 111 object_class_property_add(oc, "serial", "int32_t", in qcrypto_secret_keyring_class_init()
|
/openbmc/openbmc/meta-ibm/meta-romulus/recipes-phosphor/configuration/romulus-yaml-config/ |
H A D | romulus-ipmi-fru.yaml | 17 IPMIFruProperty: Serial Number 44 IPMIFruProperty: Serial Number 66 IPMIFruProperty: Serial Number 83 IPMIFruProperty: Serial Number 108 IPMIFruProperty: Serial Number 136 IPMIFruProperty: Serial Number 164 IPMIFruProperty: Serial Number 192 IPMIFruProperty: Serial Number 220 IPMIFruProperty: Serial Number 248 IPMIFruProperty: Serial Number [all …]
|
/openbmc/openbmc/meta-amd/meta-ethanolx/recipes-phosphor/configuration/ethanolx-yaml-config/ |
H A D | ethanolx-ipmi-fru.yaml | 11 IPMIFruProperty: Serial Number 44 IPMIFruProperty: Serial Number 71 IPMIFruProperty: Serial Number 93 IPMIFruProperty: Serial Number 110 IPMIFruProperty: Serial Number 135 IPMIFruProperty: Serial Number 163 IPMIFruProperty: Serial Number 191 IPMIFruProperty: Serial Number 219 IPMIFruProperty: Serial Number 247 IPMIFruProperty: Serial Number [all …]
|