[PATCH 0/2] tools: qconfig: print a proper error when database is missing

Julien Stephan jstephan at baylibre.com
Thu Jul 2 16:04:40 CEST 2026


Hi all,

When I first ran ./tools/qconfig.py, it immediately crashed with a
Python traceback because the configuration database had not yet been
generated.

This series adds a simple pre-check that detects this condition and
prints a clear error message instructing the user to generate the
database first using the -b option, instead of failing with an unhandled
exception.

While looking at the script, I also noticed that the help text still
references the obsolete moveconfig.rst document. This series updates
that reference as well.

Signed-off-by: Julien Stephan <jstephan at baylibre.com>
---
Julien Stephan (2):
      tools: qconfig: print a proper error when database is missing
      qconfig: Rename the doc link in help text

 tools/qconfig.py | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)
---
base-commit: 23a4f1e22076855df9c8dd93992edd9bd42d7ea2
change-id: 20260702-qconfig-check-for-db-8d7c1b1e005e

Best regards,
--  
Julien Stephan <jstephan at baylibre.com>



More information about the U-Boot mailing list