Article ID: 000074521 Content Type: Product Information & Documentation Last Reviewed: 09/26/2014

How can I print more debug information from U-boot?

Environment

BUILT IN - ARTICLE INTRO SECOND COMPONENT
Description

In the normal U-boot boot process,a limited amount of information is printed to the console.For debug purposes,there are several ways to print out more messages.

Resolution

To enable more messages you can either:

  • Using debug_cond (cond, fmt, args...): if you define some cond, once it is met, the U-boot will print out this message.
  • Using debug(fmt, args...): you can define DEBUG in the file u-boot-socfpga/include/configs/socfpga_common.h, once do that and recompile the code, the U-boot will print out all debug message.

Note:  If you put too much debug into the code, it might make u-boot hang up.

Related Products

This article applies to 1 products

Intel® Programmable Devices