9
0
Fork 0
barebox/commands
Pau Espin a07b1b7503 login: Follow timeout guidelines when password returns in time
If there's noise in the serial line, it will usually end up in Password:
prompt and after timeout, autoboot process will be triggered.
However, if the noise is translated to \n or whatever character code
used to finish the password string, the login() funcion will against
request the password() with the full timeout. If the noise keeps
printing the \n or similar character with a high frequency, barebox will
become stuck in the boot process.

Related: SYS#4128
2018-02-15 18:55:53 +01:00
..
2048.c 2048: Reset score on startup 2014-06-06 06:33:53 +02:00
Kconfig bootstate: add framework for redundant boot scenarios 2015-06-10 13:42:33 +02:00
Makefile bootstate: add framework for redundant boot scenarios 2015-06-10 13:42:33 +02:00
automount.c automount: fix description typo 2014-06-26 09:45:14 +02:00
barebox-update.c move file helper functions to separate file 2014-08-07 06:13:51 +02:00
basename.c treewide: remove address of the Free Software Foundation 2014-06-11 08:35:25 +02:00
boot.c boot: fix typo 2014-07-01 08:44:56 +02:00
bootchooser.c bootstate: add framework for redundant boot scenarios 2015-06-10 13:42:33 +02:00
bootm.c bootm: add magicvar description for global.bootm.oftree 2015-05-26 09:19:30 +02:00
cat.c commands: harmonize in-barebox documentation 2014-05-14 10:03:43 +02:00
cd.c commands: harmonize in-barebox documentation 2014-05-14 10:03:43 +02:00
clear.c commands: harmonize in-barebox documentation 2014-05-14 10:03:43 +02:00
clk.c commands: harmonize in-barebox documentation 2014-05-14 10:03:43 +02:00
cmp.c commands: implement 'cmp' command 2014-11-04 12:36:19 +01:00
cp.c cp: Add recursive copy 2014-11-06 10:58:55 +01:00
crc.c commands: crc: support setting environment variables 2015-02-02 11:46:31 +01:00
defaultenv.c Add defaultenv command 2014-11-06 12:23:12 +01:00
detect.c commands: harmonize in-barebox documentation 2014-05-14 10:03:43 +02:00
devinfo.c Documentation: remove doxygen documentation 2014-06-26 10:09:52 +02:00
dfu.c Merge branch 'for-next/usb-gadget' 2014-08-07 20:34:28 +02:00
digest.c command: digest/hashsum: set key at command level 2015-03-27 07:49:37 +01:00
dirname.c treewide: remove address of the Free Software Foundation 2014-06-11 08:35:25 +02:00
dmesg.c commands: dmesg: fi format security warning 2015-04-03 08:01:53 +02:00
drvinfo.c commands: drvinfo: Make locally used function static 2014-06-05 10:18:06 +02:00
echo.c Documentation: remove doxygen documentation 2014-06-26 10:09:52 +02:00
edit.c Merge branch 'for-next/metadata' 2014-08-07 06:15:16 +02:00
exec.c move file helper functions to separate file 2014-08-07 06:13:51 +02:00
export.c commands: harmonize in-barebox documentation 2014-05-14 10:03:43 +02:00
false.c commands: harmonize in-barebox documentation 2014-05-14 10:03:43 +02:00
filetype.c commands: harmonize in-barebox documentation 2014-05-14 10:03:43 +02:00
firmwareload.c commands: firmwareload: add CMD_GROUP 2014-10-10 08:36:32 +02:00
flash.c Documentation: remove doxygen documentation 2014-06-26 10:09:52 +02:00
global.c globalvar: Add support for printing all global variables 2014-11-06 12:23:12 +01:00
go.c commands: harmonize in-barebox documentation 2014-05-14 10:03:43 +02:00
gpio.c Documentation: remove doxygen documentation 2014-06-26 10:09:52 +02:00
hashsum.c command: hashsum: Conding style fixup 2015-03-30 19:08:14 +02:00
help.c commands: fix a warning in help.c 2015-01-13 08:55:48 +01:00
hwclock.c commands: add hwclock 2014-08-02 06:45:43 +02:00
i2c.c commands: i2c: add message if write is not successful 2014-07-14 08:04:04 +02:00
imd.c Add support for metadata in barebox images 2014-08-07 06:13:52 +02:00
insmod.c move file helper functions to separate file 2014-08-07 06:13:51 +02:00
internal.h command: digest/hashsum: set key at command level 2015-03-27 07:49:37 +01:00
iomemport.c commands: harmonize in-barebox documentation 2014-05-14 10:03:43 +02:00
led.c Documentation: remove doxygen documentation 2014-06-26 10:09:52 +02:00
let.c commands: harmonize in-barebox documentation 2014-05-14 10:03:43 +02:00
linux16.c move file helper functions to separate file 2014-08-07 06:13:51 +02:00
linux_exec.c commands: include missing header 2014-06-26 21:16:13 +02:00
ln.c treewide: remove address of the Free Software Foundation 2014-06-11 08:35:25 +02:00
loadb.c Do not use macros in command help 2014-07-08 07:52:36 +02:00
loadenv.c loadenv: fix typo in help text 2015-02-02 11:46:30 +01:00
loads.c commands: harmonize in-barebox documentation 2014-05-14 10:03:43 +02:00
loadxy.c commands: loady: fix bug with netconsole 2015-01-05 13:05:27 +01:00
login.c login: Follow timeout guidelines when password returns in time 2018-02-15 18:55:53 +01:00
ls.c ls: sort files with -l 2014-07-03 09:39:28 +02:00
lsmod.c commands: harmonize in-barebox documentation 2014-05-14 10:03:43 +02:00
lspci.c commands: lspci: go down into subordinate busses 2014-10-08 08:39:01 +02:00
magicvar.c magicvar: Add support for dynamically added magicvars 2014-11-06 10:58:54 +01:00
md.c md: use memmap when possible 2015-05-28 12:26:33 +02:00
mem.c commands/mem.c: drop non used DEVMEM 2013-05-08 07:16:40 +02:00
memcmp.c commands: harmonize in-barebox documentation 2014-05-14 10:03:43 +02:00
memcpy.c commands: harmonize in-barebox documentation 2014-05-14 10:03:43 +02:00
meminfo.c commands: harmonize in-barebox documentation 2014-05-14 10:03:43 +02:00
memset.c command: memset: Fix argument order in help text 2014-11-10 08:00:46 +01:00
memtest.c memtest: fix 4GB overflow fail 2015-01-27 09:03:07 +01:00
menu.c commands: harmonize in-barebox documentation 2014-05-14 10:03:43 +02:00
menutree.c commands: harmonize in-barebox documentation 2014-05-14 10:03:43 +02:00
miitool.c Merge branch 'for-next/misc' 2014-07-04 17:27:06 +02:00
mkdir.c commands: harmonize in-barebox documentation 2014-05-14 10:03:43 +02:00
mm.c commands: harmonize in-barebox documentation 2014-05-14 10:03:43 +02:00
mount.c Documentation: remove doxygen documentation 2014-06-26 10:09:52 +02:00
msleep.c commands: harmonize in-barebox documentation 2014-05-14 10:03:43 +02:00
mw.c commands: harmonize in-barebox documentation 2014-05-14 10:03:43 +02:00
nand.c commands: harmonize in-barebox documentation 2014-05-14 10:03:43 +02:00
nandtest.c commands: harmonize in-barebox documentation 2014-05-14 10:03:43 +02:00
net.c commands: harmonize in-barebox documentation 2014-05-14 10:03:43 +02:00
nv.c Add support for non volatile variables 2014-11-06 10:58:54 +01:00
of_display_timings.c commands: add of_display_timings 2014-10-01 08:13:02 +02:00
of_dump.c commands: of_dump: Fix return value 2014-09-12 07:42:29 +02:00
of_node.c complete: Add devicetree completion 2014-05-19 22:23:56 +02:00
of_property.c Fix spelling: pathes -> paths 2015-01-28 10:02:56 +01:00
oftree.c Merge branch 'for-next/metadata' 2014-08-07 06:15:16 +02:00
partition.c cmdlinepart: add function to parse a cmdline partition string 2015-02-12 09:33:43 +01:00
passwd.c commands: harmonize in-barebox documentation 2014-05-14 10:03:43 +02:00
poweroff.c treewide: remove address of the Free Software Foundation 2014-06-11 08:35:25 +02:00
printenv.c Documentation: remove doxygen documentation 2014-06-26 10:09:52 +02:00
pwd.c commands: harmonize in-barebox documentation 2014-05-14 10:03:43 +02:00
readf.c move file helper functions to separate file 2014-08-07 06:13:51 +02:00
readline.c commands: harmonize in-barebox documentation 2014-05-14 10:03:43 +02:00
readlink.c treewide: remove address of the Free Software Foundation 2014-06-11 08:35:25 +02:00
reginfo.c commands: harmonize in-barebox documentation 2014-05-14 10:03:43 +02:00
regulator.c commands: harmonize in-barebox documentation 2014-05-14 10:03:43 +02:00
reset.c commands: harmonize in-barebox documentation 2014-05-14 10:03:43 +02:00
rm.c commands: harmonize in-barebox documentation 2014-05-14 10:03:43 +02:00
rmdir.c commands: harmonize in-barebox documentation 2014-05-14 10:03:43 +02:00
saveenv.c environment: envfs_{load, save}: add possibility to call with filename and dirname == NULL 2015-03-06 07:43:49 +01:00
setenv.c Documentation: remove doxygen documentation 2014-06-26 10:09:52 +02:00
sleep.c commands: harmonize in-barebox documentation 2014-05-14 10:03:43 +02:00
spi.c commands: harmonize in-barebox documentation 2014-05-14 10:03:43 +02:00
splash.c commands/splash: fix '-y' option handling 2015-01-26 09:14:54 +01:00
state.c command: state: harmonize in-barebox documentation 2015-04-17 07:31:35 +02:00
stddev.c treewide: remove address of the Free Software Foundation 2014-06-11 08:35:25 +02:00
test.c commands: harmonize in-barebox documentation 2014-05-14 10:03:43 +02:00
tftp.c move file helper functions to separate file 2014-08-07 06:13:51 +02:00
time.c commands: harmonize in-barebox documentation 2014-05-14 10:03:43 +02:00
timeout.c timeout: factor out wait-for-key-press loop into separate file 2015-04-23 08:12:28 +02:00
trigger.c commands: trigger: check trigger disable return code too 2014-07-31 08:03:01 +02:00
true.c commands: harmonize in-barebox documentation 2014-05-14 10:03:43 +02:00
ubi.c mtd: ubi: Let ubidetach take mtd as argument 2015-06-10 13:42:33 +02:00
ubiformat.c move file helper functions to separate file 2014-08-07 06:13:51 +02:00
uimage.c move file helper functions to separate file 2014-08-07 06:13:51 +02:00
umount.c commands: harmonize in-barebox documentation 2014-05-14 10:03:43 +02:00
uncompress.c commands: harmonize in-barebox documentation 2014-05-14 10:03:43 +02:00
usb.c commands: usb: drop help for force rescan option 2014-09-30 10:45:18 +02:00
usbgadget.c USB: gadget: Add a multi function gadget 2014-07-24 08:32:56 +02:00
usbserial.c USB: gadget: specify vendor/product id with device parameters 2014-07-22 08:09:28 +02:00
version.c commands: harmonize in-barebox documentation 2014-05-14 10:03:43 +02:00
wd.c commands: harmonize in-barebox documentation 2014-05-14 10:03:43 +02:00