• 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
..
wrs_build_at91boot Loading commit data...
wrs_build_barebox Loading commit data...
wrs_build_buildroot Loading commit data...
wrs_build_gateware Loading commit data...
wrs_build_kernel Loading commit data...
wrs_build_modules Loading commit data...
wrs_build_ptp Loading commit data...
wrs_build_userspace Loading commit data...
wrs_build_wraprootfs Loading commit data...
wrs_download Loading commit data...
wrs_functions Loading commit data...