Bootloader logs in NCS 2.4.0

I've noticed that the bootloader no longer prints messages on the UART at boot.

For example, take the very simple hello-world sample project. It has a simple prj.conf with:

# Print a banner on the UART on startup.
CONFIG_BOOT_BANNER=y

# Enable console and printk()
CONFIG_PRINTK=y
CONFIG_STDOUT_CONSOLE=y

# Enable Zephyr application to be booted by MCUboot
CONFIG_BOOTLOADER_MCUBOOT=y

If the project is built with version 2.3.0 then the following is printed on boot:

*** Booting Zephyr OS build v3.2.99-ncs2 ***
I: Starting bootloader
I: Primary image: magic=unset, swap_type=0x1, copy_done=0x3, image_ok=0x3
I: Secondary image: magic=unset, swap_type=0x1, copy_done=0x3, image_ok=0x3
I: Boot source: none
I: Swap type: none
I: Bootloader chainload address offset: 0xc000

However, if you take the exact same project and only change it to build wit 2.4.0 you only see the "Booting Zephyr OS build"

How do I get the bootloader to print logs in 2.4.0?

Thanks!

Parents Reply Children
Related