• Alessandro Rubini's avatar
    boot procedure: use non-blocking write to /dev/ttyGS0 · 16d93070
    Alessandro Rubini authored
    If the usb cable is disconnected, any write to /dev/ttyGS0 goes to a
    buffer until it fills. Then, any further write will block. This means
    the messages towards the user ("uncompressing filesystem... done" etc)
    caused the update procedure to stop.
    
    This fixes the problem by using non-blocking write for the messages:
    if nobody`s reading the messages are just discarded by the kernel.
    Signed-off-by: Alessandro Rubini's avatarAlessandro Rubini <rubini@gnudd.com>
    16d93070
Name
Last commit
Last update
binaries Loading commit data...
build Loading commit data...
configs Loading commit data...
doc Loading commit data...
hwinfo-sdb Loading commit data...
kernel Loading commit data...
patches Loading commit data...
robustness/coding Loading commit data...
scripts Loading commit data...
usb-loader Loading commit data...
userspace Loading commit data...
.gitignore Loading commit data...
.gitmodules Loading commit data...
COPYING Loading commit data...
Kconfig Loading commit data...
Makefile Loading commit data...
Makefile.kconfig Loading commit data...
README Loading commit data...