From 7b5d5da48dbdad758befe247c3e1419a06cee209 Mon Sep 17 00:00:00 2001 From: Nicolas Dechesne Date: Tue, 7 Jan 2025 09:52:59 +0100 Subject: [PATCH] firehose: do not display 'no boot partition found' message It is a valid use case to flash a single partition (such as CDT) with QDL. In such a case when we are not flashing the entire image, we effectively are not flashing any 'boot' partition (SBL, XBL, ...), and we don't need to send the setbootablestoragedrive command to the programmer. Currently we display the 'no boot partition found' message which is confusing for users, as it looks like an error message even though it's not. Let's turn this message into a debug log message instead. Signed-off-by: Nicolas Dechesne --- firehose.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/firehose.c b/firehose.c index 0fcdfdd..0fce78b 100644 --- a/firehose.c +++ b/firehose.c @@ -801,7 +801,7 @@ int firehose_run(struct qdl_device *qdl, const char *incdir, const char *storage bootable = program_find_bootable_partition(&multiple); if (bootable < 0) { - ux_info("no boot partition found\n"); + ux_debug("no boot partition found\n"); } else { if (multiple) { ux_err("WARNING: Multiple candidates for primary bootloader found, using partition %d\n",