Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 63e5205c authored by Brian Swetland's avatar Brian Swetland
Browse files

fastboot: make it so I can actually see the bootloader chatter



- prefix bootloader messages with (bootloader)
- remove the fancy right justified no newline business

Change-Id: Ica16ebe6a25971db423c5db06300a280d93faf3e
Signed-off-by: default avatarBrian Swetland <swetland@google.com>
parent 57dbb2cb
Loading
Loading
Loading
Loading
+2 −1
Original line number Original line Diff line number Diff line
@@ -285,7 +285,8 @@ void fb_execute_queue(usb_handle *usb)
        a->start = now();
        a->start = now();
        if (start < 0) start = a->start;
        if (start < 0) start = a->start;
        if (a->msg) {
        if (a->msg) {
            fprintf(stderr,"%30s... ",a->msg);
            // fprintf(stderr,"%30s... ",a->msg);
            fprintf(stderr,"%s...\n",a->msg);
        }
        }
        if (a->op == OP_DOWNLOAD) {
        if (a->op == OP_DOWNLOAD) {
            status = fb_download_data(usb, a->data, a->size);
            status = fb_download_data(usb, a->data, a->size);
+1 −1
Original line number Original line Diff line number Diff line
@@ -62,7 +62,7 @@ static int check_response(usb_handle *usb, unsigned size,
        }
        }


        if(!memcmp(status, "INFO", 4)) {
        if(!memcmp(status, "INFO", 4)) {
            fprintf(stderr,"%s\n", status);
            fprintf(stderr,"(bootloader) %s\n", status + 4);
            continue;
            continue;
        }
        }