Home
last modified time | relevance | path

Searched refs:stdin (Results 1 – 25 of 42) sorted by relevance

12

/u-boot/doc/usage/cmd/
A Dconinfo.rst17 devices and their assignment as stdin, stdout, stderr console devices.
20 environment variables stdin, stdout, stderr which contain a comma separated
31 | |-- stdin
36 => setenv stdin pl011@9000000,usbkbd
40 | |-- stdin
45 | |-- stdin
A Daskenv.rst17 from stdin.
26 entered from stdin.if no message is specified,a default message
73 askenv - get environment variables from stdin
77 - display 'message' and get environment variable 'name' from stdin (max 'size' chars)
/u-boot/doc/
A DREADME.iomux23 A user can use a comma-separated list of devices to set stdin, stdout
24 and stderr. For example: "setenv stdin serial,nc". NOTE: No spaces
35 stdin nc,nc,serial" will discard the second nc. iomux_doenv() is
36 not able to modify the environment, however, so that "pri stdin" still
47 Thus, a user can type into any device registered for stdin. No effort
48 has been made to demulitplex simultaneous input from multiple stdin
57 example, if stdin=serial,nc and stdout=serial,nc then all output
62 to the 'stdin' file, the first output one to 'stdout' and 'stderr'.
76 work, even when stdin=stdout=stderr=serial.
80 Using nc as a stdin device results in even more overhead because nc_tstc()
[all …]
A DREADME.serial_multi20 setenv stdin serial_scc
26 setenv stdin serial_smc
49 setenv stdin serial1
54 setenv stdin serial0
A DREADME.console19 to the 'stdin' file, the first output one to 'stdout' and 'stderr'.
22 devices and their flags. You can assign a standard file (stdin,
27 setenv stdin serial <- To use the serial input
44 tstc (to test for the presence of a char in stdin)
45 getc (to get a char from stdin)
52 * FILE (can be 'stdin', 'stdout', 'stderr'):
A DREADME.usb43 a USB keyboard is assigned as stdin. The stdin
/u-boot/tools/u_boot_pylib/
A Dcros_subprocess.py56 def __init__(self, args, stdin=None, stdout=PIPE_PTY, stderr=PIPE_PTY, argument
83 super(Popen, self).__init__(args, stdin=stdin,
165 if self.stdin:
168 self.stdin.flush()
170 write_set.append(self.stdin)
172 self.stdin.close()
194 if self.stdin in wlist:
199 bytes_written = os.write(self.stdin.fileno(), chunk)
202 self.stdin.close()
203 write_set.remove(self.stdin)
[all …]
/u-boot/board/sandbox/
A Dsandbox.env1 stdin=serial
3 stdin+=,cros-ec-keyb,usbkbd
/u-boot/common/
A Dconsole.c35 console = stdin; in on_console()
180 case stdin: in console_setfile()
195 case stdin: in console_setfile()
596 return fgetc(stdin); in getchar()
616 return ftstc(stdin); in tstc()
1017 if (stdio_devices[stdin] == NULL) { in stdio_print_current_devices()
1020 printf ("%s\n", stdio_devices[stdin]->name); in stdio_print_current_devices()
1072 iomux_err = iomux_doenv(stdin, stdinname); in console_init_r()
1101 console_doenv(stdin, inputdev); in console_init_r()
1178 console_setfile_and_devices(stdin, inputdev); in console_init_r()
A Dusb_kbd.c585 error = iomux_doenv(stdin, stdinname);
596 error = console_assign(stdin, DEVNAME);
648 if (iomux_replace_device(stdin, DEVNAME, force ? "nulldev" : ""))
691 if (iomux_replace_device(stdin, DEVNAME, "nulldev")) {
A Dstdio.c34 case stdin: in stdio_file_to_flags()
/u-boot/scripts/kconfig/tests/
A Dconftest.py66 stdin=subprocess.PIPE,
74 ps.stdin.write(in_keys.encode('utf-8'))
80 ps.stdin.write(b'\n')
/u-boot/test/py/
A Du_boot_utils.py160 def run_and_log(u_boot_console, cmd, ignore_errors=False, stdin=None, env=None): argument
181 output = runner.run(cmd, ignore_errors=ignore_errors, stdin=stdin, env=env)
A Dmultiplexed_log.py114 def run(self, cmd, cwd=None, ignore_errors=False, stdin=None, env=None): argument
142 stdin=subprocess.PIPE if stdin else None,
144 (stdout, stderr) = p.communicate(input=stdin)
/u-boot/configs/
A Dmx6cuboxi_defconfig29 … then usb start; setenv stdin serial,usbkbd; setenv stdout serial,vidconsole; setenv stderr seria…
A Dapalis_imx6_defconfig35 CONFIG_BOOTCOMMAND="run distro_bootcmd; usb start; setenv stdout serial,vidconsole; setenv stdin se…
A Dcolibri_imx6_defconfig34 CONFIG_BOOTCOMMAND="run distro_bootcmd; usb start; setenv stdout serial,vidconsole; setenv stdin se…
/u-boot/test/py/tests/
A Dtest_ut.py46 stdin=spec.encode('utf-8'))
270 cons, 'dtc -o %s' % dtb_file, stdin=b'/dts-v1/; / {};')
309 u_boot_console, f'sfdisk {fn}', stdin=b'type=83')
/u-boot/include/
A Dstdio.h52 #define stdin 0 macro
/u-boot/scripts/
A Dspdxcheck.py263 stdin = os.fdopen(sys.stdin.fileno(), 'rb') variable
264 parser.parse_lines(stdin, args.maxlines, '-')
/u-boot/arch/mips/mach-octeon/
A Dcpu.c310 ret = iomux_doenv(stdin, iomux_name); in init_pcie_console()
385 ret = iomux_doenv(stdin, iomux_name); in init_bootcmd_console()
/u-boot/doc/usage/
A Dnetconsole.rst6 serial and network input/output devices by adjusting the 'stdin' and
25 => setenv nc 'setenv stdout nc;setenv stdin nc'
/u-boot/scripts/kconfig/
A Dconf.c110 xfgets(line, sizeof(line), stdin); in conf_askvalue()
304 xfgets(line, sizeof(line), stdin); in conf_choice()
/u-boot/scripts/dtc/
A Dsrcpos.c123 f = stdin; in srcfile_relative_open()
/u-boot/board/armadeus/opos6uldev/
A Dopos6uldev.env17 stdin=serial

Completed in 22 milliseconds

12