• 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
..
host_tools Loading commit data...
include Loading commit data...
libptpnetif Loading commit data...
libsdb Loading commit data...
libswitchhw Loading commit data...
mini-rpc @ 4c87062d
ppsi @ 466051b2
rootfs_override Loading commit data...
snmpd Loading commit data...
tools Loading commit data...
wrsw_hal Loading commit data...
wrsw_rtud Loading commit data...
.gitignore Loading commit data...
Makefile Loading commit data...
devices.tar.gz Loading commit data...