Anyone tried u-boot with debug logging

Hi, does anybody tried to use debug logging in u-boot? I’ve tried playing with the following debug configuration options for u-boot/yocto but haven’t been able to get a success so far.

CONFIG_CMD_LOG=y
CONFIG_LOGLEVEL=7
CONFIG_LOG_MAX_LEVEL=8
CONFIG_DEBUG_UART=y
CONFIG_LOG_CONSOLE=y

The exact steps are quite confusion.
Btw… I tried it using 2021.04 of U-boot and compiling for the Cyclobe 5 architecture on a Enclustra Mars MA3 module

You need to define DEBUG in your board’s header file (include/configs/<board_name>.h), like so:

#define DEBUG 1