Unable to remove the startup message: "*** Booting Zephyr OS build.."

Hello, I'm using the example "smp_client_ble," and I can't manage to remove the boot message.

Below is my .prj file:

CONFIG_BOOT_BANNER=n



CONFIG_NCS_SAMPLES_DEFAULTS=y

CONFIG_BT=y
CONFIG_BT_DEBUG_LOG=n
CONFIG_BT_CENTRAL=y
CONFIG_BT_SMP=y
CONFIG_BT_GATT_CLIENT=y
CONFIG_BT_GATT_DM=y
CONFIG_HEAP_MEM_POOL_SIZE=2048
CONFIG_BT_DFU_SMP=y

CONFIG_BT_L2CAP_TX_MTU=498
CONFIG_BT_BUF_ACL_RX_SIZE=502
CONFIG_BT_BUF_ACL_TX_SIZE=502
CONFIG_BT_CTLR_DATA_LENGTH_MAX=251

CONFIG_BT_SCAN=y
CONFIG_BT_SCAN_FILTER_ENABLE=y
CONFIG_BT_SCAN_UUID_CNT=1

CONFIG_ZCBOR=y
CONFIG_ZCBOR_STOP_ON_ERROR=y

CONFIG_DK_LIBRARY=y


CONFIG_DEBUG_OPTIMIZATIONS=n

CONFIG_FLASH=y

CONFIG_BOOTLOADER_MCUBOOT=y
CONFIG_MCUMGR=y
CONFIG_MCUMGR_SMP_UART=y
CONFIG_MCUMGR_CMD_IMG_MGMT=y
CONFIG_DEBUG_THREAD_INFO=y

# Disable UART Console and enable the RTT console
CONFIG_RTT_CONSOLE=y
CONFIG_USE_SEGGER_RTT=y

# Config logger
CONFIG_LOG_BACKEND_RTT=y
CONFIG_LOG_BACKEND_UART=n

CONFIG_MULTITHREADING=y

My toolchain is: NRF Connect SDK V2.2.0

I am using Visual Studio Code with Zephyr

Parents
  • Hi,

    I have tested how to remove booting banner using central_smp_client sample in both NCS v2.2.0 and v2.4.0. In both cases, Zephyr banner message was successfully removed from the log. Main configuration option to be used in this case is CONFIG_BOOT_BANNER=n which was already present in your configuration. Starting from provided central_smp_client sample, I changed default prj.conf file from the sample and included your changes. Modifications of your prj.conf are shown below.
    in NCS v2.2.0

    # added to Config logger section
    CONFIG_LOG=y
    CONFIG_LOG_MODE_IMMEDIATE=y

    in NCS v2.4.0
    # added to Config logger
    CONFIG_LOG=y
    CONFIG_LOG_MODE_IMMEDIATE=y
    
    # changes to mcumgr
    #CONFIG_MCUMGR_SMP_UART=y
    #CONFIG_MCUMGR_CMD_IMG_MGMT=y
    CONFIG_IMG_MANAGER=y
    CONFIG_MCUMGR_GRP_IMG=y

    With these changes, you should have Zephyr banner message removed from the log. 

    Best regards,
    Dejan

Reply
  • Hi,

    I have tested how to remove booting banner using central_smp_client sample in both NCS v2.2.0 and v2.4.0. In both cases, Zephyr banner message was successfully removed from the log. Main configuration option to be used in this case is CONFIG_BOOT_BANNER=n which was already present in your configuration. Starting from provided central_smp_client sample, I changed default prj.conf file from the sample and included your changes. Modifications of your prj.conf are shown below.
    in NCS v2.2.0

    # added to Config logger section
    CONFIG_LOG=y
    CONFIG_LOG_MODE_IMMEDIATE=y

    in NCS v2.4.0
    # added to Config logger
    CONFIG_LOG=y
    CONFIG_LOG_MODE_IMMEDIATE=y
    
    # changes to mcumgr
    #CONFIG_MCUMGR_SMP_UART=y
    #CONFIG_MCUMGR_CMD_IMG_MGMT=y
    CONFIG_IMG_MANAGER=y
    CONFIG_MCUMGR_GRP_IMG=y

    With these changes, you should have Zephyr banner message removed from the log. 

    Best regards,
    Dejan

Children
Related